/* Product Page Styles */
.product-main {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
  /* margin-bottom: 70px; */
}

.product-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Breadcrumb */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 30px;
}

.product-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.product-breadcrumb a:hover {
  color: #e21c2a;
}

.product-breadcrumb span {
  color: #999;
}

.product-breadcrumb .current {
  color: #000;
  font-weight: 500;
}

/* Product Layout */
.product-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Categories Sidebar */
.categories-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  padding-right: 25px;
}

.categories-sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: #000;
  padding-bottom: 12px;
  border-bottom: 2px solid #e21c2a;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0;
}

.category-list a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 1px solid #f0f0f0;
}

.category-list a:hover {
  color: #e21c2a;
  padding-left: 8px;
}

.category-list a.active {
  color: #e21c2a;
  font-weight: 600;
}

.category-list .subcategory-list {
  padding-left: 15px;
  margin-top: 5px;
}

.category-list .subcategory-list a {
  font-size: 13px;
  font-weight: 400;
  color: #666;
  padding: 8px 0;
}

.category-list .subcategory-list a:hover {
  color: #e21c2a;
}

/* Product Content */
.product-content {
  /* flex: 1; */
  display: flex;
  gap: 30px;
  min-width: 0;
  justify-content: space-between;
}

/* Product Gallery */
.product-gallery {
  display: flex;
  gap: 15px;
  flex: 0 1 auto;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 85px;
  flex-shrink: 0;
}

.gallery-thumb {
  width: 85px;
  height: 85px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  background: #f5f5f5;
  transition: border-color 0.3s, transform 0.2s;
}

.gallery-thumb:hover {
  transform: scale(1.02);
}

.gallery-thumb.active {
  border-color: #e21c2a;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb.video-thumb {
  position: relative;
}

.gallery-thumb.video-thumb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb.video-thumb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  z-index: 1;
}

.gallery-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 1 auto;
  max-width: 600px;
}

.gallery-main-image {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  display: block;
}

.gallery-main-video {
  width: 100%;
  height: auto;
  min-height: 500px;
  object-fit: contain;
  display: none;
  background: #000;
}

.gallery-main-video.active {
  display: block;
}

.gallery-main-image.hidden {
  display: none;
}

.gallery-zoom-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.gallery-zoom-btn:hover {
  background: #fff;
  border-color: #000;
}

.gallery-zoom-btn svg {
  width: 20px;
  height: 20px;
}

/* Product Details */
.product-details {
  width: 380px;
  flex-shrink: 0;
}

/* Desktop: two columns – main (buy block) left, shipping & tabs right */
@media (min-width: 993px) {
  .product-details {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 760px;
  }

  .product-details-main {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .product-details .product-shipping-returns {
    grid-column: 2;
    grid-row: 1;
  }

  .product-details .product-info-tabs {
    grid-column: 2;
    grid-row: 2;
  }

  .product-details .shop-all-link {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Breadcrumb Inline */
.product-breadcrumb-inline {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.product-breadcrumb-inline a {
  color: #666;
  text-decoration: underline;
}

.product-breadcrumb-inline a:hover {
  color: #e21c2a;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.product-current-price {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.product-original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-discount-badge {
  background: none;
  color: #e21c2a;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Promo Banner */
.product-promo-banner {
  margin-bottom: 12px;
}

.promo-text {
  font-size: 13px;
  color: #000;
  text-decoration: underline;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  color: #ccc;
  font-size: 14px;
}

.rating-stars .star.filled {
  color: #000;
}

.rating-stars .star.half {
  background: linear-gradient(90deg, #000 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-score {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.rating-count {
  font-size: 13px;
  color: #666;
}

.rating-note {
  margin-bottom: 20px;
}

.rating-note a {
  font-size: 11px;
  color: #666;
  text-decoration: underline;
}

.rating-note a:hover {
  color: #e21c2a;
}

/* Color Selection */
.product-colors-section {
  margin-bottom: 25px;
  /* padding: 15px; */
  /* border: 1px solid #e0e0e0; */
  border-radius: 4px;
}

.product-color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  /* margin-bottom: 12px; */
}

/* If <= 12 variations: show in a single horizontal row (mobile + desktop) */
.product-color-options.inline-variations {
  /* flex-wrap: nowrap; */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  padding-right: 0;
}

/* When there are items off-screen on the left, pull content in a bit */
.product-color-options.has-overflow-left {
  padding-left: 25px;
  scroll-padding-left: 25px;
}

/* Keep symmetry if you ever want it on the right too */
.product-color-options.has-overflow-right {
  padding-right: 25px;
  scroll-padding-right: 25px;
}

.product-color-option {
  width: 69px;
  height: 69px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  background: #f5f5f5;
  transition: border-color 0.3s, transform 0.2s;
  display: block;
}

.product-color-option:hover {
  border-color: #999;
}

.product-color-option.active {
  border-color: #000;
  border-width: 2px;
}

.product-color-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop overflow indicator (+N) for variations */
.product-color-more {
  display: none; /* shown only on desktop when overflow enabled */
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #111;
  background: #efefef;
  user-select: none;
  cursor: default;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0;
}

@media (min-width: 1024px) {
  .product-color-options.limit-variations .product-color-option.is-overflow {
    display: none;
  }

  .product-color-options.limit-variations .product-color-more {
    display: flex;
  }
}

.color-name {
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}

/* Sale Indicator */
.sale-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e21c2a;
}

.sale-dot {
  width: 8px;
  height: 8px;
  background: #e21c2a;
  border-radius: 50%;
}

/* Size Selection */
.product-sizes-section {
  margin-bottom: 25px;
}

.product-sizes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.product-sizes-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.size-guide-link {
  font-size: 13px;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s;
}

.size-guide-link:hover {
  color: #e21c2a;
}

.product-size-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.product-size-option {
  padding: 14px 10px;
  border: 1px solid #c3c5c8;
  border-radius: 2px;
  background: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  height: 3.0rem !important;
}

/* Ensure normal (non-hidden, non-out-of-stock) sizes are always white with black text */
.product-size-option:not(.is-hidden):not(.out-of-stock) {
  /* background: #fff !important; */
  color: #000 !important;
  opacity: 1 !important;
}

/* Override browser default disabled styles for non-hidden sizes */
.product-size-option:not(.is-hidden):not(.out-of-stock):disabled,
.product-size-option:not(.is-hidden):not(.out-of-stock)[disabled] {
  background: #e0e0e094 !important;
  color: #000 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.product-size-option:hover:not(.is-hidden):not(.out-of-stock) {
  border-color: #000;
}

.product-size-option.active {
  background: #e0e0e094;
  color: #000;
  border: 2px solid #000;
  /* font-weight: 600; */
}

/* Prevent active state on hidden sizes */
.product-size-option.is-hidden.active {
  background: #efefef;
  color: #999;
  border: 1px solid #e0e0e0;
  font-weight: 500;
  /* opacity: 0.6; */
}

.product-size-option.out-of-stock {
  color: #ccc;
  cursor: not-allowed;
  position: relative;
}

.product-size-option.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ccc;
}

.product-size-option.is-hidden {
  background: #f5f5f5;
  color: #acb1b5;
  cursor: not-allowed;
  position: relative;
  opacity: 0.6;
}

.product-size-option.is-hidden::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, 
    transparent calc(50% - 1px), 
    #bec0c3 calc(50% - 1px), 
    #bec0c3 calc(50% + 1px), 
    transparent calc(50% + 1px)
  );
  pointer-events: none;
  z-index: 1;
}

/* Size Fit Note */
.size-fit-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #f8f8f8;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

.size-fit-note svg {
  flex-shrink: 0;
  color: #999;
}

/* Width Selection */
.product-width-section {
  margin-bottom: 25px;
}

.product-width-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
}

.product-width-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.product-width-option {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.product-width-option:hover {
  border-color: #000;
}

.product-width-option.active {
  border-color: #000;
  border-width: 2px;
}

.width-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* Inline size error (above Add to Cart) */
.product-size-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #c41e3a;
  border-radius: 8px;
  color: #c41e3a;
  font-size: 14px;
  font-weight: 500;
}

.product-size-error[hidden] {
  display: none;
}

.product-size-error-text {
  flex: 1;
}

.product-size-error-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c41e3a;
  color: #fff;
  border-radius: 50%;
}

.product-size-error-icon .product-size-error-svg {
  width: 100%;
  height: 100%;
  display: block;
  color: #fff;
}

/* Add to Cart */
.product-actions {
  margin-bottom: 20px;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.add-to-cart-btn {
  flex: 1;
  min-width: 0;
  padding: 16px 30px;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  height: 55.60px;
  transition: background 0.3s;
  font-family: var(--font-primary);
}

.add-to-cart-btn:hover {
  background: #000000;
}

.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Wishlist button – square, heart icon centered */
.product-wishlist-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.product-wishlist-btn:hover {
  border-color: #999;
  color: #000000;
}

.product-wishlist-btn .wishlist-icon {
  width: 22px;
  height: 22px;
}

.product-wishlist-btn.in-wishlist {
  color: #e21c2a;
  border-color: #e21c2a;
}

.product-wishlist-btn.in-wishlist .wishlist-icon {
  fill: #e21c2a;
}

/* Shipping & Returns (below Add to Cart) */
.product-shipping-returns {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-shipping-returns .shipping-returns-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  background-color: #efefef;
  padding: 8px;
  font-family: none;
}

.product-shipping-returns .shipping-returns-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.product-shipping-returns .shipping-line {
  color: #000000;
  background-color: #efefef;
  padding: 8px;
  font-family: none;
}

.product-shipping-returns .shipping-line .shipping-returns-icon {
  color: #000000;
}

.product-shipping-returns .returns-line {
  color: #000000;
}

.product-shipping-returns .returns-line .shipping-returns-icon {
  color: #000000;
}

/* Payment methods (same visual as checkout page) */
.product-payment-methods {
  margin-bottom: 24px;
}

.product-payment-methods-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
}

.product-payment-option {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button.product-payment-option {
  background: transparent;
}

.product-payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #000000;
  margin-bottom: 10px;
  border-radius: 2px;
}

.product-payment-option:last-child {
  margin-bottom: 0;
}

.product-payment-option .payment-option-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-payment-option .payment-option-content {
  flex: 1;
  min-width: 0;
}

.product-payment-option .payment-option-content strong {
  font-size: 14px;
  font-weight: 600;
}

/* Payment Options */
.payment-options {
  margin-bottom: 25px;
  text-align: center;
}

.payment-options p {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  line-height: 1.5;
}

.payment-options strong {
  font-weight: 600;
  color: #000;
}

.payment-options a {
  color: #666;
  text-decoration: underline;
}

.payment-options a:hover {
  color: #e21c2a;
}

.afterpay-logo {
  height: 14px;
  vertical-align: middle;
}

/* Product Highlights */
.product-highlights {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.highlights-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.highlight-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #e21c2a;
  margin-bottom: 10px;
}

.highlight-best-for {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.highlight-best-for span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 4px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}

.highlight-icon {
  flex-shrink: 0;
  color: #999;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.highlight-value {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

/* Shop All Link */
.shop-all-link {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.shop-all-link a {
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  font-weight: 500;
}

.shop-all-link a:hover {
  color: #e21c2a;
}

/* Product reviews */
.product-reviews {
  margin-top: -26px;
  padding-top: 28px;
  /* border-top: 1px solid #e5e7eb; */
}

.product-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.product-reviews-head-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-reviews-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.product-reviews-score-stars {
  display: inline-flex !important;
  margin-left: 0;
  vertical-align: middle;
  margin-bottom: 0;
  align-items: center;
  gap: 2px;
}

.product-reviews-score-stars .product-review-star {
  width: 25px;
  height: 25px;
}

.product-reviews-score-stars .product-review-star::before,
.product-reviews-score-stars .product-review-star::after {
  font-size: 25px;
}

.product-reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-reviews-score-number {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-top: -2px;
}

.product-reviews-head p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.product-review-write-btn {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-review-write-btn:hover {
  background: #1f2937;
  border-color: #1f2937;
  transform: translateY(-1px);
}

.product-reviews-grid {
  columns: 280px;
  column-gap: 14px;
}

.product-review-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  vertical-align: top;
}

@supports (grid-template-rows: masonry) {
  .product-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-template-rows: masonry;
    gap: 14px;
    columns: auto;
    column-gap: 0;
  }

  .product-review-card {
    display: block;
    width: auto;
    margin-bottom: 0;
  }
}

.product-review-card:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.11);
}

.product-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.product-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.product-review-user-meta {
  min-width: 0;
}

.product-review-user-meta h4 {
  margin: 0;
  font-size: 14px;
  color: #111827;
}

.product-review-user-meta .product-review-verified {
  margin-top: 6px;
}

.product-review-date {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.product-review-verified {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.product-review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}

.product-review-star {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.product-review-star::before,
.product-review-star::after {
  content: "★";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
}

.product-review-star::before {
  color: #d1d5db;
}

.product-review-star::after {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #e21c2a;
}

.product-review-star.full::after {
  width: 100%;
}

.product-review-star.half::after {
  width: 50%;
}

.product-review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 0;
}

.product-review-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.product-review-products .product-review-product {
  width: 100%;
}

a.product-review-product {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

a.product-review-product:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.product-review-product-image {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f3f4f6;
}

.product-review-product-name {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.35;
}

.product-review-text {
  margin: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.55;
}

.product-write-review-panel {
  max-width: 520px;
}

.product-write-review-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-write-review-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-write-review-field label {
  font-size: 13px;
  color: #1f2937;
  font-weight: 600;
}

.product-write-review-field input,
.product-write-review-field select {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  font-family: inherit;
}

.product-write-review-field--text {
  gap: 10px;
}

.product-write-review-text-intro {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

.product-write-review-field--text .fl-field {
  width: 100%;
}

.product-write-review-field--rating {
  gap: 10px;
}

.product-write-review-rating-label {
  font-size: 14px;
  color: #111;
  font-weight: 600;
  line-height: 1.3;
}

.product-write-review-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.product-write-review-star-box {
  width: 56px;
  height: 56px;
  border: 1px solid #111;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #111;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.product-write-review-star-box:hover:not(.is-active) {
  background: #fafafa;
}

.product-write-review-star-box.is-active {
  background: #111;
  border-color: #111;
}

.product-write-review-star-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.product-write-review-star-icon path {
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.product-write-review-star-box.is-active .product-write-review-star-icon path {
  fill: #fff;
  stroke: #fff;
}

.product-write-review-field input:focus,
.product-write-review-field select:focus {
  border-color: #111827;
}

.product-write-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.product-write-review-cancel,
.product-write-review-submit {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.product-write-review-cancel {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.product-write-review-submit {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
}

.product-write-review-error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}

.product-write-review-error[hidden] {
  display: none !important;
}

/* Review flow sidebars (orders + write form) */
.product-review-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-review-sidebar-overlay--form {
  z-index: 10060;
}

.product-review-sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.product-review-sidebar-backdrop {
  position: absolute;
  inset: 0;
}

.product-review-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-review-sidebar-overlay.is-open .product-review-sidebar {
  transform: translateX(0);
}

.product-review-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #ececec;
  flex-shrink: 0;
}

.product-review-sidebar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.product-review-sidebar-header--form {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
}

.product-review-sidebar-header--form .product-review-sidebar-title {
  grid-column: 2;
  text-align: center;
  min-width: 0;
}

.product-review-sidebar-header--form .product-review-sidebar-back {
  grid-column: 1;
  justify-self: start;
}

.product-review-sidebar-header--form .product-review-sidebar-close {
  grid-column: 3;
  justify-self: end;
}

.product-review-sidebar-back {
  border: none;
  background: none;
  padding: 4px;
  margin-right: 4px;
  cursor: pointer;
  color: #111;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-review-sidebar-close {
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #111;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f2f2f2;
  font-size: 24px;
  line-height: 1;
}

.product-review-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
}

.product-review-sidebar-body--form {
  padding-bottom: 8px;
}

.product-review-sidebar-loading {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.product-review-orders-empty,
.product-review-orders-has-review {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.product-review-orders-empty-hint {
  margin-top: 8px;
  color: #777;
  font-size: 13px;
}

.product-review-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-review-order-card {
  display: block;
  width: 100%;
  padding: 16px;
  border: 1px solid #abb0b4;
  border-radius: 2px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
}

.product-review-order-card:hover:not(:disabled) {
  border-color: #6b7280;
}

.product-review-order-card.is-selected {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.product-review-order-card.is-reviewed,
.product-review-order-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-review-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-review-order-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.product-review-order-number {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.35;
}

.product-review-order-date {
  font-size: 13px;
  color: #666;
  line-height: 1.35;
}

.product-review-order-status-wrap {
  flex-shrink: 0;
}

.product-review-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.product-review-order-status.pending {
  background: #fff3cd;
  color: #856404;
}

.product-review-order-status.processing {
  background: #cce5ff;
  color: #004085;
}

.product-review-order-status.shipped,
.product-review-order-status.delivered {
  background: #d4edda;
  color: #155724;
}

.product-review-order-status.cancelled {
  background: #f8d7da;
  color: #721c24;
}

.product-review-order-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.product-review-order-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 0;
}

.product-review-order-product-image {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f5f5;
  flex-shrink: 0;
}

.product-review-order-product-name {
  font-size: 13px;
  color: #111;
  line-height: 1.35;
}

.product-review-sidebar-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-review-sidebar-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid #ececec;
  flex-shrink: 0;
}

.product-review-sidebar-footer--form {
  display: block;
}

.product-review-sidebar-primary-btn {
  width: 100%;
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .product-review-sidebar {
    width: 100%;
    max-width: 100%;
  }
}

/* Product Info Tabs */
.info-tab {
  border-bottom: 1px solid #e0e0e0;
}

.info-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.info-tab-header:hover {
  color: #e21c2a;
}

.info-tab-header h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.info-tab-header svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.info-tab.expanded .info-tab-header svg {
  transform: rotate(45deg);
}

.info-tab-content {
  display: none;
  padding-bottom: 20px;
}

.info-tab.expanded .info-tab-content {
  display: block;
}

.info-tab-content p {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 10px;
}

.info-tab-content ul {
  padding-left: 20px;
  margin: 0;
}

.info-tab-content li {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 5px;
}

.delivery-estimate-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 8px;
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
}

.delivery-estimate-tab {
  border: none;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.delivery-estimate-tab-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.delivery-estimate-tab.active {
  color: #000;
  border-bottom-color: #000;
}

.delivery-estimate-panels {
  margin-top: 6px;
}

.delivery-estimate-panel {
  display: none;
  margin-bottom: 10px;
}

.delivery-estimate-panel.active {
  display: block;
  font-family: none !important;
}

@media (max-width: 768px) {
  .delivery-estimate-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2500;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.08);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0));
  }

  .delivery-estimate-sticky .delivery-estimate-tabs {
    margin: 0 0 6px 0;
    gap: 0;
    border-bottom: 1px solid #d9d9d9;
  }

  .delivery-estimate-sticky .delivery-estimate-tab {
    flex: 1 1 50%;
    justify-content: center;
    font-size: 13px;
    padding: 7px 6px;
    color: #8a8a8a;
  }

  .delivery-estimate-sticky .delivery-estimate-tab.active {
    color: #111;
    border-bottom-width: 3px;
  }

  .delivery-estimate-sticky .delivery-estimate-tab-icon {
    width: 25px;
    height: 25px;
  }

  .delivery-estimate-sticky .delivery-estimate-panel {
    margin-bottom: 0;
    font-size: 14px;
    color: #222;
    line-height: 1.45;
    font-family: none !important;
  }

  .product-main {
    padding-bottom: 50px;
  }
}

/* Related Products */
.related-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.related-products h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-content {
    gap: 30px;
  }

  .product-gallery {
    max-width: 550px;
  }

  .product-details {
    width: 320px;
  }
}

@media (max-width: 992px) {
  .product-layout {
    flex-direction: column;
  }

  .categories-sidebar {
    display: none;
  }

  .product-content {
    flex-direction: column;
    gap: 25px;
  }

  .product-gallery {
    max-width: 100%;
    width: 100%;
  }

  .gallery-main {
    max-width: 100%;
  }

  .product-details {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Product Header - hidden on desktop */
.mobile-product-header {
  display: none;
}

/* Desktop Product Header - shown on desktop, hidden on mobile */
.desktop-product-header {
  display: block;
}

@media (max-width: 768px) {
  .product-container {
    padding: 0 15px;
  }

  .product-main {
    padding: 15px 0;
  }

  .product-breadcrumb {
    display: none;
  }

  /* Show mobile header on mobile */
  .mobile-product-header {
    display: block;
    margin-bottom: 15px;
  }

  /* Hide desktop header on mobile */
  .desktop-product-header {
    display: none;
  }

  .mobile-product-header .product-breadcrumb-inline {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .mobile-product-header .product-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .mobile-product-header .product-pricing {
    margin-bottom: 0;
  }

  .mobile-product-header .product-current-price {
    font-size: 18px;
  }

  /* Hide original breadcrumb, title, pricing in product-details on mobile */
  .product-details .desktop-product-header .product-breadcrumb-inline,
  .product-details .desktop-product-header .product-title,
  .product-details .desktop-product-header .product-pricing {
    display: none;
  }

  /* Mobile layout */
  .product-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Gallery with video - thumbnails at bottom */
  .product-gallery.has-video {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .product-gallery.has-video .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    justify-content: flex-start;
  }

  .product-gallery.has-video .gallery-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  /* Gallery without video - keep desktop layout (thumbnails on left) */
  .product-gallery.no-video {
    flex-direction: row;
    gap: 10px;
  }

  .product-gallery.no-video .gallery-thumbnails {
    flex-direction: column;
    width: 65px;
    overflow-x: visible;
    overflow-y: auto;
    max-height: 400px;
    gap: 8px;
  }

  .product-gallery.no-video .gallery-thumb {
    width: 65px;
    height: 65px;
    min-width: 65px;
  }

  .gallery-main {
    max-width: 100%;
    border-radius: 0;
  }

  .gallery-main-image {
    max-height: 50vh;
    min-height: 250px;
  }

  .gallery-zoom-btn {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }

  .product-details {
    max-width: 100%;
    /* padding: 0 5px; */
  }

  .product-current-price {
    font-size: 18px;
  }

  .product-original-price {
    font-size: 13px;
  }

  .product-discount-badge {
    font-size: 13px;
  }

  .product-promo-banner {
    margin-bottom: 10px;
  }

  .promo-text {
    font-size: 12px;
  }

  .product-rating {
    margin-bottom: 3px;
  }

  .rating-stars .star {
    font-size: 12px;
  }

  .rating-score,
  .rating-count {
    font-size: 12px;
  }

  .rating-note {
    margin-bottom: 15px;
  }

  .rating-note a {
    font-size: 10px;
  }

  .product-colors-section {
    /* padding: 12px; */
    margin-bottom: 20px;
  }

  .product-color-options {
    /* Mobile slider: 3 items per column, horizontal scroll */
    --swatch-size: 65px;
    --swatch-gap: 6px;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: var(--swatch-gap);

    /* exactly 3 items tall, then wrap into next column */
    height: calc(var(--swatch-size) * 4 + var(--swatch-gap) * 2);

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* Use proximity snap so momentum scrolling still feels natural */
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    /* Allow last column to snap to the left (prevents stopping “at the edge”) */
    /* padding-right: calc(100% - var(--swatch-size)); */
    scroll-padding-left: 2px;
    scroll-padding-right: calc(100% - var(--swatch-size));
    padding-bottom: 8px; /* room for scrollbar */
    /* Allow page vertical scroll even when touching the slider */
    touch-action: auto;
  }

  /* iOS Safari: scroll-snap can kill momentum/inertia. Disable snap on iOS. */
  @supports (-webkit-touch-callout: none) {
    .product-color-options {
      scroll-snap-type: none;
    }

    .product-color-option {
      scroll-snap-align: none;
    }
  }

  /* If <= 12 variations, disable 3-row slider and show a single row */
  .product-color-options.inline-variations {
    flex-direction: row;
    /* flex-wrap: nowrap; */
    align-content: unset;
    height: auto;
    padding-right: 0;
    scroll-padding-right: 0;
    scroll-snap-type: none;
  }

  .product-color-option {
    width: var(--swatch-size);
    height: var(--swatch-size);
    scroll-snap-align: start;
  }

  /* hide scrollbar (optional) */
  .product-color-options::-webkit-scrollbar {
    height: 6px;
  }
  .product-color-options::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
  }
  .product-color-options::-webkit-scrollbar-track {
    background: transparent;
  }

  .color-name {
    font-size: 12px;
  }

  .product-sizes-section {
    margin-bottom: 20px;
  }

  .product-sizes-header h4 {
    font-size: 13px;
  }

  .size-guide-link {
    font-size: 12px;
  }

  .product-size-options {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }

  .product-size-option {
    padding: 10px 6px;
    font-size: 13px;
  }

  .size-fit-note {
    font-size: 11px;
    padding: 8px 10px;
    margin-top: 10px;
  }

  .product-width-section {
    margin-bottom: 20px;
  }

  .product-width-section h4 {
    font-size: 13px;
  }

  .product-width-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .product-width-option {
    padding: 10px 12px;
  }

  .width-label {
    font-size: 12px;
  }

  .product-actions {
    margin-bottom: 15px;
  }

  .add-to-cart-btn {
    padding: 14px 20px;
    font-size: 15px;
  }

  .product-wishlist-btn {
    width: 56px;
    height: 56px;
  }

  .product-wishlist-btn .wishlist-icon {
    width: 20px;
    height: 20px;
  }

  .payment-options {
    margin-bottom: 20px;
  }

  .payment-options p {
    font-size: 11px;
  }

  .product-highlights {
    padding: 15px;
    margin-bottom: 20px;
  }

  .highlights-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .highlight-tagline {
    font-size: 14px;
  }

  .highlight-best-for {
    font-size: 12px;
  }

  .highlights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .highlight-item {
    padding: 8px;
  }

  .highlight-label {
    font-size: 10px;
  }

  .highlight-value {
    font-size: 12px;
  }

  .product-info-tabs {
    padding-top: 15px;
  }

  .info-tab-header {
    padding: 12px 0;
  }

  .info-tab-header h5 {
    font-size: 13px;
  }

  .info-tab-content p {
    font-size: 13px;
  }

  .shop-all-link {
    margin-top: 15px;
    padding-top: 12px;
  }

  .shop-all-link a {
    font-size: 13px;
  }

  .product-reviews {
    /* margin-top: 24px; */
    padding-top: 20px;
  }

  .product-reviews-head h3 {
    font-size: 20px;
  }

  .product-review-write-btn {
    width: 100%;
  }

  .product-reviews-head-top {
    align-items: flex-start;
  }

  .product-reviews-grid {
    columns: 1;
    column-gap: 0;
  }

  .product-write-review-actions {
    flex-direction: column;
  }

  .product-write-review-cancel,
  .product-write-review-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .product-container {
    padding: 0 10px;
  }

  /* Variation slider sizing on small phones */
  .product-color-options {
    --swatch-size: 65px;
    --swatch-gap: 6px;
    height: calc(var(--swatch-size) * 4 + var(--swatch-gap) * 2);
    /* padding-right: calc(100% - var(--swatch-size)); */
    scroll-padding-right: calc(100% - var(--swatch-size));
  }

  .product-color-options.inline-variations {
    height: auto;
    padding-right: 0;
    scroll-padding-right: 0;
  }

  .product-main {
    padding: 10px 0;
  }

  /* Mobile header */
  .mobile-product-header {
    margin-bottom: 12px;
  }

  .mobile-product-header .product-title {
    font-size: 18px;
  }

  .mobile-product-header .product-current-price {
    font-size: 16px;
  }

  /* Gallery with video - horizontal thumbnails */
  .product-gallery.has-video .gallery-thumbnails {
    gap: 6px;
  }

  .product-gallery.has-video .gallery-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  /* Gallery without video - keep vertical thumbnails */
  .product-gallery.no-video .gallery-thumbnails {
    width: 55px;
    gap: 6px;
  }

  .product-gallery.no-video .gallery-thumb {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }

  .gallery-main-image {
    max-height: 71vh;
    min-height: 200px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-current-price {
    font-size: 16px;
  }

  .product-size-options {
    grid-template-columns: repeat(5, 1fr);
  }

  .product-color-option {
    width: 80px;
    height: 80px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .product-width-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 360px) {
  .product-container {
    padding: 0 8px;
  }

  /* Variation slider sizing on very small phones */
  .product-color-options {
    --swatch-size: 65px;
    --swatch-gap: 6px;
    height: calc(var(--swatch-size) * 4 + var(--swatch-gap) * 2);
    /* padding-right: calc(100% - var(--swatch-size)); */
    scroll-padding-right: calc(100% - var(--swatch-size));
  }

  .product-color-options.inline-variations {
    height: auto;
    padding-right: 0;
    scroll-padding-right: 0;
  }

  /* Mobile header */
  .mobile-product-header .product-title {
    font-size: 16px;
  }

  .mobile-product-header .product-current-price {
    font-size: 15px;
  }

  /* Gallery with video */
  .product-gallery.has-video .gallery-thumb {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  /* Gallery without video */
  .product-gallery.no-video .gallery-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-current-price {
    font-size: 15px;
  }

  .product-size-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .product-size-option {
    padding: 8px 4px;
    font-size: 12px;
  }

  .product-color-option {
    width: 65px;
    height: 65px;
  }

  .add-to-cart-btn {
    padding: 12px 15px;
    font-size: 14px;
  }

  .product-wishlist-btn {
    width: 46px;
    height: 46px;
  }

  .product-wishlist-btn .wishlist-icon {
    width: 18px;
    height: 18px;
  }
}

/* Product Image Modal */
.product-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-image-modal.active {
  display: flex;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
  color: #000;
}

.modal-close-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.modal-close-btn svg {
  width: 24px;
  height: 24px;
}

/* Shipping / Returns Info Modal (Tommy-style slide-in panel) */
.product-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Suppress modal on load (prevents iOS flash – removed by JS after 1.5s) */
.product-info-modal.product-info-modal-suppress {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.product-info-modal.product-info-modal-suppress .product-info-modal-panel {
  transform: translateX(100%);
}

.product-info-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.product-info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.product-info-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.product-info-modal.is-open .product-info-modal-panel {
  transform: translateX(0);
}

/* Closing: animate panel out first, then hide modal */
.product-info-modal.is-closing .product-info-modal-panel {
  transform: translateX(100%);
}

.product-info-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  z-index: 2;
}

.product-info-modal-close:hover {
  opacity: 0.7;
}

.product-info-modal-close svg {
  width: 24px;
  height: 24px;
}

.product-info-modal-inner {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  padding-top: 56px;
}

.product-info-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-right: 32px;
}

.product-info-modal-body {
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.product-info-modal-body p {
  margin: 0 0 14px;
}

.product-info-modal-body p:last-child {
  margin-bottom: 0;
}

.product-info-modal-body strong {
  font-weight: 600;
  color: #000;
}

.product-info-modal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.product-info-modal-body li {
  margin-bottom: 6px;
}

/* Trigger button inline with text */
.info-modal-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  margin: 0;
}

.info-modal-trigger:hover {
  opacity: 0.8;
}

/* Mobile: modal from bottom, not full height */
@media (max-width: 768px) {
  .product-info-modal {
    justify-content: flex-end;
  }

  .product-info-modal-panel {
    max-width: none;
    width: 100%;
    height: auto;
    max-height: 100vh;
    transform: translateY(100%);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-radius: 16px 16px 0 0;
  }

  .product-info-modal.is-open .product-info-modal-panel {
    transform: translateY(0);
    margin-top: 60px;
  }

  .product-info-modal.is-closing .product-info-modal-panel {
    transform: translateY(100%);
  }

  .product-info-modal.product-info-modal-suppress .product-info-modal-panel {
    transform: translateY(100%);
  }

  .product-info-modal-inner {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}

.modal-gallery {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
  padding: 60px 40px 40px;
  box-sizing: border-box;
}

.modal-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 130px;
  flex-shrink: 0;
  overflow-y: auto;
  padding-right: 10px;
  max-height: calc(100vh - 100px);
}

.modal-thumbnails::-webkit-scrollbar {
  width: 4px;
}

.modal-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.modal-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.modal-thumb {
  width: 120px;
  height: 120px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
  /* transform: scale(1.05); */
}

.modal-thumb.active {
  border-color: #ff0000;
  border-width: 3px;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb.video-thumb {
  position: relative;
}

.modal-thumb.video-thumb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  z-index: 1;
}

.modal-thumb.video-thumb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  z-index: 2;
}

.modal-main-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  position: relative;
  min-width: 0;
  contain: layout style paint;
  isolation: isolate;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: all 0.3s ease;
  color: #000;
  opacity: 0.8;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.modal-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-nav-btn svg {
  width: 24px;
  height: 24px;
}

.modal-nav-prev {
  left: 20px;
}

.modal-nav-next {
  right: 20px;
}

.modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.modal-image-wrapper.zoomed {
  cursor: zoom-out;
}

.modal-image-wrapper.zoomed.dragging {
  cursor: grab;
}

.modal-image-wrapper.zoomed.dragging:active {
  cursor: grabbing;
}

.modal-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  position: relative;
  will-change: transform;
  transform-origin: center center;
}

.modal-main-image.zoomed {
  /* Transform is handled by JavaScript, don't override here */
  cursor: zoom-out;
}

.modal-main-image.zoomed:active {
  cursor: grabbing;
}

.modal-main-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
  background: #000;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.modal-main-video.active {
  display: block;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-gallery {
    flex-direction: column-reverse;
    padding: 50px 15px 15px;
    gap: 15px;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .modal-close-btn svg {
    width: 20px;
    height: 20px;
  }

  .modal-nav-btn {
    width: 44px;
    height: 44px;
    opacity: 0.9;
  }

  .modal-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .modal-nav-prev {
    left: 10px;
  }

  .modal-nav-next {
    right: 10px;
  }

  .modal-thumbnails {
    flex-direction: row;
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 10px;
    max-height: none;
    gap: 10px;
  }

  .modal-thumbnails::-webkit-scrollbar {
    height: 4px;
    width: auto;
  }

  .modal-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .modal-main-image-container {
    height: calc(100vh - 200px);
    min-height: 300px;
    position: relative;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .modal-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    touch-action: none;
    pointer-events: none;
  }

  .modal-main-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    transition: transform 0.2s ease-out;
    touch-action: none;
    pointer-events: auto;
    will-change: transform;
  }

  .modal-main-image.zoomed {
    /* Transform is handled by JavaScript, don't override here */
    transition: none;
  }
}

@media (max-width: 480px) {
  .modal-gallery {
    padding: 45px 10px 10px;
    gap: 12px;
  }

  .modal-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .modal-nav-btn {
    width: 40px;
    height: 40px;
  }

  .modal-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .modal-nav-prev {
    left: 8px;
  }

  .modal-nav-next {
    right: 8px;
  }

  .modal-main-image-container {
    height: calc(100vh - 180px);
    min-height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .modal-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    pointer-events: none;
  }

  .modal-main-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    transition: transform 0.2s ease-out;
    touch-action: none;
    pointer-events: auto;
    will-change: transform;
  }

  .modal-main-image.zoomed {
    transform: scale(3);
    transition: none;
  }
}

/* User city (device location) */
.info-box-city .user-city-value {
  font-size: 1rem;
  color: inherit;
}
.info-box-city .user-city-value.loading {
  color: var(--muted, #666);
  font-style: italic;
}
.info-box-city .user-city-value.user-city-error {
  color: var(--error, #c00);
}
.info-box-city .user-city-btn {
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
}
.info-box-city .user-city-btn:hover {
  opacity: 0.85;
}
.info-box-city .user-city-hint {
  font-size: 0.85rem;
  color: var(--muted, #666);
  margin-top: 0.25rem;
}

.mobile-size-sheet-overlay {
  display: none;
}

.mobile-sticky-addtocart {
  display: none;
}

.desktop-size-sidebar-overlay {
  display: none;
}

@media (min-width: 769px) {
  .desktop-size-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 9800;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.32s ease;
  }

  .desktop-size-sidebar-overlay[hidden] {
    display: none !important;
  }

  .desktop-size-sidebar-overlay.is-open {
    opacity: 1;
  }

  .desktop-size-sidebar {
    width: min(420px, 100vw);
    height: 100dvh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
  }

  .desktop-size-sidebar-overlay.is-open .desktop-size-sidebar {
    transform: translateX(0);
  }

  .desktop-size-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
  }

  .desktop-size-sidebar-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
  }

  .desktop-size-sidebar-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #f2f2f2;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .desktop-size-sidebar-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .desktop-size-sidebar-option {
    min-height: 42px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    height: 3.0rem !important;
  }

  .desktop-size-sidebar-option.active {
    background: #ededed;
    border-color: #111;
    color: #000000;
  }

  .desktop-size-sidebar-option[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-addtocart {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2600;
    padding: 8px 18px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -8px 20px rgb(0 0 0 / 28%);
    transition: transform 0.7s;
    transform: translateY(110%);
    will-change: transform;
  }

  .mobile-sticky-addtocart[hidden] {
    display: none !important;
  }

  .mobile-sticky-addtocart.is-visible {
    transform: translateY(0%) !important;
  }

  .mobile-sticky-addtocart-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
  }

  .mobile-sticky-addtocart-thumb {
    width: 80px;
    height: 80px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .mobile-sticky-addtocart-info {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
    gap: 10px;
  }

  .mobile-sticky-addtocart-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
  }

  .mobile-sticky-addtocart-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    max-width: 520px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-sticky-addtocart-size {
    font-size: 12px;
    color: #9a5a4a;
    line-height: 1.2;
    margin-top: 3px;
  }

  .mobile-sticky-addtocart-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
  }

  .mobile-sticky-addtocart-current { font-size: 24px; font-weight: 700; }
  .mobile-sticky-addtocart-old { font-size: 20px; color: #777; text-decoration: line-through; }
  .mobile-sticky-addtocart-discount { font-size: 12px; color: #fff; background: #e21c2a; padding: 2px 6px; border-radius: 1px 12px 1px; font-weight: 700; }

  .mobile-sticky-addtocart-btn {
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 2px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-primary);
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .product-main {
    padding-bottom: 50px;
  }

  .mobile-sticky-addtocart {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2600;
    padding: 12px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -8px 20px rgb(0 0 0 / 44%);
    transition: transform 0.7s;
    transform: translateY(110%);
    will-change: transform;
  }

  .mobile-sticky-addtocart[hidden] {
    display: none !important;
  }

  .mobile-sticky-addtocart.is-visible {
    transform: translateY(0%) !important;
  }

  .mobile-sticky-addtocart-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-sticky-addtocart-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .mobile-sticky-addtocart-thumb {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
  }

  .mobile-sticky-addtocart-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin-left: 0;
    justify-content: center;
    flex: 1;
  }

  .mobile-sticky-addtocart-title {
    display: none;
  }

  .mobile-sticky-addtocart-prices {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-left: 0;
  }

  .mobile-sticky-addtocart-current {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
  }

  .mobile-sticky-addtocart-old {
    font-size: 15px;
    color: #777;
    text-decoration: line-through;
  }

  .mobile-sticky-addtocart-discount {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #e21c2a;
    border-radius: 1px 12px 1px;
    padding: 2px 6px;
  }

  .mobile-sticky-addtocart-size {
    font-size: 12px;
    color: #666;
    line-height: 1;
    margin-left: 2px;
  }

  .mobile-sticky-addtocart-btn {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 2px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-primary);
  }

  .mobile-sticky-addtocart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
  }

  .mobile-size-sheet-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2700;
    background: rgba(0, 0, 0, 0.45);
    align-items: flex-end;
  }

  .mobile-size-sheet-overlay[hidden] {
    display: none !important;
  }

  .mobile-size-sheet {
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.16);
  }

  .mobile-size-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .mobile-size-sheet-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
  }

  .mobile-size-sheet-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #f3f3f3;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: black !important;
  }

  .mobile-size-sheet-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .mobile-size-sheet-option {
    border: 1px solid #c3c5c8;
    border-radius: 2px;
    background: #fff;
    min-height: 42px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: black !important;
    height: 3.0rem !important;
  }

  .mobile-size-sheet-option.active {
    background: #e0e0e094;
    border-color: #111;
    color: #fff;
  }

  .mobile-size-sheet-option[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .mobile-size-sheet-error {
    margin: 0 0 10px;
    color: #b42318;
    font-size: 13px;
  }

  .mobile-size-sheet-confirm {
    width: 100%;
    border: 0;
    border-radius: 2px;
    background: #000;
    color: #fff;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
  }
}