/* Product Page Specific Styles */
:root {
  --primary-color: #f6cc00;
  --primary-light: #fff8e1;
  --primary-dark: #e6b900;
  --secondary-color: #333333;
  --text-color: #333333;
  --text-light: #757575;
  --background: #f8f8f8;
  --white: #ffffff;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --success-light: #d4edda;
  --danger-color: #dc3545;
  --danger-light: #f8d7da;
  --border-radius: 8px;
  --box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

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

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  color: var(--border-color);
}

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

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

.breadcrumb li[aria-current="page"] {
  color: var(--text-color);
  font-weight: 500;
}

.back-to-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

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

/* Main Product Section */
.product-main {
  display: grid;
  grid-template-columns: minmax(300px, 45%) 1fr;
  gap: 30px;
  margin-bottom: 40px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

/* Product Gallery */
.product-gallery {
  position: relative;
  padding: 20px;
}

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

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  overflow: hidden;
}

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

.image-zoom-control {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

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

.stock-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background-color: var(--success-light);
  color: var(--success-color);
  z-index: 1;
}

.stock-badge.low-stock {
  background-color: var(--danger-light);
  color: var(--danger-color);
}

.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

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

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

/* Product Info Section */
.product-info {
  padding: 30px;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.product-header {
  margin-bottom: 20px;
}

.product-brand {
  margin-bottom: 15px;
}

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

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

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

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

.star {
  font-size: 16px;
}

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

.rating-link {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.rating-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--success-light);
  color: var(--success-color);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Key Features */
.key-features {
  margin-bottom: 20px;
}

.key-features h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.key-features ul {
  margin: 0;
  padding-left: 20px;
}

.key-features li {
  margin-bottom: 5px;
  font-size: 14px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}

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

.trust-badge span {
  font-size: 13px;
  color: var(--text-color);
}

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

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

.price-wrapper.sale {
  position: relative;
}

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

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

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

.payment-option-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.payment-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.monthly-rate {
  font-size: 14px;
  color: var(--text-color);
}

.monthly-rate span {
  font-weight: 700;
}

.payment-details-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.payment-details-btn:hover {
  background-color: var(--primary-light);
}

.payment-cards {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.quantity-control {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.quantity-control label {
  font-size: 14px;
  font-weight: 600;
}

.quantity-buttons {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: #f5f5f5;
  color: var(--secondary-color);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

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

.quantity-buttons input {
  width: 60px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  text-align: center;
  font-size: 16px;
}

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

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

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

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

.btn-buy-now {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

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

.price-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.price-guarantee svg {
  color: var(--primary-color);
}

.price-match-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 5px;
  transition: var(--transition);
}

.price-match-link:hover {
  text-decoration: underline;
}

/* Shipping Info */
.shipping-info {
  margin-bottom: 20px;
}

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

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

.shipping-option svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.shipping-option div {
  display: flex;
  flex-direction: column;
}

.shipping-option strong {
  font-size: 14px;
  margin-bottom: 2px;
}

.shipping-option span {
  font-size: 12px;
  color: var(--text-light);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.btn-wishlist, .btn-question, .btn-share {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 13px;
  cursor: pointer;
  padding: 5px;
  transition: var(--transition);
}

.btn-wishlist:hover, .btn-question:hover, .btn-share:hover {
  color: var(--primary-color);
}

/* Frequently Bought Together Section */
.fbt-section {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--secondary-color);
}

.fbt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

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

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

.fbt-product.main {
  position: relative;
}

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

.fbt-checkbox input {
  display: none;
}

.fbt-checkbox label {
  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 + label::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: 150px;
  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: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.fbt-product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.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 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.fbt-total {
  flex-basis: 25%;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--border-radius);
}

.fbt-total-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.fbt-total-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
}

.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: 15px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

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

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

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

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

.tabs-content {
  padding: 0;
}

.tab-pane {
  display: none;
  padding: 30px;
}

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

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

.formatted-content p {
  margin-bottom: 20px;
}

.formatted-content h2 {
  font-size: 20px;
  margin: 30px 0 15px;
}

.formatted-content h3 {
  font-size: 18px;
  margin: 25px 0 15px;
}

.formatted-content ul, .formatted-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.formatted-content li {
  margin-bottom: 8px;
}

.formatted-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 15px 0;
}

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

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

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

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

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

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

/* Reviews Container */
.reviews-container {
  padding-bottom: 20px;
}

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

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

.big-rating {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 5px;
}

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

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

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

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

.rating-label {
  width: 40px;
  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: 40px;
  font-size: 14px;
  color: var(--text-light);
}

.write-review {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
}

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

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

/* 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 6px;
  border-radius: 12px;
}

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

.review-rating {
  margin-bottom: 10px;
}

.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;
}

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

.reviews-pagination {
  display: flex;
  justify-content: center;
}

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

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

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

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

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

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

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

.faq-question button[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);
}

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

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

.warranty-header svg {
  color: var(--primary-color);
}

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

.warranty-content p {
  margin-bottom: 15px;
}

.warranty-features {
  margin-bottom: 20px;
}

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

.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);
}

/* Related Products */
.related-products {
  margin-bottom: 60px;
}

.products-slider {
  position: relative;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.slider-arrow.prev {
  left: -20px;
}

.slider-arrow.next {
  right: -20px;
}

.products-slider-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none; /* Firefox */
}

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

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

.product-card:last-child {
  margin-right: 0;
}

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

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

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

.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;
}

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

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

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

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

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

.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-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

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

.sticky-product-info {
  flex: 1;
  overflow: hidden;
  margin-right: 15px;
}

.sticky-product-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

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

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

.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%;
  z-index: 1000;
}

.modal.open {
  display: block;
}

.modal-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

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

.modal-content.zoom-content {
  background-color: 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);
  background-color: #f9f9f9;
}

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

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  padding: 0;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--secondary-color);
}

.zoom-content .modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.modal-body {
  padding: 20px;
}

#zoomed-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-group label.required::after {
  content: "*";
  color: var(--danger-color);
  margin-left: 3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(246, 204, 0, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

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

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

.btn-submit {
  padding: 12px 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-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.payment-method {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: #f5f5f5;
}

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

.payment-method-header h4 {
  margin: 0;
  font-size: 16px;
}

.payment-method-content {
  padding: 15px;
}

.payment-cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.payment-card {
  background-color: white;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.payment-example {
  background-color: white;
  padding: 15px;
  border-radius: var(--border-radius);
  margin-top: 15px;
}

.payment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

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

.payment-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

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

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

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

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

.btn-go-to-cart, .btn-continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 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);
  text-decoration: none;
}

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

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

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

/* Rating Input */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.rating-input input {
  display: none;
}

.rating-input label {
  cursor: pointer;
  font-size: 30px;
  color: #ddd;
}

.rating-input label::before {
  content: "☆";
}

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

.rating-input input:checked + label::before,
.rating-input:not(:checked) > label:hover::before,
.rating-input:not(:checked) > label:hover ~ label::before {
  content: "★";
}

/* Responsive Styles */
@media (max-width: 992px) {
  .product-main {
    grid-template-columns: 1fr;
  }
  
  .product-info {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .payment-method {
    flex-direction: column;
  }
  
  .fbt-container {
    flex-direction: column;
  }
  
  .fbt-total {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .breadcrumb-container {
    margin-top: 65px;
  }
  
  .trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .purchase-buttons {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    justify-content: space-between;
  }
  
  .fbt-products {
    justify-content: center;
  }
  
  .slider-arrow.prev {
    left: 5px;
  }
  
  .slider-arrow.next {
    right: 5px;
  }
  
  .sticky-cart-bar {
    padding: 10px;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .reviews-summary {
    justify-content: center;
  }
  
  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .product-main {
    margin-bottom: 25px;
  }
  
  .main-image-wrapper {
    height: 300px;
  }
  
  .product-title {
    font-size: 22px;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .purchase-section {
    margin-bottom: 15px;
  }
  
  .quantity-control {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tab-pane {
    padding: 20px 15px;
  }
  
  .product-card {
    width: 160px;
    margin-right: 15px;
  }
  
  .cart-success-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .fbt-product {
    max-width: 140px;
  }
  
  .payment-cards-list {
    justify-content: center;
  }
}