/* ── Custom Producer Dropdown ── */
.ws-csel {
    position: relative;
    width: 100%;
}
.ws-csel-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 2px solid #e8e8ee;
    border-radius: 12px;
    background: #fff;
    font-size: 0.93rem;
    color: black;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}
.ws-csel-btn:hover,
.ws-csel-open .ws-csel-btn {
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
    border-radius: 12px 12px 0 0;
}
.ws-csel-arrow {
    font-size: 10px;
    color: #333;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}
.ws-csel-open .ws-csel-arrow {
    transform: rotate(180deg);
}
.ws-csel-list {
    display: none;
    background: #fff;
    border: 2px solid #7c3aed;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-top: -2px;
}
.ws-csel-open .ws-csel-list {
    display: block;
}
.ws-csel-option {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-radius: 8px;
    margin: 2px 4px;
}
.ws-csel-option:hover {
    background: #f3f0ff;
    color: #7c3aed;
}
.ws-csel-option-active {
    background: #ede9fe;
    color: #7c3aed;
    font-weight: 700;
}


/* Section subtitles and labels (short text above titles) in brand orange */
.section-subtitle, .section-label, .subtitle, .ws-section-label, .ws-section-subtitle, .ws-section-yellow, .ws-section-highlight, .ws-section-pretitle {
    color: #FF6B3A !important;
    background: rgba(255, 107, 58, 0.12) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 8px;
    padding: 3px 14px;
    display: inline-block;
}
/* Footer section titles in brand orange */
footer h2, footer h3, .footer-title, .footer-section-title {
    color: #FF6B3A !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}
/* Brand orange text for links and highlights */
.brand-orange {
    color: #FF6B3A !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color .18s;
}
.brand-orange:hover, .brand-orange:focus {
    color: #FF914D !important;
}
/* HEADER — Wider search box */
.s64-hdr-search {
    flex: 18 !important;
    max-width: 700px !important;
}
.s64-hdr-search-input {
    min-width: 340px !important;
    width: 100% !important;
}
/* GLOBAL BUTTONS — Brand orange gradient for all yellow buttons */
.btn-yellow, .btn-yellow:visited, .s64-header-producer, .s64-header-producer:visited {
        height: 30px !important;
        min-width: 110px !important;
        padding: 0 20px !important;
        font-size: 0.97rem !important;
            background: linear-gradient(98deg, #FF6B3A 0%, #FF914D 100%) !important;
    color: #fff !important;
    border: 1.5px solid #FF8C3A !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px 0 rgba(255, 107, 58, 0.13), 0 1.5px 4px 0 rgba(255, 179, 71, 0.10);
    transition: background .18s, color .18s, border .18s, box-shadow .18s;
    padding: 12px 28px !important;
    font-size: 1rem !important;
    letter-spacing: 0.01em;
}
.btn-yellow:hover, .btn-yellow:focus, .s64-header-producer:hover, .s64-header-producer:focus {
    background: linear-gradient(98deg, #FF914D 0%, #FF6B3A 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-color: #FF6B3A !important;
    box-shadow: 0 6px 24px 0 rgba(255, 107, 58, 0.18), 0 2px 8px 0 rgba(255, 179, 71, 0.13);
}
/* HEADER — All header buttons: remove underline */
.s64-header-btn {
    text-decoration: none !important;
}
.s64-header-btn:visited {
    text-decoration: none;
}
.s64-header-btn:hover, .s64-header-btn:focus {
    text-decoration: none !important;
}
/* HEADER — Sign In button (outlined purple, matches screenshot) */
.s64-header-signin {
    background: #fff !important;
    color: #7c3aed !important;
    border: 2px solid #7c3aed !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 10px 26px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none !important;
    transition: background .18s, color .18s, border .18s;
}
.s64-header-signin:hover, .s64-header-signin:focus {
    background: #f6f3ff !important;
    color: #5b21b6 !important;
    border-color: #5b21b6 !important;
    text-decoration: none !important;
}
/* HEADER — Become a Producer button (brand orange gradient) */
.s64-header-producer {
    background: linear-gradient(135deg, #FFB13A, #FF6B3A) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 28px !important;
    font-size: 1rem !important;
    box-shadow: 0 2px 8px rgba(255,177,58,0.10);
    transition: background .18s, color .18s, border .18s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.s64-header-producer:hover, .s64-header-producer:focus {
    background: linear-gradient(135deg, #FF914D, #FF6B3A) !important;
    color: #111 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(255,177,58,0.18);
}
/* =================================
   64 Skills - Custom Styles
   Version: 3.2.0 — Mobile Header
================================= */

/* =========================================
   HEADER — CTA Link as Button (desktop)
========================================= */
.header-cta-link a {
    background: #111 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: background .2s;
}
.header-cta-link a:hover {
    background: #7c3aed !important;
}

/* =========================================
   HEADER — 2-row Meesho-style layout
========================================= */
/* Hide WP hamburger everywhere (we use sub-nav + bottom nav) */
.wp-block-navigation__responsive-container-open {
    display: none !important;
}

/* Row 1 flex: Logo — Search (center) — Cart */
header.wp-block-template-part .wp-block-group.alignwide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    position: relative;
}
/* Hide the WP nav (moved to sub-nav row) */
header.wp-block-template-part .wp-block-navigation {
    display: none !important;
}
/* Hide CTA link (sub-nav replaces it) */
.header-cta-link { display: none !important; }

/* ── Header cart icon ── */
.s64-header-cart {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: background .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.s64-header-cart:hover {
    background: #f3f0ff;
    color: #7c3aed;
}
.s64-header-cart svg {
    width: 22px;
    height: 22px;
}
.s64-header-cart-badge {
    position: absolute;
    top: 0;
    right: -2px;
    background: #7c3aed;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Sub-navigation row ── */
.s64-sub-nav {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #eee;
}
.s64-sub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.s64-sub-nav-inner::-webkit-scrollbar { display: none; }

.s64-sub-nav-link {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color .2s;
}
.s64-sub-nav-link:hover {
    color: #7c3aed;
}
.s64-sub-nav-link.s64-sub-nav-active {
    color: #7c3aed;
    font-weight: 600;
}
.s64-sub-nav-link.s64-sub-nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2.5px;
    background: #7c3aed;
    border-radius: 2px;
}

/* =========================================
   HEADER — Desktop tweaks
========================================= */
@media (min-width: 769px) {
    /* Keep logo at fixed size */
    header.wp-block-template-part .wp-block-group.alignwide > .wp-block-group {
        flex: 0 0 auto !important;
        width: auto !important;
    }
}

/* =========================================
   HEADER — Mobile
========================================= */
@media (max-width: 768px) {
    body {
        padding-bottom: 64px !important;
    }
    .s64-auth-item { display: none !important; }
    .ws-cart-fab { display: none !important; }

    header.wp-block-template-part {
        line-height: 1 !important;
    }
    header.wp-block-template-part > .wp-block-group {
        padding: 0 !important;
    }
    header.wp-block-template-part .wp-block-group.has-global-padding,
    header.wp-block-template-part .wp-block-group[style*="padding"] {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    header.wp-block-template-part .wp-block-group.alignwide {
        gap: 8px !important;
        min-height: 0 !important;
    }
    header.wp-block-template-part .wp-block-image img {
          width: 120px !important;
        height: auto !important;
    }
    header.wp-block-template-part .wp-block-image {
        margin: 0 !important;
    }
	

    /* Hide header cart on mobile (bottom nav has it) */
    .s64-header-cart { display: none !important; }

    /* Sub-nav: hide on mobile (bottom nav handles navigation) */
    .s64-sub-nav { display: none !important; }
}

/* =========================================
   SEARCH — Centered header search bar
========================================= */
.s64-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1.5px solid transparent;
    border-radius: 28px;
    padding: 9px 16px;
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

@media (min-width: 1024px) {
    header.wp-block-template-part .wp-block-group.alignwide {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .s64-header-signin {
        padding: 10px 18px !important;
    }

    .s64-header-producer {
        padding: 10px 20px !important;
    }
}
.s64-search-bar:focus-within {
    border-color: #7c3aed;
    background: #faf8ff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.s64-search-bar-icon {
    color: #333;
    display: flex;
    flex-shrink: 0;
}
.s64-search-bar-icon svg {
    width: 18px;
    height: 18px;
}
.s64-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.88rem;
    color: #222;
    padding: 2px 0;
    min-width: 0;
}
.s64-search-input::placeholder {
    color: #444;
    font-weight: 400;
}
.s64-search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    padding: 2px;
    border-radius: 50%;
    transition: color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
}
.s64-search-clear:hover {
    color: #333;
    background: rgba(0,0,0,.06);
}
.s64-search-clear svg {
    width: 16px;
    height: 16px;
}

/* No results message */
.s64-no-results {
    text-align: center;
    color: #333;
    font-size: 0.95rem;
    padding: 24px 16px;
    margin: 0;
}

/* Search results dropdown */
.s64-search-suggestions { overflow-y: auto; }
.s64-sr-heading {
    padding: 10px 14px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
.s64-sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.s64-sr-item:hover { background: #f8f5ff; }
.s64-sr-item:last-child { border-bottom: 0; }
.s64-sr-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}
.s64-sr-thumb-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.s64-sr-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.s64-sr-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s64-sr-meta {
    font-size: 12px;
    color: #333;
}
.s64-sr-arrow {
    font-size: 20px;
    color: #ccc;
    flex-shrink: 0;
}

/* Mobile: search bar adjustments */
@media (max-width: 768px) {
    .s64-search-bar {
        max-width: none;
        margin: 0;
        padding: 7px 12px;
        border-radius: 24px;
        gap: 6px;
    }
    .s64-search-bar-icon svg {
        width: 16px;
        height: 16px;
    }
    .s64-search-input {
        font-size: 0.82rem;
    }
    .s64-search-input::placeholder {
        font-size: 0.78rem;
    }
    .s64-search-clear svg {
        width: 14px;
        height: 14px;
    }
}

/* =========================================
   PAGE HERO BANNER — sph-* (inner pages)
========================================= */
.sph-wrap {
    background: linear-gradient(135deg, #1a0038 0%, #2d1060 55%, #7c3aed 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    padding: 52px 56px;
    position: relative;
    overflow: hidden;
}
.sph-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255,177,58,.12) 0%, transparent 60%);
    pointer-events: none;
}
.sph-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
}
.sph-content { flex: 1; max-width: 620px; }
.sph-label {
    display: inline-block;
    background: rgba(255,177,58,.2);
    color: #FFB13A;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 16px;
    margin: 0 0 14px;
}
.sph-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.12;
    letter-spacing: -0.5px;
}
.sph-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    margin: 0 0 28px;
    line-height: 1.65;
}
.sph-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFB13A, #FF6B3A);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 10px;
    padding: 13px 30px;
    transition: opacity .18s, transform .14s;
    box-shadow: 0 4px 20px rgba(255,107,58,.28);
}
.sph-cta:hover { opacity: .9; transform: translateY(-2px); color: #fff; text-decoration: none; }
.sph-icon-wrap { flex-shrink: 0; }
.sph-icon {
    font-size: 5.5rem;
    display: block;
    line-height: 1;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,.3));
}
/* Section variants — subtle tint on the glow */
.sph-workshops::before { background: radial-gradient(ellipse at 80% 50%, rgba(255,238,88,.1) 0%, transparent 60%); }
.sph-products::before  { background: radial-gradient(ellipse at 80% 50%, rgba(255,107,58,.14) 0%, transparent 60%); }
.sph-videos::before    { background: radial-gradient(ellipse at 80% 50%, rgba(46,196,182,.1) 0%, transparent 60%); }
.sph-producers::before { background: radial-gradient(ellipse at 80% 50%, rgba(124,58,237,.18) 0%, transparent 60%); }
@media (max-width: 768px) {
    .sph-wrap { padding: 32px 24px; border-radius: 14px; margin-bottom: 28px; }
    .sph-title { font-size: 1.85rem; }
    .sph-subtitle { font-size: 0.95rem; margin-bottom: 20px; }
    .sph-icon-wrap { display: none; }
}

/* =========================================
   WORKSHOPS — Desktop card base styles
========================================= */
.ws-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0e8ff;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    margin-bottom: 28px;
    transition: box-shadow .22s, transform .22s;
}
.ws-card:hover {
    box-shadow: 0 10px 44px rgba(124,58,237,.13);
    transform: translateY(-3px);
}
.ws-card-flex { display: flex; flex-wrap: wrap; }
.ws-card-img {
    flex: 0 0 38%;
    min-width: 260px;
    overflow: hidden;
    position: relative;
}
.ws-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 260px;
    transition: transform .4s;
}
.ws-card:hover .ws-card-img img { transform: scale(1.04); }
.ws-card-body {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
}
.ws-card-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ws-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    line-height: 1.4;
}
.ws-card-seats-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: #FEE2E2;
    color: #DC2626;
    animation: sph-pulse 1.6s ease-in-out infinite;
}
@keyframes sph-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.ws-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1a0038;
    line-height: 1.25;
}
.ws-card-title a { color: inherit; text-decoration: none; }
.ws-card-title a:hover { color: #7c3aed; }
.ws-card-desc {
    color: black;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ws-card-meta { display: flex; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.ws-card-meta span {
    font-size: 0.95rem;
    color: black;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ws-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    flex-wrap: wrap;
}
.ws-card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a0038;
    letter-spacing: -0.5px;
}
.ws-card-detail-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .15s;
}
.ws-card-detail-link:hover { gap: 8px; text-decoration: none; color: #5b21b6; }

/* =========================================
   PRODUCER PROFILE — s64-pp-* desktop
========================================= */
.s64-pp-wrap { max-width: 1100px; margin: 0 auto; padding: 20px 0 60px; font-family: inherit; }
.s64-pp-breadcrumb { font-size: 0.85rem; color: #333; margin-bottom: 20px; }
.s64-pp-breadcrumb a { color: #7c3aed; text-decoration: none; }
.s64-pp-breadcrumb a:hover { text-decoration: underline; }
.s64-pp-breadcrumb span { margin: 0 6px; }
.s64-pp-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 860px) { .s64-pp-grid { grid-template-columns: 1fr; gap: 28px; } }
.s64-pp-hero {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 32px;
    background: linear-gradient(135deg, #1a0038 0%, #2d1060 60%, #7c3aed 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.s64-pp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,177,58,.15) 0%, transparent 60%);
    pointer-events: none;
}
.s64-pp-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.3);
    flex-shrink: 0;
    position: relative;
}
.s64-pp-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 2.8rem;
}
.s64-pp-hero-info { flex: 1; position: relative; }
.s64-pp-hero-info h1 { font-size: 1.9rem; font-weight: 900; color: #fff; margin: 0 0 6px; line-height: 1.15; }
.s64-pp-spec { font-size: 1rem; color: #FFB13A; margin: 0 0 6px; font-weight: 600; }
.s64-pp-loc { font-size: 0.9rem; color: rgba(255,255,255,.68); margin: 0 0 16px; }
.s64-pp-verified { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.12); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.s64-pp-stats {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.s64-pp-stat {
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 10px 18px;
    text-align: center;
    min-width: 80px;
}
.s64-pp-stat-val { font-size: 1.4rem; font-weight: 900; color: #fff; display: block; line-height: 1; }
.s64-pp-stat-label { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; display: block; }
.s64-pp-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.s64-pp-skill-tag {
    background: #f0e9ff;
    color: #6d28d9;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}
.s64-pp-story {
    background: #f8f5ff;
    border-left: 4px solid #7c3aed;
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
    margin-bottom: 28px;
}
.s64-pp-story .s64-pp-quote { font-size: 3rem; color: #7c3aed; line-height: 1; margin: 0 0 8px; display: block; }
.s64-pp-story p { font-size: 1.02rem; line-height: 1.8; color: #444; margin: 0; font-style: italic; }
.s64-pp-products-heading { font-size: 1.3rem; font-weight: 800; color: #1a0038; margin: 0 0 16px; }
.s64-pp-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 600px) { .s64-pp-products-grid { grid-template-columns: repeat(2, 1fr); } }
.s64-pp-pcard {
    background: #fff;
    border: 1px solid #f0e8ff;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.s64-pp-pcard:hover { box-shadow: 0 6px 28px rgba(124,58,237,.12); transform: translateY(-2px); }
.s64-pp-pcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.s64-pp-pcard-body { padding: 12px; }
.s64-pp-pcard-title { font-size: 0.88rem; font-weight: 700; margin: 0 0 4px; color: #1a0038; }
.s64-pp-pcard-weight { font-size: 0.75rem; color: #444; margin: 0 0 8px; }
.s64-pp-pcard-footer { display: flex; flex-direction: column; align-items: stretch; margin-top: 8px; gap: 8px; }
.s64-pp-pcard-price { font-size: 1.05rem; font-weight: 900; color: #7c3aed; }
.s64-pp-pcard-footer .sf-atc-wrap { width: 100%; }
.s64-pp-pcard-footer .sf-atc-btn { font-size: 0.82rem; padding: 8px 10px; width: 100%; display: block; text-align: center; }
.s64-pp-pcard-footer .sf-qty-stepper { width: 100%; justify-content: center; border-width: 1.5px; }
.s64-pp-pcard-footer .sf-qty-dec,
.s64-pp-pcard-footer .sf-qty-inc { flex: 1; height: 32px; }
.s64-pp-pcard-footer .sf-qty-n { flex: 1; line-height: 32px; font-size: 0.88rem; text-align: center; }
/* Contact sticky card */
.s64-pp-contact-sticky { position: sticky; top: 100px; }
.s64-pp-contact-card {
    background: #fff;
    border: 1.5px solid #e8e0ff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 6px 32px rgba(124,58,237,.1);
}
.s64-pp-contact-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 4px; color: #1a0038; }
.s64-pp-cc-sub { font-size: 0.88rem; color: #333; margin: 0 0 20px; }
.s64-pp-field { margin-bottom: 14px; }
.s64-pp-field label { display: block; font-size: 0.82rem; font-weight: 600; color: #222; margin-bottom: 5px; }
.s64-pp-field input, .s64-pp-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.92rem;
    background: #fafafa;
    box-sizing: border-box;
    outline: none;
    transition: border .2s, background .2s;
    font-family: inherit;
}
.s64-pp-field input:focus, .s64-pp-field textarea:focus { border-color: #7c3aed; background: #fff; }
.s64-pp-field textarea { min-height: 72px; resize: vertical; }
.s64-pp-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    text-decoration: none;
    transition: opacity .15s, transform .12s;
    font-family: inherit;
}
.s64-pp-wa-btn:hover { opacity: .88; transform: scale(1.02); }
.s64-pp-wa-primary { background: linear-gradient(90deg, #25D366, #128C7E); color: #fff; }
.s64-pp-wa-admin { background: #f3f0ff; color: #7c3aed; border: 1.5px solid #d8caff !important; }
.s64-pp-err { color: #DC2626; font-size: 0.82rem; margin-top: 8px; display: none; text-align: center; }
.s64-pp-divider { border: none; border-top: 1px solid #f0e8ff; margin: 16px 0; }
@media (max-width: 860px) {
    .s64-pp-hero { flex-direction: column; padding: 24px; }
    .s64-pp-stats { gap: 10px; }
    .s64-pp-stat { padding: 8px 14px; min-width: 70px; }
    .s64-pp-hero-info h1 { font-size: 1.6rem; }
}

/* =========================================
   BOTTOM NAV — Mobile sticky bar
========================================= */
.s64-bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    .s64-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        border-top: 1px solid #f0f0f0;
        box-shadow: 0 -2px 12px rgba(0,0,0,.06);
        height: 64px;
        align-items: stretch;
        justify-content: space-around;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .s64-bnav-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 2px;
        text-decoration: none !important;
        color: #333 !important;
        font-size: 0.68rem;
        font-weight: 500;
        position: relative;
        transition: color .15s;
        -webkit-tap-highlight-color: transparent;
    }
    .s64-bnav-tab:hover,
    .s64-bnav-tab.s64-bnav-active {
        color: #7c3aed !important;
    }
    .s64-bnav-tab.s64-bnav-active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 3px;
        background: #7c3aed;
        border-radius: 0 0 3px 3px;
    }
    .s64-bnav-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 26px;
    }
    .s64-bnav-icon svg {
        width: 22px;
        height: 22px;
    }
    .s64-bnav-label {
        display: block;
        line-height: 1.05;
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        text-align: center;
        font-size: 0.62rem;
    }
    /* Cart badge */
    .s64-bnav-badge {
        position: absolute;
        top: -4px;
        right: -10px;
        background: #ef4444;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        text-align: center;
        border-radius: 99px;
        padding: 0 4px;
    }

    .s64-cat-overlay {
        position: fixed;
        inset: 0;
        z-index: 10020;
        display: none;
    }
    .s64-cat-overlay.s64-cat-open {
        display: block;
    }
    .s64-cat-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(16, 24, 40, .32);
    }
    .s64-cat-sheet {
        position: absolute;
        inset: 4px 2px 64px;
        background: #f3f4f7;
        border-radius: 14px 14px 0 0;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,.22);
    }
    .s64-cat-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(120deg, #4c1d95, #6d28d9);
        color: #fff;
        padding: 12px 16px;
    }
    .s64-cat-head h3 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 800;
    }
    .s64-cat-close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 999px;
        background: rgba(255,255,255,.2);
        color: #fff;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }
    .s64-cat-body {
        display: flex;
        height: calc(100% - 60px);
    }
    .s64-cat-side {
        width: 86px;
        background: #e9e9ef;
        border-right: 1px solid #ddd;
        overflow-y: auto;
        padding: 10px 0;
    }
    .s64-cat-tab {
        width: 100%;
        border: 0;
        background: transparent;
        color: #6b7280;
        text-align: center;
        padding: 10px 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
        position: relative;
    }
    .s64-cat-tab-ico {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #dbe3f1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
    .s64-cat-tab-active {
        color: #6d28d9;
        background: #f8f6ff;
    }
    .s64-cat-tab-active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        background: #6d28d9;
        border-radius: 0 3px 3px 0;
    }
    .s64-cat-main {
        flex: 1;
        padding: 12px;
        overflow-y: auto;
    }
    .s64-cat-main-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border: 1px solid #ececf1;
        border-radius: 14px;
        padding: 12px 12px;
        margin-bottom: 12px;
    }
    .s64-cat-main-title {
        font-weight: 800;
        color: #1f1b3d;
        font-size: 1.02rem;
    }
    .s64-cat-main-viewall {
        text-decoration: none;
        color: #6d28d9;
        font-size: .9rem;
        font-weight: 700;
    }
    .s64-cat-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .s64-cat-card {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        text-decoration: none;
        color: inherit;
        padding: 10px;
        text-align: center;
        min-height: 130px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }
    .s64-cat-card-img {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #f1f5f9;
    }
    .s64-cat-card-noimg {
        background: #eef2ff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }
    .s64-cat-card-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #111827;
    }
    .s64-cat-card-sub {
        font-size: .84rem;
        color: #6b7280;
        line-height: 1.25;
    }
    .s64-cat-cta {
        margin-top: 12px;
        background: linear-gradient(130deg, #3b0f78, #6d28d9);
        color: #fff;
        border-radius: 16px;
        padding: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .s64-cat-cta strong {
        font-size: 1.02rem;
    }
    .s64-cat-cta span {
        font-size: .9rem;
        opacity: .92;
    }
    .s64-cat-cta-btn {
        background: #fff;
        color: #6d28d9;
        text-decoration: none;
        border-radius: 12px;
        font-weight: 800;
        text-align: center;
        padding: 10px 12px;
    }
}

/* =========================================
   ALIGNMENT FIX — Full-width page sections
   Ensures top-level coloured sections inside
   post-content are always edge-to-edge, even
   when the block's align="full" attribute is
   absent or overridden by the page template.
========================================= */
.wp-block-post-content > .wp-block-group[style*="background-color"][style*="clamp("] {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* =========================================
   HOMEPAGE — Mobile Enhancements
========================================= */
@media (max-width: 768px) {
    /* ── Hero: tighter, centered ── */
    .wp-block-cover.alignfull {
        min-height: 380px !important;
    }
    .wp-block-cover .wp-block-heading {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
    .wp-block-cover .wp-block-group {
        gap: 10px !important;
    }

    /* ── Section headings: compact ── */
    .alignfull > .wp-block-group:first-child {
        margin-bottom: 18px !important;
    }
    .alignfull .wp-block-heading {
        font-size: 1.3rem !important;
    }

    /* ── Section padding: reduce ── */
    .wp-block-group.alignfull {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ── Featured Video: stack vertically on mobile ── */
    .fv-wrap {
        flex-direction: column !important;
        gap: 0 !important;
        border-radius: 14px !important;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 16px rgba(0,0,0,.07);
    }
    .fv-img-wrap {
        flex: none !important;
        min-width: 100% !important;
        width: 100% !important;
    }
    .fv-img-wrap img {
        border-radius: 14px 14px 0 0 !important;
        aspect-ratio: 16/9 !important;
    }
    .fv-body {
        padding: 16px 18px 20px !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .fv-cat {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
        color: #e67e22 !important;
    }
    .fv-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }
    .fv-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 6px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .fv-meta {
        font-size: 0.75rem !important;
        margin-bottom: 14px !important;
    }
    .fv-btn {
        width: 100% !important;
        display: block !important;
    }
    .fv-btn a,
    .fv-btn a.btn,
    .fv-btn a.btn.btn-dark,
    .fv-btn a.custombutton {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .fv-btn .custombutton,
    .fv-btn .btn {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* ── Video Filter pills: scrollable on mobile ── */
    .video-filters {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 0 4px 8px !important;
        scrollbar-width: none;
    }
    .video-filters::-webkit-scrollbar { display: none; }
    .vf-pill {
        flex-shrink: 0 !important;
        font-size: 0.78rem !important;
        padding: 7px 16px !important;
        white-space: nowrap !important;
    }

    /* ── Videos grid: 2-column on mobile ── */
    .vf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .vf-card {
        border-radius: 10px !important;
        padding-bottom: 12px !important;
        box-shadow: 0 1px 8px rgba(0,0,0,.05);
    }
    .vf-card img {
        border-radius: 10px 10px 0 0;
    }
    .vf-card div[style*="padding:16px"] {
        padding: 10px 10px 0 !important;
    }
    .vf-card h4 {
        font-size: 0.82rem !important;
        margin-bottom: 2px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .vf-card p[style*="color:#444"],
    .vf-card p[style*="color:#"] {
        font-size: 0.68rem !important;
        margin-bottom: 6px !important;
    }
    .vf-card p[style*="text-transform:uppercase"] {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }
    .vf-card .custombutton {
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
    }
    .vf-card div[style*="padding-left:0"] {
        width: 100% !important;
    }
    .vf-card .custombutton,
    .vf-card .btn,
    .vf-card a.custombutton,
    .vf-card a.btn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* ── Workshops: compact mobile cards ── */
    .ws-card {
        margin-bottom: 18px !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
    }
    .ws-card-flex {
        flex-direction: column !important;
    }
    .ws-card-img {
        flex: none !important;
        min-width: 100% !important;
        width: 100% !important;
        position: relative;
    }
    .ws-card-img img {
        min-height: 170px !important;
        max-height: 180px !important;
        border-radius: 14px 14px 0 0 !important;
    }
    .ws-card-body {
        padding: 14px 16px 16px !important;
    }
    .ws-card-tags {
        gap: 6px !important;
        margin-bottom: 8px !important;
    }
    .ws-card-tags span {
        font-size: 0.68rem !important;
        padding: 3px 10px !important;
    }
    .ws-card-title {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    .ws-card-desc {
		color:black !important;
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .ws-card-meta {
        gap: 6px 14px !important;
        margin-bottom: 10px !important;
    }
    .ws-card-meta span {
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    .ws-card-footer {
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
    .ws-card-footer > span[style*="font-size"] {
        font-size: 1.1rem !important;
    }
    .ws-card-footer .ws-register-trigger .btn,
    .ws-card-footer .ws-register-trigger .custombutton {
        font-size: 0.8rem !important;
        padding: 8px 16px !important;
    }
    .ws-card-footer > a[style*="font-size"] {
        font-size: 0.82rem !important;
    }

    /* ── Producers grid: 2-column on mobile ── */
    div[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    /* Producer card compact */
    div[style*="grid-template-columns:repeat(4"] > div {
        border-radius: 10px !important;
    }
    div[style*="grid-template-columns:repeat(4"] > div > div[style*="height:60px"] {
        height: 42px !important;
    }
    div[style*="grid-template-columns:repeat(4"] img[style*="border-radius:50%"] {
        width: 72px !important;
        height: 72px !important;
    }
    div[style*="grid-template-columns:repeat(4"] > div > div:last-child {
        padding-top: 44px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 16px !important;
    }
    div[style*="grid-template-columns:repeat(4"] h4 {
        font-size: 0.9rem !important;
    }
    div[style*="grid-template-columns:repeat(4"] p[style*="font-size:0.85rem"] {
        font-size: 0.75rem !important;
    }
    div[style*="grid-template-columns:repeat(4"] p[style*="font-size:0.8rem"] {
        font-size: 0.7rem !important;
    }
    /* Stats row - compact */
    div[style*="grid-template-columns:repeat(4"] div[style*="justify-content:center"] span[style*="font-size:1.1rem"] {
        font-size: 0.9rem !important;
    }
    div[style*="grid-template-columns:repeat(4"] div[style*="justify-content:center"] span[style*="font-size:0.65rem"] {
        font-size: 0.58rem !important;
    }

    /* ── How It Works: 2×2 grid (not 4 cols) ── */
    .wp-block-columns {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .wp-block-columns > .wp-block-column {
        flex-basis: calc(50% - 6px) !important;
        flex-grow: 0 !important;
    }
    .wp-block-columns .wp-block-group[style*="padding-top:32px"] {
        padding: 18px 14px !important;
    }
    .wp-block-columns h4 {
        font-size: 0.88rem !important;
        margin-bottom: 4px !important;
    }
    .wp-block-columns p[style*="font-size:0.85rem"] {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
    }
    /* Step number circle — force equal dimensions so it renders as a circle */
    .wp-block-columns .wp-block-group[style*="border-radius:50%"] {
        box-sizing: border-box !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }
    .wp-block-columns .wp-block-group[style*="border-radius:50%"] > * {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        width: auto !important;
    }

    /* ── "View all" links: more prominent ── */
    p[style*="font-size:0.9rem"] a[style*="color:#2271b1"] {
        font-size: 0.82rem !important;
        background: #f5f3ff;
        padding: 6px 14px;
        border-radius: 20px;
        color: #7c3aed !important;
    }
}

/* =========================================
   HOW IT WORKS — STEP NUMBER CIRCLES
   Override unequal inline padding so circles render as perfect circles
========================================= */
.wp-block-columns .wp-block-group[style*="border-radius:50%"] {
    box-sizing: border-box !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}
.wp-block-columns .wp-block-group[style*="border-radius:50%"] > * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    width: auto !important;
}

/* =========================================
   SHOP — SORT ROW
========================================= */
.sf-sort-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 16px;
    flex-wrap: wrap;
}
.sf-sort-label {
    font-size: 0.88rem;
    color: #333;
    font-weight: 500;
}
.sf-sort-btn {
    background: #fff;
    color: #222;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s cubic-bezier(.22,1,.36,1);
    white-space: nowrap;
}
.sf-sort-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf5ff;
}
.sf-sort-btn.sf-sort-active {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(124,58,237,.3);
}

/* =========================================
   SHOP — FILTER PILLS
========================================= */
.shop-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    padding: 0 16px;
}
.sf-pill {
    background: #fff;
    color: #222;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s cubic-bezier(.22,1,.36,1);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sf-pill:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf5ff;
    box-shadow: 0 2px 8px rgba(124,58,237,.12);
}
.sf-pill.sf-active {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(124,58,237,.3);
    transform: scale(1.02);
}

/* =========================================
   SHOP — PRODUCT GRID
========================================= */
.sf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Product Card ── */
.sf-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.sf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

/* ── Image ── */
.sf-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f9fafb;
}
.sf-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.sf-card:hover .sf-card-img {
    transform: scale(1.08);
}

/* Category badge on image */
.sf-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* ── Card Body ── */
.sf-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sf-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Card links — image & title clickable */
.sf-card-link {
    display: block;
    text-decoration: none;
}
.sf-card-title-link {
    text-decoration: none;
    color: inherit;
}
.sf-card-title-link:hover .sf-card-title {
    color: #7c3aed;
}
.sf-card-title-link h4 {
    margin: 0 0 6px;
}
.sf-card-producer {
    font-size: 0.89rem;
    color: black;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.sf-card-producer::before {
    content: '📍';
    font-size: 0.72rem;
}
.sf-card-weight {
    font-size: 0.8rem;
    color: black;
    margin: 0 0 10px;
    background: #f9fafb;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    width: fit-content;
}

/* ── Footer: Price + Button ── */
.sf-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}
.sf-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}
.sf-oos-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #d32f2f;
    background: #fdecea;
    border-radius: 6px;
    padding: 5px 12px;
    white-space: nowrap;
}
/* ── Ratings ── */
.sf-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 3px 0 6px;
}
.sf-card-stars {
    color: #FF6B3A;
    font-size: 0.82rem;
    letter-spacing: 1px;
}
.sf-card-rating-avg {
    font-size: 0.78rem;
    font-weight: 700;
    color: #111;
}
.sf-card-rating-count {
    font-size: 0.72rem;
    color: #444;
}
/* ── Inline Add-to-Cart stepper ── */
.sf-atc-wrap {
    flex-shrink: 0;
}
.sf-atc-btn {
    background: linear-gradient(135deg, #FFB13A, #FF6B3A);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 14px;
    cursor: pointer;
    transition: background .18s, transform .12s, border-radius .2s, box-shadow .18s;
    white-space: nowrap;
}
.sf-atc-btn:hover {
    background: linear-gradient(135deg, #FF6B3A, #e85a29);
    color: #fff !important;
    transform: scale(1.04);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(255, 107, 58, 0.35);
}
.sf-qty-stepper {
    display: none;
    align-items: center;
    gap: 0;
    border: 2px solid #FF6B3A;
    border-radius: 8px;
    overflow: hidden;
}
.sf-qty-dec, .sf-qty-inc {
    background: #fff;
    color: #FF6B3A;
    border: none;
    width: 28px;
    height: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.sf-qty-dec:hover, .sf-qty-inc:hover {
    background: #FFF3E0;
}
.sf-qty-n {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111;
    min-width: 22px;
    text-align: center;
    background: #fff;
    padding: 0 2px;
    line-height: 30px;
}

/* =========================================
   SHOP — RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .sf-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
    .sf-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .sf-card { border-radius: 10px; }
    .sf-card-img-wrap { aspect-ratio: 1/1; }
    .sf-card-body { padding: 8px 10px 10px; }
    .sf-card-title { font-size: 0.82rem; margin-bottom: 3px; -webkit-line-clamp: 2; line-clamp: 2; }
    .sf-card-producer { font-size: 0.68rem; margin-bottom: 2px; }
    .sf-card-producer::before { display: none; }
    .sf-card-weight { font-size: 0.65rem; padding: 1px 6px; margin-bottom: 6px; }
    .sf-card-badge { top: 6px; left: 6px; padding: 2px 8px; font-size: 0.6rem; }
    .sf-card-footer { padding-top: 8px; flex-wrap: wrap; gap: 6px; }
    .sf-card-price { font-size: 1.05rem; }
    .sf-atc-btn { font-size: 0.75rem; padding: 6px 10px; width: 100%; }
    .sf-qty-stepper { width: 100%; justify-content: center; }
    .shop-filters { gap: 6px; margin-bottom: 20px; padding: 0 8px; }
    .sf-pill { padding: 7px 14px; font-size: 0.78rem; }
    .sf-sort-row { justify-content: center; gap: 8px; padding: 0 8px; }
    .sf-sort-label { font-size: 0.78rem; }
    .sf-sort-btn { padding: 6px 14px; font-size: 0.75rem; }
}

/* =========================================
   PRODUCT DETAIL — Meesho-style
========================================= */
.pd-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Image ── */
.pd-gallery {
    position: relative;
}
.pd-img-main {
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
}
.pd-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.pd-img-main:hover .pd-img {
    transform: scale(1.04);
}
.pd-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.pd-stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── Info ── */

.pd-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.3;
}
.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.pd-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
}
.pd-weight {
    font-size: 0.9rem;
    color: #333;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 6px;
}

/* Highlight chips */
.pd-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.pd-chip {
    font-size: 0.78rem;
    font-weight: 500;
    color: #222;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Producer card */
.pd-producer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #faf8ff;
    border: 1.5px solid #ede9fe;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.pd-producer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.pd-producer-avatar-placeholder {
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.pd-producer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pd-producer-label {
    font-size: 0.72rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.pd-producer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
a.pd-producer-name:hover {
    color: #7c3aed;
}
.pd-producer-loc {
    font-size: 0.8rem;
    color: #333;
}

/* Action buttons */
.pd-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.pd-actions .ws-order-trigger {
    flex: 1 1 180px;
    min-width: 140px;
    max-width: 240px;
}
.pd-actions .ws-order-trigger .btn {
        height: 30px !important;
        min-width: 110px !important;
        padding: 0 20px !important;
        font-size: 0.97rem !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 28px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    gap: 7px;
    font-weight: 600;
    transition: background .18s, color .18s, border .18s;
}

/* Outline style for Add to Cart */
.btn-outline.pd-btn-atc-btn {
    background: #fff;
    color: #FF6B3A;
    border: 2px solid #FFB13A;
    box-shadow: none;
    border-image: linear-gradient(135deg, #FFB13A, #FF6B3A) 1;
    border-radius: 10px !important;
    transition: background .18s, color .18s, border .18s;
}
 .btn-outline.pd-btn-atc-btn:hover {
    background: linear-gradient(135deg, #FFF3E0 60%, #FFE0B2 100%);
    color: #FF6B3A;
    border-color: #FF6B3A;
    border-image: linear-gradient(135deg, #FFB13A, #FF6B3A) 1;
}

/* Filled/primary style for Buy Now */
.btn-primary.pd-btn-buy-btn {
    background: linear-gradient(135deg, #FFB13A, #FF6B3A);
    color: #fff;
    border: 2px solid #FFB13A;
    border-image: linear-gradient(135deg, #FFB13A, #FF6B3A) 1;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(255,177,58,0.12);
    transition: background .18s, color .18s, border .18s;
}
 .btn-primary.pd-btn-buy-btn:hover {
    background: linear-gradient(135deg, #FF6B3A, #FFB13A);
    color: #fff;
    border-color: #FF6B3A;
    border-image: linear-gradient(135deg, #FF6B3A, #FFB13A) 1;
}

/* Icon style */
.pd-btn-icon {
    font-size: 1.15em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.pd-btn-text {
    display: inline-block;
    vertical-align: middle;
}

/* Sections */
.pd-section {
    margin-bottom: 20px;
}
.pd-section-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}
.pd-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}
.pd-section-text {
    font-size: 0.88rem;
    color: #222;
    line-height: 1.7;
    margin: 0;
}
.pd-desc {
    color: #444;
    font-size: 0.92rem;
    line-height: 1.8;
}
.pd-desc p {
    margin: 0 0 8px;
}

/* Trust bar */
.pd-trust {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 8px;
}
.pd-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    flex: 1;
}
.pd-trust-item > span:first-child {
    font-size: 1.4rem;
}
.pd-trust-item > span:last-child {
    font-size: 0.68rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

/* Sticky buy bar (mobile only) */
.pd-sticky-bar {
    display: none;
}

/* ── Product Detail: Mobile ── */
@media (max-width: 768px) {
    .pd-wrap {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 0 0 0;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        max-width: 100vw;
        background: #fff;
    }
    .pd-gallery-main {
        margin: 0 auto 0 auto;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 12px 0 0 0;
    }
    .pd-info {
        padding: 16px 12px 90px 12px;
        background: #fff;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 2px 12px rgba(124,58,237,0.04);
        width: 100vw;
        max-width: 100vw;
    }
    .pd-title {
        font-size: 1.25rem;
        text-align: left;
        margin-bottom: 8px;
        font-weight: 800;
    }
    .pd-price-row {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-bottom: 10px;
    }
    .pd-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
        width: 100%;
    }
    .pd-actions .ws-order-trigger {
        min-width: 0;
        max-width: 100%;
    }
    .pd-actions .btn {
        font-size: 1rem !important;
        padding: 13px 0 !important;
        border-radius: 10px !important;
        width: 100%;
    }
    .pd-section-box {
        padding: 14px 10px;
    }
    .pd-trust {
        flex-direction: column;
        gap: 10px;
        padding-top: 14px;
    }
    .pd-trust-item > span:first-child {
        font-size: 1.1rem;
    }
    .pd-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        z-index: 9998;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 -2px 12px rgba(0,0,0,.06);
        padding: 10px 8px;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100vw;
        max-width: 100vw;
    }
    .pd-sticky-price {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .pd-sticky-amount {
        font-size: 1.15rem;
        font-weight: 800;
        color: #111;
    }
    .pd-sticky-name {
        font-size: 0.72rem;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pd-sticky-btn {
        flex-shrink: 0;
    }
    .pd-sticky-btn a,
    .pd-sticky-btn .btn {
        padding: 11px 28px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
        white-space: nowrap;
    }
}

/* =========================================
   PRODUCT DETAIL v2 (pdv2-*)
   Enhanced Meesho-style layout
   ========================================= */

/* Wrapper */
.pdv2-wrap { max-width: 1100px; margin: 0 auto; padding: 12px 16px 60px; font-family: inherit; }

/* Breadcrumb */
.pdv2-breadcrumb { font-size: 0.82rem; color: #333; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pdv2-breadcrumb a { color: #7c3aed; text-decoration: none; }
.pdv2-breadcrumb a:hover { text-decoration: underline; }
.pdv2-breadcrumb span { color: #444; }
.pdv2-breadcrumb span:last-child { color: #444; }

/* Main two-column grid */
.pdv2-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; margin-bottom: 48px; }

/* ── Gallery (left) ── */
.pdv2-gallery { position: sticky; top: 80px; }
.pdv2-main-img-wrap { position: relative; border-radius: 18px; overflow: hidden; background: #f6f3ff; aspect-ratio: 1/1; max-height: 400px; box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.pdv2-main-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdv2-cat-badge { position: absolute; top: 12px; left: 12px; background: #7c3aed; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; z-index: 2; }
.pdv2-stock-badge { position: absolute; top: 12px; right: 12px; background: #22c55e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; z-index: 2; }
.pdv2-stock-badge.pdv2-oos { background: #ef4444; }
.pdv2-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.2rem; color: #7c3aed; box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.pdv2-arrow:hover { background: #7c3aed; color: #fff; }
.pdv2-prev { left: 8px; }
.pdv2-next { right: 8px; }

/* Thumbnails */
.pdv2-thumbs { display: flex; gap: 8px; margin-top: 10px; justify-content: center; flex-wrap: wrap; }
.pdv2-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 2px solid #e5e7eb; cursor: pointer; opacity: .7; transition: border .15s, opacity .15s; }
.pdv2-thumb.active, .pdv2-thumb:hover { border-color: #7c3aed; opacity: 1; }

/* Reference images */
.pdv2-ref-section { margin-top: 14px; }
.pdv2-ref-label { font-size: 0.78rem; color: #333; margin: 0 0 8px; font-weight: 600; }
.pdv2-ref-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pdv2-ref-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 1.5px solid #e5e7eb; cursor: pointer; }
.pdv2-ref-thumb:hover { border-color: #7c3aed; }

/* Share bar */
.pdv2-share-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pdv2-share-label { font-size: 0.8rem; color: #333; font-weight: 600; }
.pdv2-share-btn { font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; border: 1.5px solid #e5e7eb; background: #fff; color: #444; text-decoration: none; cursor: pointer; transition: border .15s, color .15s; white-space: nowrap; }
.pdv2-share-btn:hover { border-color: #7c3aed; color: #7c3aed; }

/* ── Info panel (right) ── */
.pdv2-info { display: flex; flex-direction: column; gap: 0; }
.pdv2-title { font-size: 1.55rem; font-weight: 800; color: #1a0038; line-height: 1.3; margin: 0 0 8px; }

/* Rating row */
.pdv2-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pdv2-avg-score { font-weight: 800; font-size: 1rem; color: #1a0038; }
.pdv2-review-count { font-size: 0.85rem; color: #7c3aed; text-decoration: underline; }

/* Stars */
.pdv2-stars { display: inline-flex; gap: 1px; }
.pdv2-star.full  { color: #f59e0b; font-size: 1rem; }
.pdv2-star.half  { color: #f59e0b; opacity: .55; font-size: 1rem; }
.pdv2-star.empty { color: #d1d5db; font-size: 1rem; }

/* Price row */
.pdv2-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pdv2-price { font-size: 2rem; font-weight: 900; color: #7c3aed; letter-spacing: -1px; }
.pdv2-weight-chip { background: #f3f0ff; color: #7c3aed; font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.pdv2-stock-pill { font-size: 0.82rem; font-weight: 700; }

/* Chips */
.pdv2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pdv2-chip { background: #faf5ff; border: 1.5px solid #e9d5ff; color: #6d28d9; font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }

/* Producer card */
.pdv2-producer-card { display: flex; align-items: center; gap: 12px; background: #faf5ff; border: 1.5px solid #e9d5ff; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.pdv2-producer-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #c4b5fd; flex-shrink: 0; }
.pdv2-producer-avatar-ph { width: 44px; height: 44px; border-radius: 50%; background: #ede9fe; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.pdv2-producer-info { display: flex; flex-direction: column; flex: 1; }
.pdv2-by { font-size: 0.72rem; color: #333; font-weight: 600; }
.pdv2-producer-name { font-size: 0.95rem; font-weight: 700; color: #1a0038; text-decoration: none; }
.pdv2-producer-loc { font-size: 0.78rem; color: #333; }
.pdv2-producer-trust { font-size: 0.72rem; font-weight: 700; color: #22c55e; margin-left: auto; white-space: nowrap; }

/* Quantity row */
.pdv2-qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pdv2-qty-label { font-size: 0.9rem; font-weight: 600; color: #444; }
.pdv2-qty-ctrl { display: flex; align-items: center; border: 1.5px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.pdv2-qty-btn { background: #f3f0ff; border: none; width: 34px; height: 34px; font-size: 1.2rem; font-weight: 700; color: #7c3aed; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; }
.pdv2-qty-btn:hover { background: #ede9fe; }
.pdv2-qty-input { width: 44px; height: 34px; text-align: center; border: none; border-left: 1.5px solid #e5e7eb; border-right: 1.5px solid #e5e7eb; font-size: 0.95rem; font-weight: 700; color: #1a0038; background: #fff; -moz-appearance: textfield; outline: none; }
.pdv2-qty-input::-webkit-inner-spin-button, .pdv2-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Action buttons */
.pdv2-actions { display: flex; gap: 12px; margin-bottom: 14px; }
.pdv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 24px; border-radius: 12px; font-size: 0.95rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all .18s; width: 100%; }
.pdv2-btn-outline { background: #fff; border-color: #7c3aed; color: #7c3aed; }
.pdv2-btn-outline:hover { background: #f3f0ff; }
.pdv2-btn-primary { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(124,58,237,.35); }
.pdv2-btn-primary:hover { box-shadow: 0 6px 20px rgba(124,58,237,.45); transform: translateY(-1px); }
.pdv2-oos-msg { font-size: 0.85rem; color: #ef4444; font-weight: 600; margin: 0 0 10px; }

/* Trust bar */
.pdv2-trust { display: flex; align-items: center; background: #faf5ff; border-radius: 12px; padding: 10px 16px; gap: 0; margin-bottom: 20px; }
.pdv2-trust-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.72rem; font-weight: 600; color: #222; text-align: center; }
.pdv2-trust-item span:first-child { font-size: 1.2rem; }
.pdv2-trust-divider { width: 1px; height: 36px; background: #e9d5ff; flex-shrink: 0; }

/* Accordion */
.pdv2-accordion { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e9d5ff; border-radius: 14px; overflow: hidden; }
.pdv2-acc-item { border-bottom: 1.5px solid #e9d5ff; }
.pdv2-acc-item:last-child { border-bottom: none; }
.pdv2-acc-hdr { width: 100%; background: #faf5ff; border: none; padding: 13px 16px; font-size: 0.95rem; font-weight: 700; color: #1a0038; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; transition: background .15s; }
.pdv2-acc-hdr:hover { background: #f3f0ff; }
.pdv2-acc-item.open .pdv2-acc-hdr { background: #ede9fe; }
.pdv2-acc-icon { transition: transform .25s; flex-shrink: 0; }
.pdv2-acc-item.open .pdv2-acc-icon { transform: rotate(180deg); }
.pdv2-acc-body { padding: 14px 16px; background: #fff; font-size: 0.9rem; line-height: 1.7; color: #444; }
.pdv2-acc-body .pdv2-desc p { margin: 0 0 8px; }
.pdv2-acc-text { margin: 6px 0; }

/* Spec table */
.pdv2-spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pdv2-spec-table th, .pdv2-spec-table td { padding: 8px 12px; border-bottom: 1px solid #f0e8ff; text-align: left; }
.pdv2-spec-table th { font-weight: 700; color: #222; width: 40%; }
.pdv2-spec-table td { color: #1a0038; }

/* Video embed */
.pdv2-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.pdv2-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.pdv2-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity .2s;
}
.pdv2-video-link:hover { opacity: .85; color: #fff; }

/* ── Reviews section ── */
.pdv2-reviews-wrap { max-width: 1100px; border-top: 2px solid #e9d5ff; padding-top: 36px; margin-top: 12px; }

/* Rating summary header */
.pdv2-reviews-header { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 32px; background: #faf5ff; border-radius: 18px; padding: 24px 32px; flex-wrap: wrap; }
.pdv2-rating-summary { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 90px; }
.pdv2-big-score { font-size: 3rem; font-weight: 900; color: #1a0038; line-height: 1; }
.pdv2-big-stars .pdv2-star.full, .pdv2-big-stars .pdv2-star.half, .pdv2-big-stars .pdv2-star.empty { font-size: 1.4rem; }
.pdv2-review-total { font-size: 0.82rem; color: #333; font-weight: 600; }
.pdv2-nostars { color: #d1d5db; font-size: 1.4rem; letter-spacing: 2px; }

/* Rating bars */
.pdv2-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 180px; }
.pdv2-bar-row { display: flex; align-items: center; gap: 8px; }
.pdv2-bar-label { font-size: 0.8rem; font-weight: 600; color: #222; width: 22px; text-align: right; flex-shrink: 0; }
.pdv2-bar-track { flex: 1; height: 8px; background: #e5e7eb; border-radius: 50px; overflow: hidden; }
.pdv2-bar-fill { height: 100%; background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%); border-radius: 50px; transition: width .4s ease; }
.pdv2-bar-count { font-size: 0.75rem; color: #333; width: 18px; flex-shrink: 0; }

/* Review cards */
.pdv2-reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.pdv2-review-card { background: #fff; border: 1.5px solid #e9d5ff; border-radius: 14px; padding: 16px 20px; }
.pdv2-review-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.pdv2-review-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.pdv2-review-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pdv2-review-name { font-size: 0.9rem; font-weight: 700; color: #1a0038; }
.pdv2-verified-badge { font-size: 0.72rem; color: #22c55e; font-weight: 600; }
.pdv2-review-date { font-size: 0.75rem; color: #444; }
.pdv2-review-stars .pdv2-star.full, .pdv2-review-stars .pdv2-star.half, .pdv2-review-stars .pdv2-star.empty { font-size: 0.9rem; }
.pdv2-review-text { font-size: 0.9rem; line-height: 1.6; color: #444; margin: 0; }
.pdv2-no-reviews { text-align: center; color: #444; font-size: 0.95rem; padding: 24px 0 32px; }

/* Review form */
.pdv2-review-form-wrap { border-top: 1.5px solid #e9d5ff; padding-top: 28px; }
.pdv2-review-form-title { font-size: 1.1rem; font-weight: 800; color: #1a0038; margin: 0 0 20px; }
.pdv2-review-form { background: #faf5ff; border: 1.5px solid #e9d5ff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; max-width: 600px; }
.pdv2-star-picker { display: flex; flex-direction: column; gap: 6px; }
.pdv2-star-picker label { font-size: 0.85rem; font-weight: 700; color: #444; }
.pdv2-star-row { display: flex; gap: 4px; }
.pdv2-star-pick { background: none; border: none; font-size: 1.8rem; color: #e5e7eb; cursor: pointer; padding: 0; line-height: 1; transition: color .1s, transform .1s; }
.pdv2-star-pick.hovered, .pdv2-star-pick.selected { color: #f59e0b; }
.pdv2-star-pick:hover { transform: scale(1.2); }
.pdv2-star-hint { font-size: 0.78rem; color: #333; }
.pdv2-required { color: #ef4444; }
.pdv2-form-field { display: flex; flex-direction: column; gap: 5px; }
.pdv2-form-field label { font-size: 0.85rem; font-weight: 700; color: #444; }
.pdv2-form-field input, .pdv2-form-field textarea { width: 100%; padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 9px; font-size: 0.9rem; background: #fff; outline: none; transition: border .15s; box-sizing: border-box; font-family: inherit; }
.pdv2-form-field input:focus, .pdv2-form-field textarea:focus { border-color: #7c3aed; }
.pdv2-form-field textarea { resize: vertical; min-height: 90px; }
.pdv2-form-msg { font-size: 0.85rem; font-weight: 600; padding: 8px 0; }
.pdv2-submit-btn { align-self: flex-start; background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: box-shadow .18s, transform .18s; }
.pdv2-submit-btn:hover { box-shadow: 0 6px 20px rgba(124,58,237,.4); transform: translateY(-1px); }
.pdv2-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Admin review 3-dot menu (visible to admin only) */
.pdv2-rev-menu-wrap { position: relative; margin-left: auto; flex-shrink: 0; }
.pdv2-rev-menu-btn { background: none; border: none; cursor: pointer; font-size: 1.4rem; color: #ccc; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; padding: 0; line-height: 1; }
.pdv2-rev-menu-btn:hover { background: #f3f0ff; color: #7c3aed; }
.pdv2-rev-menu-dd { display: none; position: absolute; right: 0; top: 100%; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.13); min-width: 140px; z-index: 200; overflow: hidden; margin-top: 4px; }
.pdv2-rev-menu-dd.open { display: block; }
.pdv2-rev-menu-item { display: block; width: 100%; padding: 9px 14px; text-align: left; background: none; border: none; border-bottom: 1px solid #f5f5f5; font-size: 0.85rem; font-weight: 600; color: #444; cursor: pointer; transition: background .1s; }
.pdv2-rev-menu-item:last-child { border-bottom: none; }
.pdv2-rev-menu-item:hover { background: #f0f4ff; color: #2271b1; }
.pdv2-rev-menu-item.danger { color: #b32d2e; }
.pdv2-rev-menu-item.danger:hover { background: #fef2f2; }

/* Mobile sticky bar */
.pdv2-sticky-bar { display: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .pdv2-grid { grid-template-columns: 1fr; gap: 24px; }
    .pdv2-gallery { position: static; }
    .pdv2-main-img-wrap { max-height: 320px; }
}
@media (max-width: 768px) {
    .pdv2-wrap { padding: 8px 12px 90px; }
    .pdv2-title { font-size: 1.25rem; }
    .pdv2-price { font-size: 1.6rem; }
    .pdv2-actions { flex-direction: column; gap: 8px; }
    .pdv2-btn { padding: 13px 20px; font-size: 1rem; }
    .pdv2-reviews-header { padding: 16px; gap: 16px; }
    .pdv2-big-score { font-size: 2.2rem; }
    .pdv2-review-form { padding: 16px; }
    .pdv2-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 64px; left: 0; right: 0;
        background: #fff;
        border-top: 1.5px solid #e9d5ff;
        padding: 10px 16px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    }
    .pdv2-sticky-info { display: flex; flex-direction: column; min-width: 0; }
    .pdv2-sticky-price { font-size: 1.15rem; font-weight: 800; color: #7c3aed; }
    .pdv2-sticky-name { font-size: 0.72rem; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pdv2-trust { flex-wrap: wrap; gap: 8px; }
    .pdv2-trust-divider { display: none; }
    .pdv2-trust-item { flex: 0 0 calc(50% - 4px); }
	.ws-popup-whatsapp{width:82%}
}

/* ── Overlay ── */
.ws-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.ws-popup-overlay.active {
    display: flex;
}
/* Ensure popup form inputs are interactive (fix backdrop-filter compositing bug) */
.ws-popup-overlay input,
.ws-popup-overlay textarea,
.ws-popup-overlay select,
.s64-bp-popup-overlay input,
.s64-bp-popup-overlay textarea,
.s64-bp-popup-overlay select,
.s64-bp-inline-wrap input,
.s64-bp-inline-wrap textarea,
.s64-bp-inline-wrap select {
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    user-select: text !important;
    touch-action: manipulation;
}

/* ── Popup Container ── */
.ws-popup {
    background: #fff;
    border-radius: 24px;
    max-width: 460px;
    width: 100%;
    max-height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.08);
    animation: wsPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    /* Hide scrollbar for all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}
.ws-popup::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}
@keyframes wsPopIn {
    from { opacity: 0; transform: translateY(30px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Step Indicator ── */
.ws-popup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 32px 0;
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    border-radius: 24px 24px 0 0;
}
.ws-step {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.45;
    transition: opacity 0.3s;
}
.ws-step-active, .ws-step-done {
    opacity: 1;
}
.ws-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.ws-step-active .ws-step-num {
    background: linear-gradient(98deg, #FF6B3A 0%, #FF914D 100%) !important;
    color: #4c1d95;
}
.ws-step-done .ws-step-num {
    background: #34d399;
    color: #fff;
}
.ws-step-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}
.ws-step-line {
    width: 32px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.3s;
}
.ws-step-line-done {
    background: #34d399;
}

/* ── Header ── */
.ws-popup-header {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    color: #fff;
    padding: 16px 32px 28px;
    position: relative;
}
.ws-popup-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.ws-popup-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.ws-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.ws-popup-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* ── Body ── */
.ws-popup-body {
    padding: 24px 28px 28px;
}

/* ── Panels (steps) ── */
.ws-popup-panel {
    display: none;
    animation: wsFadeSlide 0.3s ease;
}
.ws-panel-active {
    display: block;
}
@keyframes wsFadeSlide {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── Info Grid (Step 1) ── */
.ws-popup-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.ws-popup-info-item {
    background: #f8f9fb;
    border: 1px solid #f0f0f5;
    border-radius: 14px;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ws-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ws-icon-orange { background: #FFF3E0; color: #e67e22; }
.ws-icon-blue   { background: #E3F2FD; color: #2196F3; }
.ws-icon-purple { background: #EDE7F6; color: #7c3aed; }
.ws-icon-green  { background: #E8F5E9; color: #4CAF50; }
.ws-popup-info-item .ws-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 2px;
}
.ws-popup-info-item .ws-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

/* ── Price Bar ── */
.ws-popup-price-bar {
    background: linear-gradient(98deg, #FF6B3A 0%, #FF914D 100%) !important;
    border: 1px solid #FFE082;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.ws-popup-price-bar .ws-price-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.ws-popup-price-bar .ws-price-sub {
    font-size: 0.68rem;
    color: #333;
    margin: 2px 0 0;
    font-weight: 500;
}
.ws-popup-price-bar .ws-price-amount {
    font-size: 1.6rem;
    font-weight: 900;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ── Buttons ── */
.ws-btn-next {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.ws-btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.ws-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.ws-btn-back {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: #f3f4f6;
    color: #222;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.ws-btn-back:hover {
    background: #e5e7eb;
}
.ws-btn-row .ws-btn-next {
    flex: 1;
}

/* ── Form Fields (Step 2) ── */
.ws-popup-form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin: 0 0 18px;
    text-align: center;
}
.ws-popup-field {
    margin-bottom: 16px;
}
.ws-popup-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}
.ws-popup-field label svg {
    color: #7c3aed;
}
.ws-input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e8e8ee;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #111;
    background: #fafafc;
    transition: all 0.25s;
    box-sizing: border-box;
    outline: none;
}
.ws-input:focus {
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}
.ws-phone-wrap {
    display: flex;
    align-items: stretch;
    border: 2px solid #e8e8ee;
    border-radius: 12px;
    background: #fafafc;
    transition: all 0.25s;
    overflow: hidden;
}
.ws-phone-wrap:focus-within {
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}
.ws-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #7c3aed;
    background: #f3f0ff;
    border-right: 2px solid #e8e8ee;
    white-space: nowrap;
}
.ws-phone-input {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 1;
}
.ws-phone-input:focus {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.ws-field-error {
    display: none;
    color: #e53e3e;
    font-size: 0.78rem;
    margin: 6px 0 0;
    font-weight: 500;
}

/* ── Confirmation (Step 3) ── */
.ws-confirm-card {
    background: #f8f9fb;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}
.ws-confirm-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    margin: 0 0 14px;
}
.ws-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.ws-confirm-label {
    font-size: 0.82rem;
    color: #333;
    font-weight: 500;
}
.ws-confirm-val {
    font-size: 0.88rem;
    color: #1a1a2e;
    font-weight: 700;
}
.ws-confirm-hr {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 8px 0;
}

/* ── WhatsApp Button ── */
.ws-popup-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 86%;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}
.ws-popup-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    color: #fff;
}
.ws-popup-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ── Secure Note ── */
.ws-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #444;
    margin: 14px 0 6px;
    text-align: center;
}
.ws-secure-note svg {
    color: #34d399;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .ws-popup {
        max-width: 100%;
        border-radius: 20px;
    }
    .ws-popup-steps {
        padding: 16px 20px 0;
        border-radius: 20px 20px 0 0;
    }
    .ws-step-text { display: none; }
    .ws-step-line { width: 20px; }
    .ws-popup-header {
        padding: 14px 20px 24px;
    }
    .ws-popup-header h3 { font-size: 1.15rem; }
    .ws-popup-body {
        padding: 20px;
    }
    .ws-popup-info {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .ws-popup-info-item { padding: 10px; gap: 8px; }
    .ws-info-icon { width: 30px; height: 30px; }
    .ws-popup-info-item .ws-value { font-size: 0.82rem; }
}

/* =========================================
   BUY NOW POPUP — Quantity Control
========================================= */
.ws-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.ws-qty-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    color: #4c1d95;
    font-size: 1.1rem;
    transition: background .15s;
}
.ws-qty-btn:hover { background: #ede9fe; }
.ws-qty-btn svg { width: 16px; height: 16px; }
.ws-qty-input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
    padding: 6px 0;
}
.ws-qty-input::-webkit-outer-spin-button,
.ws-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ws-buy-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1.5px solid #f3f4f6;
    margin-top: 12px;
}
.ws-buy-total-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}
.ws-buy-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4c1d95;
}

/* =========================================
   FLOATING CART BADGE (FAB)
========================================= */
.ws-cart-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99998;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(124,58,237,.45);
    transition: transform .2s, box-shadow .2s;
    border: none;
}
.ws-cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(124,58,237,.55);
}
.ws-cart-fab svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.ws-cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    line-height: 1;
}

/* =========================================
   TOAST NOTIFICATION
========================================= */
.ws-toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    background: #fff;
    color: #111;
    padding: 12px 24px 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: top .35s cubic-bezier(.22,1,.36,1);
    border-left: 4px solid #22c55e;
    white-space: nowrap;
}
.ws-toast-show { top: 24px; }
.ws-toast-icon {
    width: 22px;
    height: 22px;
    color: #22c55e;
    flex-shrink: 0;
}

/* =========================================
   CART SLIDE PANEL + BACKDROP
========================================= */
.ws-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.ws-cart-open .ws-cart-backdrop {
    opacity: 1;
    visibility: visible;
}
.ws-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    visibility: hidden;
}
.ws-cart-panel.ws-cart-open {
    visibility: visible;
}
.ws-cart-panel-inner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 390px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    box-shadow: -6px 0 30px rgba(0,0,0,.12);
}
.ws-cart-open .ws-cart-panel-inner {
    transform: translateX(0);
}

/* ── Cart Header ── */
.ws-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1.5px solid #f3f4f6;
    flex-shrink: 0;
}
.ws-cart-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ws-cart-header-title span {
    background: #ede9fe;
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.ws-cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.ws-cart-close:hover { background: #e5e7eb; }

/* ── Cart Body ── */
.ws-cart-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ── Cart Views ── */
.ws-cart-view {
    display: none;
    flex-direction: column;
    flex: 1;
}
.ws-cart-view-active {
    display: flex;
}

/* ── Cart Items ── */
.ws-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.ws-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}
.ws-cart-item:last-child { border-bottom: none; }
.ws-cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: #f9fafb;
    flex-shrink: 0;
}
.ws-cart-item-noimg {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ws-cart-item-noimg svg {
    width: 28px;
    height: 28px;
    color: #d1d5db;
}
.ws-cart-item-info {
    flex: 1;
    min-width: 0;
}
.ws-cart-item-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #111;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-cart-item-meta {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 8px;
}
.ws-cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ws-cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #4c1d95;
    white-space: nowrap;
}
.ws-cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    padding: 4px;
    border-radius: 6px;
    transition: color .15s, background .15s;
    flex-shrink: 0;
}
.ws-cart-item-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}
.ws-cart-item-remove svg { width: 16px; height: 16px; }

/* ── Small Qty Control (Cart Items) ── */
.ws-qty-sm {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.ws-qty-sm .ws-qty-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
}
.ws-qty-sm .ws-qty-btn svg { width: 13px; height: 13px; }
.ws-qty-sm .ws-qty-val {
    min-width: 30px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    padding: 4px 0;
    line-height: 22px;
}

/* ── Cart Summary / Footer ── */
.ws-cart-summary {
    padding: 16px 20px 20px;
    border-top: 1.5px solid #f3f4f6;
    flex-shrink: 0;
    background: #fafafa;
}
.ws-cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.ws-cart-total-row .ws-cart-total-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}
.ws-cart-grand-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4c1d95;
}
.ws-cart-checkout-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
    margin-bottom: 8px;
}
.ws-cart-checkout-btn:hover { opacity: .92; }
.ws-cart-item-buynow {
    background: linear-gradient(135deg, #FFEE58, #FFA726);
    border: none;
    border-radius: 7px;
    padding: 5px 9px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    line-height: 1;
    transition: opacity .15s, transform .1s;
    flex-shrink: 0;
}
.ws-cart-item-buynow:hover { opacity: .88; transform: scale(1.07); }
.ws-cart-continue {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.ws-cart-continue:hover {
    background: #f9fafb;
    color: #111;
}

/* ── Cart Empty State ── */
.ws-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
}
.ws-cart-empty svg {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    color: #d1d5db;
}
.ws-cart-empty-text {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}
.ws-cart-empty-sub {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ── Cart Form View (Name / Phone) ── */
.ws-cart-form {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ws-cart-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ws-cart-form input {
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color .15s;
}
.ws-cart-form input:focus { border-color: #7c3aed; }
.ws-cart-form-next {
    margin-top: auto;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.ws-cart-form-next:hover { opacity: .92; }
.ws-cart-form-back {
    width: 100%;
    padding: 10px;
    border: none;
    background: none;
    color: #7c3aed;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

/* ── Grouped Checkout View ── */
.ws-cart-grouped {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}
.ws-cart-group {
    background: #fafafa;
    border: 1.5px solid #f3f4f6;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}
.ws-cart-group:last-child { margin-bottom: 0; }
.ws-cart-group-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ws-cart-group-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    flex-shrink: 0;
}
.ws-cart-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}
.ws-cart-group-item:last-child { border-bottom: none; }
.ws-cart-group-item-name { flex: 1; }
.ws-cart-group-item-qty {
    color: #9ca3af;
    font-size: 0.82rem;
    margin: 0 10px;
}
.ws-cart-group-item-total {
    font-weight: 600;
    color: #4c1d95;
    white-space: nowrap;
}
.ws-cart-group-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1.5px solid #e5e7eb;
    font-weight: 700;
    font-size: 0.95rem;
}
.ws-cart-group-subtotal-val { color: #4c1d95; }
.ws-cart-wa-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    background: #25D366;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.ws-cart-wa-send:hover { opacity: .9; }
.ws-cart-wa-send svg { width: 20px; height: 20px; }
.ws-cart-grouped-back {
    width: 100%;
    padding: 10px;
    border: none;
    background: none;
    color: #7c3aed;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

/* ── Step-by-step checkout progress ── */
.ws-checkout-progress {
    margin-bottom: 16px;
}
.ws-checkout-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}
.ws-checkout-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    border-radius: 99px;
    transition: width .4s ease;
}
.ws-checkout-progress-text {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 6px;
}

/* ── Producer card header with status ── */
.ws-cart-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ws-cart-group-header .ws-cart-group-title {
    margin-bottom: 10px;
}
.ws-cg-status {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ws-cg-sent {
    color: #22c55e;
}
.ws-cg-sent svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    stroke-width: 3;
}

/* ── Sending / sent card states ── */
.ws-cart-group-sending {
    border-color: #7c3aed !important;
    background: #faf8ff !important;
    animation: wsGroupPulse 1s ease-in-out infinite;
}
@keyframes wsGroupPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.08); }
}
.ws-cart-group-sent {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    opacity: 0.7;
}

/* ── Spinner ── */
.ws-co-spinner,
.ws-co-spinner-sm {
    display: inline-block;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wsCoSpin .6s linear infinite;
}
.ws-co-spinner { width: 20px; height: 20px; }
.ws-co-spinner-sm {
    width: 14px; height: 14px;
    border-width: 2px;
    border-color: rgba(124,58,237,0.2);
    border-top-color: #7c3aed;
}
@keyframes wsCoSpin { to { transform: rotate(360deg); } }

/* ── Hint text below button ── */
.ws-co-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 6px;
}

/* ── Send all button ── */
.ws-cart-wa-sendall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #25D366;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, background .2s;
}
.ws-cart-wa-sendall:hover { opacity: .9; }
.ws-cart-wa-sendall svg { width: 22px; height: 22px; }

/* ── Checkout done state ── */
.ws-checkout-done {
    text-align: center;
    padding: 32px 16px;
    animation: wsGroupFadeIn .35s ease;
}
.ws-checkout-done-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ws-checkout-done-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}
.ws-checkout-done h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}
.ws-checkout-done p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* ── Responsive — Cart & Buy Now ── */
@media (max-width: 480px) {
    .ws-cart-panel-inner { width: 100vw; }
    .ws-cart-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .ws-cart-fab svg { width: 22px; height: 22px; }
    .ws-qty-control { border-radius: 8px; }
    .ws-qty-btn { width: 34px; height: 34px; }
    .ws-qty-input { width: 40px; font-size: 0.92rem; }
    .ws-buy-total { font-size: 1.1rem; }
}

/* =========================================
   PHONE AUTH — Login Popup
========================================= */
/* Auth nav link */
.s64-auth-item a {
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.s64-auth-item svg { flex-shrink: 0; }

/* Account dropdown */
.s64-account-menu {
    position: absolute;
    z-index: 10000;
}
.s64-account-menu-inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px;
    min-width: 120px;
}
.s64-account-logout {
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    text-align: left;
}
.s64-account-logout:hover {
    background: #fef2f2;
}

/* ─── Overlay ─── */
.s64-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: s64-fade-in .2s ease;
}
@keyframes s64-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── Box ─── */
.s64-login-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    padding: 32px 28px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    animation: s64-slide-up .25s ease;
}
@keyframes s64-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.s64-login-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.s64-login-close:hover { background: #eee; }

/* ─── Header ─── */
.s64-login-header {
    text-align: center;
    margin-bottom: 24px;
}
.s64-login-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.s64-login-icon svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
}
.s64-login-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111;
}
.s64-login-header p {
    font-size: 0.88rem;
    color: #333;
    margin: 0;
}

/* ─── Form fields ─── */
.s64-login-step label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.s64-phone-input-row {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: border-color .2s;
}
.s64-phone-input-row:focus-within {
    border-color: #7c3aed;
}
.s64-phone-prefix {
    padding: 0 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    height: 48px;
    display: flex;
    align-items: center;
}
.s64-phone-input-row input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: .08em;
}
.s64-login-step input[type="text"] {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    font-size: 1rem;
    margin-bottom: 16px;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.s64-login-step input[type="text"]:focus {
    border-color: #7c3aed;
}

/* ─── OTP digits ─── */
.s64-otp-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}
.s64-otp-digit {
    width: 44px;
    height: 50px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s;
}
.s64-otp-digit:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}

/* ─── Buttons ─── */
.s64-btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.s64-btn-primary:hover { opacity: .9; }
.s64-btn-primary:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.s64-btn-link {
    background: none;
    border: none;
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0;
}
.s64-btn-link:hover { text-decoration: underline; }

/* ─── Messages ─── */
.s64-login-msg {
    font-size: 0.85rem;
    margin: 10px 0 0;
    text-align: center;
}
.s64-msg-error { color: #ef4444; }
.s64-msg-ok { color: #22c55e; }

/* ─── Resend ─── */
.s64-resend-row {
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #444;
}

/* ─── Footer ─── */
.s64-login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}
.s64-login-footer p {
    font-size: 0.78rem;
    color: #444;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.s64-login-footer svg { color: #22c55e; }

/* ─── Mobile ─── */
@media (max-width: 480px) {
    .s64-login-box {
        padding: 24px 20px 20px;
        border-radius: 14px;
    }
    .s64-otp-digit {
        width: 38px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ── Header right buttons ── */
.s64-header-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #7c3aed;
    border: 1.5px solid #7c3aed;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 8px 18px;
    margin-left: 12px;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}
.s64-header-btn span {
    display: inline-block;
}
.s64-header-btn svg {
    width: 18px;
    height: 18px;
}
.s64-header-btn:hover,
.s64-header-btn:focus {
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
}
/* Sign In button (header) - matches screenshot */
.s64-header-btn.s64-header-signin {
	display:none !important;
    background: #fff;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: none;
    letter-spacing: 0.01em;
    transition: background .18s, color .18s, border-color .18s;
}
.s64-header-btn.s64-header-signin:hover,
.s64-header-btn.s64-header-signin:focus {
    background: #f3f0ff;
    color: #7c3aed;
    border-color: #7c3aed;
}
@media (max-width: 768px) {
    .s64-header-btn { display: none !important; }
}

/* --- Header right options container --- */
.s64-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
@media (max-width: 768px) {
    .s64-header-right { display: none !important; }
}

/* Center search bar in header row */
header.wp-block-template-part .wp-block-group.alignwide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    position: relative;
}
.s64-search-bar {
    flex: 2 1 700px;
    max-width: 700px;
    min-width: 260px;
    margin: 0 10px;
}
@media (min-width: 1200px) {
    .s64-search-bar { margin: 0 24px; }
}
@media (max-width: 1024px) {
    .s64-search-bar { margin: 0 4px; }
}

/* --- Wider search bar, tighter header padding --- */
header.wp-block-template-part .wp-block-group.has-global-padding,
header.wp-block-template-part .wp-block-group[style*="padding"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

/* --- Product detail: center main content and improve alignment --- */
.pd-wrap {
    max-width: 900px;
    margin: 0 auto 36px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px rgba(124,58,237,0.06);
    padding: 36px 32px 32px 32px;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 44px;
    align-items: flex-start;
}
.pd-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.pd-gallery-main {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
    box-shadow: 0 2px 12px rgba(124,58,237,0.04);
}
.pd-gallery-main img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 4px;
}
.pd-gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #eee;
    cursor: pointer;
    opacity: 0.7;
    transition: border .2s, opacity .2s;
}
.pd-gallery-thumb.active,
.pd-gallery-thumb:hover {
    border: 2px solid #7c3aed;
    opacity: 1;
}
@media (max-width: 900px) {
    .pd-gallery-main img { aspect-ratio: 4/5; }
    .pd-gallery-thumb { width: 44px; height: 44px; }
}

/* ── Block section headings: responsive size ── */
@media (max-width: 768px) {
    .skills64-block-heading {
        font-size: 1.4rem !important;
        margin: 6px 0 16px !important;
    }
    .ws-section-label {
        font-size: 0.72rem !important;
        padding: 2px 10px !important;
    }
}

/* ── Become-a-Producer hero: inline form on dark bg ── */
.s64-bp-hero .s64-bp-inline-wrap {
    margin: 0 !important;
    max-width: 100% !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25) !important;
}
.s64-bp-hero .s64-bp-inline-wrap label {
    color: #333 !important;
}
@media (max-width: 781px) {
    .s64-bp-hero .wp-block-columns {
        flex-direction: column !important;
    }
    .s64-bp-hero .wp-block-column {
        flex-basis: 100% !important;
    }
    .s64-bp-hero .s64-bp-inline-wrap {
        margin: 20px auto !important;
        max-width: 480px !important;
    }
}
