﻿/* Horizon-Inspired Product Page Styles */
  .sub-modern-box {
        border: 1px solid #e5e7eb;
        background: #ffffff;
        padding: 4px 12px;
        border-radius: 6px;
        font-family: system-ui, sans-serif;
        max-width: 360px;
        font-size: 13px;
    }

    .sub-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 4px;
        gap: 8px;
    }

    .sub-label {
        font-weight: 500;
        color: #111111;
        width: 110px;
        font-size: 13px;
    }

    .sub-input {
        height: 30px;
        font-size: 13px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        padding: 3px 4px;
        flex: 1;
    }

    .deliver-pill {
        background: #fafafa;
        padding: 3px 4px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 13px;
        display: inline-block;
    }

    #subscriptionValidationMsg,
    #combinationValidationMsg {
        margin-top: var(--spacing-element, 6px);
        color: #991b1b;
        font-size: var(--text-sm, 13px);
        display: none;
        padding: var(--spacing-element, 8px) var(--spacing-component, 12px);
        background-color: rgba(239, 68, 68, 0.12);
        border-radius: var(--border-radius-small, 4px);
        border-left: 3px solid var(--color-error, #b70000);
        line-height: var(--line-height-base, 1.4);
    }
    
    #subscriptionValidationMsg:not(:empty),
    #combinationValidationMsg:not(:empty) {
        display: block;
    }
    
    #subscriptionInfoMessage {
        display: none;
        margin-bottom: var(--spacing-component, 12px);
        padding: var(--spacing-element, 8px) var(--spacing-component, 12px);
        background-color: var(--color-info-light, #f0f9ff);
        border-left: 3px solid var(--color-info, #3b82f6);
        border-radius: var(--border-radius-small, 4px);
        font-size: var(--text-sm, 13px);
        color: var(--color-info-dark, #1e40af);
    }
    
    #subscriptionInfoMessage:not(:empty) {
        display: block;
    }
    
    #shippingMethodDetails {
        margin-top: var(--spacing-element, 8px);
        font-size: var(--text-xs, 12px);
        color: var(--color-text-muted, #666);
        display: none;
    }
    
    #shippingMethodDetails:not(:empty) {
        display: block;
    }
    
    .required-indicator {
        color: var(--color-error, #b70000);
    }
    
    .help-text {
        font-size: var(--text-xs, 11px);
        color: var(--color-text-muted, #666);
        margin-top: var(--spacing-element, 2px);
    }
    
    .flex-column {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .subscription-item-content {
        display: flex;
        align-items: center;
        gap: var(--spacing-element, 10px);
        flex: 1;
    }
    
    .subscription-item-right {
        text-align: right;
    }
    
    .subscription-item-actions {
        display: flex;
        align-items: center;
        gap: var(--spacing-element, 5px);
        justify-content: flex-end;
    }
    
    .subscription-item-meta {
        margin-top: var(--spacing-element, 5px);
    }
    
    .subscription-included {
        font-size: var(--text-xs, 11px);
        color: var(--color-text-muted, #666);
        font-weight: var(--font-weight-normal, normal);
    }
    
    .subscription-spec {
        font-size: var(--text-xs, 12px);
        color: var(--color-text-muted, #666);
    }
    
    .subscription-item-title {
        margin: 0;
    }
    
    .info-message-content {
        line-height: var(--line-height-base, 1.6);
    }
    
.freq-ui {
  padding: 4px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: #fafafa;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
}

.freq-ui.selected {
  background: #e5e7eb;
  color: #111111;
}

.freq-ui:hover {
  background: #fafafa;
}

.weekly-days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


  .subscription-item {
  border: 1px solid #e5e7eb;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

/* Highlight selected item */
.subscription-item.selected {
  background-color: #e5e7eb;
  border-color: #c28f95;
}

/* Ensure checkbox is visible */
.subscription-item input.sub-select {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
}

.subscription-item input.sub-select-required {
    cursor: not-allowed;
    opacity: 0.6;
}

  .combo-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
  }

  .combo-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    width: 150px;
    cursor: pointer;
    position: relative;
  }

  .combo-card.selected {
    border-color: #dc2626;
  }

  .combo-card.selected .combo-checkbox {
    color: #dc2626;
    background: #dc2626;
  }

  .combo-image {
    position: relative;
  }

  .combo-image img {
    width: 100%;
    border-radius: 10px;
  }

  .combo-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    background: white;
    border-radius: 3px;
    padding: 2px;
    height:16px;
    width:16px;
  }

  .combo-info {
    margin-top: 5px;
  }


  .product-option-btn {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 4px 10px;
    margin: 2px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    transition: .2s;
  }

  .product-option-btn.selected {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
  }

  .product-option-btn[data-display-type="color"] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0;
    padding: 0;
    border: 2px solid #aaa;
    background-color: currentColor;
  }

  .product-option-btn[data-display-type="color"].selected {
    border: 2px solid #111111 !important;
  }
  .product-main.horizon-style {
    padding: 0;
    margin: 0;
  }

  .product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  /* Product Gallery — filmstrip + scroll (dark chrome, reference layout) */
  .gallery-scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .gallery-scrollbar-hide::-webkit-scrollbar {
    display: none;
  }

  .product-gallery {
    position: sticky;
    top: 20px;
    
    margin-bottom: 0;
    border-radius: var(--gallery-radius);
    overflow: hidden;
    background: var(--gallery-chrome);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  @media (min-width: 768px) {
    .product-gallery {
      grid-template-columns: 92px minmax(0, 1fr);
      grid-template-rows: minmax(0, auto) auto;
    }

    .gallery-main {
      grid-column: 2;
      grid-row: 1;
    }

    .gallery-filmstrip {
      grid-column: 1;
      grid-row: 1;
    }

    .gallery-main-footer {
      grid-column: 1 / -1;
      grid-row: 2;
    }

    .product-gallery--no-filmstrip .gallery-main {
      grid-column: 1 / -1;
      grid-row: 1;
    }
  }

  .gallery-main {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
   
  }



  .gallery-progress {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
  }

  .gallery-progress--single .gallery-progress__fill {
    width: 100% !important;
  }

  .gallery-progress__fill {
    height: 100%;
    width: 0%;
    background: var(--gallery-gold);
    border-radius: 0;
    transition: width 0.12s ease-out;
  }

  .gallery-main-scroll {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    flex-shrink: 0;
    background: #fafafa;
  }

  .gallery-main-scroll--placeholder {
    scroll-snap-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-slide {
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fafafa;
  }

  .gallery-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #6b7280;
  }

  .gallery-main-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    flex-shrink: 0;
    background: var(--gallery-chrome);
    border-top: 1px solid var(--gallery-chrome-line);
  }

  .gallery-footer-spacer {
    min-width: 0;
  }

  .gallery-slide-counter {
    justify-self: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gallery-gold);
    letter-spacing: 0.02em;
  }

  .gallery-step-nav {
    display: flex;
    gap: 8px;
    justify-self: end;
    align-items: center;
  }

  .gallery-step-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    padding: 0;
  }

 

  .gallery-step-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .gallery-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 26, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 10;
    color: rgba(255, 255, 255, 0.92);
  }

  .gallery-zoom-btn:hover {
    background: rgba(40, 40, 44, 0.98);
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
  }

  .gallery-filmstrip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 8px;
    padding-bottom: 12px;
    background: var(--gallery-chrome);
    -webkit-overflow-scrolling: touch;
  }

  @media (min-width: 768px) {
    .gallery-filmstrip {
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: auto;
      padding: 10px 8px;
      max-height: min(520px, 70vh);
      border-right: 1px solid var(--gallery-chrome-line);
    }
  }

  .gallery-thumbnail {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    aspect-ratio: 1;
    border: none;
   
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
    background: var(--gallery-chrome-mid);
    position: relative;
    box-sizing: border-box;
  }

  @media (max-width: 767px) {
    .gallery-filmstrip {
      border-top: 1px solid var(--gallery-chrome-line);
    }

    .gallery-thumbnail {
      width: 68px;
      height: 68px;
    }

    .gallery-thumbnail + .gallery-thumbnail {
      margin-left: 8px;
    }
  }

  @media (min-width: 768px) {
    .gallery-thumbnail {
      width: 100%;
      height: auto;
      aspect-ratio: 1;
    }

    .gallery-thumbnail + .gallery-thumbnail {
      margin-top: 8px;
    }
  }

  .gallery-thumbnail::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #ffffff;
    z-index: 2;
    transition: width 0.2s ease;
    pointer-events: none;
  
  }

  .gallery-thumbnail.active::before {
    width: 4px;
  }

  .gallery-thumbnail:hover {
    opacity: 0.92;
  }

  .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Product Info */
  .product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
  }

  .product-vendor {
    color: #6b7280;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-bottom: -12px;
  }

  .product-sku {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: -12px;
  }

  .product-sku__label {
    font-weight: 500;
    margin-right: 4px;
  }
  .product-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #111111;
    margin: 0;
    letter-spacing: -0.02em;
  }

  .product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .price-current {
    font-size: 17px;
     color: #111111;
    letter-spacing: -0.01em;
  }

  .price-compare {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
  }

  /* Product Form */
  .product-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
  }

  #productOptionsContainer:empty {
    display: none;
  }

  .product-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .option-label {
    font-weight: 500;
    color: #111111;
    font-size: 13px;
   
    letter-spacing: 0.05em;
  }

  .option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Color Swatches */
  .option-value-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }

  .option-value-color:hover:not(.disabled) {
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.2);
  }

  .option-value-color.selected {
    border-color: #111111;
    border-width: 2px;
  }

  .option-value-color.selected::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid #111111;
    border-radius: 50%;
  }

  .option-value-color.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    position: relative;
  }

  .option-value-color.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dc2626;
    transform: rotate(45deg);
  }

  /* Size/Text Options */
  .option-value-text {
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    color: #111111;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
    
  }
  

  .option-value-text.selected {
    border-color: #c28f95;
    background: #c28f95;
    color: #111111;
  }

  .option-value-text.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
  }

  /* Quantity Selector */
  .quantity-option {
    width: fit-content;
  }

  .quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
   
    width: fit-content;
    overflow: hidden;
    background: #ffffff;
  }

  .quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: #111111;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
  }

  .quantity-btn:hover:not(:disabled) {
    background: #fafafa;
  }

  .quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    background: #ffffff;
    color: #111111;
    -moz-appearance: textfield;
  }

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

  /* Action Button */
  .product-actions {
    display: flex;
    gap: 8px;
    flex-direction: column;
    width: 100%;
    position:relative;
    opacity:unset;
  }

  .btn {
    padding: 12px 16px;
    border-radius: 0px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    width: 100%;
  }

  .btn-primary {
    background: #c28f95;
    color: #111111;
    border-color: #c28f95;
  }



  .btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .btn-primary.loading {
    opacity: 0.7;
    cursor: wait;
  }

  .btn-secondary {
    background: transparent;
    color: #111111;
    border-color: #e5e7eb;
  }

  .btn-secondary:hover:not(:disabled) {
    background: #fafafa;
    border-color: #111111;
  }

  .cart-message {
    padding: var(--spacing-component, 12px) var(--spacing-component, 16px);
    color: var(--color-success, #059669);
    font-size: var(--text-base, 14px);
    font-weight: var(--font-weight-normal, 500);
    text-transform: none;
    letter-spacing: 0;
    animation: fadeIn var(--transition, 0.3s) var(--ease-out, ease);
    border-radius: var(--border-radius-small, 4px);
    margin-top: var(--spacing-component, 12px);
    line-height: var(--line-height-base, 1.5);
    display:none;
  }
  
  .cart-message.error {
    color: var(--color-error, #b70000);
    background-color: var(--color-error-light, #ffe6e6);
    border: 1px solid var(--color-error, #b70000);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Product Description Short */
  .product-description-short {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
  }

  /* Product Description Section */
  .product-description-section {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
  }

  .description-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0px;
  }

  .product-description-content {
    line-height: 1.8;
    color: #6b7280;
    font-size: 15px;
  }

  .product-description-content h1,
  .product-description-content h2,
  .product-description-content h3 {
    color: #111111;
    font-weight: 400;
    margin-top: 16px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .product-description-content p {
    margin-bottom: 12px;
  }

  /* Related Products */
  .related-products-section {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
  }

  .section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
  }

  .section-title {
    font-size: 24px;
    font-weight: 400;
    color: #111111;
    margin: 0 0 48px 0;
    text-align: center;
    letter-spacing: -0.01em;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    gap: 16px;
  }

  /* Full Screen Gallery Modal */
  .gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
  }

  .gallery-modal.active {
    display: block;
  }

  .gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
  }

  .gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }

  .gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
  }

  .gallery-modal-close,
  .gallery-modal-nav {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10000;
    color: #fff;
    backdrop-filter: blur(10px);
  }

  .gallery-modal-close:hover,
  .gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }

  .gallery-modal-close {
    top: 16px;
    right: 16px;
  }

  .gallery-modal-nav {
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-modal-prev {
    left: 16px;
  }

  .gallery-modal-next {
    right: 16px;
  }

  .gallery-modal-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  /* Product Attributes Section */
  .product-attributes-section {
    padding: 20px 0 20px;
   
  }

  /* Accordion */
  .product-accordion {
    border-top: 1px solid #e5e7eb;
  }

  .accordion-item {
    border-bottom: 1px solid #e5e7eb;
  }

  .accordion-header {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .accordion-title {
    flex: 1;
    text-align: left;
  }

  .accordion-icon {
    width: 16px;
    height: 16px;
    position: relative;
  }

  .accordion-icon::before,
  .accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #111111;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .accordion-icon::after {
    transform: rotate(90deg);
  }

  .accordion-header[aria-expanded="true"] .accordion-icon::after {
    opacity: 0;
  }

  .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding-bottom: 0;
  }

  .accordion-panel-inner {
    padding-bottom: 12px;
  }

  .attributes-tabs-wrapper {
    margin-top: 28px;
  }

  .attributes-nav {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: -138px 31px 18px 0;
    padding: 0;
   
  }

  .attributes-tab-link {
    padding: 10px 7px;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    border: none;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color .18s ease, border-color .18s ease;
  }

  .attributes-tab-link:hover { color: #111111; }
  .attributes-tab-link.active { color: #111111; border-bottom-color: #111111; }

  .attributes-tab-content { padding-top: 20px; }

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

  .attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  .attributes-card {
    display: flex;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    align-items: flex-start;
    transition: box-shadow .18s ease, transform .12s ease, background .18s ease;
  }

  .attributes-card:hover { box-shadow: 0 6px 18px rgba(16,24,40,0.06); transform: translateY(-2px); background: #ffffff; }

  .attribute-icon { width: 40px; height: 40px; border-radius: 10px; display:flex; align-items:center; justify-content:center; background:#fafafa; color:#6b7280; flex-shrink:0; }

  .attribute-info { min-width:0; }
  .attribute-name { font-size:11px; text-transform:uppercase; color:#111111; font-weight:700; margin-bottom:6px; }
  .attribute-value-text { font-size:14px; color:#6b7280; line-height:1.4; word-break:break-word; }

  /* Product Specifications Section */
  .product-specifications-section {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
  }

  .specifications-container {
    margin-top: 16px;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .product-container {
      grid-template-columns: 1fr;
      gap: 32px;
      padding-top: 16px;
      padding-bottom: 32px;
    }
    
    .product-gallery {
      position: static;
    }
  }

  @media (max-width: 768px) {
    .product-container {
      padding: 0 12px;
      padding-top: 12px;
      padding-bottom: 16px;
      gap: 16px;
    }
    
    .product-title {
      font-size: 28px;
    }
    
    .price-current {
      font-size: 20px;
    }
    
    .gallery-modal-content {
      padding: 12px;
    }
    
    .gallery-modal-close,
    .gallery-modal-nav {
      width: 40px;
      height: 40px;
    }
    
    .gallery-modal-close {
      top: 12px;
      right: 12px;
    }
    
    .gallery-modal-prev {
      left: 12px;
    }
    
    .gallery-modal-next {
      right: 12px;
    }
    
    .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
    }
    
    .product-description-section,
    .related-products-section {
      padding: 32px 0;
    }
    
    .description-container,
    .section-container {
      padding: 0 12px;
    }
  }

  @media (max-width: 480px) {
    .product-title {
      font-size: 24px;
    }


    .products-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
  }


