/** Shopify CDN: Minification failed

Line 20:23 Unexpected "{"
Line 20:32 Expected ":"
Line 20:39 Unexpected "{"
Line 21:31 Expected identifier but found whitespace
Line 21:33 Unexpected "{"
Line 21:42 Expected ":"
Line 22:33 Expected identifier but found whitespace
Line 22:35 Unexpected "{"
Line 22:44 Expected ":"
Line 23:35 Expected identifier but found whitespace
... and 90 more hidden warnings

**/
  /* ==========================================================================
     1. SCOPED CSS FOR LUMISTELLE PRODUCT PAGE
     ========================================================================== */

  #lumistelle-product-{{ section.id }} {
    --lumistelle-carousel-text: {{ section.settings.text_color | default: '#111111' }};
    --lumistelle-carousel-border: {{ section.settings.border_color | default: '#e5e5e5' }};
    --lumistelle-carousel-image-bg: {{ section.settings.image_bg | default: '#f5f5f5' }};
    --lumistelle-carousel-title-color: {{ section.settings.product_title_color | default: '#111111' }};
    --lumistelle-carousel-vendor-color: {{ section.settings.vendor_color | default: '#666666' }};
    --lumistelle-carousel-price: {{ section.settings.price_color | default: '#111111' }};
    --lumistelle-carousel-compare-price: {{ section.settings.compare_price_color | default: '#999999' }};
    --lumistelle-carousel-button-bg: {{ section.settings.add_to_cart_bg | default: '#111111' }};
    --lumistelle-carousel-button-text: {{ section.settings.add_to_cart_text | default: '#ffffff' }};
    --lumistelle-carousel-button-bg-hover: {{ section.settings.add_to_cart_bg_hover | default: '#333333' }};
    --lumistelle-carousel-variant-border-selected: {{ section.settings.selected_variant_border | default: '#111111' }};
    --lumistelle-carousel-variant-bg-selected: {{ section.settings.selected_variant_bg | default: '#111111' }};
    --lumistelle-carousel-variant-text-selected: {{ section.settings.selected_variant_text | default: '#ffffff' }};
    --lumistelle-carousel-low-stock: {{ section.settings.low_stock_color | default: '#e31b23' }};
    --lumistelle-carousel-badge-discount-bg: {{ section.settings.discount_badge_bg | default: '#f5f5f5' }};
    --lumistelle-carousel-badge-discount-text: {{ section.settings.discount_badge_text | default: '#e31b23' }};
    --lumistelle-carousel-transition-fast: 0.2s ease;
    --lumistelle-measurements-bg: {{ section.settings.measurements_bg_color }};
    --lumistelle-measurements-border: {{ section.settings.measurements_border_color }};
    --lumistelle-measurements-heading-size: {{ section.settings.measurements_heading_font_size }}px;
    --lumistelle-measurements-heading-weight: {{ section.settings.measurements_heading_font_weight }};
    --lumistelle-measurements-heading-transform: {{ section.settings.measurements_heading_transform }};
    --lumistelle-measurements-heading-color: {{ section.settings.measurements_heading_color }};
    --lumistelle-measurements-label-size: {{ section.settings.measurements_label_font_size }}px;
    --lumistelle-measurements-label-weight: {{ section.settings.measurements_label_font_weight }};
    --lumistelle-measurements-label-color: {{ section.settings.measurements_label_color }};
    --lumistelle-measurements-value-size: {{ section.settings.measurements_value_font_size }}px;
    --lumistelle-measurements-value-weight: {{ section.settings.measurements_value_font_weight }};
    --lumistelle-measurements-value-color: {{ section.settings.measurements_value_color }};
  }

    .lumistelle-product-section {
    /*padding: 1rem 0;*/
    margin-top: 61px;
    }

    .lumistelle-product__form-container {
    padding: 0 1.2rem;
  }

  /* --- Positioning for Wishlist Button --- */
  .lumistelle-carousel__actions {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 4; /* Ensure it's above the gallery dots */
  }

  /* --- MOBILE-FIRST STYLES (Copied from Carousel) --- */
  .lumistelle-product__info {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
  }

  .lumistelle-product__info .lumistelle-carousel__product-vendor {
    font-size: 1.4rem;
    color: var(--lumistelle-carousel-vendor-color);
    text-transform: uppercase;
    text-align: center;
  }

.lumistelle-product__info .lumistelle-product__main-title {
    margin: 0;
    font-size: var(--title-font-size, 2.4rem);
    font-weight: var(--title-font-weight, 600);
    line-height: var(--title-line-height, 1.3);
    color: var(--title-color, var(--lumistelle-carousel-title-color));
    text-transform: var(--title-text-transform, none);
    letter-spacing: var(--title-letter-spacing, 0);
    text-align: center;
    word-break: break-word;

    /* Ensure wrapping and disable truncation */
    white-space: normal;
    overflow: visible;
    text-overflow: clip; /* 'clip' or 'unset' both work here */
  }

  .lumistelle-product__info .lumistelle-carousel__product-price {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .lumistelle-product__info .lumistelle-carousel__price--current { font-size: 1.8rem; font-weight: 600; color: var(--lumistelle-carousel-price); }
  .lumistelle-product__info .lumistelle-carousel__price--compare { font-size: 1.8rem; color: var(--lumistelle-carousel-compare-price); text-decoration: line-through; }
  .lumistelle-product__info .lumistelle-carousel__discount { font-size: 1.4rem; background: var(--lumistelle-carousel-badge-discount-bg); color: var(--lumistelle-carousel-badge-discount-text); padding: 0.125rem 0.375rem; border-radius: 4px; font-weight: 600; }
  .lumistelle-product__info .lumistelle-stock-status { font-size: 1.2rem; font-weight: 500; padding: 0.125rem 0.375rem; border-radius: 4px; display: inline-block; }
  .lumistelle-product__info .lumistelle-stock-available { color: #22c55e; background: rgba(34, 197, 94, 0.1); }
  .lumistelle-product__info .lumistelle-stock-low { color: var(--lumistelle-carousel-low-stock); }
  .lumistelle-product__info .lumistelle-stock-out { color: #6b7280; background: #f3f4f6; }

  .lumistelle-product__info .lumistelle-carousel__variants { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
  .lumistelle-product__info .lumistelle-carousel__colors { display: flex; gap: 0.5rem; justify-content: center; }
  .lumistelle-product__info .lumistelle-carousel__color {
    width: 50px;
    height: 62px; /* 4:5 Aspect Ratio */
    border-radius: 8px;
    border: 2.5px solid var(--lumistelle-carousel-border);
    
    cursor: pointer;
    transition: all var(--lumistelle-carousel-transition-fast);
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: var(--lumistelle-carousel-image-bg);
  }
  .lumistelle-product__info .lumistelle-carousel__color.active {
    border-color: var(--lumistelle-carousel-variant-border-selected);
    transform: scale(1.1);
    border-color: #AFC0FF;
  }
  .lumistelle-product__info .lumistelle-carousel__color img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .lumistelle-product__info .lumistelle-carousel__sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
  .lumistelle-product__info .lumistelle-carousel__size {
    min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--lumistelle-carousel-border);
    background: white; border-radius: 15px; font-size: 1.7rem; font-weight: 700; cursor: pointer;
    transition: all var(--lumistelle-carousel-transition-fast); display: flex; align-items: center; justify-content: center;
  }
  .lumistelle-product__info .lumistelle-carousel__size.active {
    background: var(--lumistelle-carousel-variant-bg-selected); color: var(--lumistelle-carousel-variant-text-selected);
    border-color: var(--lumistelle-carousel-variant-bg-selected);
  }
  .lumistelle-product__info .lumistelle-carousel__size.out-of-stock, .lumistelle-product__info .lumistelle-carousel__color.out-of-stock {
    opacity: 0.6; cursor: not-allowed; position: relative;
  }
  .lumistelle-product__info .lumistelle-carousel__size.out-of-stock::after, .lumistelle-product__info .lumistelle-carousel__color.out-of-stock::after {
    content: ''; position: absolute; top: 50%; left: 25%; right: 25%; height: 3px;
    background-color: var(--lumistelle-carousel-text, #000000); opacity: 0.8;
    transform: translateY(-50%); z-index: 1;
  }

  .lumistelle-product__info .lumistelle-carousel__quick-add {
    width: 100%; padding: 1.2rem 1rem; background: var(--lumistelle-carousel-button-bg); color: var(--lumistelle-carousel-button-text);
    border: none; border-radius: 4px; font-size: 1.8rem; font-weight: 600; cursor: pointer;
    transition: all var(--lumistelle-carousel-transition-fast); display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; position: relative;
  }
  .lumistelle-product__info .lumistelle-carousel__quick-add:disabled { opacity: 0.5; cursor: not-allowed; }
  .lumistelle-product__info .lumistelle-carousel__quick-add-text { transition: opacity 0.2s ease; }
  .lumistelle-product__info .lumistelle-carousel__quick-add-loading {
    display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite;
    position: absolute; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px;
  }
  .lumistelle-product__info .lumistelle-carousel__quick-add.loading .lumistelle-carousel__quick-add-text { opacity: 0; }
  .lumistelle-product__info .lumistelle-carousel__quick-add.loading .lumistelle-carousel__quick-add-loading { display: block; }
  @keyframes spin { to { transform: rotate(360deg); } }

    /* --- Success & Error States --- */
    #lumistelle-product-{{ section.id }} .lumistelle-carousel__quick-add.success {
    background-color: #22c55e; /* Green background */
    border-color: #22c55e;
    }

    #lumistelle-product-{{ section.id }} .lumistelle-carousel__quick-add.error {
    background-color: #ef4444; /* Red background */
    border-color: #ef4444;
    }

  .lumistelle-product__info .variant-picker__label {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
    color: black;
  }
  .lumistelle-product__info .lumistelle-carousel__sizes {
    display: flex;
    gap: 0.8rem; /* Increased gap slightly for the new item */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Vertically align all items */
  }
  .size-guide-trigger {
    display: inline-flex; /* Use inline-flex to align with buttons */
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lumistelle-carousel-vendor-color);
    text-decoration: none;
    transition: color 0.2s ease;
    /* Add some left margin to push it away from the last size button */
    margin-left: 0.5rem;
  }
  .size-guide-trigger:hover {
    color: var(--lumistelle-carousel-text);
    text-decoration: underline;
  }
  .size-guide-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lumistelle-carousel-vendor-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .size-guide-trigger:hover {
    color: var(--lumistelle-carousel-text);
    text-decoration: underline;
  }

/* --- Real Measurements Block --- */
.lumistelle-product__measurements {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--lumistelle-measurements-border, var(--lumistelle-carousel-border));
  border-radius: 8px;
  background-color: var(--lumistelle-measurements-bg, var(--lumistelle-carousel-image-bg));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lumistelle-product__measurements.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lumistelle-product__measurements-heading {
  font-size: var(--lumistelle-measurements-heading-size, 1.2rem);
  font-weight: var(--lumistelle-measurements-heading-weight, 600);
  text-transform: var(--lumistelle-measurements-heading-transform, uppercase);
  letter-spacing: 0.05em;
  color: var(--lumistelle-measurements-heading-color, var(--lumistelle-carousel-vendor-color));
  margin: 0 0 0.8rem 0;
  text-align: left;
}

.lumistelle-product__measurements-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--lumistelle-measurements-border, var(--lumistelle-carousel-border));
}

.lumistelle-product__measurements-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.lumistelle-product__measurements-item:first-of-type {
  padding-top: 0;
}

.lumistelle-product__measurements-label {
  font-size: var(--lumistelle-measurements-label-size, 1.4rem);
  font-weight: var(--lumistelle-measurements-label-weight, 400);
  color: var(--lumistelle-measurements-label-color, var(--lumistelle-carousel-vendor-color));
}

.lumistelle-product__measurements-value {
  font-size: var(--lumistelle-measurements-value-size, 1.4rem);
  font-weight: var(--lumistelle-measurements-value-weight, 600);
  color: var(--lumistelle-measurements-value-color, var(--lumistelle-carousel-text));
}

/* --- Stepper Add to Cart Button --- */
  .stepper-atc {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--lumistelle-carousel-border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    height: 48px;
  }
  .stepper-atc__controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background-color: #f9f9f9;
  }
  .stepper-atc__control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lumistelle-carousel-text);
    transition: background-color 0.2s ease;
  }
  .stepper-atc__control:hover {
    background-color: #f0f0f0;
  }
  .stepper-atc__control:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .stepper-atc__quantity {
    width: 40px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--lumistelle-carousel-border);
    border-right: 1px solid var(--lumistelle-carousel-border);
    background-color: white;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0;
    -moz-appearance: textfield;
  }
  .stepper-atc__quantity::-webkit-outer-spin-button,
  .stepper-atc__quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  .stepper-atc__submit {
    flex-grow: 1;
    margin-top: 0;
    border-radius: 0;
    height: 100%;
    padding: 0 1rem;
  }

/* --- Trust Block Elements --- */
.lumistelle-trust-policies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  width: 100%;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--lumistelle-carousel-border);
}

.lumistelle-trust-policy {
  display: grid;
  grid-template-columns: var(--badge-size, 30px) 1fr;
  gap: 0 1.5rem;
  align-items: center;
  text-align: var(--text-align, left);
  text-decoration: none; /* For when it's a link */
}

.lumistelle-trust-policy__icon {
  grid-row: 1 / 3;
  width: var(--badge-size, 30px);
  height: var(--badge-size, 30px);
  color: var(--lumistelle-carousel-text);
}

.lumistelle-trust-policy__icon svg,
.lumistelle-trust-policy__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lumistelle-trust-policy__icon svg {
  stroke-width: 1.5;
}

.lumistelle-trust-policy__heading {
  font-size: var(--heading-font-size, 1.4rem);
  font-weight: var(--heading-font-weight, 600);
  color: var(--heading-color, var(--lumistelle-carousel-text));
  line-height: 1.3;
}

.lumistelle-trust-policy__description {
  font-size: var(--description-font-size, 1.3rem);
  font-weight: var(--description-font-weight, 400);
  color: var(--description-color, var(--lumistelle-carousel-vendor-color));
  line-height: 1.4;
}

.lumistelle-trust-payments {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--lumistelle-carousel-border);
  text-align: center;
}

.lumistelle-trust-payments__heading {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--lumistelle-carousel-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lumistelle-trust-payments__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.lumistelle-trust-payments__icons .payment-icon {
  height: 24px;
  width: auto;
}

@media screen and (min-width: 750px) {
  .lumistelle-product__form-container {
    padding: 0 2rem;
  }
  .lumistelle-trust-policies-grid {
    grid-template-columns: repeat(var(--policies-per-row, 4), 1fr);
    gap: 2rem;
  }
  .lumistelle-trust-policy {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    justify-items: center;
    text-align: var(--text-align, center);
  }
  .lumistelle-trust-policy__icon {
    grid-row: auto;
  }
}

@media screen and (min-width: 990px) {
  .lumistelle-trust-policies-grid,
  .lumistelle-trust-payments {
    border-top: none;
    padding-top: 0;
    margin-top: 2rem;
  }
  .lumistelle-trust-policies-grid {
    text-align: center; 
  }
  .lumistelle-trust-payments {
    align-items: center;
    text-align: center;
  }
  .lumistelle-trust-policy {
    grid-template-columns: var(--badge-size, 30px) 1fr;
    gap: 0 1.5rem;
    justify-items: start;
    text-align: var(--text-align, left);
  }
  .lumistelle-trust-policy__icon {
    grid-row: 1 / 3;
  }
  .lumistelle-trust-payments__icons {
    justify-content: center;
  }
}

/* --- Metafield Blocks --- */
.lumistelle-metafield-block {
  text-align: var(--text-align, center);
  margin-top: 1.5rem;
}

.lumistelle-metafield-hook {
  font-size: var(--font-size, 1.6rem);
  font-weight: var(--font-weight, 500);
  color: var(--color, var(--lumistelle-carousel-text));
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.lumistelle-metafield-hook p {
  margin: 0;
}

.lumistelle-metafield-list__heading {
  font-size: var(--heading-font-size, 1.6rem);
  font-weight: var(--heading-font-weight, 600);
  color: var(--heading-color, var(--lumistelle-carousel-text));
  text-align: var(--heading-text-align, center);
  margin-bottom: 1.5rem;
}

.lumistelle-metafield-list-wrapper {
  /* This is the key: it overrides the parent's 'stretch' alignment */
  align-self: var(--list-align, flex-start);
  width: max-content; /* Shrink the block to fit its content... */
  max-width: 100%;   /* ...but prevent it from overflowing the page. */
}

.lumistelle-metafield-list-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--item-spacing, 1rem);
}

.lumistelle-metafield-list-wrapper li {
  display: flex;
  gap: 0.8rem;
  font-size: var(--font-size, 1.4rem);
  font-weight: var(--font-weight, 400);
  color: var(--color, var(--lumistelle-carousel-text));
  line-height: 1.5;
  text-align: left;
  max-width: 100%;
}

.lumistelle-metafield-list-wrapper li::before {
  content: '';
  flex-shrink: 0;
  width: var(--badge-size, 20px);
  height: var(--badge-size, 20px);
  margin-top: 0.25em;
  --badge-image-default: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23111111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>');
  background-image: var(--badge-image, var(--badge-image-default));
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.lumistelle-metafield-list-wrapper .list-item__text {
  flex-grow: 1;
}

.lumistelle-metafield-pair {
  display: grid;
  grid-template-columns: var(--badge-size, 30px) 1fr;
  gap: 0 1.5rem;
  align-items: center;
  text-decoration: none;
}
.lumistelle-metafield-pair p,
.lumistelle-metafield-pair h1,
.lumistelle-metafield-pair h2,
.lumistelle-metafield-pair h3 {
  margin: 0;
}

.lumistelle-metafield-pair__icon {
  grid-row: 1 / 3;
  width: var(--badge-size, 30px);
  height: var(--badge-size, 30px);
  color: var(--lumistelle-carousel-text);
}

.lumistelle-metafield-pair__icon svg,
.lumistelle-metafield-pair__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lumistelle-metafield-pair__heading {
  font-size: var(--heading-font-size, 1.4rem);
  font-weight: var(--heading-font-weight, 600);
  color: var(--heading-color, var(--lumistelle-carousel-text));
  line-height: 1.3;
}

.lumistelle-metafield-pair__description {
  font-size: var(--description-font-size, 1.3rem);
  font-weight: var(--description-font-weight, 400);
  color: var(--description-color, var(--lumistelle-carousel-vendor-color));
  line-height: 1.4;
}

/* --- Gallery Styles (V2 with Slider) --- */
.lumistelle-product__gallery {
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-gallery__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--slide-background-color, var(--lumistelle-carousel-image-bg));
  cursor: grab;
  order: 1;
  padding: 0 calc(var(--slide-gap, 10px) / 2);
}
.product-gallery__viewport.is-dragging {
  cursor: grabbing;
}
.product-gallery__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  gap: var(--slide-gap, 10px);
  margin: 0 calc(var(--slide-gap, 10px) / -2);
}
.product-gallery__slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden; /* Hide the horizontal overflow */
  height: var(--mobile-image-vh, 60vh); /* Use the CSS variable */
  border-radius: var(--slide-border-radius, 0px);
}
.product-gallery__slide img {
  position: absolute;
  top: 0;
  left: 50%; /* Center the image */
  transform: translateX(-50%); /* Perfect horizontal centering */
  width: auto; /* Let width scale proportionally */
  height: 100%; /* Force height to fill the container */
  max-width: none; /* Override any potential theme-wide max-width */
  object-fit: contain; /* Fallback, but our sizing does the work */
  pointer-events: none; /* Prevents image ghost dragging */
}
.product-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;
}
.product-gallery__arrow svg {
  width: 24px;
  height: 24px;
  stroke: #000;
}
.product-gallery__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.product-gallery__arrow--prev { left: 1rem; }
.product-gallery__arrow--next { right: 1rem; }

.lumistelle-carousel__image-dots {
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  transition: opacity 0.2s ease;
}
.lumistelle-carousel__image-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lumistelle-carousel__image-dot.active {
  background: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}
.product-gallery__thumbnails {
  display: flex;
  gap: var(--thumb-gap, 10px);
  overflow-x: auto;
  padding: var(--thumb-gap, 10px);
  scrollbar-width: none; /* Firefox */
  order: 2;
  height: var(--thumb-height, 100px);
}
.product-gallery__thumbnails::-webkit-scrollbar { display: none; /* Chrome, Safari */ }
  .product-gallery__thumbnail {
    flex: 0 0 var(--thumb-width, 80px);
    width: var(--thumb-width, 80px);
    height: 100%;
    cursor: pointer;
    border: var(--thumb-active-border-width, 2px) solid transparent;
    transition: border-color 0.2s ease;
    overflow: hidden;
    border-radius: var(--thumb-border-radius, 8px);
    background-color: var(--thumb-background-color, #FFFFFF);
    position: relative;
  }
  .product-gallery__thumbnail.is-active {
    border-color: var(--thumb-active-border-color, #111111);
    border-radius: var(--thumb-border-radius, 8px);
  }
  .product-gallery__thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: var(--thumb-border-radius, 8px);
  }

  /* --- Description --- */
  .lumistelle-product__description {
    padding: 2rem 0;
    font-size: 1.5rem;
    line-height: 1.6;
  }

  /* --- DESKTOP STYLES --- */
  @media screen and (min-width: 990px) {
    .lumistelle-product__grid {
      display: grid;
      grid-template-columns: 1fr var(--desktop-info-width, 450px);
      gap: 5rem;
      align-items: start;
      max-width: var(--desktop-content-max-width, 1300px);
      margin: 0 auto;
    }
    .lumistelle-product__gallery {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 2rem;
      position: sticky;
      top: calc(var(--header-height, 61px) + 3rem);
      height: calc(100vh - var(--header-height, 61px) - 6rem);
      min-height: 500px;
    }
    .product-gallery__thumbnails {
      flex-direction: column;
      overflow-y: auto;
      height: 100%;
      padding: 0;
      order: 1;
      margin-top: 0;
    }
    .product-gallery__thumbnails {
      height: auto;
      gap: 1rem;
    }
    .product-gallery__thumbnail {
      flex: 0 0 80px;
      width: 80px;
      height: 100px;
      border-width: 2px;
      border-radius: 8px;
      background-color: white;
    }
    .product-gallery__thumbnail.is-active {
      border-color: var(--lumistelle-carousel-button-bg);
    }
    .product-gallery__thumbnail img {
      position: static;
      transform: none;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
    }
    .product-gallery__viewport {
      order: 2;
      height: 100%;
    }
    .lumistelle-product__info {
      padding: 0;
    }

    .product-gallery__slide {
      height: 100%;
      padding-bottom: 0;
    }
    
    .product-gallery__arrow {
    display: flex;
    opacity: 0;
    }
    
    .lumistelle-product__gallery:hover .product-gallery__arrow {
    opacity: 1;
    }
    /* This makes the dots invisible by default ONLY on desktop */
    .lumistelle-carousel__image-dots {
    opacity: 0;
    }

    /* This makes the dots visible on hover ONLY on desktop */
    .lumistelle-product__gallery:hover .lumistelle-carousel__image-dots {
    opacity: 1;
    }
    .lumistelle-product__info {
      align-items: center;
    }
    .lumistelle-product__info .lumistelle-carousel__product-vendor,
    .lumistelle-product__info .lumistelle-product__main-title,
    .lumistelle-product__info .variant-picker__label {
      text-align: center;
    }
    .lumistelle-product__info .lumistelle-carousel__product-price,
    .lumistelle-product__info .lumistelle-carousel__colors,
    .lumistelle-product__info .lumistelle-carousel__sizes {
      justify-content: center;
    }
    .lumistelle-product__measurements,
    .lumistelle-product__buy-buttons {
      width: 80%;
    }
    .lumistelle-product__quantity {
      justify-content: flex-start;
    }
    .lumistelle-product__description {
      padding: 3rem 0;
    }
  }

/* --- Sticky Add to Cart Bar (V4 - Final) --- */
.lumistelle-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bar-background);
  border-top: 1px solid var(--bar-top-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding: 0 1rem;
  min-height: var(--bar-height);
  
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
}

@media screen and (max-width: 989px) {
  .lumistelle-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.lumistelle-sticky-bar.is-visible {
  visibility: visible;
  transform: translateY(0);
}

.sticky-bar__left-cluster {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
}

.sticky-bar__right-cluster {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.sticky-bar__image-wrapper {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: var(--bar-image-radius);
  overflow: hidden;
  background-color: var(--lumistelle-carousel-image-bg);
}
.sticky-bar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumistelle-sticky-bar__info {
  min-width: 0;
  flex-grow: 1;
}

.lumistelle-sticky-bar__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sticky-bar__price--final {
  font-size: var(--bar-price-size);
  font-weight: var(--bar-price-weight);
  color: var(--bar-price-color);
}
.sticky-bar__price--compare {
  font-size: calc(var(--bar-price-size) * 0.85);
  color: var(--bar-compare-price-color);
  text-decoration: line-through;
}

.lumistelle-sticky-bar__variant {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sticky-bar__variant-text {
  font-size: var(--bar-variant-size);
  font-weight: 400;
  color: var(--bar-variant-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar__low-stock {
  display: none;
  font-size: calc(var(--bar-variant-size) * 0.95);
  font-weight: var(--bar-low-stock-weight);
  color: var(--bar-low-stock-color);
  white-space: nowrap;
}

.sticky-bar__options-btn {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--bar-options-border);
  border-radius: var(--bar-options-radius);
  cursor: pointer;
  color: var(--bar-options-icon);
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.lumistelle-sticky-bar__button {
  box-sizing: border-box;
  height: 45px;
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;

  background-color: var(--bar-atc-bg);
  color: var(--bar-atc-text);
  border-radius: var(--bar-atc-radius);
  font-size: var(--bar-atc-size);
  font-weight: var(--bar-atc-weight);
  transition: background-color 0.2s ease;
  border: none;
}

.lumistelle-sticky-bar__button:hover {
  background-color: var(--bar-atc-bg-hover);
}

.sticky-bar__options-btn:hover {
  opacity: 0.7;
}

/* --- Information Hub (Tabs/Accordion) --- */
.lumistelle-info-hub {
  margin-top: 3rem;
  border-top: 1px solid var(--lumistelle-carousel-border);
  padding-top: 3rem;
}

.lumistelle-info-hub__main-heading {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem 0;
}

.info-hub__item {
  border-bottom: 1px solid var(--lumistelle-carousel-border);
}
.info-hub__item:first-of-type {
  border-top: 1px solid var(--lumistelle-carousel-border);
}

.info-hub__trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--lumistelle-carousel-text);
}

.info-hub__trigger-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.info-hub__trigger-chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.info-hub__trigger.is-active .info-hub__trigger-chevron {
  transform: rotate(180deg);
}

.info-hub__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 1rem;
}

.info-hub__panel-content {
  padding: 2rem 0;
  font-size: 1.5rem;
  line-height: 1.7;
}

.info-hub__panel-content > *:first-child {
  margin-top: 0;
}
.info-hub__panel-content > *:last-child {
  margin-bottom: 0;
}

/* Desktop Tab Styles */
@media screen and (min-width: 750px) {
  .info-hub__items-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr; /* Adjust first column width as needed */
    gap: 2rem 4rem;
  }

  .info-hub__item {
    grid-column: 1 / 2;
    border: none;
  }
  .info-hub__item:first-of-type {
    border-top: none;
  }

  .info-hub__trigger {
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .info-hub__trigger:hover {
    color: var(--lumistelle-carousel-button-bg);
  }
  .info-hub__trigger.is-active {
    border-bottom-color: var(--lumistelle-carousel-button-bg);
    color: var(--lumistelle-carousel-button-bg);
  }

  .info-hub__trigger-chevron {
    display: none;
  }

  .info-hub__panel {
    grid-column: 2 / 3;
    grid-row: 1 / 5; /* Span across all 4 potential rows */
    display: none;
    max-height: none !important;
    padding: 0;
  }
  .info-hub__panel.is-active {
    display: block;
  }
}

/* ==========================================================================
   WISHLIST BUTTON VISUAL FIXES
   ========================================================================== */

/* 1. Force the actions container to be visible on desktop */
#lumistelle-product-{{ section.id }} .lumistelle-carousel__actions {
  opacity: 1;
}

/* 2. Create a more specific rule to force the active heart color to red */
#lumistelle-product-{{ section.id }} .lumistelle-carousel__wishlist.iwishAdded {
  color: #e31b23 !important;
}

#lumistelle-product-{{ section.id }} .lumistelle-carousel__wishlist.iwishAdded svg {
  fill: #e31b23 !important;
  stroke: #e31b23 !important;
}