@charset "UTF-8";
/* Product Quote Plugin Styles */
.pqp-product-quote {
  margin: 0 !important;
  padding: 0 !important;
}

/* タブのスタイル */
.pqp-tab-headers {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 2px solid #007bff;
}

.pqp-tab-headers li {
  margin: 0;
  padding: 0;
}

.pqp-tab-headers a {
  display: block;
  padding: 10px 20px;
  color: #495057;
  text-decoration: none;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.pqp-tab-headers a:hover,
.ui-tabs-active .pqp-tab-headers a {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* カテゴリーのスタイル */
.pqp-category {
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

.pqp-category h3 {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  border-radius: 30px;
  padding: 0.5em;
}

.pqp-items {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 1000px) {
  .pqp-items {
    grid-template-columns: 1fr  1fr;
  }
}

@media screen and (max-width: 481px) {
  .pqp-items {
    grid-template-columns: 1fr;
  }
}

/* 商品アイテムのスタイル */
.pqp-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.pqp-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .pqp-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .pqp-item {
    flex: 0 0 100%;
  }
}

/* 商品画像のスタイル */
.pqp-item-image {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

.pqp-item-image img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

/* 商品詳細のスタイル */
.pqp-item-details h4 {
  margin: 0 0 10px;
  font-size: 1.1em;
  color: #333;
}

.pqp-item-description {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.pqp-item-description ul {
  margin: 10px 0;
  padding-left: 20px;
}

.pqp-item-description li {
  margin-bottom: 5px;
}

.pqp-item-description a {
  color: #0066cc;
  text-decoration: none;
}

.pqp-item-description a:hover {
  text-decoration: underline;
}

.pqp-item-description p {
  margin: 10px 0;
}

.pqp-item-specs {
  font-size: 0.9em;
  margin-bottom: 10px;
}

/* 価格表示のスタイル */
.price_f {
  margin: 10px 0;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 5px;
}

.price_f span {
  display: block;
}

.price_f span:first-child {
  color: #666;
  text-decoration: line-through;
  font-size: 0.9em;
}

.price_f span:last-child {
  color: #e33;
  font-size: 1.1em;
}

.price_f span strong {
  font-size: 1.2em;
  margin-right: 2px;
}

.discount-rate {
  display: inline-block;
  background: #e33;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.9em;
  margin-top: 5px;
}

/* 数量選択のスタイル */
.pqp-item-quantity {
  margin-top: 10px;
}

.pqp-item-quantity select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* 合計金額表示のスタイル */
.pqp-total-section {
  margin-top: 30px;
  padding: 20px;
  background: #ffffffdf;
  border-radius: 8px;
  position: fixed;
  bottom: 10px;
  left: auto;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  z-index: 999;
  box-shadow: 0 0 10px rgba(255, 121, 130, 0.662);
}

.pqp-total p {
  margin: 5px 0;
  text-align: right;
  font-size: 1.1em;
}

.pqp-total .amount {
  font-weight: bold;
  margin-left: 10px;
  color: #e33;
}

/* 管理画面のスタイル */
.pqp-settings-container {
  max-width: 1200px;
  margin: 20px 0;
}

.pqp-category-section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.pqp-category-section h3 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
  color: #23282d;
}

.pqp-category-section.active {
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pqp-tab-headers {
    flex-wrap: wrap;
  }
  .pqp-tab-headers a {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}
