/* Main product styles */
.product-container {
  padding-bottom: 60px;
  background-color: var(--background);
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  background-color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.breadcrumbs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin: 0 8px;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs .current-page {
  color: var(--text-color);
  font-weight: 500;
}

.back-to-category {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.back-to-category:hover {
  color: var(--primary-color);
}

.back-to-category svg {
  transition: transform 0.3s;
}

.back-to-category:hover svg {
  transform: translateX(-3px);
}

/* Main product layout */
.product-main-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* Product Gallery */
.product-gallery-section {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.discount-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background-color: var(--danger-color);
  color: white;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.stock-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.stock-indicator.available {
  background-color: var(--success-light);
  color: var(--success-color);
}

.stock-indicator.unavailable {
  background-color: var(--danger-light);
  color: var(--danger-color);
}

.stock-indicator.limited {
  background-color: #fff3cd;
  color: #856404;
}

.main-image-container {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #f9f9f9;
}

#main-product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.image-zoom-trigger {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.image-zoom-trigger:hover {
  background-color: white;
  transform: translateY(-2px);
}

.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  transition: var(--transition);
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.view-360-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.view-360-button:hover {
  background-color: #e0e0e0;
}

/* Product Info Section */
.product-info-section {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-brand-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-brand img {
  height: 30px;
  width: auto;
}

.product-sku {
  font-size: 14px;
  color: var(--text-light);
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
  color: var(--secondary-color);
}

.product-rating-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  color: #ddd;
}

.star {
  font-size: 16px;
}

.star.filled {
  color: var(--primary-color);
}

.rating-text {
  font-size: 14px;
  color: var(--text-light);
}

.scroll-to-reviews {
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 5px;
}

.scroll-to-reviews:hover {
  text-decoration: underline;
}

.no-reviews {
  font-size: 14px;
  color: var(--text-light);
}

.be-first-review {
  color: var(--primary-color);
  text-decoration: none;
}

.be-first-review:hover {
  text-decoration: underline;
}

.recent-sales-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--success-color);
  background-color: var(--success-light);
  padding: 8px 12px;
  border-radius: var(--border-radius);
}

.key-features {
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.features-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Value Propositions */
.value-propositions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 15px;
  background-color: var(--primary-light);
  padding: 15px;
  border-radius: var(--border-radius);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.available .value-icon,
.warranty .value-icon,
.free-shipping .value-icon,
.price-match .value-icon {
  background-color: white;
  color: var(--primary-dark);
}

.unavailable .value-icon {
  background-color: white;
  color: var(--danger-color);
}

.value-text {
  font-size: 14px;
  line-height: 1.3;
}

.warranty-details-link,
.price-match-trigger {
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  font-size: 13px;
}

.warranty-details-link:hover,
.price-match-trigger:hover {
  text-decoration: underline;
}

.limited-stock-count {
  color: #856404;
  font-size: 13px;
  display: block;
}

/* Price Section */
.product-price-section {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.price-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.current-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-color);
}

.old-price {
  font-size: 16px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-wrapper .discount-badge {
  position: static;
  margin-left: 10px;
}

.sale-countdown {
  margin-top: 10px;
  background-color: #fff3cd;
  padding: 10px;
  border-radius: var(--border-radius);
  text-align: center;
}

.countdown-label {
  font-size: 14px;
  color: #856404;
  margin-bottom: 5px;
}

.countdown-timer {
  font-size: 18px;
  font-weight: 700;
  color: #856404;
}

.installment-options {
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.installment-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
}

.installment-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.installment-amount {
  font-size: 14px;
  color: var(--text-color);
}

.toggle-details {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.toggle-details:hover {
  text-decoration: underline;
}

/* Purchase Section */
.product-purchase-section {
  margin-bottom: 20px;
}

.quantity-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.quantity-selector label {
  font-weight: 500;
  font-size: 14px;
}

.quantity-controls {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  width: fit-content;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.quantity-controls input {
  width: 50px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  text-align: center;
  font-size: 16px;
  -moz-appearance: textfield;
}

.quantity-controls input::-webkit-outer-spin-button,
.quantity-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.purchase-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.add-to-cart-button,
.buy-now-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}


.add-to-cart-button {
  background-color: white;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.add-to-cart-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.buy-now-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
}

.buy-now-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.add-to-cart-button:disabled,
.buy-now-button:disabled {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  transform: none;
}

/* Action Links */
.product-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.action-link:hover {
  color: var(--primary-color);
}

/* Shipping Options */
.shipping-options {
  margin-bottom: 15px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

.shipping-option:last-child {
  margin-bottom: 0;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: white;
  border-radius: 50%;
  color: var(--primary-color);
  flex-shrink: 0;
}

.option-text {
  font-size: 14px;
  line-height: 1.4;
}

/* Frequently Bought Together */
.frequently-bought-together {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.fbt-products {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 15px;
}

.fbt-product {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 100%;
  max-width: 220px;
}

.fbt-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.fbt-checkbox input {
  display: none;
}

.custom-checkbox {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary-color);
  background-color: white;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.fbt-checkbox input:checked + .custom-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 9px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  transform: rotate(45deg);
}

.fbt-product-image {
  width: 100%;
  height: 100px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.fbt-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fbt-product-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fbt-this-product {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-bottom: 3px;
}

.fbt-product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.fbt-product-name a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.fbt-product-name a:hover {
  color: var(--primary-color);
}

.fbt-product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: auto;
}

.fbt-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.fbt-total {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: var(--border-radius);
  margin-left: auto;
}

.fbt-total-info {
  text-align: center;
}

.fbt-total-info span {
  font-size: 14px;
  color: var(--text-light);
}

.fbt-total-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 5px 0;
}

.fbt-savings {
  font-size: 14px;
  color: var(--danger-color);
}

.btn-add-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 12px 15px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-all:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Product Tabs */
.product-tabs-section {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  overflow-x: auto;
  background-color: #f5f5f5;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none; /* Firefox */
}

.tabs-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
  padding: 12px 15px;
  background: none;
  border: none;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  font-size: 14px;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  background-color: var(--white);
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active {
  display: block;
}

.tab-content-inner {
  max-width: 100%;
  overflow: hidden;
}

/* Formatted Content */
.formatted-content {
  line-height: 1.7;
  color: var(--text-color);
  font-size: 15px;
}

.formatted-content p {
  margin-bottom: 1em;
}

.formatted-content h2 {
  font-size: 20px;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.formatted-content h3 {
  font-size: 18px;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.formatted-content ul, 
.formatted-content ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.formatted-content li {
  margin-bottom: 0.5em;
}

.formatted-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: var(--border-radius);
}

/* Specifications Table */
.specifications-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.specifications-table tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.specifications-table th, 
.specifications-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.specifications-table th {
  width: 40%;
  font-weight: 600;
}

.specifications-table tr:last-child th,
.specifications-table tr:last-child td {
  border-bottom: none;
}

.no-data {
  text-align: center;
  padding: 30px;
  color: var(--text-light);
  font-style: italic;
}

/* Reviews Section */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.rating-average {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  min-width: 150px;
}

.big-rating {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.1;
}

.rating-stars {
  margin-top: 5px;
  margin-bottom: 5px;
}

.rating-count {
  font-size: 14px;
  color: var(--text-light);
}

.rating-breakdown {
  flex: 1;
  min-width: 200px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-label {
  width: 25px;
  text-align: right;
  font-size: 14px;
  color: var(--text-light);
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
}

.rating-percent {
  width: 30px;
  font-size: 14px;
  color: var(--text-light);
}

.write-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.btn-write-review {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-write-review:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Review Form */
#review-form-container {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

#review-form-container h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 20px;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  margin: 0 2px;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: var(--primary-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  margin-top: 3px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel {
  padding: 10px 20px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel:hover {
  background-color: #f5f5f5;
}

.btn-submit {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.login-prompt {
  text-align: center;
  padding: 20px;
}

/* Reviews List */
.reviews-list {
  margin-bottom: 30px;
}

.review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviewer-name {
  font-weight: 600;
  font-size: 15px;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--success-color);
  background-color: var(--success-light);
  padding: 2px 8px;
  border-radius: 12px;
}

.review-date {
  font-size: 13px;
  color: var(--text-light);
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-content {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.review-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-helpful {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 13px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-helpful:hover {
  background-color: #f5f5f5;
  color: var(--secondary-color);
}

.btn-helpful.voted {
  color: var(--success-color);
  cursor: default;
}

.reviews-pagination {
  text-align: center;
  margin-top: 20px;
}

.btn-all-reviews {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f5f5f5;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-all-reviews:hover {
  background-color: #e0e0e0;
}

/* FAQ Section */
.faq-accordion {
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question button {
  width: 100%;
  text-align: left;
  padding: 15px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question button:hover {
  color: var(--primary-color);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 15px;
  font-size: 14px;
  line-height: 1.6;
}

.ask-question-section {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
}

.ask-question-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.btn-ask-question {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ask-question:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

#question-form-container {
  max-width: 500px;
  margin: 20px auto 0;
  text-align: left;
}

/* Warranty Section */
.warranty-info {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 20px;
}

.warranty-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.warranty-title h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.warranty-features {
  padding: 0;
  list-style: none;
  margin-bottom: 20px;
}

.warranty-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.warranty-features li svg {
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.warranty-note {
  background-color: var(--white);
  padding: 15px;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary-color);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Similar Products Section */
.similar-products-section {
  margin-bottom: 40px;
}

.recommended-products-container {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--secondary-color);
}

.scroll-hint:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.scroll-hint.active {
  opacity: 1;
}

.scroll-hint.left {
  left: 5px;
}

.scroll-hint.right {
  right: 5px;
}

.recommended-products-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.recommended-products-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 5px 0;
}

.recommended-products-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Product Card */
.product-card {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background-color: var(--danger-color);
  color: white;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #f9f9f9;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-rating .stars {
  font-size: 14px;
}

.product-rating .rating-count {
  font-size: 12px;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price .old-price {
  font-size: 13px;
}

.product-price .current-price {
  font-size: 16px;
}

.btn-quick-add {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.product-card:hover .btn-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-add:hover {
  background-color: var(--primary-dark);
}

/* Sticky Cart Bar */
.sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cart.visible {
  transform: translateY(0);
}

.sticky-product-info {
  overflow: hidden;
}

.sticky-product-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.sticky-product-price {
  font-weight: 700;
  color: var(--secondary-color);
}

.sticky-product-price .old-price {
  font-size: 13px;
  margin-left: 5px;
}

.sticky-buy-btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
}

.sticky-buy-btn:hover {
  background-color: var(--primary-dark);
}

.sticky-buy-btn:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.zoom-content {
  background: transparent;
  box-shadow: none;
  max-width: 80%;
  max-height: 80vh;
  overflow: visible;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

.zoom-content .modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
}

.modal-body {
  padding: 20px;
}

#zoomed-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
}

/* Payment Methods Modal */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-method {
  display: flex;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--border-radius);
}

.method-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary-dark);
}

.method-details {
  flex: 1;
}

.method-details h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.method-details p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.available-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.card-icon {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #ddd;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.rates-table th, .rates-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.rates-table th {
  background-color: #f2f2f2;
  font-weight: 600;
}

/* Cart Success Modal */
.cart-success-message {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  color: var(--success-color);
  font-size: 48px;
  margin-bottom: 20px;
}

.cart-success-message p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cart-success-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-go-to-cart, .btn-continue-shopping {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-go-to-cart {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  text-decoration: none;
}

.btn-go-to-cart:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-continue-shopping {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-continue-shopping:hover {
  background-color: #f5f5f5;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .product-main-wrapper {
    grid-template-columns: minmax(40%, 1fr) minmax(60%, 1fr);
  }
  
  .main-image-container {
    height: 400px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .value-propositions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .purchase-buttons {
    grid-template-columns: 1fr 1fr;
  }
  
  .fbt-products {
    align-items: center;
  }
  
  .payment-method {
    flex-direction: row;
  }
  
  .cart-success-buttons {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .product-main-wrapper {
    grid-template-columns: minmax(40%, 1fr) minmax(60%, 1fr);
  }
  
  .value-propositions {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .value-propositions {
    grid-template-columns: 1fr;
  }
  
  .payment-method {
    flex-direction: column;
  }
  
  .method-icon {
    margin-bottom: 10px;
  }
  
  .fbt-products {
    justify-content: center;
    gap: 10px;
  }
  
  .fbt-product {
    max-width: 160px;
  }
  
  .sticky-product-name {
    max-width: 50vw;
  }
  
  .cart-success-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .product-gallery-section,
  .product-info-section {
    padding: 15px;
  }
  
  .main-image-container {
    height: 250px;
  }
  
  .thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .product-title {
    font-size: 20px;
  }
  
  .current-price {
    font-size: 24px;
  }
  
  .old-price {
    font-size: 14px;
  }
  
  .tab-btn {
    padding: 10px;
    font-size: 13px;
  }
  
  .tab-content {
    padding: 15px;
  }
  
  .reviews-summary {
    flex-direction: column;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .product-card {
    width: 160px;
  }
  
  .product-image {
    height: 150px;
  }
}