@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── PRODUCT PAGE LAYOUT ── */
.ll-prod-wrap { max-width: 1300px; margin: 0 auto; padding: 120px 40px 40px; font-family: 'Poppins', sans-serif; }
.ll-prod-main { display: grid; grid-template-columns: 1fr 440px; gap: 60px; margin-bottom: 80px; }

/* ── IMAGE GALLERY ── */
.ll-gallery { position: sticky; top: 88px; }
.ll-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ll-gallery-cell { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; }
.ll-gallery-img { width: 100% !important; height: 100% !important; object-fit: cover !important; cursor: pointer; transition: opacity .2s; display: block; }
.ll-gallery-img:hover { opacity: .92; }

/* ── PRODUCT INFO ── */
.ll-prod-info { padding-top: 10px; }
.ll-prod-name { font-size: 26px; font-weight: 700; color: #111; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .5px; }
.ll-prod-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ll-prod-stars .stars { color: #f4c04b; font-size: 14px; }
.ll-prod-stars .rev-count { font-size: 12px; color: #555; font-weight: 500; }
.ll-prod-stars .rev-link { font-size: 12px; color: #111; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Bundle banner */
.ll-bundle-banner { background: #f8f6f3; border: 1px solid #e8e5e0; padding: 12px 16px; margin-bottom: 18px; border-radius: 2px; font-size: 12px; font-weight: 600; color: #111; display: flex; align-items: center; justify-content: space-between; }
.ll-bundle-banner span { color: #b5946a; }

/* Price */
.ll-prod-price { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ll-price-sale { font-size: 22px; font-weight: 700; color: #111; }
.ll-price-original { font-size: 16px; color: #999; text-decoration: line-through; }
.ll-price-badge { background: #c0392b; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; letter-spacing: 1px; }

/* Color selector */
.ll-color-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111; margin-bottom: 10px; }
.ll-color-label span { font-weight: 400; color: #444; }
.ll-colors { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.ll-color-swatch { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; cursor: pointer; border: 3px solid transparent; transition: all .2s; }
.ll-color-swatch:hover, .ll-color-swatch.active { border-color: #111; transform: scale(1.08); }
.ll-color-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Size selector */
.ll-size-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111; margin-bottom: 10px; display: flex; justify-content: space-between; }
.ll-size-label a { font-weight: 400; color: #888; text-decoration: underline; font-size: 11px; }
.ll-sizes { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ll-size-btn { min-width: 52px; height: 44px; padding: 0 12px; border: 1px solid #ddd; background: #fff; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .5px; cursor: pointer; transition: all .2s; color: #111; }
.ll-size-btn:hover, .ll-size-btn.active { border-color: #111; background: #111; color: #fff; }
.ll-size-btn.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* Add to bag */
.ll-atb-wrap { display: flex; gap: 10px; margin-bottom: 16px; }
.ll-qty-wrap { display: flex; align-items: center; border: 1px solid #ddd; }
.ll-qty-btn { width: 40px; height: 52px; background: none; border: none; font-size: 20px; cursor: pointer; color: #111; display: flex; align-items: center; justify-content: center; }
.ll-qty-val { width: 40px; text-align: center; font-size: 14px; font-weight: 600; font-family: 'Poppins', sans-serif; border: none; outline: none; }
.ll-add-to-bag { flex: 1; height: 52px; background: #c0392b; color: #fff; border: none; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.ll-add-to-bag:hover { background: #a93226; }
.ll-add-to-bag.added { background: #27ae60; }
.ll-stock-soldout { display: inline-block; padding: 4px 10px; background: #111; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-left: 12px; vertical-align: middle; border: 1px solid rgba(255,255,255,.2); }
.ll-add-to-bag.disabled, .ll-add-to-bag:disabled { background: #cccccc !important; color: #666666 !important; cursor: not-allowed !important; pointer-events: none; border: none !important; }
.ll-soldout-notice { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: #c0392b; margin: 8px 0 16px 0; letter-spacing: 0.5px; }
.ll-upsell-btn.disabled, .ll-upsell-btn:disabled { background: #cccccc !important; color: #666666 !important; cursor: not-allowed !important; pointer-events: none; }

/* Shipping note */
.ll-ship-note { font-size: 12px; color: #555; margin-bottom: 22px; display: flex; align-items: center; gap: 6px; }
.ll-ship-note svg { flex-shrink: 0; }

/* Accordion */
.ll-accordion { border-top: 1px solid #e8e8e8; margin-bottom: 0; }
.ll-acc-item { border-bottom: 1px solid #e8e8e8; }
.ll-acc-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111; }
.ll-acc-header:hover { opacity: .7; }
.ll-acc-icon { font-size: 18px; font-weight: 300; transition: transform .3s; }
.ll-acc-body { display: none; padding: 0 0 18px; font-size: 14px; color: #2a2a2a; line-height: 1.8; }
.ll-acc-item.open .ll-acc-body { display: block; }
.ll-acc-item.open .ll-acc-icon { transform: rotate(45deg); }
.ll-size-guide-btn { display: inline-block; width: auto; margin-top: 12px; padding: 9px 18px; background: #fff; color: #111 !important; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 1px solid #111; transition: all .25s; line-height: 1.2; }
.ll-size-guide-btn:hover { background: #ececec; color: #111 !important; opacity: 1; }

/* SIZE label row — current size left, "What's my size?" link right */
.ll-size-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ll-size-current { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111; }
.ll-whats-my-size { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .5px; color: #111 !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.ll-whats-my-size:hover { opacity: .6; }
.ll-whats-my-size svg { flex-shrink: 0; }

/* Size Guide popup modal */
.ll-size-modal { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.7); align-items: center; justify-content: center; padding: 20px; }
.ll-size-modal.open { display: flex; }
.ll-size-modal-inner { position: relative; background: #fff; max-width: 720px; width: 100%; max-height: 90vh; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.ll-size-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: none; background: rgba(255,255,255,.9); color: #111; font-size: 18px; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ll-size-modal-close:hover { background: #111; color: #fff; }
.ll-size-modal-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ll-size-modal-scroll img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) {
    .ll-size-modal { padding: 12px; }
    .ll-size-modal-inner { max-height: 88vh; }
}

/* Customer photos */
.ll-cust-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111; margin: 24px 0 14px; }
.ll-cust-photos { display: flex; gap: 6px; }
.ll-cust-photo { width: 80px; height: 80px; object-fit: cover; cursor: pointer; }

/* Upsell sidebar */
.ll-upsell-title { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #555; margin-bottom: 12px; }
.ll-upsell-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; align-items: center; }
.ll-upsell-img { width: 60px; height: 74px; object-fit: cover; flex-shrink: 0; }
.ll-upsell-info { flex: 1; }
.ll-upsell-name { font-size: 12px; font-weight: 600; color: #111; margin-bottom: 4px; }
.ll-upsell-price { font-size: 12px; color: #111; }
.ll-upsell-price del { color: #999; font-size: 11px; }
.ll-upsell-price ins { text-decoration: none; font-weight: 700; }
.ll-upsell-btn { background: #c0392b; color: #fff; border: none; padding: 7px 16px; font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; margin-top: 6px; display: block; transition: background .2s; }
.ll-upsell-btn:hover { background: #a93226; }

/* Related products */
.ll-related { margin-bottom: 80px; }
.ll-related-title { font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 30px; text-align: center; }
.ll-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }
.ll-rel-card { background: #f9f8f6; position: relative; overflow: hidden; cursor: pointer; }
.ll-rel-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .6s ease; }
.ll-rel-card:hover .ll-rel-img { transform: scale(1.05); }
.ll-rel-info { padding: 12px 14px 14px; background: #fff; }
.ll-rel-name { font-size: 15px; font-weight: 600; color: #111; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-rel-price { font-size: 14px; color: #111; }
.ll-rel-price del { color: #999; font-size: 12px; }
.ll-rel-price ins { text-decoration: none; font-weight: 700; }

/* Reviews section */
.ll-reviews-section { margin-bottom: 80px; }
.ll-reviews-header { text-align: center; margin-bottom: 40px; }
.ll-reviews-header h2 { font-size: 32px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.ll-reviews-header .stars-big { color: #f4c04b; font-size: 20px; letter-spacing: 3px; }
.ll-reviews-header .rev-meta { font-size: 12px; color: #555; font-weight: 600; letter-spacing: 1px; }
.ll-reviews-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ll-rev-card { background: #fff; border: 1px solid #f0f0f0; padding: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.ll-rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ll-rev-avatar { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.ll-rev-name { font-size: 12px; font-weight: 700; color: #111; }
.ll-rev-stars { color: #f4c04b; font-size: 11px; }
.ll-rev-date { font-size: 10px; color: #aaa; }
.ll-rev-text { font-size: 13px; line-height: 1.8; color: #2a2a2a; }
/* Higher-specificity override for review text — protects against LL Design or other plugins forcing color:white */
.ll-prod-wrap .ll-reviews-section .ll-rev-text,
body .ll-prod-wrap .ll-rev-text { font-size: 13px !important; line-height: 1.8 !important; color: #2a2a2a !important; display: block !important; visibility: visible !important; opacity: 1 !important; overflow: visible !important; max-height: none !important; -webkit-line-clamp: unset !important; margin: 10px 0 !important; }
.ll-rev-verified { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #27ae60; text-transform: uppercase; margin-top: 10px; display: block; }

/* Categories section */
.ll-categories { margin-bottom: 60px; }
.ll-cat-title { font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 24px; }
.ll-cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.ll-cat-item { position: relative; overflow: hidden; cursor: pointer; }
.ll-cat-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .6s ease; }
.ll-cat-item:hover .ll-cat-img { transform: scale(1.05); }
.ll-cat-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); padding: 20px 16px 16px; }
.ll-cat-name { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* Lightbox */
#ll-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 99999; display: none; align-items: center; justify-content: center; }
#ll-lightbox.open { display: flex; }
#ll-lightbox img { max-height: 90vh; max-width: 90vw; object-fit: contain; }
#ll-lb-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; }
#ll-lb-prev, #ll-lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 22px; width: 50px; height: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#ll-lb-prev { left: 20px; } #ll-lb-next { right: 20px; }

/* Responsive */
@media(max-width:1024px){ .ll-prod-main { grid-template-columns: 1fr; } .ll-gallery { position: static; } }
@media(max-width:768px){ .ll-prod-wrap { padding-top: 160px !important; padding-left: 16px; padding-right: 16px; padding-bottom: 20px; }.ll-related-grid,.ll-cat-grid { grid-template-columns: repeat(2,1fr); }
    /* Reviews: one-at-a-time horizontal swipe carousel on mobile */
    .ll-reviews-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 6px;
        align-items: flex-start;
    }
    .ll-reviews-grid::-webkit-scrollbar { display: none; }
    .ll-rev-card {
        flex: 0 0 calc(100% - 24px);
        scroll-snap-align: center;
        box-sizing: border-box;
        overflow: visible !important;
        min-height: auto !important;
        height: auto !important;
    }
    .ll-rev-card .ll-rev-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #2a2a2a !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        margin: 12px 0 !important;
        overflow: visible !important;
        max-height: none !important;
        -webkit-line-clamp: unset !important;
    }
}

/* Related products carousel */
.ll-related { position: relative; padding: 0 40px; }
.ll-related-grid {
    display: flex !important;
    gap: 3px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
}
.ll-related-grid::-webkit-scrollbar { display: none; }
.ll-rel-card {
    flex: 0 0 calc(25% - 3px) !important;
    min-width: 220px !important;
    text-decoration: none !important;
}
.ll-rel-prev, .ll-rel-next {
    position: absolute;
    top: 40%; transform: translateY(-50%);
    z-index: 10; width: 38px; height: 38px;
    background: transparent; border: none;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; font-size: 26px; color: #111;
    box-shadow: none;
    transition: opacity .2s;
}
.ll-rel-prev { left: -20px; }
.ll-rel-next { right: -20px; }
.ll-rel-prev:hover, .ll-rel-next:hover { background: transparent; color: #111; opacity: .55; }

/* ── GIFT CARD DETAIL PAGE ── */
.ll-gallery-grid--single { grid-template-columns: 1fr; }
.ll-gallery-grid--single .ll-gallery-cell {
    aspect-ratio: 4/5;
    max-width: 100%;
    margin: 0 auto;
    background: #f5f5f5;
}
.ll-gallery-grid--single .ll-gallery-img { object-fit: cover; }

.ll-giftcard-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
    color: #b76e79; text-transform: uppercase;
    margin: 0 0 10px;
}
.ll-giftcard-tagline {
    font-size: 14px; line-height: 1.7; color: #555;
    margin: 0 0 24px; padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.ll-giftcard-tagline p { margin: 0; }

.ll-giftcard-form {
    background: #fafafa; padding: 22px; border-radius: 6px;
    margin: 0 0 24px; border: 1px solid #ececec;
}
.ll-giftcard-form .quantity { display: none; } /* gift card qty is 1, no need */
.ll-giftcard-form .single_add_to_cart_button {
    width: 100%; background: #111 !important; color: #fff !important;
    border: none !important; padding: 16px !important;
    font-size: 11px !important; font-weight: 700 !important;
    letter-spacing: 2.5px !important; text-transform: uppercase !important;
    border-radius: 0 !important; cursor: pointer !important;
    margin-top: 14px !important;
    transition: background .2s !important;
}
.ll-giftcard-form .single_add_to_cart_button:hover { background: #333 !important; }
.ll-giftcard-form label { font-size: 12px; font-weight: 600; color: #333; }
.ll-giftcard-form input[type="text"],
.ll-giftcard-form input[type="email"],
.ll-giftcard-form input[type="number"],
.ll-giftcard-form input[type="date"],
.ll-giftcard-form textarea,
.ll-giftcard-form select {
    width: 100%; padding: 10px 12px;
    border: 1px solid #ddd; border-radius: 4px;
    font-size: 13px; font-family: inherit;
    background: #fff; margin-top: 4px;
}
.ll-giftcard-form textarea { min-height: 70px; resize: vertical; }

.ll-giftcard-trust {
    display: flex; flex-direction: column; gap: 12px;
    margin: 0 0 28px; padding: 18px; background: #fbf7f4;
    border-radius: 6px; border: 1px solid #f0e6e0;
}
.ll-gc-trust-item {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 13px; line-height: 1.5;
}
.ll-gc-trust-icon { font-size: 20px; flex-shrink: 0; }
.ll-gc-trust-item strong {
    display: block; font-weight: 700; color: #111;
    font-size: 13px; margin-bottom: 2px;
}
.ll-gc-trust-item span { color: #777; font-size: 12px; }

.ll-giftcard-desc {
    border-top: 1px solid #f0f0f0; padding-top: 24px;
}
.ll-giftcard-desc h3 {
    font-size: 14px; font-weight: 700; color: #111;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin: 0 0 12px;
}
.ll-giftcard-desc p {
    font-size: 13px; line-height: 1.7; color: #555;
    margin: 0 0 10px;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE TEXT — Dark override (bulletproof, wins over theme/cache/LL Design plugin)
═══════════════════════════════════════════ */
/* Title — higher specificity than LL Design plugin's .ll-prod-name so it stays big on detail page */
.ll-prod-wrap h1.ll-prod-name { font-size: 30px !important; color: #111 !important; line-height: 1.15 !important; }
/* Description + all accordion body text — dark + readable */
.ll-prod-wrap .ll-acc-body,
.ll-prod-wrap .ll-acc-body * { color: #1a1a1a !important; font-size: 15px !important; line-height: 1.85 !important; }
.ll-prod-wrap .ll-acc-header { color: #111 !important; }
.ll-prod-wrap .ll-rev-text { color: #1a1a1a !important; }
.ll-prod-wrap .ll-color-label span { color: #333 !important; }
.ll-prod-wrap .ll-ship-note { color: #444 !important; }
.ll-prod-wrap .rev-count,
.ll-prod-wrap .ll-prod-stars .rev-count { color: #444 !important; }
.ll-prod-wrap .ll-upsell-title { color: #444 !important; }
.ll-prod-wrap .ll-reviews-header .rev-meta { color: #444 !important; }
.ll-prod-wrap .ll-prod-desc,
.ll-prod-wrap .ll-prod-desc * { color: #1a1a1a !important; }
/* Related "We Think You'd Like" — bigger + dark */
.ll-prod-wrap .ll-rel-name { font-size: 15px !important; color: #111 !important; }
.ll-prod-wrap .ll-rel-price { font-size: 14px !important; color: #111 !important; }
/* Upsell item names/prices — dark + readable */
.ll-prod-wrap .ll-upsell-name { font-size: 14px !important; color: #111 !important; }
.ll-prod-wrap .ll-upsell-price { font-size: 13px !important; color: #111 !important; }
