/* Storefront styles — layered on top of admin.css's :root tokens, no new palette.
   Typography is scoped to .shop-body only (CSS custom properties cascade to
   descendants) so it never touches the admin panel's Round 9 sizing. */

.shop-body {
    background: var(--bg);
    --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
    --fs-xs: 9px;
    --fs-sm: 10.5px;
    --fs-base: 12px;
    --fs-md: 12px;
    --fs-lg: 14px;
    --fs-xl: 17px;
    --fs-2xl: 26px;
}

.shop-body .shop-hero h1,
.shop-body .hero-slide-content h1,
.shop-body .product-card-name,
.shop-body .pp-layout h1,
.shop-body .deal-spotlight-title,
.shop-body .shop-container h2,
.shop-body .public-wrap h1,
.shop-body .public-wrap h2,
.shop-body .policy-page h1 {
    font-family: var(--font-serif);
    letter-spacing: -0.01em;
}

.shop-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(40, 24, 28, 0.03);
    position: sticky;
    top: 0;
    z-index: 30;
}

.shop-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.shop-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}
.shop-brand:hover { text-decoration: none; }

/* Real logo is a detailed circular badge (fine script + curved text) — sized generously
   and framed with a two-tone ring (white gap + gold accent) so it reads clearly and
   feels like a deliberate mark, not a favicon-sized afterthought. */
.shop-brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold), 0 3px 10px rgba(40, 24, 28, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-brand:hover img { transform: scale(1.05); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--accent), 0 5px 14px rgba(40, 24, 28, 0.24); }
.shop-brand:hover { text-decoration: none; }

.shop-search { flex: 1; display: flex; max-width: 400px; }
.shop-search input {
    border-radius: 999px 0 0 999px;
    border-right: none;
    background: var(--surface-2);
}
.shop-search input:focus { background: var(--surface); }
.shop-search button {
    border: 1px solid var(--border);
    border-left: none;
    background: var(--surface-2);
    border-radius: 0 999px 999px 0;
    padding: 0 18px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.shop-search button:hover { background: var(--accent-light); }

/* Premium nav: "Shop" reads as a real nav link with a center-out animated underline;
   Cart/Account/Login read as utility actions with a soft pill hover background —
   two distinct but complementary treatments, matching common premium-storefront patterns. */
.shop-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.shop-nav a {
    color: var(--text);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.shop-nav a:hover { color: var(--accent-dark); text-decoration: none; background: var(--surface-2); }

.shop-nav a.shop-nav-link { padding: 9px 4px; border-radius: 0; }
.shop-nav a.shop-nav-link:hover { background: none; }
.shop-nav a.shop-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: left 0.2s ease, right 0.2s ease;
}
.shop-nav a.shop-nav-link:hover::after,
.shop-nav a.shop-nav-link.active::after { left: 0; right: 0; }
.shop-nav a.shop-nav-link.active { color: var(--accent-dark); }

.shop-nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

.shop-cart-link { display: inline-flex; align-items: center; gap: 6px; }
.shop-cart-badge {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 999px;
    padding: 0 4px;
}

.shop-account-link { display: inline-flex; align-items: center; gap: 6px; max-width: 160px; }
.shop-account-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shop-hamburger { display: none; }

.shop-main { min-height: 60vh; }

.shop-container { max-width: 1160px; margin: 0 auto; padding: 24px 20px 60px; }

/* Hero */
.shop-hero {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 46px 20px;
    text-align: center;
}
.shop-hero h1 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.shop-hero p { color: rgba(255,255,255,0.9); margin: 0; font-size: var(--fs-md); }

/* Hero slider (banners) — pure CSS crossfade, JS only toggles the .active class */
.hero-slider {
    position: relative;
    height: 360px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.4s cubic-bezier(.45,0,.15,1);
    will-change: opacity;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(50,36,39,0.72) 0%, rgba(50,36,39,0.32) 55%, rgba(50,36,39,0.1) 100%);
}
.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    color: #fff;
}
.hero-slide-content h1 { color: #fff; font-size: 32px; max-width: 520px; margin-bottom: 10px; }
.hero-slide-content p { color: rgba(255,255,255,0.9); max-width: 460px; margin: 0 0 16px; font-size: var(--fs-md); }

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border: none;
    width: 34px; height: 34px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
}
.hero-nav-btn:hover { background: #fff; }
.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.hero-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; }
.hero-dot.active { background: #fff; width: 20px; }

/* Deal of the Day — a full-bleed "spotlight" section, deliberately styled apart from
   the plain content cards so it reads as a special, premium moment on the homepage
   rather than another list item. Dark gold/burgundy gradient (distinct from the pink
   hero) + a soft animated glow behind the product photo draws the eye immediately. */
.deal-spotlight {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #3a1522 0%, #7a3b00 55%, #b45309 100%);
    padding: 44px 0;
    margin-bottom: 8px;
}
.deal-spotlight-glow {
    position: absolute;
    top: 50%;
    left: 18%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(243, 201, 105, 0.35) 0%, rgba(243, 201, 105, 0) 70%);
    animation: deal-glow-pulse 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes deal-glow-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
.deal-spotlight-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 36px;
}
.deal-spotlight-media { position: relative; }
.deal-spotlight-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.35), 0 20px 40px rgba(0, 0, 0, 0.35);
}
.deal-spotlight-photo-placeholder {
    width: 100%; aspect-ratio: 1/1; border-radius: 16px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; font-size: 56px;
    box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.35);
}
.deal-spotlight-ribbon {
    position: absolute;
    top: 14px;
    left: -8px;
    z-index: 2;
    background: linear-gradient(135deg, var(--gold), #f3c969);
    color: #3a1500;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 14px 5px 18px;
    border-radius: 0 999px 999px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.deal-spotlight-content { color: #fff; }
.deal-spotlight-eyebrow {
    color: #f3c969;
    font-weight: 800;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.deal-spotlight-title { color: #fff; font-size: 32px; margin: 0 0 4px; }
.deal-spotlight-category { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.deal-spotlight-price { font-size: 30px; font-weight: 800; color: #fff; margin: 4px 0 16px; }
.deal-spotlight-price .original { text-decoration: line-through; color: rgba(255,255,255,0.55); font-weight: 400; font-size: var(--fs-lg); margin-right: 10px; }

.deal-spotlight-countdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(243, 201, 105, 0.4);
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 20px;
}
.deal-spotlight-countdown-label { font-size: var(--fs-sm); font-weight: 700; color: rgba(255,255,255,0.85); }
.deal-spotlight-countdown .countdown-timer { color: #f3c969; font-size: var(--fs-lg); }

.deal-spotlight-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #f3c969);
    color: #3a1500;
    font-weight: 800;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.deal-spotlight-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); text-decoration: none; color: #3a1500; }

/* Countdown timers (generic — also used for the product-page sale countdown) */
.countdown-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--danger-light);
    color: #be123c;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 14px;
}
.countdown-timer { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: 0.02em; }
.countdown-timer.countdown-ended { color: var(--muted); font-weight: 600; }

/* Category chips */
.category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.category-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.category-chip:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Trust strip — shown site-wide right below the header */
.trust-strip { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}
.trust-item { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.trust-icon { margin-right: 4px; }

@media (max-width: 768px) {
    .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
.category-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Toolbar */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-toolbar select { width: auto; }

/* Homepage product preview — "Our Products" heading + View All link, replaces the
   toolbar/pagination that only make sense on the full-catalog view. */
.shop-section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.shop-section-header h2 { margin: 0; padding-left: 0; }
.shop-section-header h2::before { display: none; }
.view-all-link { font-weight: 700; font-size: var(--fs-sm); color: var(--accent-dark); white-space: nowrap; }
.view-all-link:hover { color: var(--accent); }
.view-all-cta { text-align: center; margin-top: 28px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-card-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--surface-2); display: block; }
.product-card-photo-placeholder {
    width: 100%; aspect-ratio: 1/1; background: var(--surface-2);
    display: flex; align-items: center; justify-content: center; font-size: 48px;
}

.product-card-badge {
    position: absolute; top: 10px; left: 10px;
    z-index: 2;
}

.product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.product-card-name { font-size: var(--fs-md); font-weight: 700; color: var(--text); margin: 0; }
.product-card-price { margin-top: auto; font-size: var(--fs-lg); font-weight: 800; color: var(--accent-dark); }
.product-card-price .original { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: var(--fs-sm); margin-right: 6px; }
.product-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.product-card-actions form { flex: 1; margin: 0; }
.product-card-actions .btn { width: 100%; text-align: center; padding: 7px 10px; font-size: var(--fs-xs); }

.wishlist-btn {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px;
    flex-shrink: 0;
}
.wishlist-btn.active { color: var(--danger); border-color: var(--danger); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span {
    display: inline-block; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--border);
    font-size: var(--fs-sm); font-weight: 600; color: var(--text);
}
.pagination a:hover { border-color: var(--accent); text-decoration: none; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .icon { font-size: 44px; margin-bottom: 10px; }

/* Single product page */
.pp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pp-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; background: var(--surface-2); }
.pp-photo-placeholder { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 72px; }
.pp-qty-input { width: 80px !important; text-align: center; }

/* Cart / checkout */
.cart-table td, .cart-table th { vertical-align: middle; }
.cart-item-photo { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary-box { min-width: 260px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: var(--fs-sm); }
.cart-summary-row.total { font-weight: 800; font-size: var(--fs-lg); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }

.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.address-option { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.address-option:has(input:checked) { border-color: var(--accent); background: var(--accent-light); }

/* Account dashboard */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.account-sidebar a { display: block; padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 2px; }
.account-sidebar a:hover { background: var(--surface-2); text-decoration: none; }
.account-sidebar a.active { background: var(--accent-light); color: var(--accent-dark); }

.auth-shop-wrap { max-width: 420px; margin: 40px auto; }

/* Reviews */
.review-row { border-bottom: 1px solid var(--border); padding: 14px 0; }
.review-row:last-child { border-bottom: none; }
.review-row-product { font-weight: 700; margin-bottom: 6px; }
.review-form textarea { margin: 8px 0; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 26px; line-height: 1; color: var(--border); cursor: pointer; transition: color 0.1s ease; }
.star-input input:checked + label,
.star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover,
.star-input label:hover ~ label { color: var(--gold); }

.stars-display { color: var(--gold); letter-spacing: 2px; font-size: var(--fs-md); }
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; background: var(--surface); }
.review-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-card-author { font-weight: 700; font-size: var(--fs-sm); }
.review-card-date { font-size: var(--fs-xs); color: var(--muted); }
.review-card-comment { font-size: var(--fs-sm); color: var(--text); margin: 6px 0 0; }

.rating-badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; }
.rating-badge .stars-display { font-size: var(--fs-lg); }

/* Welcome / intro section — premium editorial treatment: soft tinted backdrop,
   an eyebrow label, serif heading, and a small gradient divider instead of the
   generic h2::before accent bar (this section is meant to feel like a distinct
   "cover page", not just another content card). */
.welcome-intro {
    background: radial-gradient(ellipse at top, var(--accent-light) 0%, var(--bg) 65%);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 52px;
    text-align: center;
}
.welcome-intro-inner { max-width: 720px; }
.welcome-intro-eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 12px;
}
.welcome-intro-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-left: 0;
    color: var(--text);
    letter-spacing: -0.01em;
}
.welcome-intro-title::before { display: none; }
.welcome-intro-divider {
    width: 64px;
    height: 3px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}
.welcome-intro-text { font-size: var(--fs-lg); color: var(--muted); line-height: 1.8; margin: 0 auto; }

/* Testimonials */
.testimonials-section { padding: 12px 0 40px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.testimonial-comment { font-style: italic; color: var(--text); margin: 10px 0; line-height: 1.6; }
.testimonial-meta { font-size: var(--fs-sm); }

@media (max-width: 768px) {
    .welcome-intro { padding: 40px 0; }
    .welcome-intro-title { font-size: 26px; }
    .welcome-intro-text { font-size: var(--fs-md); }
}

/* Product description + similar products */
.pp-description-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin: 18px 0 6px; }
.pp-description-text { line-height: 1.75; color: var(--text); }

/* Policy pages */
.policy-page { max-width: 760px; margin: 0 auto; }
.policy-page h1 { font-size: 26px; margin-bottom: 18px; }
.policy-page-body { line-height: 1.8; color: var(--text); }

/* Footer policy links */
.footer-policies { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.footer-bottom-links a { font-size: var(--fs-xs); }

/* Floating WhatsApp chat widget — a persistent on-site launcher, not a bare link.
   The final "Start Chat" step still hands off to wa.me/WhatsApp itself (there's no
   real embedded messaging without WhatsApp Business API credentials), but the widget
   stays on the page the whole time instead of the WhatsApp icon being a plain
   footer link that immediately navigates away. */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.wa-bubble-btn {
    width: 58px; height: 58px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #1da851);
    border: none;
    box-shadow: 0 8px 20px rgba(29, 168, 81, 0.4);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: wa-bounce-in 0.4s ease, wa-pulse-ring 2.5s ease-in-out 1.2s infinite;
}
.wa-bubble-btn:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(29, 168, 81, 0.5); }
@keyframes wa-bounce-in { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes wa-pulse-ring {
    0%, 100% { box-shadow: 0 8px 20px rgba(29, 168, 81, 0.4); }
    50% { box-shadow: 0 8px 20px rgba(29, 168, 81, 0.4), 0 0 0 8px rgba(37, 211, 102, 0.18); }
}

.wa-panel {
    width: 300px;
    max-width: calc(100vw - 40px);
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border);
}
.wa-panel.open { display: flex; animation: wa-panel-in 0.2s ease; }
@keyframes wa-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.wa-panel-header {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-avatar { width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.wa-panel-title { font-weight: 700; font-size: var(--fs-sm); }
.wa-panel-status { font-size: 10px; opacity: 0.9; display: flex; align-items: center; gap: 4px; }
.wa-dot { width: 6px; height: 6px; border-radius: 999px; background: #d9fdd3; display: inline-block; }
.wa-panel-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0.85; padding: 4px; }
.wa-panel-close:hover { opacity: 1; }

.wa-panel-body { padding: 16px; background: #e5f5ec; }
.wa-bubble { background: #fff; border-radius: 12px; border-top-left-radius: 2px; padding: 10px 14px; font-size: var(--fs-sm); line-height: 1.6; box-shadow: var(--shadow-sm); }

.wa-panel-cta {
    display: block;
    text-align: center;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-sm);
    padding: 13px;
}
.wa-panel-cta:hover { background: #1da851; text-decoration: none; color: #fff; }

@media (max-width: 480px) {
    .wa-widget { right: 14px; bottom: 14px; }
    .wa-panel { width: calc(100vw - 28px); }
}

@media (max-width: 900px) {
    .pp-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .deal-spotlight-inner { grid-template-columns: 160px 1fr; gap: 22px; }
    .deal-spotlight-title { font-size: 24px; }
    .deal-spotlight-price { font-size: 22px; }
}

@media (max-width: 560px) {
    .deal-spotlight-inner { grid-template-columns: 1fr; text-align: center; }
    .deal-spotlight-media { max-width: 200px; margin: 0 auto; }
    .deal-spotlight-ribbon { left: 50%; transform: translateX(-50%); border-radius: 999px; }
    .deal-spotlight-glow { left: 50%; }
}

@media (max-width: 768px) {
    .shop-search { display: none; }
    .shop-hamburger { display: block; }
    .shop-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 20px 14px;
    }
    .shop-nav.open { display: flex; }
    .shop-nav a { padding: 10px 0; width: 100%; border-radius: 0; }
    .shop-nav a.shop-nav-link { padding: 10px 0; }
    .shop-nav a.shop-nav-link::after { display: none; }
    .shop-nav-divider { display: none; }
    .shop-header-inner { position: relative; flex-wrap: wrap; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .hero-slider { height: 260px; }
    .hero-slide-content h1 { font-size: 22px; }
}

.shop-footer {
    background: var(--text);
    color: rgba(255,255,255,0.75);
    margin-top: 40px;
}
.shop-footer-inner {
    max-width: 1160px; margin: 0 auto;
    padding: 36px 20px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.shop-footer-col h3 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.shop-footer-col p { margin: 4px 0; font-size: var(--fs-sm); }
.shop-footer-col a { color: rgba(255,255,255,0.75); }
.shop-footer-col a:hover { color: #fff; }
/* Real logo is a colorful circular badge (florals + script text) — inverting it to a
   white silhouette (the old treatment) would destroy it, so instead it gets a small
   white circular backdrop to stay legible/true-to-brand against the dark footer. */
.shop-brand-footer-badge {
    display: inline-flex;
    padding: 6px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 14px;
    box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(0,0,0,0.3);
}
.shop-brand-footer-badge img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.shop-footer-copy { text-align: center; padding: 14px 20px; font-size: var(--fs-xs); border-top: 1px solid rgba(255,255,255,0.12); }
