/* ======================================================================
   Product (PDP) — Cohort 1 (Professional Charcoal)
   Bootstrap-first: breadcrumb / row+col / badge / btn / card / form-control
   come from Bootstrap. This file only carries premium polish + the
   gallery thumb-position mechanics LightSlider doesn't ship.
   ====================================================================== */

/* ---------- Gallery thumb positions ---------- */
.product-7-gallery .lSGallery,
.product-7-gallery .lSPager.lSGallery {
    margin: 12px 0 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-7-gallery-thumb-off .lSGallery,
.product-7-gallery-thumb-off .lSPager.lSGallery { display: none !important; }

/* TOP — thumb strip sits ABOVE main image. Same flex-flip trick;
   force gallery position:relative so column-reverse can reorder. */
.product-7-gallery-thumb-top .lSSlideOuter {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}
.product-7-gallery-thumb-top .lSSlideOuter .lSGallery {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
}

/* BOTTOM — explicit so admin's default value renders correctly when
   another position was previously set + cleared. */
.product-7-gallery-thumb-bottom .lSSlideOuter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-7-gallery-thumb-bottom .lSSlideOuter .lSGallery {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
}

/* LEFT / RIGHT — lightSlider creates `.lSSlideOuter` with
   `.lSSlideWrapper` (main) + `.lSPager.lSGallery` (thumbs).
   .lSGallery is position:absolute by default (taken out of flow);
   force position:relative so flex-direction can reorder children. */
.product-7-gallery-thumb-left .lSSlideOuter,
.product-7-gallery-thumb-right .lSSlideOuter {
    display: flex;
    align-items: stretch;
    gap: 12px;
}
.product-7-gallery-thumb-left .lSSlideOuter { flex-direction: row-reverse; }
.product-7-gallery-thumb-right .lSSlideOuter { flex-direction: row; }
.product-7-gallery-thumb-left .lSSlideOuter .lSGallery,
.product-7-gallery-thumb-right .lSSlideOuter .lSGallery {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    flex-shrink: 0;
    margin: 0 !important;
    width: 90px;
}
.product-7-gallery-thumb-left .lSSlideOuter .lSSlideWrapper,
.product-7-gallery-thumb-right .lSSlideOuter .lSSlideWrapper {
    flex-grow: 1;
}

.product-7-gallery .lslide img,
.product-7-gallery .lSGallery img {
    border-radius: 0.5rem;
    transition: opacity 0.3s ease;
}

.product-7-gallery .lSGallery li.active img {
    outline: 2px solid var(--bs-primary, var(--bs-body-color));
    outline-offset: -2px;
}

/* ---------- Title — treeliving fidelity: muted dark, normal weight, generous size ---------- */
.product-7-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--bs-secondary-color, var(--bs-secondary-color));
    letter-spacing: -0.005em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
@media (min-width: 992px) {
    .product-7-title { font-size: 1.85rem; }
}

/* ---------- Price — treeliving fidelity: plain large body-color number ----------
   Reference shows price as plain typography, NO wrapper box, NO border, NO bg.
   Just a big crisp number left-aligned. Old-price strike sits muted to the right. */
.product-7-price-cover {
    background: transparent;
    border: 0;
    border-left: 0;
    box-shadow: none;
    padding: 0;
}
.product-7-price-current {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--bs-body-color);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.product-7-price-old {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--bs-secondary-color, var(--bs-secondary-color));
}

/* ---------- Variation axis label — small uppercase inline left ---------- */
.product-7-page .product-variations-7-axis-label,
.product-7-page .products-variations-label-text {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--bs-secondary-color, var(--bs-secondary-color));
    min-width: 56px;
}

/* Stock indicator — green dot + text on its own line, generous breathing room */
.product-7-stock {
    color: var(--bs-success-emphasis, var(--bs-success));
    margin-top: 0.25rem;
}

/* ---------- Tabs — treeliving fidelity: 2 tabs centered, active underline ----------
   Reference shows the tabs inline-row with 2-3px bottom border under the active tab,
   separator from the surrounding content via a single hairline. Plain, no chrome. */
.product-7-tabs-wrapper {
    border-bottom: 1px solid var(--bs-border-color);
}
.product-7-tabs {
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-7-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 0.85rem 0.25rem;
    margin-bottom: -1px;                 /* overlay the wrapper's bottom border */
    color: var(--bs-secondary-color, var(--bs-secondary-color));
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.product-7-tab:hover,
.product-7-tab:focus-visible {
    color: var(--bs-body-color);
    outline: none;
}
.product-7-tab.is-active {
    color: var(--bs-body-color);
    border-bottom-color: var(--bs-body-color);
    font-weight: 600;
}

/* Tab panel content area — generous breathing room below tabs */
.product-7-tab-panel {
    padding-top: 0.5rem;
}

/* ---------- Section heading underline ---------- */
.product-7-section-heading {
    position: relative;
    padding-bottom: 8px;
}
.product-7-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--bs-primary, var(--bs-body-color));
    border-radius: 999px;
}

/* ---------- Description body — typographic rhythm ---------- */
.product-7-description-body p { margin-bottom: 1rem; }
.product-7-description-body h2,
.product-7-description-body h3,
.product-7-description-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.product-7-description-body img { max-width: 100%; height: auto; border-radius: 0.5rem; }

/* ---------- Tags hover ---------- */
.product-7-tag { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.product-7-tag:hover {
    background: var(--bs-primary, var(--bs-body-color)) !important;
    color: var(--bs-body-bg) !important;
    border-color: var(--bs-primary, var(--bs-body-color)) !important;
}

/* ---------- Related rail — single column items keep card hover lift ---------- */
.product-7-related-list .productlayouts-1-card { box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04); }

/* Sticky only on lg+ — on mobile/tablet the related rail flows naturally so it
   never overlaps the sticky header. z-index 1 keeps it BELOW the header
   (which uses .sticky-top z-index 1020). */
@media (min-width: 992px) {
    .product-7-related {
        position: sticky;
        top: 90px;
        z-index: 1;
    }
}
