/* ================================================================
   SY LABEL by SVETLANA — Custom Product Page CSS
   File: /wp-content/themes/hello-elementor-child/assets/css/sy-label-product.css
   Tokens: cream #F5EFE0 | gold #C9A84C | dark #1A1A1A | warm-white #FDFAF5
   Type: "Cormorant Garamond" (display) + "Montserrat" (ui)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── Reset scoped to our wrapper ──────────────────────────────── */
.syl-product-page *,
.syl-product-page *::before,
.syl-product-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold:       #C9A84C;
    --gold-light: #E8D5A3;
    --cream:      #F5EFE0;
    --warm-white: #FDFAF5;
    --dark:       #1A1A1A;
    --mid:        #4A4A4A;
    --light:      #7A7A7A;
    --border:     #E8E0D0;
    --whatsapp:   #25D366;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Montserrat', 'Helvetica Neue', sans-serif;
}

.syl-product-page {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--warm-white);
    font-size: 14px;
    line-height: 1.6;
}

/* Hide WooCommerce default elements we don't need */
.syl-product-page ~ .woocommerce-breadcrumb,
.woocommerce-product-gallery,
.entry-summary,
.woocommerce-tabs,
.related.products,
.product_title.entry-title {
    display: none !important;
}

/* ── TOP BAR ─────────────────────────────────────────────────── */
.syl-topbar {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.syl-breadcrumb {
    padding: 14px 40px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    background: var(--warm-white);
}

.syl-breadcrumb a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.2s;
}
.syl-breadcrumb a:hover { color: var(--gold); }
.syl-breadcrumb .current { color: var(--dark); }

/* ── MAIN PRODUCT SECTION ────────────────────────────────────── */
.syl-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    align-items: start;
}

/* ── GALLERY ─────────────────────────────────────────────────── */
.syl-gallery {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 80px;
}

.syl-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.syl-thumb {
    width: 80px;
    height: 108px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--cream);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: border-color 0.2s;
    flex-shrink: 0;
    /* No img tag inside — background-image set inline via PHP */
}

/* Kill any img WP might still inject */
.syl-thumb img,
.syl-thumb > * img {
    display: none !important;
}

.syl-thumb.active,
.syl-thumb:hover { border-color: var(--gold); }

.syl-main-image-wrap {
    position: relative;
    flex: 1;
    background: var(--cream);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.syl-main-image {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.syl-main-image.active { display: block; }

.syl-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Amazon-style zoom lens ──────────────────────────────────── */
/* The zoom lens that follows cursor */
.syl-zoom-lens {
    position: absolute;
    border: 2px solid var(--gold);
    background: rgba(201, 168, 76, 0.08);
    cursor: crosshair;
    pointer-events: none;
    display: none;
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.3);
}

/* Zoomed result pane that appears to the right */
.syl-zoom-result {
    position: absolute;
    left: calc(100% + 16px);
    top: 0;
    width: 420px;
    height: 100%;
    background-repeat: no-repeat;
    background-color: var(--warm-white);
    border: 1px solid var(--border);
    display: none;
    z-index: 100;
    box-shadow: 4px 4px 24px rgba(0,0,0,0.08);
    pointer-events: none;
}

/* Show both when hovering the main image wrapper */
.syl-main-image-wrap:hover .syl-zoom-lens,
.syl-main-image-wrap:hover .syl-zoom-result {
    display: block;
}

/* ── PRODUCT INFO ────────────────────────────────────────────── */
.syl-product-info {
    padding-left: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.syl-collection-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 4px;
    margin-top: 0;
}

.syl-product-title {
    font-family: var(--font-serif);
    font-size: 36px !important;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 4px !important;
    margin-top: 0 !important;
}

/* ── PRICE ───────────────────────────────────────────────────── */
.syl-price-wrap { margin-bottom: 16px; }

.syl-price-original {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--light);
    text-decoration: line-through;
    margin-right: 10px;
}
.syl-price-sale {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--dark);
}
.syl-price-regular {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--dark);
}
/* Override WooCommerce price styling inside our wrapper */
.syl-price-wrap .woocommerce-Price-amount {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.syl-tax-note {
    font-size: 12px;
    color: var(--light);
    margin-top: 4px;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.syl-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* ── SHORT DESC ──────────────────────────────────────────────── */
.syl-short-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--mid);
}
.syl-short-desc p { margin-bottom: 8px; }

/* ── ATTRIBUTE GROUPS ────────────────────────────────────────── */
.syl-attr-group { margin-bottom: 20px; }

.syl-attr-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.syl-attr-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dark);
}
.syl-attr-selected-value {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--light);
}
.syl-size-guide {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.syl-size-guide:hover { color: var(--gold); }

/* Color swatches */
.syl-colors { display: flex; gap: 10px; flex-wrap: wrap; }

.syl-color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    outline-offset: 3px;
    position: relative;
}
.syl-color-btn.active,
.syl-color-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.3);
}

/* Size buttons */
.syl-sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.syl-size-btn {
    min-width: 48px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.2s;
}
.syl-size-btn.active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}
.syl-size-btn:hover:not(.active) {
    border-color: var(--dark);
}

/* ── QUANTITY ────────────────────────────────────────────────── */
.syl-qty-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.syl-qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
}

.syl-qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.syl-qty-btn:hover { background: var(--cream); }

.syl-qty-input {
    width: 56px;
    height: 44px;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--dark);
    background: transparent;
    -moz-appearance: textfield;
}
.syl-qty-input::-webkit-outer-spin-button,
.syl-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── CTA BUTTONS ─────────────────────────────────────────────── */
.syl-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.syl-btn-primary,
.syl-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
}

.syl-btn-primary {
    background: var(--dark);
    color: #fff;
}
.syl-btn-primary:hover {
    background: #2D2D2D;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.syl-btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--dark);
}
.syl-btn-secondary:hover {
    background: var(--dark);
    color: #fff;
}

.syl-wa-icon { flex-shrink: 0; }

/* ── TRUST BADGES ────────────────────────────────────────────── */
.syl-trust-badges {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 24px;
}

.syl-badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid var(--border);
}
.syl-badge:first-child { padding-left: 0; }
.syl-badge:last-child { border-right: none; }

.syl-badge svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.syl-badge strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--dark);
    margin-bottom: 2px;
}
.syl-badge small {
    display: block;
    font-size: 10px;
    color: var(--light);
    line-height: 1.4;
}

/* ── ACCORDIONS ──────────────────────────────────────────────── */
.syl-accordions { display: flex; flex-direction: column; }

.syl-accordion {
    border-bottom: 1px solid var(--border);
}

.syl-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dark);
    user-select: none;
}
.syl-accordion summary::-webkit-details-marker { display: none; }
.syl-accordion summary span {
    font-size: 18px;
    font-weight: 300;
    color: var(--light);
    line-height: 1;
}

.syl-accordion-body {
    padding: 0 0 20px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--mid);
}
.syl-accordion-body ul {
    padding-left: 18px;
    margin-top: 8px;
}
.syl-accordion-body li { margin-bottom: 4px; }
.syl-accordion-body p { margin-bottom: 8px; }

/* ── FEATURES STRIP ──────────────────────────────────────────── */
.syl-features-strip {
    background: var(--cream);
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.syl-features-title {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 44px;
}

.syl-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.syl-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.syl-feature svg { color: var(--gold); }

.syl-feature h3 {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--dark);
}
.syl-feature p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--mid);
    text-align: center;
}

/* ── SECTION HEADER (shared) ─────────────────────────────────── */
.syl-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.syl-section-header h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--dark);
}

.syl-diamond {
    color: var(--gold);
    font-size: 10px;
}

/* ── STYLING SECTION ─────────────────────────────────────────── */
.syl-styling-section {
    padding: 70px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.syl-styling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.syl-styling-card {
    text-align: center;
}
.syl-styling-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}

.syl-styling-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 6px;
}
.syl-styling-desc {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.6;
}

/* ── SOCIAL PROOF ────────────────────────────────────────────── */
.syl-social-proof {
    background: var(--cream);
    padding: 70px 40px;
    border-top: 1px solid var(--border);
}

.syl-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.syl-review-card {
    background: #fff;
    padding: 32px;
    border: 1px solid var(--border);
}

.syl-stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }

.syl-review-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.syl-review-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--mid);
    font-style: italic;
    margin-bottom: 16px;
}

.syl-reviewer {
    font-size: 12px;
    font-weight: 500;
    color: var(--light);
    letter-spacing: 0.04em;
}

.syl-trust-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.syl-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--dark);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.syl-trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ── RELATED PRODUCTS ────────────────────────────────────────── */
.syl-related {
    padding: 70px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.syl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.syl-related-card {
    text-align: center;
}
.syl-related-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    margin-bottom: 14px;
    transition: opacity 0.3s;
}
.syl-related-card:hover img { opacity: 0.85; }

.syl-related-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--dark);
}

.syl-related-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.2s;
}
.syl-related-link:hover { color: var(--gold); }

/* ── LIGHTBOX ────────────────────────────────────────────────── */
.syl-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.syl-lightbox[hidden] { display: none; }

.syl-lb-img-wrap {
    max-width: 80vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.syl-lb-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    display: block;
}

.syl-lb-close,
.syl-lb-prev,
.syl-lb-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 12px;
    transition: opacity 0.2s;
    line-height: 1;
    z-index: 1;
}
.syl-lb-close:hover,
.syl-lb-prev:hover,
.syl-lb-next:hover { opacity: 0.7; }

.syl-lb-close { top: 20px; right: 24px; font-size: 32px; }
.syl-lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.syl-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }

/* ── TABLET (≤1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .syl-product-main {
        grid-template-columns: 1fr;
        padding: 24px 24px 48px;
    }

    .syl-gallery { position: static; }

    .syl-product-info { padding-left: 0; padding-top: 36px; }

    .syl-features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

    .syl-proof-grid { grid-template-columns: 1fr; gap: 32px; }

    .syl-styling-section,
    .syl-related { padding: 48px 24px; }
}

/* ── MOBILE (≤768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .syl-breadcrumb { padding: 12px 20px; }

    .syl-product-main { padding: 16px 16px 40px; gap: 0; }

    .syl-gallery { flex-direction: column-reverse; gap: 12px; }

    .syl-thumbs {
        flex-direction: row;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .syl-thumbs::-webkit-scrollbar { display: none; }
    .syl-thumb { width: 56px; height: 72px; }

    .syl-main-image-wrap { aspect-ratio: 4/5; }

    /* No zoom result on mobile — touch not compatible */
    .syl-zoom-result,
    .syl-zoom-lens { display: none !important; }
    .syl-main-image-wrap { cursor: default; }

    .syl-features-strip,
    .syl-social-proof { padding: 48px 20px; }

    .syl-features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .syl-styling-section,
    .syl-related { padding: 40px 16px; }

    .syl-styling-grid,
    .syl-related-grid { grid-template-columns: 1fr; gap: 32px; }

    .syl-trust-badges { flex-direction: column; gap: 16px; }
    .syl-badge { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
    .syl-badge:last-child { border-bottom: none; padding-bottom: 0; }

    /* Push page content up so sticky bar doesn't cover it */
    .syl-product-page { padding-bottom: 80px; }
}

/* ── STICKY WHATSAPP BAR — mobile only ───────────────────────── */
.syl-sticky-wa {
    display: none; /* hidden on desktop always */
}

@media (max-width: 768px) {
    .syl-sticky-wa {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--cream);         /* cream background, always visible */
        border-top: 2px solid var(--gold);
        padding: 10px 14px 14px;          /* extra bottom for safe area / home bar */
        gap: 10px;
        box-shadow: 0 -6px 24px rgba(0,0,0,0.14);
        align-items: center;
    }

    .syl-sticky-wa .syl-sticky-price-wrap {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .syl-sticky-wa .syl-sticky-label {
        font-family: var(--font-sans);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.1em;
        color: var(--light);
        text-transform: uppercase;
    }

    .syl-sticky-wa .syl-sticky-price {
        font-family: var(--font-serif);
        font-size: 18px;
        font-weight: 500;
        color: var(--dark);
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Strike-through original price if on sale */
    .syl-sticky-wa .syl-price-original {
        font-size: 12px;
        color: var(--light);
        text-decoration: line-through;
        margin-right: 4px;
        font-family: var(--font-sans);
    }
    .syl-sticky-wa .syl-price-sale,
    .syl-sticky-wa .syl-price-regular {
        font-size: 18px;
        font-family: var(--font-serif);
        color: var(--dark);
    }

    .syl-sticky-wa .syl-sticky-wa-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        height: 46px;
        padding: 0 16px;
        background: var(--dark);         /* dark background */
        color: #fff;
        text-decoration: none;
        font-family: var(--font-sans);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        white-space: nowrap;
        flex-shrink: 0;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s;
    }

    .syl-sticky-wa .syl-sticky-wa-btn:hover,
    .syl-sticky-wa .syl-sticky-wa-btn:focus {
        background: #2a2a2a;
        color: #fff;
    }

    .syl-sticky-wa .syl-sticky-wa-btn:active {
        background: var(--gold);
        color: #fff;
    }

    .syl-sticky-wa .syl-sticky-wa-btn svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }
	
	
}




/* ── Accessibility: reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}


