/**
 * Penicure Custom Sections CSS
 * Custom layout fixes and component overrides
 */

/* ============================================================
   TOP ANNOUNCEMENT BAR & VIEWPORT LAYOUT FIXES
   ============================================================ */
/* Prevent base.css 100dvh lock from squishing the announcement bar */
html:has(.page-wrapper),
html:has(.page-wrapper) body,
body {
    height: auto !important;
    min-height: 100% !important;
    /* clip (not hidden/auto) so html/body never become scroll containers — the sticky timer bar depends on it */
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.page-wrapper {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    flex: 1 0 auto !important;
}

.announcement-close-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666666;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.announcement-close-btn:hover {
    color: #111111;
}

/* ============================================================
   SECTION 1: HERO BANNER (Image LEFT 50%, Content RIGHT 50%)
   ============================================================ */
.hero-banner-section {
    background: #ffffff;
    overflow: hidden;
    width: 100%;
}

.hero-banner-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 680px;
}

.hero-banner-media {
    width: 50%;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-banner-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px clamp(30px, 5vw, 90px);
    background: #ffffff;
    box-sizing: border-box;
}

/* Dusty Rose Pill Badge */
.hero-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #df9fa8;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}

.hero-rating-stars {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 1px;
}

.hero-rating-text {
    color: #ffffff;
    font-size: 13px;
}

/* Main Heading with Rose Accent Words */
.hero-heading {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: #111111;
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
    max-width: 540px;
}

.hero-rose {
    color: #b57a84;
    font-weight: 800;
}

/* Subheading with Rose Accent Words */
.hero-subtext {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: #222222;
    margin: 0 0 32px 0;
    max-width: 480px;
    font-weight: 400;
}

.hero-subtext-rose {
    color: #b57a84;
    font-weight: 600;
}

/* Dusty Rose CTA Button */
.hero-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b57a84;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 44px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(181, 122, 132, 0.3);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-shop-btn:hover {
    background: #a36973;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(181, 122, 132, 0.4);
}

@media (max-width: 900px) {
    .hero-banner-inner {
        flex-direction: column;
    }
    .hero-banner-media,
    .hero-banner-content {
        width: 100%;
    }
    .hero-banner-content {
        padding: 40px 24px;
        align-items: center;
        text-align: center;
    }
    .hero-heading {
        text-align: center;
    }
}

/* ============================================================
   WAVE DIVIDER (Organic curved dusty rose wave matching photo)
   ============================================================ */
.hero-wave-divider {
    width: 100%;
    margin-top: -2px;
    margin-bottom: -1px;
    line-height: 0;
    display: block;
    background: #ffffff;
    overflow: hidden;
}

.hero-wave-divider svg {
    width: 100%;
    height: clamp(30px, 4vw, 52px);
    display: block;
}

/* ============================================================
   SECTION 2: SEE THE POLISH DIFFERENCE (1:1 with photo)
   ============================================================ */
.polish-difference-section {
    background: #ffffff;
    padding: clamp(36px, 5vw, 64px) 16px;
    width: 100%;
    box-sizing: border-box;
}

.polish-difference-card {
    background: #f7f7f7;
    border-radius: 28px;
    padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 64px);
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}

.polish-difference-content {
    flex: 1;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.polish-difference-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: #111111;
    line-height: 1.18;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.polish-difference-title .rose-accent {
    color: #b57a84;
    font-weight: 800;
}

.polish-difference-description {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 24px 0;
}

.polish-difference-description .rose-highlight {
    color: #b57a84;
    font-weight: 600;
}

.polish-difference-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.polish-difference-bullets li {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #222222;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.bullet-heart {
    color: #b57a84;
    font-style: normal;
    font-size: 13px;
    margin-right: 10px;
    display: inline-block;
}

.btn-difference-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b57a84;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 44px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(181, 122, 132, 0.3);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-difference-shop:hover {
    background: #a36973;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(181, 122, 132, 0.4);
}

/* Before / After Slider Component */
.polish-difference-media {
    flex: 1;
    max-width: 520px;
    width: 100%;
}

.before-after-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #000000;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.badge-pill {
    position: absolute;
    top: 16px;
    background: #b57a84;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 5;
    text-transform: uppercase;
}

.badge-after {
    right: 16px;
}

.badge-before {
    left: 16px;
}

.before-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    z-index: 4;
}

.before-overlay .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffffff;
    z-index: 6;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.slider-handle-circle span {
    display: block;
    width: 2px;
    height: 12px;
    background: #444444;
    border-radius: 1px;
}

@media (max-width: 900px) {
    .polish-difference-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
    }
    .polish-difference-content {
        align-items: center;
        max-width: 100%;
    }
    .polish-difference-bullets {
        align-items: center;
    }
    .polish-difference-media {
        max-width: 440px;
    }
}

/* ============================================================
   SECTION 2: MULTI-COLUMN FEATURES
   ============================================================ */
.features-multicolumn-section {
    background: #ffffff;
    padding: clamp(32px, 5vw, 64px) 0;
    border-top: 1px solid #f0f0f0;
}

.multicolumn-header { text-align: center; margin-bottom: clamp(24px, 3vw, 48px); }

.multicolumn-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}

.multicolumn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
    margin-bottom: 40px;
}

.multicolumn-item { display: flex; flex-direction: column; gap: 16px; }

.multicolumn-media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.multicolumn-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.multicolumn-text h3 { font-size: 1rem; font-weight: 700; color: #111111; margin-bottom: 6px; }
.multicolumn-text p { font-size: 0.88rem; color: #555555; line-height: 1.55; }
.multicolumn-cta { text-align: center; }

.btn-shopnow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
    min-height: 46px;
}

.btn-shopnow:hover { background: #2b2b2b; }

@media (max-width: 749px) {
    .multicolumn-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 3: TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: #f9f9f9;
    padding: clamp(40px, 5vw, 80px) 0;
    border-top: 1px solid #eeeeee;
}

.testimonials-header { margin-bottom: 36px; }

.testimonials-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #555555;
}

.tstars { color: #f4b82f; font-size: 1rem; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.testimonial-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tcard-top { display: flex; align-items: center; gap: 12px; }

.tcard-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eeeeee;
}

.tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard-meta { display: flex; flex-direction: column; gap: 2px; }
.tcard-stars { color: #f4b82f; font-size: 0.85rem; }
.tcard-name { font-size: 0.88rem; font-weight: 700; color: #111111; }
.tcard-verified { font-size: 0.72rem; color: #555555; }
.tcard-text { font-size: 0.88rem; color: #444444; line-height: 1.6; }

@media (max-width: 749px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 4: RICH TEXT
   ============================================================ */
.rich-text-section {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.rich-text-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.rich-text-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.rich-text-body { font-size: 0.95rem; color: #555555; margin-bottom: 24px; line-height: 1.65; }

.rich-text-bullets {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
}

.rich-text-bullets li {
    font-size: 0.92rem;
    color: #111111;
    font-weight: 500;
    padding-left: 20px;
    position: relative;
}

.rich-text-bullets li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

/* ============================================================
   SECTION 5: FAQ ACCORDION
   ============================================================ */
.faq-section {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.faq-container { max-width: 760px; }
.faq-header { margin-bottom: 36px; }

.faq-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.faq-subtitle { font-size: 0.92rem; color: #555555; }

.faq-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e5e5e5;
}

.faq-item { border-bottom: 1px solid #e5e5e5; }

.faq-item[open] .faq-caret { transform: rotate(180deg); }

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-num { font-size: 0.78rem; color: #888888; font-weight: 700; min-width: 18px; }
.faq-question span:nth-child(2) { flex: 1; }
.faq-caret { font-size: 1.2rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-answer { padding: 0 0 18px 32px; }
.faq-answer p { font-size: 0.9rem; color: #555555; line-height: 1.65; }

/* ============================================================
   SECTION 6: FAQ CTA BUTTONS
   ============================================================ */
.faq-cta-section {
    padding: clamp(32px, 4vw, 56px) 0;
    background: #f9f9f9;
    border-top: 1px solid #eeeeee;
}

.faq-cta-heading { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; color: #111111; margin-bottom: 10px; }
.faq-cta-body { font-size: 0.92rem; color: #555555; margin-bottom: 24px; }

.faq-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid #111111;
    color: #111111;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 46px;
}

.btn-outline-dark:hover { background: #111111; color: #ffffff; }

/* ============================================================
   SECTION 7: NEWSLETTER
   ============================================================ */
.newsletter-section {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
}

.newsletter-inner {
    display: flex;
    flex-direction: row;
    max-width: 1600px;
    margin: 0 auto;
    min-height: clamp(280px, 30vw, 400px);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 80px);
    width: 50%;
    gap: 16px;
}

.newsletter-heading { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; color: #111111; letter-spacing: -0.02em; }
.newsletter-body { font-size: 0.92rem; color: #555555; line-height: 1.6; max-width: 400px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-field { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #111111;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus { border-color: #111111; }

.newsletter-btn {
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.newsletter-btn:hover { background: #2b2b2b; }
.newsletter-media { width: 50%; overflow: hidden; }
.newsletter-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 749px) {
    .newsletter-inner { flex-direction: column; }
    .newsletter-content, .newsletter-media { width: 100%; }
    .newsletter-media { min-height: 220px; }
}

/* ============================================================
   SECTION 8: GUARANTEES (4 columns)
   ============================================================ */
.guarantees-section {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #f9f9f9;
    border-top: 1px solid #eeeeee;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
}

.guarantee-item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.guarantee-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #eeeeee;
    flex-shrink: 0;
}

.guarantee-icon img { width: 100%; height: 100%; object-fit: cover; }
.guarantee-text h3 { font-size: 0.95rem; font-weight: 700; color: #111111; margin-bottom: 4px; }
.guarantee-text p { font-size: 0.83rem; color: #555555; line-height: 1.55; }

@media (max-width: 749px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .guarantees-grid { grid-template-columns: 1fr; }
}

/* Original section geometry, reviews and typography live in the page templates. */

/* ============================================================
   PRODUCT GALLERY & THUMBNAILS SMOOTH SCROLL (Mobile Only)
   ============================================================ */
@media (max-width: 768px) {
    .atlas-isolation-wrapper #Slider-Gallery-template--19875948527719__main,
    .atlas-isolation-wrapper .product__media-list.slider--mobile {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .atlas-isolation-wrapper #Slider-Gallery-template--19875948527719__main::-webkit-scrollbar,
    .atlas-isolation-wrapper .product__media-list.slider--mobile::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }

    .atlas-isolation-wrapper #Slider-Gallery-template--19875948527719__main .product__media-item,
    .atlas-isolation-wrapper .product__media-list.slider--mobile .product__media-item {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Thumbnail slider scroll and active styling */
    .atlas-isolation-wrapper #Slider-Thumbnails-template--19875948527719__main,
    .atlas-isolation-wrapper .thumbnail-slider .thumbnail-list.slider {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .atlas-isolation-wrapper #Slider-Thumbnails-template--19875948527719__main::-webkit-scrollbar,
    .atlas-isolation-wrapper .thumbnail-slider .thumbnail-list.slider::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }

    .atlas-isolation-wrapper #Slider-Thumbnails-template--19875948527719__main .thumbnail-list__item,
    .atlas-isolation-wrapper .thumbnail-slider .thumbnail-list__item {
        flex: 0 0 auto !important;
        cursor: pointer !important;
        position: relative !important;
        display: block !important;
    }

    /* As on the original: no border, 1px accent border on the current thumbnail */
    .atlas-isolation-wrapper .thumbnail {
        cursor: pointer !important;
        border: 0 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        display: block !important;
        overflow: hidden !important;
    }

    .atlas-isolation-wrapper .thumbnail[aria-current="true"] {
        border: 1px solid #b97c8c !important;
    }

    .atlas-isolation-wrapper .gallery-nav-buttons {
        pointer-events: none !important;
    }

    .atlas-isolation-wrapper .gallery-nav-btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
    }

    .atlas-isolation-wrapper .gallery-nav-btn:active {
        transform: scale(0.92) !important;
    }

    .atlas-isolation-wrapper .dots-progress-slider .dot {
        cursor: pointer !important;
    }

    .atlas-isolation-wrapper .dots-progress-slider .dot--active {
        background-color: #b97c8c !important;
    }
}

/* ============================================================
   DESKTOP PRODUCT GALLERY (Preserve Native Dawn Stack Layout)
   ============================================================ */
@media (min-width: 769px) {
    .atlas-isolation-wrapper .product--stacked .product__media-list {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
    }
    .atlas-isolation-wrapper .product--stacked .product__media-item {
        max-width: 100% !important;
        width: 100% !important;
    }
    .atlas-isolation-wrapper .thumbnail-slider,
    .atlas-isolation-wrapper .gallery-nav-buttons,
    .atlas-isolation-wrapper .dots-progress-slider {
        display: none !important;
    }
}

/* ============================================================
   GLOBAL RESPONSIVE OPTIMIZATIONS & ZERO-OVERFLOW PROTECTION
   ============================================================ */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.shopify-section,
.atlas-isolation-wrapper,
.section-background {
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Ensure headings never cause horizontal scroll on narrow mobile screens */
h1, h2, h3, h4, h5, h6,
.title,
.heading,
.image-with-text__heading {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* Cart Drawer Full-Width Mobile Optimization */
@media screen and (max-width: 480px) {
    .penicure-cart-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .penicure-cart-drawer > div:first-child {
        padding: 16px 18px !important;
    }
    #cartDrawerItemsList {
        padding: 16px 18px !important;
    }
    .penicure-cart-drawer > div:last-child {
        padding: 14px 18px 18px 18px !important;
    }
}

/* Responsive bundle cards on single-product page */
@media screen and (max-width: 480px) {
    .bundle-card {
        padding: 12px 14px !important;
    }
    .bundle-card-header {
        gap: 8px !important;
    }
    .bundle-price-col {
        font-size: 15px !important;
    }
}



/* Cuticle Sticks / Nail File pages: original_inline.css carries an unscoped ".divider { width: 4px }"
   (the home page image slider's rule, whose Liquid section id was never rendered); the divider
   under the price keeps its full width as on penicure.com */
.product-details .divider {
  width: auto;
}
