/* ==========================================================================
   MOGU (heymogu.com) — WaddleGuard / Shrine-Pro Inspired DTC Design System
   Palette: Bright Warm Blush #FFF6F9 | Soft Rose #FFE8F0 | Navy #192A5E | Red #D93B30
   ========================================================================== */

:root {
    --bg: #FFF6F9;
    --bg-blush: #FFE8F0;
    --bg-blush-2: #FFF9FB;
    --surface: #FFFFFF;
    --navy: #192A5E;
    --navy-dark: #111E45;
    --ink: #192A5E;
    --ink-muted: #526085;
    --red: #D93B30;
    --red-pulse: #E0412B;
    --gold: #F59E0B;
    --success: #16804A;
    --border: #F2D3DE;
    --border-blush: #F2C2D2;
    --radius: 12px;
    --shadow: 0 8px 22px rgba(25, 42, 94, 0.07);
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-success { color: var(--success); }
.muted { color: var(--ink-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .14s ease, background .15s ease, border-color .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(25, 42, 94, 0.22);
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.btn-outline {
    background: #fff;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--bg-blush);
}

.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* WaddleGuard Top Offer Bar */
.wg-offer-bar {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 8px 14px 9px;
    letter-spacing: 0.03em;
}

.wg-offer-bar__line {
    font-size: 13px;
    font-weight: 700;
}

.wg-offer-bar__timer {
    font-size: 12px;
    opacity: 0.94;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 66px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    opacity: 0.82;
    transition: opacity .15s;
}

.main-nav a:hover { opacity: 1; }

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
}

.brand-paw { font-size: 20px; }

.brand-word {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--navy);
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.header-mission-link {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--red);
}

.cart-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-blush);
    border: 1px solid var(--border-blush);
    padding: 7px 12px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    color: var(--navy);
    cursor: pointer;
}

.cart-badge {
    background: var(--red);
    color: #fff;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    justify-self: start;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* Product Section */
.wg-product-section {
    padding: 28px 0 60px;
    background: var(--bg);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: start;
}

.gallery-col {
    position: sticky;
    top: 86px;
}

.gallery-main-wrap {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(25, 42, 94, 0.9);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.thumb-btn {
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: border-color .15s, transform .12s;
}

.thumb-btn.active {
    border-color: var(--navy);
    transform: translateY(-1px);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buy Column */
.rating-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 6px;
}

.stars {
    color: var(--gold);
    letter-spacing: 1px;
}

.product-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--navy);
}

.product-subtitle {
    margin: 0 0 14px;
    color: var(--ink-muted);
    font-size: 14.5px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
}

.price-compare {
    font-size: 17px;
    color: var(--ink-muted);
    text-decoration: line-through;
}

.price-discount {
    background: var(--red);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.wg-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
}

.wg-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUNDLE & SAVE Divider */
.bundle-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.bundle-divider::before,
.bundle-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Shrine / WaddleGuard Quantity Break Cards */
.quantity-breaks-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.quantity-break {
    position: relative;
    display: block;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px 14px 44px;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.quantity-break--badge {
    padding-top: 22px;
}

.quantity-break.active {
    border-color: var(--navy);
    background: #FBFBFF;
    box-shadow: 0 4px 14px rgba(25, 42, 94, 0.08);
}

.quantity-break input[type="radio"] {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--navy);
}

.quantity-break--badge input[type="radio"] {
    top: 26px;
}

.quantity-break__badge {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    color: #fff;
}

.badge-red { background: var(--red); }
.badge-navy { background: var(--navy); }

.quantity-break__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.quantity-break__left {
    min-width: 0;
}

.quantity-break__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
}

.qb-pill {
    font-size: 10.5px;
    font-weight: 800;
    background: var(--bg-blush);
    color: var(--red);
    border: 1px solid var(--border-blush);
    padding: 2px 7px;
    border-radius: 999px;
}

.qb-sub {
    display: block;
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 2px;
}

.quantity-break__right {
    text-align: right;
    flex: none;
}

.quantity-break__right strong {
    display: block;
    font-size: 16px;
    color: var(--navy);
}

.quantity-break__right s {
    font-size: 12px;
    color: var(--ink-muted);
}

/* Inline #1 #2 #3 Character Selectors inside active card */
.quantity-break__variants {
    display: none;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    gap: 8px;
}

.quantity-break.active .quantity-break__variants {
    display: grid;
}

.qb-slot-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qb-slot-num {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    min-width: 24px;
}

.qb-slot-thumb {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.qb-slot-select {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Low Stock Pulsing Urgency */
.wg-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 6px 0 14px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #FFF1EC;
    border: 1px solid #F7C3B2;
    color: #B4321F;
    font-size: 13px;
}

.wg-stock__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red-pulse);
    flex: none;
    box-shadow: 0 0 0 0 rgba(224, 65, 43, 0.55);
    animation: wgPulse 1.6s infinite;
}

@keyframes wgPulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 65, 43, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(224, 65, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 65, 43, 0); }
}

.cta-stack {
    display: grid;
    gap: 9px;
    margin-bottom: 12px;
}

/* Blush Safe Guarantee Box */
.wg-safe {
    background: var(--bg-blush-2);
    color: var(--navy);
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
}

.wg-safe__items {
    display: grid;
    gap: 4px;
}

.inapp-notice {
    background: #FFF4E5;
    border: 1px solid #F7C98A;
    color: #5C3A08;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Accordions */
.mini-accordions details,
.faq-list details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 8px;
}

.mini-accordions summary,
.faq-list summary {
    padding: 13px 15px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navy);
}

.mini-accordions summary::after,
.faq-list summary::after {
    content: '+';
    font-size: 18px;
    color: var(--navy);
}

.mini-accordions details[open] summary::after,
.faq-list details[open] summary::after {
    content: '−';
}

.acc-body,
.faq-list details p {
    padding: 0 15px 14px;
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-muted);
}

.acc-body ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 5px;
}

/* Showcase / Mission Section (#FCEFEE Blush Background) */
.eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    background: #fff;
    border: 1px solid var(--border-blush);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.wg-showcase-section {
    background: var(--bg-blush);
    padding: 64px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.showcase-media-stack {
    display: grid;
    gap: 14px;
}

.showcase-img-main,
.showcase-img-sub {
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.showcase-text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}

.mission-banner-box {
    background: #fff;
    border: 1px solid var(--border-blush);
    border-left: 4px solid var(--red);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 18px 0 22px;
}

.mission-banner-box strong {
    display: block;
    color: var(--red);
    font-size: 14px;
    margin-bottom: 4px;
}

.mission-banner-box span {
    font-size: 13.5px;
    color: var(--ink-muted);
}

/* How & Comparison */
.wg-how-section {
    padding: 68px 0;
    background: var(--bg);
}

.section-head.center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.22;
    margin: 0 0 10px;
}

.section-head p {
    margin: 0;
    color: var(--ink-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-card h3 { margin: 0 0 8px; font-size: 17px; }
.step-card p { margin: 0; font-size: 13.5px; color: var(--ink-muted); }

.compare-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}

.compare-table thead th {
    background: var(--navy);
    color: #fff;
    padding: 15px 16px;
    font-size: 14px;
}

.compare-table thead th.col-mogu {
    background: var(--red);
}

.compare-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.compare-table tbody td.col-mogu {
    background: var(--bg-blush);
    font-weight: 800;
}

.yes { color: var(--success); font-size: 18px; font-weight: 800; }
.no { color: var(--red); font-size: 16px; opacity: 0.7; }

/* FAQ Section */
.wg-faq-section {
    padding: 64px 0;
    background: var(--bg-blush-2);
}

.faq-wrap { max-width: 780px; }

/* Warranty Section */
.wg-warranty-section {
    padding: 36px 0 56px;
    background: var(--bg);
}

.wg-warranty-card {
    background: var(--bg-blush);
    border: 1px solid var(--border-blush);
    border-radius: 18px;
    padding: 42px 26px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.wg-warranty-ico {
    font-size: 40px;
    margin-bottom: 10px;
}

.wg-warranty-card h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
}

.wg-warranty-card p {
    max-width: 600px;
    margin: 0 auto 22px;
    color: var(--ink-muted);
}

/* Reviews Section */
.wg-reviews-section {
    padding: 20px 0 72px;
    background: var(--bg);
}

.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.reviews-header h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 6px;
}

.reviews-header p { margin: 0; color: var(--ink-muted); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(25, 42, 94, 0.05);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-date {
    font-size: 11.5px;
    color: var(--ink-muted);
}

.review-card p {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--ink);
}

.review-author {
    font-size: 12px;
    color: var(--ink-muted);
}

/* Drawers */
.cart-drawer,
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    visibility: hidden;
}

.cart-drawer.open,
.mobile-drawer.open {
    pointer-events: auto;
    visibility: visible;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 30, 69, 0.5);
    opacity: 0;
    transition: opacity .22s;
}

.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); }
.open .drawer-panel { transform: translateX(0); }

.drawer-head {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-head h3 { margin: 0; font-size: 17px; }

.icon-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--navy);
}

.mobile-links {
    padding: 16px 20px;
    display: grid;
    gap: 14px;
}

.mobile-links a {
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.cart-body-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 14px 18px;
}

.wg-cart-timer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--bg-blush);
    color: var(--navy);
    border: 1px solid var(--border-blush);
    border-radius: 8px;
    padding: 9px 10px;
    margin-bottom: 14px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
}

.cart-items {
    display: grid;
    gap: 10px;
}

.cart-item-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

.cart-item-card h4 { margin: 0 0 3px; font-size: 13.5px; }
.cart-item-card small { display: block; color: var(--ink-muted); font-size: 12px; margin-bottom: 8px; }

.cart-qty-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-blush);
    font-weight: 700;
    cursor: pointer;
    color: var(--navy);
}

.remove-btn {
    background: none;
    border: none;
    color: var(--ink-muted);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding: 14px 18px 16px;
    background: #fff;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wg-ct {
    margin-top: 12px;
    color: var(--navy);
}

.wg-ct__g {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--bg-blush-2);
    border-radius: 10px;
    padding: 10px 12px;
}

.wg-ct__ico { font-size: 22px; }
.wg-ct__g strong { display: block; font-size: 12.5px; }
.wg-ct__g small { display: block; font-size: 11.5px; color: var(--ink-muted); }

.wg-ct__row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 52px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-logo { justify-content: flex-start; }
.footer-logo .brand-word { color: #fff; }
.footer-tagline { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }

.social-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
}

.footer-col h4 { margin: 0 0 12px; color: #fff; font-size: 14.5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; font-size: 13.5px; color: rgba(255, 255, 255, 0.76); }
.footer-col a:hover { color: #fff; }
.footer-contact { font-size: 13px; color: rgba(255, 255, 255, 0.76); margin: 0; line-height: 1.7; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-pills { display: flex; gap: 8px; }
.payment-pills span {
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
}

/* Scroll to Top + Mobile Sticky Bar */
.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 34;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transform: translateY(100%);
    transition: transform .2s ease;
}

.mobile-sticky-bar.visible { transform: translateY(0); }
.sticky-price small { display: block; font-size: 11px; color: var(--ink-muted); }
.sticky-price strong { font-size: 18px; color: var(--navy); }

/* Checkout, Legal, Thankyou, Admin */
.checkout-page, .thankyou-page, .legal-page {
    padding: 36px 0 72px;
    background: var(--bg-blush);
    min-height: 75vh;
}

.checkout-breadcrumb {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.checkout-card, .thankyou-card, .legal-card, .checkout-empty-card, .admin-card, .admin-login-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.checkout-card h1, .checkout-card h2 {
    margin: 0 0 18px;
    font-size: 21px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin: 14px 0 18px;
    cursor: pointer;
}

.terms-check input { margin-top: 3px; accent-color: var(--navy); }

.summary-items { display: grid; gap: 10px; margin-bottom: 16px; }
.summary-line-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.summary-line-item small { display: block; color: var(--ink-muted); font-size: 12px; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.summary-grand { font-size: 18px; padding-top: 8px; border-top: 1px solid var(--border); }
.summary-badges { margin-top: 14px; display: grid; gap: 6px; font-size: 12px; color: var(--ink-muted); }

.alert { padding: 12px 15px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.alert-error { background: #FDE8E8; color: #9B1C1C; border: 1px solid #F8B4B4; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

.thankyou-wrap { max-width: 680px; }
.thankyou-icon { font-size: 46px; margin-bottom: 8px; }
.demo-pill { display: inline-block; margin-top: 6px; background: #FFF4E5; color: #8A5300; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.thankyou-box { background: var(--bg-blush); border: 1px solid var(--border-blush); border-radius: 12px; padding: 16px; margin: 18px 0; }
.thankyou-items { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.thankyou-items li { display: flex; justify-content: space-between; font-size: 14px; }
.thankyou-items small { display: block; color: var(--ink-muted); }
.thankyou-total { display: flex; justify-content: space-between; border-top: 1px solid var(--border-blush); padding-top: 10px; font-size: 17px; }

.legal-wrap { max-width: 860px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.legal-tab { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.legal-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Admin */
.admin-body { background: var(--bg-blush); }
.admin-wrap { padding: 28px 18px 60px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { margin: 0; font-size: 24px; }
.admin-login-card { max-width: 420px; margin: 40px auto; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat-card span { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 700; }
.stat-card strong { font-size: 24px; }
.admin-card { margin-bottom: 20px; }
.print-queue-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pq-item { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-blush); }
.pq-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.pq-item small { display: block; font-size: 11px; color: var(--ink-muted); }
.pq-count { font-weight: 800; color: var(--red); font-size: 15px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 780px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.inline-fulfill-form { display: grid; gap: 6px; }
.inline-fulfill-form select, .inline-fulfill-form input { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; }
.pay-pill { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #EFEFEF; }
.pay-paid, .pay-demo_paid { background: #DCFCE7; color: #166534; }
.pay-failed { background: #FEE2E2; color: #991B1B; }

/* Üyelik, Sipariş Takip, Kupon & Gelişmiş Admin */
.account-page, .track-page { padding: 36px 0 72px; background: var(--bg); min-height: 75vh; }
.auth-shell { max-width: 460px; margin: 0 auto; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.auth-tab { padding: 11px; border: 2px solid var(--border); border-radius: 10px; background: #fff; font-family: inherit; font-weight: 700; cursor: pointer; color: var(--navy); }
.auth-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font-size: 22px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.account-head h1 { margin: 0; font-size: 24px; }
.account-head-actions { display: flex; gap: 8px; }
.account-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 22px; align-items: start; }
.account-orders-list { display: grid; gap: 12px; }
.acc-order-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #FFFDFD; }
.acc-order-top, .acc-order-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-order-items { margin: 10px 0; font-size: 13px; color: var(--ink-muted); }
.acc-order-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tracking-chip { background: var(--bg-blush); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--bg-blush-2); color: var(--navy); }
.status-shipped, .status-delivered { background: #DCFCE7; color: #166534; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }

.track-wrap { max-width: 760px; display: grid; gap: 20px; }
.track-res-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.track-res-head h2 { margin: 0; }
.track-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.tl-step { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #fff; opacity: 0.55; }
.tl-step.done { opacity: 1; border-color: var(--success); background: #F0FDF4; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: var(--navy); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tl-step.done .tl-dot { background: var(--success); color: #fff; }
.tl-step strong { display: block; font-size: 13px; }
.tl-step small { display: block; font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }
.tracking-highlight { background: var(--bg-blush); border: 1px solid var(--border-blush); border-radius: 10px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.checkout-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.checkout-card-top h1 { margin: 0; }
.member-badge { background: #DCFCE7; color: #166534; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.member-login-link { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.quick-register-box { background: var(--bg-blush-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.coupon-box { margin: 12px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; text-transform: uppercase; }
.coupon-feedback { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; }
.coupon-err { color: #B91C1C; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tab { text-decoration: none; padding: 9px 15px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.admin-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-range-pills { display: flex; gap: 6px; }
.range-pill { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12px; font-weight: 700; }
.range-pill.active { background: var(--red); color: #fff; border-color: var(--red); }
.admin-stats-4 { grid-template-columns: repeat(4, 1fr); }
.bar-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 8px; align-items: end; height: 210px; padding-top: 22px; }
.bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
.bar-val { font-size: 10px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.bar-track { width: 100%; height: 150px; background: var(--bg-blush-2); border-radius: 8px; display: flex; align-items: flex-end; overflow: hidden; }
.bar-fill { width: 100%; background: var(--red); border-radius: 8px 8px 0 0; min-height: 3px; }
.bar-lbl { font-size: 10.5px; color: var(--ink-muted); font-weight: 600; }
.report-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.report-bars { display: grid; gap: 12px; }
.rb-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.rb-track { height: 10px; background: var(--bg-blush-2); border-radius: 999px; overflow: hidden; }
.rb-fill { height: 100%; background: var(--red); border-radius: 999px; }
.rb-navy { background: var(--navy); }
.orders-filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.orders-filter-bar h2 { margin: 0; }
.filter-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-controls input, .filter-controls select { padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; }
.wa-link { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #16804A; text-decoration: none; }

/* 2. Kutucuklu Dijital Sayaç & 5. Marquee & 3. Count-Up & 4. Tasarruf Çubuğu + Konfeti */
.wg-offer-bar__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 4px;
}

.cd-prefix {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-right: 2px;
}

.cd-box {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.cd-box small { font-size: 10px; opacity: 0.85; }
.cd-sec { background: rgba(217, 59, 48, 0.85); border-color: rgba(255, 255, 255, 0.35); }
.cd-sep { font-weight: 700; opacity: 0.7; }

.cd-box-light {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--border-blush);
}

.marquee-strip {
    background: var(--bg-blush);
    border-bottom: 1px solid var(--border-blush);
    overflow: hidden;
    white-space: nowrap;
    padding: 9px 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
}

.marquee-track {
    display: inline-flex;
    gap: 34px;
    animation: moguMarquee 28s linear infinite;
}

@keyframes moguMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.savings-meter {
    background: var(--bg-blush);
    border: 1px solid var(--border-blush);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.savings-meter__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    margin-bottom: 6px;
    color: var(--navy);
}

.savings-meter__head small {
    font-weight: 800;
    color: var(--red);
}

.savings-meter__track {
    height: 9px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border-blush);
}

.savings-meter__fill {
    height: 100%;
    width: 72%;
    border-radius: 999px;
    background: linear-gradient(90deg, #192A5E 0%, #D93B30 60%, #F59E0B 100%);
    background-size: 200% 100%;
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    animation: meterShimmer 2.4s linear infinite;
}

@keyframes meterShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.wg-metrics-band {
    background: var(--bg-blush);
    color: var(--navy);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 34px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.metric-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 12px;
    box-shadow: var(--shadow);
}

.metric-num {
    display: block;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--red);
    line-height: 1.15;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.metric-item span {
    font-size: 12.5px;
    color: var(--ink-muted);
    font-weight: 600;
}

/* Cart Bounce & Confetti */
.cart-trigger.cart-bounce {
    animation: cartPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.16); }
    100% { transform: scale(1); }
}

.confetti-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 200;
    animation: confettiFly 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes confettiFly {
    0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.4) rotate(260deg); }
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track, .savings-meter__fill, .wg-stock__dot { animation: none; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid,
    .showcase-grid,
    .checkout-grid,
    .account-grid,
    .report-grid-3 {
        grid-template-columns: 1fr;
    }

    .gallery-col { position: static; }
    .steps-grid, .reviews-grid, .footer-grid, .admin-stats { grid-template-columns: 1fr; }
    .admin-stats-4, .track-timeline { grid-template-columns: repeat(2, 1fr); }
    .print-queue-grid { grid-template-columns: repeat(2, 1fr); }
    .bar-chart { overflow-x: auto; min-width: 560px; }
}

@media (max-width: 760px) {
    .main-nav, .header-mission-link { display: none; }
    .mobile-menu-btn { display: flex; }
    .form-row, .track-timeline, .admin-stats-4 { grid-template-columns: 1fr; }
    .mobile-sticky-bar { display: flex; }
    .scroll-top-btn { bottom: 78px; }
    body { padding-bottom: 72px; }
}
