/* ============================================
   PIONEER PEPTIDE - Product Detail Styles
   Version: 2.0.0
   ============================================ */

/* Breadcrumb Bar */
.breadcrumb-bar {
  padding-top: 90px;
  padding-bottom: var(--space-3);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  overflow: visible;
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  overflow: visible;
}

.breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
  width: 100%;
  overflow: visible;
}

/* Breadcrumb current item - prevent truncation */
.breadcrumb-bar .breadcrumb .breadcrumb-current {
  display: inline;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  color: var(--gray-600);
}

.breadcrumb-bar .breadcrumb a,
.breadcrumb-bar .breadcrumb span {
  display: inline-flex;
  align-items: center;
  white-space: normal;
  word-break: break-word;
}

.breadcrumb-bar .breadcrumb svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  margin: 0 2px;
}

/* ============================================
   Product Detail Section
   ============================================ */
.product-detail {
  padding: var(--space-10) 0;
  background: var(--white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
}

.gallery-main {
  position: relative;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--gray-100) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.gallery-main-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Placeholder image styling */
.gallery-main-image.is-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.gallery-main-image .placeholder-img {
  object-fit: contain;
  padding: var(--space-6);
}

.gallery-main-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(28, 158, 145, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 158, 145, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.gallery-main .product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.gallery-main .product-image-placeholder svg {
  width: 120px;
  height: 120px;
  color: var(--gray-300);
}

.gallery-main .product-image-placeholder span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.gallery-main .product-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.gallery-main .product-badge.bestseller {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
}

.gallery-actions {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: var(--space-2);
  z-index: 2;
}

.gallery-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.gallery-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-action-btn svg {
  width: 18px;
  height: 18px;
}

/* Gallery Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: var(--space-3);
}

.gallery-thumb {
  flex: 1;
  aspect-ratio: 1;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-50);
  transition: all var(--transition-fast);
}

.gallery-thumb:hover {
  border-color: var(--gray-300);
}

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

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--gray-400);
}

/* ============================================
   Product Info
   ============================================ */
.product-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.product-category-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-actions-top {
  display: flex;
  gap: var(--space-2);
}

.action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

.action-btn svg {
  width: 20px;
  height: 20px;
}

.product-info .product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.product-sku-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.product-sku,
.product-cas {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.product-sku strong,
.product-cas strong {
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.product-info .product-description {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* Product Specs Grid */
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.spec-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

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

.spec-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-card .spec-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.spec-card .spec-value {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   Order Section
   ============================================ */
.order-section {
  padding: var(--space-6);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.order-title {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

/* ============================================
   SKU Table Styles
   ============================================ */
.sku-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-5);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.sku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.sku-table thead {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.sku-table th {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--text-primary);
  white-space: nowrap;
}

.sku-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
}

.sku-table tbody tr:last-child td {
  border-bottom: none;
}

.sku-table tbody tr:hover {
  background: var(--primary-light);
}

.sku-table tbody tr.sku-row {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sku-table tbody tr.sku-row.active {
  background: var(--primary-light);
}

.sku-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .sku-table th,
  .sku-table td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-xs);
  }
  
  .sku-table-wrapper {
    margin-left: calc(-1 * var(--space-6));
    margin-right: calc(-1 * var(--space-6));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

.quantity-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  align-items: stretch;
}

.quantity-option {
  position: relative;
  cursor: pointer;
  display: flex;
}

.quantity-option input {
  position: absolute;
  opacity: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  width: 100%;
  min-height: 110px;
  justify-content: center;
}

.quantity-option:hover .option-content {
  border-color: var(--gray-300);
}

.quantity-option input:checked + .option-content {
  border-color: var(--primary);
  background: var(--primary-light);
}

.option-amount {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
}

.option-price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
}

.option-save {
  font-size: 10px;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
}

.order-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.order-actions .btn {
  flex: 1;
  justify-content: center;
}

.order-actions .btn svg {
  width: 18px;
  height: 18px;
  margin-right: var(--space-2);
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

.order-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.order-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   Product Tabs
   ============================================ */
.product-tabs-section {
  padding: var(--space-12) 0;
  background: var(--gray-50);
}

.tabs-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: nowrap;
}

.tab-btn {
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  border-radius: 0 !important;
}

.tabs-content {
  padding: var(--space-8);
}

.tab-panel {
  display: none;
}

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

/* Description Tab */
.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-8);
}

.tab-main h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.tab-main h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.tab-main p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Elementor Compatibility Styles */
.product-description-content {
  width: 100%;
}

.elementor-widget-container {
  width: 100%;
}

.elementor-text-editor {
  margin-bottom: var(--space-4);
}

.elementor-text-editor h3:first-child {
  margin-top: 0;
}

.elementor-widget-wrap {
  margin-bottom: var(--space-4);
}

.elementor-widget-wrap:last-child {
  margin-bottom: 0;
}

/* Allow Elementor to override these styles */
.elementor-widget-container .tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-8);
}

.tab-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.info-card {
  padding: var(--space-5);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.info-card h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.info-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

/* Specifications Tab */
.specs-table {
  overflow-x: auto;
}

.specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.specs-table th {
  width: 200px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--gray-50);
}

.specs-table td {
  color: var(--text-primary);
}

/* Sequence Tab */
.sequence-info h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.sequence-info h4:not(:first-child) {
  margin-top: var(--space-6);
}

.sequence-box {
  padding: var(--space-5);
  background: var(--bg-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.sequence-box code {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  word-break: break-all;
  letter-spacing: 0.02em;
}

.sequence-box.mono code {
  font-size: var(--fs-base);
  letter-spacing: 0.08em;
}

.sequence-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

/* Documents Tab */
.documents-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.document-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.document-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.document-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.document-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.document-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.document-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.document-download {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.document-item:hover .document-download {
  color: var(--primary);
}

/* Citations Tab */
.citations-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.citation-item {
  display: flex;
  gap: var(--space-4);
}

.citation-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

.citation-content {
  flex: 1;
}

.citation-title {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.citation-authors {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}

.citation-journal {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.citation-link {
  font-size: var(--fs-sm);
  color: var(--primary);
  font-weight: 500;
}

.citation-link:hover {
  text-decoration: underline;
}

/* ============================================
   Related Products
   ============================================ */
.related-products {
  padding: var(--space-12) 0;
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.section-header .section-title {
  font-size: var(--fs-2xl);
  font-weight: 600;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--primary);
}

.view-all-link svg {
  width: 16px;
  height: 16px;
}

/* Carousel navigation */
.carousel-nav {
  display: flex;
  gap: var(--space-2);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Carousel wrapper */
.related-carousel-wrapper {
  overflow: hidden;
}

.related-carousel {
  display: flex;
  gap: var(--space-5);
  transition: transform 0.4s ease;
}

.related-carousel .product-card-mini {
  flex: 0 0 calc(25% - var(--space-5) * 3 / 4);
  min-width: 0;
}

.product-card-mini {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card-mini:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.product-image-mini {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-mini .product-image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--gray-300);
}

.product-image-mini .product-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 2px var(--space-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.product-image-mini .product-badge.gmp {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: var(--white);
}

.product-content-mini {
  padding: var(--space-4);
}

.product-content-mini .product-category {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-content-mini h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: var(--space-1) 0;
  line-height: 1.4;
}

.product-content-mini p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.product-link-mini {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .product-gallery {
    position: static;
  }
  
  .tab-content-grid {
    grid-template-columns: 1fr;
  }
  
  .elementor-widget-container .tab-content-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-sidebar {
    display: none !important;
  }
  
  .tab-main {
    width: 100%;
  }
  
  .info-card {
    width: 100%;
  }
  
  .related-carousel .product-card-mini {
    flex: 0 0 calc(50% - var(--space-5) / 2);
  }
}

@media (max-width: 768px) {
  .quantity-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
  
  /* Carousel mobile - 2 products visible */
  .related-carousel .product-card-mini {
    flex: 0 0 calc(50% - var(--space-3) / 2);
  }
  
  .related-carousel {
    gap: var(--space-3);
  }
  
  /* Hide description on mobile for mini cards */
  .product-desc-mini {
    display: none;
  }
  
  .product-content-mini {
    padding: var(--space-3);
  }
  
  .product-content-mini h4 {
    font-size: 13px;
    margin-bottom: var(--space-2);
  }
  
  .product-image-mini {
    aspect-ratio: 1;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .order-actions {
    flex-direction: column;
  }
  
  .tabs-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .sequence-details {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .gallery-thumbs {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
  }
  
  .gallery-thumbs::-webkit-scrollbar {
    height: 3px;
  }
  
  .gallery-thumbs::-webkit-scrollbar-track {
    background: var(--gray-100);
  }
  
  .gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
  }
  
  .gallery-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    scroll-snap-align: start;
  }
  
  .quantity-options {
    grid-template-columns: 1fr;
  }
  
  .breadcrumb-bar {
    padding-top: 90px !important;
    padding-bottom: var(--space-2);
  }
  
  .breadcrumb-bar .container {
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  
  .breadcrumb-bar .breadcrumb {
    font-size: var(--fs-xs);
    line-height: 1;
    align-items: center;
  }
  
  .breadcrumb-bar .breadcrumb svg {
    width: 12px;
    height: 12px;
  }
}
