:root {
    /* Cashify-inspired — buy/sale only */
    --cf-green: #00a699;
    --cf-green-dark: #008f82;
    --cf-green-light: #e6f7f5;
    --cf-orange: #ff6b35;
    --cf-bg: #f4f6f5;
    --cf-surface: #ffffff;
    --cf-text: #2d3436;
    --cf-muted: #636e72;
    --cf-border: #dfe6e9;
    --cf-success: #00a699;
    --cf-danger: #d63031;
    --header-height: 108px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);

    --v-primary: var(--cf-green);
    --v-primary-dark: var(--cf-green-dark);
    --v-primary-light: var(--cf-green-light);
    --v-secondary: var(--cf-orange);
    --v-accent: var(--cf-orange);
    --v-bg: var(--cf-bg);
    --v-bg-tint: var(--cf-green-light);
    --v-surface: var(--cf-surface);
    --v-text: var(--cf-text);
    --v-muted: var(--cf-muted);
    --v-border: var(--cf-border);
    --v-success: var(--cf-success);
    --v-danger: var(--cf-danger);
    --v-express: var(--cf-green);
    --v-gradient: linear-gradient(135deg, #00a699 0%, #00c9b7 100%);
    --v-gradient-soft: linear-gradient(180deg, #e6f7f5 0%, #fff 100%);

    --brand-deep: var(--cf-text);
    --brand-mid: var(--cf-green-dark);
    --brand-accent: var(--cf-green);
    --brand-accent-dark: var(--cf-green-dark);
    --brand-warm: var(--cf-orange);
    --brand-link: var(--cf-green-dark);
    --brand-highlight: var(--cf-orange);
    --brand-soft: var(--cf-green-light);
    --brand-prime: var(--cf-green);

    --text: var(--cf-text);
    --muted: var(--cf-muted);
    --bg: var(--cf-bg);
    --white: var(--cf-surface);
    --danger: var(--cf-danger);
    --success: var(--cf-success);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--cf-bg);
    color: var(--cf-text);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--cf-green-dark); text-decoration: none; }
a:hover { color: var(--cf-green); }
img { max-width: 100%; height: auto; }

.flash { padding: 14px 24px; text-align: center; font-weight: 500; }
.flash-success { background: #d1fae5; color: var(--v-success); }
.flash-danger, .flash-warning { background: #fce7f3; color: var(--v-danger); }

/* ── Header: light sticky bar (opposite of Amazon dark nav) ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--v-border);
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    max-width: 1500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cf-green);
    text-decoration: none;
    -webkit-text-fill-color: unset;
    background: none;
    flex-shrink: 0;
    line-height: 0;
}

.logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo-img-white { display: none; }

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--cf-green);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--cf-green);
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 640px;
    min-width: 240px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cashify-search .search-icon {
    display: flex;
    padding: 0 4px 0 14px;
    color: #9ca3af;
}

.cashify-search input {
    padding: 12px 16px 12px 4px !important;
}

.cashify-search:focus-within {
    border-color: var(--cf-green);
    box-shadow: 0 0 0 3px rgba(0, 166, 153, 0.12);
    background: #fff;
}

.search-form:focus-within {
    border-color: var(--cf-green);
    box-shadow: 0 0 0 3px rgba(0, 166, 153, 0.12);
}

.search-form select {
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--v-muted);
    font-size: 0.85rem;
    border-right: 1px solid var(--v-border);
    max-width: 130px;
}

.search-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--v-text);
}

.search-form input::placeholder { color: #a89fb8; }

.search-form button {
    background: var(--cf-green);
    color: #fff;
    border: none;
    padding: 10px 16px;
    margin: 4px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.header-nav a {
    color: var(--v-text);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.2s, color 0.2s;
}

.header-nav a:hover {
    background: var(--v-primary-light);
    color: var(--v-primary-dark);
    text-decoration: none;
}

.cart-link {
    background: var(--cf-green) !important;
    color: #fff !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.cart-count {
    background: #fff;
    color: var(--cf-green-dark);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* ── Cashify top bar actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: var(--cf-text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
}

.location-btn:hover { background: #f3f4f6; }

.header-cart {
    position: relative;
    display: flex;
    padding: 8px;
    color: var(--cf-text);
    border-radius: 6px;
}

.header-cart:hover { background: #f3f4f6; text-decoration: none; }

.header-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--cf-green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-header-login {
    display: inline-block;
    padding: 10px 28px;
    background: var(--cf-green);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-header-login:hover {
    background: var(--cf-green-dark);
    color: #fff !important;
}

/* ── Cashify main nav (dropdown row) ── */
.header-main-nav {
    border-top: 1px solid #eee;
    background: #fff;
    overflow: visible;
    position: relative;
    z-index: 1001;
}

.header-main-nav-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    overflow: visible;
}

.nav-item,
.nav-dropdown-wrap {
    position: relative;
    flex-shrink: 0;
}

.nav-trigger,
.nav-link-direct {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    border: none;
    background: transparent;
    color: var(--cf-text);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}

.nav-trigger:hover,
.nav-link-direct:hover {
    color: var(--cf-green);
    text-decoration: none;
}

.nav-trigger .chevron,
.location-btn .chevron {
    transition: transform 0.2s;
}

.nav-dropdown-wrap.is-open .chevron,
.nav-dropdown-wrap:hover .chevron {
    transform: rotate(180deg);
}

.nav-link-direct.nav-hot { color: var(--cf-orange); }

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    z-index: 1200;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-dropdown-wide { min-width: 240px; }

.nav-dropdown-wrap.is-open .nav-dropdown {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown-wrap:hover .nav-dropdown {
        display: block;
    }
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--cf-text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-dropdown a:hover {
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    text-decoration: none;
}

.nav-dropdown a.is-active {
    color: var(--cf-green);
    font-weight: 700;
}

.dropdown-heading {
    display: block;
    padding: 12px 20px 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--cf-text);
    text-transform: none;
}

.dropdown-more {
    color: var(--cf-green) !important;
    font-weight: 700 !important;
}

.location-dropdown { right: 0; left: auto; min-width: 180px; }

.location-city {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--cf-text);
}
.location-city.is-active { color: var(--cf-green); font-weight: 700; }
.location-city.is-muted { color: var(--cf-muted); }

/* ── Mobile app-like menu (hidden on desktop) ── */
.mobile-menu-btn,
.mobile-menu,
.mobile-bottom-nav { display: none; }

.mobile-menu-btn {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--cf-text);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-menu-btn:hover { background: #f3f4f6; }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
}
.mobile-menu.is-open { pointer-events: auto; }

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.25s;
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow: hidden;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--cf-border);
}
.mobile-menu-logo .logo-img { height: 52px; max-width: 240px; }
.mobile-menu-logo .logo-text { display: inline; font-size: 1rem; }
.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--cf-text);
}

.mobile-menu-search {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cf-border);
}
.mobile-menu-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--cf-border);
    border-radius: 8px;
    font-size: 0.9rem;
}
.mobile-menu-search .btn-sm { padding: 10px 14px; white-space: nowrap; }

.mobile-menu-quick {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.mobile-quick-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.mobile-quick-hot { background: #fff3e6; color: #c2410c; }

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 16px;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu-link {
    display: block;
    padding: 14px 20px;
    color: var(--cf-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}
.mobile-menu-link:hover { background: var(--cf-green-light); color: var(--cf-green-dark); text-decoration: none; }
.mobile-menu-hot { color: var(--cf-orange); }

.mobile-menu-heading {
    padding: 16px 20px 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cf-muted);
    margin: 0;
}
.mobile-menu-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 12px;
}
.mobile-menu-brands a {
    padding: 8px 14px;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cf-text);
    text-decoration: none;
}
.mobile-menu-brands a:hover {
    border-color: var(--cf-green);
    background: var(--cf-green-light);
    text-decoration: none;
}

.mobile-menu-foot {
    padding: 16px;
    border-top: 1px solid var(--cf-border);
    background: #fafafa;
}
.mobile-menu-foot .location-city { padding: 0 0 12px; font-size: 0.88rem; }

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top: 1px solid var(--cf-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0));
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    color: var(--cf-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}
.bottom-nav-item svg { opacity: 0.7; }
.bottom-nav-item.is-active,
.bottom-nav-item:hover {
    color: var(--cf-green);
    text-decoration: none;
}
.bottom-nav-item.is-active svg { opacity: 1; stroke: var(--cf-green); }
.bottom-nav-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--cf-green);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.mobile-menu-open { overflow: hidden; }

@media (max-width: 900px) {
    .mobile-menu-btn,
    .mobile-menu,
    .mobile-bottom-nav { display: flex; }
    .mobile-bottom-nav { display: grid; }

    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0)); }
    .page-product-detail { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0)); }

    .header-top {
        padding: 10px 12px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .logo-text { display: none; }
    .logo-img { height: 44px; max-width: 200px; }
    .cashify-search { display: none; }
    .location-picker { display: none; }
    .btn-header-login { display: none; }
    .header-main-nav { display: none; }
    .logo { margin-right: auto; }
    .header-actions { gap: 4px; }

    .page-product-detail .mobile-bottom-nav { display: none; }
    .page-product-detail { padding-bottom: 80px; }
    .page-product-detail .mobile-buy-bar {
        display: flex;
        bottom: 0;
        z-index: 1003;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn,
    .mobile-menu,
    .mobile-bottom-nav { display: none !important; }
}

.express-tag, .prime-tag {
    display: inline-block;
    background: var(--v-primary-light);
    color: var(--v-primary-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 24px 48px;
    min-height: 60vh;
}

.section { margin-bottom: 40px; }

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--v-text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "";
    width: 5px;
    height: 1.1em;
    background: var(--v-gradient);
    border-radius: 3px;
}

.section-title a { color: inherit; }
.section-title a:hover { color: var(--v-primary); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.category-card {
    background: var(--v-surface);
    padding: 28px 16px;
    text-align: center;
    border-radius: var(--radius-md);
    color: var(--v-text);
    font-weight: 700;
    border: 1px solid var(--v-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 58, 237, 0.3);
    text-decoration: none;
    background: var(--v-gradient-soft);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--v-surface);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--v-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-img {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    background: var(--v-gradient-soft);
    padding: 12px;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

.product-card h3 {
    font-size: 0.92rem;
    margin: 0 0 6px;
    font-weight: 600;
    line-height: 1.35;
}

.product-card h3 a { color: var(--v-text); }
.product-card h3 a:hover { color: var(--v-primary); }

.product-card .price strong {
    font-size: 1.15rem;
    color: var(--v-primary-dark);
    font-weight: 800;
}

.product-card .price del { color: var(--v-muted); font-size: 0.85rem; margin-left: 6px; }

.badge {
    position: absolute;
    top: 10px;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge.deal { background: var(--v-secondary); color: #fff; left: 10px; }
.badge.prime, .badge.express {
    background: var(--v-surface);
    color: var(--v-primary);
    border: 2px solid var(--v-primary);
    right: 10px;
    left: auto;
}

.deal-label { color: var(--v-secondary); font-size: 0.8rem; font-weight: 600; }

.rating .star { color: var(--v-accent); }
.rating .star.empty { color: #ddd5e9; }
.rating .count { color: var(--v-muted); font-size: 0.85rem; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    background: var(--v-surface);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    color: var(--v-text);
    font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--v-primary);
    border-color: var(--v-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover { background: var(--v-primary-dark); color: #fff; }

.btn-accent {
    background: var(--v-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.btn-accent:hover { color: #fff; opacity: 0.92; }

.btn-outline {
    background: transparent;
    border-color: var(--v-primary);
    color: var(--v-primary);
}

.btn-outline:hover { background: var(--v-primary-light); }

.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.link-btn { background: none; border: none; color: var(--v-primary); cursor: pointer; font-family: inherit; }

.breadcrumb { font-size: 0.85rem; margin-bottom: 20px; color: var(--v-muted); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    background: var(--v-surface);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; padding: 20px; } }

.product-gallery #mainImage { max-height: 420px; object-fit: contain; }

.thumb-list { display: flex; gap: 10px; margin-top: 14px; }

.thumb-list .thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--v-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}

.thumb-list .thumb:hover { border-color: var(--v-primary); }

.price-current { font-size: 1.85rem; color: var(--v-primary-dark); font-weight: 800; }
.discount-badge { color: var(--v-secondary); margin-right: 8px; font-weight: 700; }
.express-delivery, .prime-delivery { color: var(--v-success); font-weight: 500; }

.buy-form { margin-top: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }

.product-buy-box {
    margin-top: 20px;
    padding: 24px;
    border: 2px solid var(--v-border);
    border-radius: var(--radius-md);
    background: var(--v-gradient-soft);
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.product-buy-box .buy-box-price {
    font-size: 1.6rem;
    color: var(--v-primary-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.buy-form-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.product-card-actions { margin-top: auto; padding-top: 10px; }
.product-card-actions form { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card-actions .btn { flex: 1 1 auto; min-width: 0; padding: 7px 10px; font-size: 0.78rem; }

.mobile-buy-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--v-border);
    padding: 12px 16px;
    box-shadow: 0 -8px 30px rgba(124, 58, 237, 0.1);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-buy-price { font-weight: 800; color: var(--v-primary-dark); font-size: 1.1rem; }
.mobile-buy-actions { display: flex; gap: 8px; }

@media (max-width: 768px) {
    .mobile-buy-bar { display: flex; }
    body.page-product-detail { padding-bottom: 76px; }
    .product-buy-box { position: static; }
    .header-top { padding: 12px 16px; }
}

.cart-page-title { margin-bottom: 24px; font-weight: 800; }
.cart-item { transition: transform 0.25s, box-shadow 0.25s; border-radius: var(--radius-md); }
.cart-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cart-item-thumb img { width: 100px; height: 100px; object-fit: contain; border-radius: var(--radius-sm); }
.cart-variant { color: var(--v-muted); font-size: 0.9rem; }
.sticky-summary { position: sticky; top: calc(var(--header-height) + 16px); }
.cart-summary hr { border: none; border-top: 1px solid var(--v-border); margin: 14px 0; }
.summary-amount { font-weight: 700; margin-bottom: 8px; color: var(--v-primary-dark); }

.cart-empty {
    text-align: center;
    padding: 72px 24px;
    background: var(--v-surface);
    border-radius: var(--radius-md);
    border: 2px dashed var(--v-border);
}

.cart-empty .empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.cart-empty .btn { margin: 8px; }
.buy-now-link { color: var(--v-secondary); font-size: 0.85rem; margin-top: 6px; font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.attr-table { width: 100%; border-collapse: collapse; background: var(--v-surface); border-radius: var(--radius-sm); overflow: hidden; }
.attr-table th, .attr-table td { border: 1px solid var(--v-border); padding: 10px 14px; text-align: left; }
.attr-table th { background: var(--v-primary-light); width: 30%; font-weight: 600; }

.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
@media (max-width: 768px) { .search-layout { grid-template-columns: 1fr; } }

.filters {
    background: var(--v-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
    height: fit-content;
}

.filters label { display: block; margin-bottom: 14px; font-size: 0.9rem; font-weight: 500; }
.filters input, .filters select { width: 100%; margin-top: 6px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--v-border); }

.results-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    background: var(--v-surface);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
}

.pagination { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

.pagination a {
    padding: 8px 14px;
    background: var(--v-surface);
    border: 1px solid var(--v-border);
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.pagination a.active {
    background: var(--v-primary);
    border-color: var(--v-primary);
    color: #fff;
}

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 16px;
    background: var(--v-surface);
    padding: 18px;
    margin-bottom: 14px;
    align-items: center;
    border: 1px solid var(--v-border);
}

.cart-summary {
    background: var(--v-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
    height: fit-content;
}

.cart-summary .total { font-size: 1.25rem; margin: 14px 0; color: var(--v-primary-dark); }

.checkout-form { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }

.checkout-form section {
    background: var(--v-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
    margin-bottom: 16px;
    grid-column: 1;
}

.order-summary {
    grid-column: 2;
    grid-row: 1 / span 4;
    background: var(--v-gradient-soft);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
    height: fit-content;
}

.address-option {
    display: block;
    padding: 14px;
    border: 2px solid var(--v-border);
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s;
}

.address-option:has(input:checked) { border-color: var(--v-primary); background: var(--v-primary-light); }

.auth-box {
    max-width: 420px;
    margin: 48px auto;
    background: var(--v-surface);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--v-border);
}

.auth-box label { display: block; margin-bottom: 14px; font-weight: 500; }
.auth-box input { width: 100%; padding: 10px 14px; margin-top: 6px; border-radius: var(--radius-sm); border: 1px solid var(--v-border); }
.hint { font-size: 0.85rem; color: var(--v-muted); margin-top: 14px; }

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.account-nav { background: var(--v-surface); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--v-border); }
.account-nav a { display: block; padding: 10px 0; font-weight: 500; }
.account-nav a.active { font-weight: 800; color: var(--v-primary); }
.account-content { background: var(--v-surface); padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--v-border); }

.membership-banner, .prime-banner {
    margin-top: 24px;
    padding: 28px;
    background: var(--v-gradient);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.data-table { width: 100%; background: var(--v-surface); border-collapse: collapse; border-radius: var(--radius-sm); overflow: hidden; }
.data-table th, .data-table td { padding: 12px; border-bottom: 1px solid var(--v-border); text-align: left; }
.status-badge { padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.82rem; background: var(--v-bg-tint); }
.status-delivered { background: #d1fae5; color: var(--v-success); }
.status-shipped { background: var(--v-primary-light); color: var(--v-primary-dark); }

.order-track { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.track-step { padding: 8px 16px; background: var(--v-bg-tint); border-radius: var(--radius-pill); font-size: 0.85rem; color: var(--v-muted); font-weight: 600; }
.track-step.done { background: var(--v-primary); color: #fff; }

.review-item, .qa-item {
    background: var(--v-surface);
    padding: 18px;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--v-border);
}

.review-form textarea { width: 100%; min-height: 90px; margin: 10px 0; border-radius: var(--radius-sm); border: 1px solid var(--v-border); padding: 10px; }
.verified { color: var(--v-success); font-size: 0.85rem; margin-left: 8px; font-weight: 600; }

.form-grid { display: grid; gap: 14px; max-width: 600px; }
.form-grid input, .form-grid textarea, .form-grid select { padding: 10px; width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--v-border); }
.empty { padding: 48px; text-align: center; color: var(--v-muted); }
.pay-box { max-width: 480px; }
.pay-amount { font-size: 1.3rem; margin: 16px 0; font-weight: 800; color: var(--v-primary-dark); }
.pay-box code { background: var(--v-bg-tint); padding: 3px 8px; font-size: 0.85rem; border-radius: 4px; }

/* Light footer — not Amazon dark block */
.site-footer {
    background: var(--v-surface);
    color: var(--v-text);
    padding: 48px 24px 28px;
    margin-top: 48px;
    border-top: 1px solid var(--v-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 28px;
}

.footer-grid h4 {
    margin-bottom: 14px;
    font-weight: 800;
    background: var(--v-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-grid a { display: block; color: var(--v-muted); font-size: 0.9rem; margin-bottom: 8px; font-weight: 500; }
.footer-grid a:hover { color: var(--cf-green); text-decoration: none; }
.copyright { text-align: center; color: var(--v-muted); font-size: 0.85rem; }

/* ── Cashify buy-only homepage ── */
.page-home.cashify-home .site-header.header-over-hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home.cashify-home .site-header.header-over-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.55) 0%, rgba(8, 12, 24, 0.2) 55%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.page-home.cashify-home .site-header.header-over-hero.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--cf-border);
    box-shadow: var(--shadow-sm);
}

.page-home.cashify-home .site-header.header-over-hero.is-scrolled::before {
    opacity: 0;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .logo-text {
    color: #fff;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .logo-img-color {
    display: none;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .logo-img-white {
    display: block;
}

.page-home.cashify-home .header-over-hero.is-scrolled .logo-img-white {
    display: none;
}

.page-home.cashify-home .header-over-hero.is-scrolled .logo-img-color {
    display: block;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .location-btn,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .header-cart,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .nav-trigger,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .nav-link-direct,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .mobile-menu-btn {
    color: #fff;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .location-btn:hover,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .header-cart:hover,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .nav-trigger:hover,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .nav-link-direct:hover,
.page-home.cashify-home .header-over-hero:not(.is-scrolled) .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .header-main-nav {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.12);
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .search-form {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .search-form input {
    color: #fff;
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .search-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .cashify-search .search-icon {
    color: rgba(255, 255, 255, 0.85);
}

.page-home.cashify-home .header-over-hero:not(.is-scrolled) .cashify-search:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.page-home.cashify-home .hero-carousel.hero-fullpage {
    width: 100%;
    max-width: none;
    margin: 0;
    border-bottom: 1px solid var(--cf-border);
    height: 100vh;
    min-height: 520px;
}

.page-home.cashify-home .hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.page-home.cashify-home .hero-overlay-lite {
    background: linear-gradient(90deg, rgba(12, 18, 34, 0.72) 0%, rgba(12, 18, 34, 0.25) 42%, transparent 68%);
    pointer-events: none;
}

.page-home.cashify-home .hero-tag {
    background: var(--cf-green);
}

.page-home.cashify-home .hero-dot.active,
.page-home.cashify-home .hero-dot:hover {
    background: var(--cf-green);
    border-color: var(--cf-green);
}

.page-home.cashify-home .hero-progress-bar {
    background: var(--cf-green);
}

.promo-hero {
    background: linear-gradient(135deg, #e6f7f5 0%, #fff 50%, #f0faf8 100%);
    padding: 24px 24px 28px;
    border-bottom: 1px solid var(--cf-border);
}

.promo-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 900px) {
    .promo-hero-inner { grid-template-columns: 1fr; }
}

.promo-label {
    display: inline-block;
    background: var(--cf-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.promo-copy h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--cf-text);
    margin-bottom: 12px;
}

.promo-copy h1 em {
    color: var(--cf-green);
    font-style: normal;
}

.promo-copy p { color: var(--cf-muted); margin-bottom: 20px; max-width: 400px; }

.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.promo-slider {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 260px;
}

.promo-slide {
    display: none;
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.promo-slide.active {
    display: block;
}

.promo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-slide-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
}

.promo-slide-cap strong { display: block; font-size: 1.1rem; }
.promo-slide-cap span { font-size: 0.85rem; opacity: 0.9; }

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--cf-surface);
    border-bottom: 1px solid var(--cf-border);
}

.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.25rem; color: var(--cf-green); font-weight: 800; }
.trust-item span { font-size: 0.8rem; color: var(--cf-muted); }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.section-head .section-title { margin-bottom: 0; }
.section-head .section-title::before { display: none; }

.section-sub { color: var(--cf-muted); font-size: 0.9rem; flex: 1; }
.see-all { font-weight: 600; color: var(--cf-green); font-size: 0.9rem; margin-left: auto; }

.category-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cf-text);
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.category-chip:hover {
    border-color: var(--cf-green);
    background: var(--cf-green-light);
    text-decoration: none;
    color: var(--cf-green-dark);
}

.chip-icon { font-size: 1.2rem; }

/* Horizontal product rail (Cashify style) */
.product-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.product-rail .cashify-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    max-width: 220px;
}

.product-carousel {
    position: relative;
    padding: 0 8px;
}

.product-carousel-track {
    scrollbar-width: none;
    padding-bottom: 8px;
}

.product-carousel-track::-webkit-scrollbar {
    display: none;
}

.product-carousel-nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid var(--cf-border, #e8e8e8);
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
}

.product-carousel-nav:hover {
    background: #111;
    color: #fff;
    transform: scale(1.06);
}

.product-carousel-prev { left: -4px; }
.product-carousel-next { right: -4px; }

.product-carousel.is-static .product-carousel-nav {
    display: none;
}

@media (max-width: 700px) {
    .product-carousel { padding: 0; }
    .product-carousel-nav {
        width: 34px;
        height: 34px;
        margin-top: -17px;
        font-size: 1.35rem;
    }
    .product-carousel-prev { left: 4px; }
    .product-carousel-next { right: 4px; }
    .product-rail .cashify-card {
        flex-basis: 180px;
        max-width: 180px;
    }
}

.product-grid .cashify-card { max-width: none; }

.home-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* Cashify product card */
.cashify-card {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cashify-card:hover { box-shadow: var(--shadow-md); }

.cashify-card .product-card-img {
    height: 180px;
    background: #fafafa;
    padding: 12px;
    position: relative;
}

.cashify-card .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-badges {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 2;
    max-width: calc(100% - 16px);
    pointer-events: none;
}

.card-badges-start { top: 8px; left: 8px; }
.card-badges-end { top: 8px; right: 8px; align-items: flex-end; }
.card-badges-bottom { bottom: 8px; left: 8px; top: auto; }

.product-card-img .badge {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.cashify-card .badge.flash {
    background: var(--cf-orange);
    color: #fff;
    font-size: 0.65rem;
}

.cashify-card .badge.pct-off {
    background: var(--cf-green);
    color: #fff;
    font-size: 0.65rem;
}

.cashify-card .product-card-body { padding: 12px 14px 14px; }

.cashify-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: 2.7em;
}

.cashify-card h3 a { color: var(--cf-text); }

.card-rating-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }

.rating-pill {
    background: #fff3e0;
    color: #e65100;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.warranty-pill {
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.price-stack { margin-bottom: 10px; }

.sale-price {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cf-text);
}

.mrp-line { font-size: 0.8rem; color: var(--cf-muted); }
.mrp-line del { margin-right: 6px; }

.save-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cf-green-dark);
    background: var(--cf-green-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.stock-out-label { font-size: 0.8rem; color: var(--cf-danger); font-weight: 600; }

.btn-buy, .btn-buy-lg {
    background: var(--cf-green);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.btn-buy:hover, .btn-buy-lg:hover { background: var(--cf-green-dark); color: #fff; }

.btn-buy-lg { padding: 12px 28px; font-size: 1rem; display: inline-block; }

.btn-buy-outline, .btn-buy-outline-lg {
    background: transparent;
    color: var(--cf-green);
    border: 2px solid var(--cf-green);
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
}

.btn-buy-outline-lg { padding: 10px 24px; font-size: 1rem; display: inline-block; }

.btn-buy-outline:hover { background: var(--cf-green-light); }

.cashify-card .product-card-actions form { display: flex; gap: 6px; }
.cashify-card .btn-buy { flex: 1; padding: 8px; font-size: 0.78rem; }
.cashify-card .btn-buy-outline { flex: 1; padding: 6px; font-size: 0.78rem; }

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--cf-green);
    color: #fff;
    padding: 28px 32px;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.cta-banner h3 { font-size: 1.25rem; margin-bottom: 4px; }
.cta-banner p { opacity: 0.9; font-size: 0.95rem; }
.cta-banner .btn-buy-lg { background: #fff; color: var(--cf-green-dark); }
.cta-banner .btn-buy-lg:hover { background: #f0f0f0; }

.cashify-home .section {
    margin-bottom: 24px;
}

.page-home.cashify-home .main-content {
    padding-top: 16px;
    padding-bottom: 32px;
    min-height: 0;
}

.cashify-home .animate-section,
.cashify-home .animate-card {
    opacity: 1;
    transform: none;
}

.cashify-home .section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cf-text);
}

.cashify-home .section-title::before {
    background: var(--cf-green);
    width: 4px;
}

.btn-buy-outline.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
}

.btn-buy.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin-bottom: 8px;
}

/* ── Cashify menu & sale flow ── */

.cashify-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cashify-card-link:hover { text-decoration: none; color: inherit; }
.cashify-card-link h3 { font-size: 0.88rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: var(--cf-text); }

.view-details-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cf-green);
}

.badge.stock-left {
    background: #333;
    font-size: 0.7rem;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.checkout-step { color: var(--cf-muted); padding: 6px 12px; border-radius: var(--radius-pill); }
.checkout-step.is-active { background: var(--cf-green-light); color: var(--cf-green-dark); }
.checkout-step.is-done a { color: var(--cf-green); }
.step-sep { color: var(--cf-muted); }

.cart-subtitle, .checkout-subtitle { color: var(--cf-muted); margin: -12px 0 20px; font-size: 0.95rem; }

.pdp-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: var(--cf-green-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 166, 153, 0.2);
}

.pdp-trust-strip li { font-size: 0.85rem; color: var(--cf-text); }
.pdp-trust-strip strong { color: var(--cf-green-dark); }

.cashify-price-block .effective-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cashify-price-block .price-label { font-size: 0.85rem; color: var(--cf-muted); font-weight: 600; }
.lowest-price-tag, .save-amount-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cf-green-dark);
    background: var(--cf-green-light);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-right: 8px;
}

.condition-picker { margin-bottom: 16px; }
.picker-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.condition-options { display: flex; gap: 8px; flex-wrap: wrap; }
.condition-opt {
    flex: 1 1 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 10px;
    border: 2px solid var(--cf-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: left;
}
.condition-opt .cond-name { font-size: 0.95rem; font-weight: 800; }
.condition-opt .cond-price { color: var(--cf-green-dark); font-size: 0.88rem; }
.condition-opt .cond-hint { font-size: 0.72rem; font-weight: 500; color: var(--cf-muted); line-height: 1.3; }
.condition-opt.is-selected { border-color: var(--cf-green); background: var(--cf-green-light); color: var(--cf-green-dark); }
.condition-opt.is-disabled { opacity: 0.45; cursor: not-allowed; }
.condition-hint { font-size: 0.78rem; color: var(--cf-muted); margin-top: 8px; }

.pincode-check { margin-bottom: 16px; }
.pincode-check label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.pincode-row { display: flex; gap: 8px; }
.pincode-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}
.pincode-result { font-size: 0.85rem; margin-top: 8px; font-weight: 600; }
.pincode-result.ok { color: var(--cf-green-dark); }
.pincode-result.err { color: #c0392b; }

.cat-hero { margin-bottom: 8px; }
.cat-hero-badge {
    display: inline-block;
    background: var(--cf-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.cat-hero h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.cat-hero p { color: var(--cf-muted); max-width: 720px; }
.cat-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    list-style: none;
    margin-top: 14px;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cf-green-dark);
}

.badge.refurb {
    background: var(--cf-green);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.from-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cf-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.refurb-badge-lg {
    display: inline-block;
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
    border: 1px solid rgba(0, 166, 153, 0.25);
}

.brand-scroll, .price-scroll, .condition-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.brand-chip, .price-chip {
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--cf-border);
    background: var(--cf-surface);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--cf-text);
}

.brand-chip.is-active, .price-chip.is-active,
.brand-chip:hover, .price-chip:hover {
    border-color: var(--cf-green);
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    text-decoration: none;
}

.condition-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cf-border);
    background: var(--cf-surface);
    color: var(--cf-text);
    text-decoration: none;
    flex-shrink: 0;
}
.condition-chip strong { font-size: 0.92rem; }
.condition-chip span { font-size: 0.75rem; color: var(--cf-muted); font-weight: 500; }
.condition-chip.is-active, .condition-chip:hover {
    border-color: var(--cf-green);
    background: var(--cf-green-light);
    text-decoration: none;
    color: var(--cf-green-dark);
}

.condition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.condition-card {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-md);
    padding: 18px;
}
.condition-card.is-highlight { border-color: var(--cf-green); box-shadow: 0 0 0 1px var(--cf-green); }
.condition-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--cf-green-dark); }
.condition-card p { font-size: 0.88rem; color: var(--cf-muted); margin-bottom: 10px; }
.condition-card ul { margin: 0; padding-left: 18px; font-size: 0.82rem; color: var(--cf-text); }
.condition-card li { margin-bottom: 4px; }

.listing-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.listing-sort select {
    padding: 10px 14px;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    background: #fff;
}
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}
.filter-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--cf-green-light);
    color: var(--cf-green-dark);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.82rem;
}
.clear-filters { font-weight: 600; color: var(--cf-green); margin-left: 4px; }
.cashify-pagination { margin-top: 24px; }

.cashify-search-bar {
    display: flex;
    gap: 10px;
    max-width: 720px;
}
.cashify-search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* ── Compact listing + filter drawer (all screen sizes) ── */
.cat-hero-compact {
    margin-bottom: 0;
    padding-bottom: 4px;
}
.cat-hero-compact .cat-hero-badge { display: none; }
.cat-hero-compact h1 {
    font-size: 1.15rem;
    margin-bottom: 2px;
}
.cat-hero-compact p {
    font-size: 0.85rem;
    margin: 0;
}

.listing-section { padding-top: 8px; }

.listing-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: calc(var(--header-height, 112px) + 4px);
    z-index: 50;
    background: var(--cf-bg, #f5f6f8);
    padding: 8px 0 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--cf-border);
}

.filter-drawer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--cf-text);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.filter-drawer-btn:hover {
    border-color: var(--cf-green);
    color: var(--cf-green-dark);
}
.filter-drawer-btn svg { color: var(--cf-green); flex-shrink: 0; }

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--cf-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.listing-controls .listing-sort { margin: 0; }
.listing-controls .listing-sort select {
    padding: 9px 12px;
    min-width: 120px;
}

.active-filters-compact {
    margin: 0 0 12px;
    padding: 0;
}

.link-btn {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--cf-green);
    cursor: pointer;
    text-decoration: underline;
}

.filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 2500;
    pointer-events: none;
}
.filter-drawer.is-open { pointer-events: auto; }

.filter-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: opacity 0.25s;
}
.filter-drawer.is-open .filter-drawer-backdrop { opacity: 1; }

.filter-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 92vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow: hidden;
}
.filter-drawer.is-open .filter-drawer-panel { transform: translateX(0); }

.filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--cf-border);
    flex-shrink: 0;
}
.filter-drawer-head h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}
.filter-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--cf-text);
}

.filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 20px;
    -webkit-overflow-scrolling: touch;
}

.filter-drawer-search {
    max-width: none;
    margin-bottom: 18px;
}

.filter-drawer-block { margin-bottom: 18px; }
.filter-drawer-block:last-child { margin-bottom: 0; }

.filter-drawer-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cf-muted);
    margin: 0 0 10px;
}

.filter-drawer .filter-chip-grid {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
}

.filter-drawer .filter-condition-stack {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
}
.filter-drawer .filter-condition-stack .condition-chip {
    min-width: 0;
    width: 100%;
}

.filter-drawer-foot {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--cf-border);
    flex-shrink: 0;
}
.filter-drawer-foot .btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.filter-drawer-notes {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--cf-border);
}

.filter-drawer-note {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--cf-muted);
}

.filter-drawer-note strong {
    color: var(--cf-text);
}

.filter-drawer-note.is-active {
    color: var(--cf-green-dark);
}

body.filter-drawer-open { overflow: hidden; }

.pdp-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.pdp-info-card {
    background: #f9fafb;
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.85rem;
}
.pdp-info-card strong { display: block; margin-bottom: 4px; color: var(--cf-text); }
.pdp-info-card p { margin: 0; color: var(--cf-muted); line-height: 1.4; }

.qc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 16px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.qc-item {
    background: var(--cf-green-light);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cf-green-dark);
}

.why-refurb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.why-refurb-grid article {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: var(--radius-md);
    padding: 16px;
}
.why-refurb-grid strong { display: block; margin-bottom: 6px; color: var(--cf-green-dark); }
.why-refurb-grid p { margin: 0; font-size: 0.88rem; color: var(--cf-muted); }

@media (max-width: 700px) {
    .pdp-info-cards { grid-template-columns: 1fr; }
}

.checkout-panel h2 { font-size: 1.1rem; margin-bottom: 14px; }
.pay-option { display: block; margin-bottom: 10px; font-weight: 500; cursor: pointer; }
.checkout-items { list-style: none; margin: 0 0 16px; padding: 0; }
.checkout-items li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--cf-border);
    font-size: 0.85rem;
}
.checkout-items img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #f8f8f8; }
.checkout-items strong { display: block; font-size: 0.82rem; }
.checkout-items span { color: var(--cf-muted); }
.checkout-summary { position: sticky; top: calc(var(--header-height, 112px) + 16px); }

.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
    background: rgba(0, 16, 40, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cookieFadeIn 0.28s ease;
}
.cookie-overlay[hidden] { display: none !important; }
.cookie-dialog {
    width: 100%;
    max-width: none;
    background: #fff;
    color: #001a4b;
    border-radius: 22px 22px 0 0;
    padding: 22px 40px 20px;
    box-shadow: 0 -18px 50px rgba(0, 26, 75, 0.2);
    position: relative;
    overflow: hidden;
    animation: cookieRise 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-dialog::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #001a4b 0%, #001a4b 48%, #3d7e31 48%, #3d7e31 100%);
}
.cookie-dialog-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px 36px;
    align-items: center;
}
.cookie-dialog-top {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cookie-logo {
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}
.cookie-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #3d7e31;
    background: #eaf3e8;
    flex-shrink: 0;
}
.cookie-copy h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.cookie-copy p {
    margin: 0;
    color: #5b6472;
    font-size: 0.92rem;
    line-height: 1.5;
}
.cookie-points {
    display: none;
}
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    min-width: 280px;
}
.cookie-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-ghost {
    background: #fff;
    color: #001a4b;
    box-shadow: inset 0 0 0 1.5px #d5dce8;
}
.cookie-btn-ghost:hover { background: #f4f7fb; }
.cookie-btn-allow {
    background: #3d7e31;
    color: #fff;
    box-shadow: 0 10px 22px rgba(61, 126, 49, 0.28);
}
.cookie-btn-allow:hover { filter: brightness(1.06); }
.cookie-fine {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 0.75rem !important;
    text-align: left;
    color: #8a93a3 !important;
}
.cookie-settings-link {
    display: block;
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 8px;
    color: var(--v-muted, #6b7280);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.cookie-settings-link:hover { color: #3d7e31; }
body.cookie-consent-open { overflow: hidden; }
@keyframes cookieFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes cookieRise {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .cookie-dialog { padding: 20px 18px 16px; }
    .cookie-dialog-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: left;
    }
    .cookie-actions { min-width: 0; }
    .cookie-btn { flex: 1; }
}
