/* ===== CSS VARIABLES (ZooPlus palette) ===== */
:root {
    --green:       #00823b;
    --green-dark:  #006b31;
    --green-light: #e8f5ee;
    --green-mid:   #c8e6d4;
    --red:         #e62020;
    --orange:      #ff6b00;
    --text:        #333;
    --text-mid:    #555;
    --text-light:  #888;
    --border:      #ddd;
    --border-light:#f0f0f0;
    --bg:          #f5f5f5;
    --white:       #fff;
    --radius:      4px;
    --radius-lg:   8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Rubik', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 110px;
    font-size: 14px;
    line-height: 1.5;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ===== MAXPAGE ===== */
.maxpage {
    margin: auto;
    width: 100%;
    max-width: 1280px;
    display: flex;
    position: relative;
    align-items: center;
}

/* ===== TOP HEADER ===== */
.header {
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    background: var(--white);
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.head {
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
}

.site-logo {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-decoration: none;
}

.site-logo:hover { text-decoration: none; }

.header-search {
    flex: 1;
    max-width: 560px;
    display: flex;
    align-items: center;
    background: #f4f6f4;
    border: 2px solid transparent;
    border-radius: 24px;
    overflow: visible;
    height: 42px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    padding-left: 6px;
    position: relative;
}

.header-search:focus-within {
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,130,59,0.1);
}

/* inner clip so button stays rounded even with overflow:visible */
.header-search > *:not(.ls-dropdown) { position: relative; z-index: 1; }

.header-search input {
    flex: 1;
    border: none;
    padding: 0 12px 0 8px;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    outline: none;
    height: 100%;
    background: transparent;
    color: var(--text);
}

.header-search input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.header-search-icon {
    color: #aaa;
    display: flex;
    align-items: center;
    padding-left: 10px;
    flex-shrink: 0;
}

.header-search-btn {
    background: var(--green);
    border: none;
    width: 36px;
    height: 34px;
    margin: 3px;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .1s;
    flex-shrink: 0;
}

.header-search-btn:hover { background: var(--green-dark); transform: scale(1.05); }
.header-search-btn:active { transform: scale(0.95); }

.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .15s;
    position: relative;
    border: none;
    background: none;
    font-family: 'Rubik', sans-serif;
    color: var(--text);
    gap: 2px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.header-icon-btn:hover { background: var(--green-light); text-decoration: none; color: var(--green); }

.header-icon-btn svg { color: var(--text); }
.header-icon-btn:hover svg { color: var(--green); }

.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: 'Rubik', sans-serif;
    transition: transform .15s;
}
@keyframes cartPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.5); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.cart-pop { animation: cartPop .4s ease; }

/* ===== SECONDARY NAV ===== */
.header2 {
    background: var(--green);
    width: 100%;
    height: 46px;
    position: fixed;
    z-index: 99;
    top: 64px;
    left: 0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.head2 {
    padding: 0 20px;
    overflow-x: auto;
    gap: 0;
    justify-content: flex-start;
    scrollbar-width: none;
}

.head2::-webkit-scrollbar { display: none; }

.head2ch {
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    padding: 0 14px;
    height: 46px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.2px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
}

.head2ch:first-child { border-left: none; }
.head2ch:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }
.head2ch.active { background: rgba(255,255,255,0.22); color: #fff; font-weight: 700; }

/* Divider between nav and categories */
.head2-divider {
    width: 1px; height: 26px;
    background: rgba(255,255,255,0.25);
    margin: 0 10px; flex-shrink: 0; align-self: center;
}

/* Category filter chips */
.head2ch.head2-filter {
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: none;
    border: none;
    border-right: none;
    padding: 0 10px;
    height: 46px;
    border-radius: 0;
    margin: 0;
    position: relative;
}
.head2ch.head2-filter::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: #fff;
    border-radius: 2px 2px 0 0;
    transition: left .2s, right .2s;
}
.head2ch.head2-filter:hover { background: rgba(255,255,255,0.1); color: #fff; }
.head2ch.head2-filter:hover::after { left: 10%; right: 10%; }
.head2ch.head2-filter.active { color: #fff; font-weight: 700; background: rgba(255,255,255,0.1); }
.head2ch.head2-filter.active::after { left: 10%; right: 10%; }

/* Legacy — kept for scroll detection */
.tr0 { }

/* ===== HERO SLIDER ===== */
#slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #222;
}

#slider {
    display: flex;
    transition: transform .45s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.slide-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

.slide-overlay h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
    font-family: 'Rubik', sans-serif;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.slide-overlay p {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    font-family: 'Rubik', sans-serif;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background .2s;
    color: var(--green);
    line-height: 1;
}

.slider-btn:hover { background: #fff; }
.slider-btn-prev { left: 14px; }
.slider-btn-next { right: 14px; }

/* ===== PROMO BAR ===== */
.disk {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

.disk span {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.2;
    font-size: 20px;
    margin-bottom: 10px;
}

.diskw {
    padding: 16px 20px 14px;
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--green-mid);
}

.rline {
    width: 100%;
    position: absolute;
    top: 0; height: 4px;
    background: var(--green);
    left: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gline {
    background: var(--green-light);
    border: 1.5px solid var(--green-mid);
    border-radius: var(--radius);
    color: var(--green-dark);
    width: 100%;
    padding: 10px 44px 10px 16px;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 3px;
}

.gline span { color: var(--green-dark); font-size: 18px; margin: 0; font-weight: 700; }

.crcl {
    min-width: 26px; height: 26px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CATEGORY TILES (homepage) ===== */
.cat-tiles-section {
    padding: 32px 20px;
    background: var(--white);
    margin-top: 24px;
}

.cat-tiles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
}

.cat-tile {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px 16px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    text-decoration: none;
    color: var(--text);
}

.cat-tile:hover {
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(0,130,59,0.12);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--green-dark);
}

.cat-tile-icon {
    font-size: 40px;
    margin-bottom: 8px;
    line-height: 1;
}

.cat-tile-label {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== SECTION HEADING ===== */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
    border-bottom: 2px solid var(--green);
    margin-bottom: 20px;
    width: 100%;
}

.section-heading h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.section-heading a {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

.section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin: 0 0 24px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--green);
    padding: 16px 20px;
}

.stats-inner {
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-label {
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.25); align-self: center; }

/* ===== WHY CHOOSE US ===== */
.why-section { padding: 32px 20px; background: var(--white); margin-top: 20px; }

.why-inner {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 0 20px;
}

.why-card {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px 20px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}

.why-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(0,130,59,0.1); }

.why-icon { font-size: 32px; margin-bottom: 10px; }
.why-title { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.why-text { font-family: 'Rubik', sans-serif; font-size: 12px; color: var(--text-light); line-height: 1.5; }

/* ===== BRANDS ===== */
.brands-section { padding: 20px; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-inner { flex-direction: column; align-items: center; gap: 14px; padding: 0 20px; }
.brands-title { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1.5px; }
.brands-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.brand-chip { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 5px 14px; font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-mid); transition: border-color .2s; }
.brand-chip:hover { border-color: var(--green); color: var(--green); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); padding: 36px 20px; border-top: 1px solid var(--border); }
.testimonials-inner { flex-direction: column; padding: 0 20px; }
.testimonials-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; width: 100%; }

.testimonial-card {
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-stars { color: #f9a825; font-size: 16px; letter-spacing: 1px; }
.test-text { font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.6; margin: 0; font-style: italic; flex: 1; }
.test-author { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.test-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.test-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--green-mid); }
.test-name { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 12px; color: var(--text); }
.test-pet { font-family: 'Rubik', sans-serif; font-size: 11px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-section { background: var(--bg); padding: 36px 20px; border-top: 1px solid var(--border); }
.faq-inner { flex-direction: column; padding: 0 20px; }
.faq-list { width: 100%; display: flex; flex-direction: column; gap: 6px; }

.faq-item { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); overflow: hidden; }
.faq-item[open] { border-color: var(--green); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 18px; cursor: pointer;
    font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 14px; color: var(--text);
    user-select: none;
}

.faq-question:hover { background: var(--green-light); }
.faq-arrow { font-size: 20px; color: var(--green); transition: transform .3s; line-height: 1; }
.faq-item[open] .faq-arrow { transform: rotate(90deg); }
.faq-answer {
    padding: 14px 20px 18px 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #444;
    line-height: 1.75;
    border-top: 1.5px solid var(--green-mid);
    background: var(--green-light);
}

/* ===== PAGE HERO (category pages) ===== */
.page-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    gap: 6px;
}

.breadcrumb {
    display: flex;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Rubik', sans-serif;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--green); }
.breadcrumb .bc-sep { color: var(--text-light); }

.page-hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
}

.page-hero-count {
    font-size: 13px;
    color: var(--text-light);
    font-family: 'Rubik', sans-serif;
}

/* ===== SHOP LAYOUT (category page) ===== */
.shop-layout {
    max-width: 1280px;
    margin: 24px auto;
    display: flex;
    gap: 24px;
    padding: 0 20px;
    align-items: flex-start;
}

.shop-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sidebar-section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sidebar-links { list-style: none; padding: 0; margin: 0; }

.sidebar-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border-light);
    transition: background .15s, color .15s;
    text-decoration: none;
}

.sidebar-links li a:hover { background: var(--green-light); color: var(--green); text-decoration: none; }
.sidebar-links li a.active { background: var(--green-light); color: var(--green); font-weight: 600; }
.sidebar-link-count { font-size: 11px; color: var(--text-light); background: var(--bg); padding: 2px 6px; border-radius: 10px; }

/* ===== PRODUCTS ===== */
.shop-main { flex: 1; min-width: 0; }

.prod { flex-direction: column; padding: 0 20px; margin-top: 20px; }

.catergor {
    margin-top: 0;
    padding-top: 36px;
    margin-bottom: 16px;
    width: 100%;
    color: var(--text);
    font-weight: 800;
    font-size: 18px;
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--green);
    padding-bottom: 10px;
}

.c1e {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.product {
    display: flex;
    width: calc(25% - 11px);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    border: 1.5px solid var(--border);
}

.product:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: var(--green);
}

.primgdd {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.primg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    transition: transform .35s ease;
}

.product:hover .primg { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius);
    z-index: 2;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 0.3px;
}

.product-info { padding: 12px 14px 6px; width: 100%; }

.nameofp {
    margin: 0 0 6px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    min-height: 36px;
}

/* ===== RATING ===== */
.prod-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.star { color: #ddd; font-size: 12px; }
.star.filled { color: #f9a825; }
.rating-num { font-size: 11px; font-weight: 600; color: var(--text-mid); font-family: 'Rubik', sans-serif; }
.rev-count { font-weight: 400; color: var(--text-light); }

.prod-desc { font-size: 11px; color: var(--text-light); font-family: 'Rubik', sans-serif; line-height: 1.4; margin: 0 0 8px; }

.price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: 4px; }

.vlt { font-family: 'Rubik', sans-serif; font-weight: 600; color: var(--green); }

.original-price {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    color: var(--green);
}

.discounted-price {
    text-decoration: line-through;
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Rubik', sans-serif;
}

.btndiv { width: 100%; padding: 8px 14px 14px; }

.btnc {
    height: 38px;
    padding: 0 14px;
    background: var(--green);
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    width: 100%;
    border: 0;
    outline: none;
    transition: background .2s;
    letter-spacing: 0.2px;
}

.btnc:hover { background: var(--green-dark); }

.btnc:disabled {
    background: #c8e6d4;
    color: var(--green-dark);
    cursor: default;
    font-weight: 700;
}

/* ===== FIXED CART BUTTON ===== */
.fixed-block {
    position: fixed;
    height: 54px;
    bottom: 24px; left: 24px;
    border-radius: 27px;
    background: var(--green);
    box-shadow: 0 6px 20px rgba(0,130,59,0.4);
    color: #fff;
    align-items: center;
    justify-content: space-evenly;
    width: 160px;
    display: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    font-family: 'Rubik', sans-serif;
}

.fixed-block:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,130,59,0.5); background: var(--green-dark); }

#discounted-total { font-size: 11px; color: rgba(255,255,255,0.7); font-family: 'Rubik', sans-serif; font-weight: 500; text-decoration: line-through; }
#original-total { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
#discounted-totalc, #original-totalc { font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 12px; }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); }

.modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 24px;
    border: none;
    width: 90%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-content h2 { font-size: 16px; color: var(--text); font-family: 'Rubik', sans-serif; margin-bottom: 14px; }

.close { color: #bbb; float: right; font-size: 24px; font-weight: bold; display: flex; justify-content: flex-end; cursor: pointer; }
.close:hover { color: var(--green); }

/* ===== BACK ===== */
.bck { padding: 0 20px; }
.cart-back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1.5px solid var(--border); border-radius: 8px;
    padding: 8px 16px; margin: 14px 0 6px;
    font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600; color: #666;
    cursor: pointer; transition: border-color .2s, color .2s;
}
.cart-back-btn:hover { border-color: var(--green); color: var(--green); }

/* ===== CART STEPS ===== */
.cart-steps-wrap { padding: 0 20px; justify-content: center; }
.cart-steps {
    display: flex; align-items: center; gap: 0;
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 12px; padding: 14px 24px; width: 100%;
    justify-content: center; margin-bottom: 4px;
}
.cart-step { display: flex; align-items: center; gap: 8px; }
.cstep-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--border); color: #aaa;
    font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s, color .3s;
}
.cart-step.active .cstep-num { background: var(--green); color: #fff; }
.cstep-label { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600; color: #aaa; }
.cart-step.active .cstep-label { color: var(--green); }
.cart-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 12px; min-width: 32px; }

/* ===== CART ===== */
.cart { padding: 0 20px; margin-top: 10px; }

#cart {
    padding: 24px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    width: 100%;
    border: 1.5px solid var(--border);
}

.cart-header-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 2px solid var(--green-light);
}
.cart-header-left { display: flex; align-items: center; gap: 10px; }

.cart-guarantee {
    display: flex; gap: 20px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-family: 'Rubik', sans-serif; font-size: 12px; color: #888; font-weight: 500;
}

.ch2 {
    margin: 0; padding: 0;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

#carttotal {
    min-width: 26px; height: 26px;
    border-radius: 13px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
}

#total { margin: 0; display: flex; flex-direction: column; align-items: flex-end; }

#cart-items { list-style: none; margin: 0; padding: 6px 0; }

/* ===== CART ITEM ===== */
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child { border-bottom: none; }

.ci-img-wrap {
    width: 64px; height: 64px; flex-shrink: 0;
    background: #f5f5f5; border-radius: 10px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.ci-img { width: 100%; height: 100%; object-fit: contain; }

.ci-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.ci-name {
    font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--text); line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ci-price-unit { font-family: 'Rubik', sans-serif; font-size: 11px; color: #aaa; }

.ci-qty-row { display: flex; align-items: center; justify-content: space-between; }

.ci-qty {
    display: flex; align-items: center; gap: 0;
    border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden;
}
.ci-qty-btn {
    width: 30px; height: 30px;
    background: #f5f5f5; border: none; cursor: pointer;
    font-size: 16px; font-weight: 700; color: #555;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.ci-qty-btn:hover { background: #e8e8e8; }
.ci-qty-btn.ci-qty-plus { background: var(--green); color: #fff; }
.ci-qty-btn.ci-qty-plus:hover { background: var(--green-dark); }
.ci-qty-num {
    min-width: 32px; text-align: center;
    font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 700; color: var(--text);
    border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border);
    padding: 0 4px; line-height: 30px;
}
.ci-total { font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 800; color: var(--green); }

.ci-remove {
    flex-shrink: 0; background: none; border: none; cursor: pointer;
    color: #ccc; padding: 6px; border-radius: 6px;
    transition: color .2s, background .2s;
    display: flex; align-items: center; justify-content: center;
}
.ci-remove:hover { color: var(--red); background: #fff0f0; }

/* Legacy — keep for compatibility */
.imgcoll { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.imgname { display: flex; align-items: center; gap: 12px; }
.imgname img { width: 54px !important; height: 54px !important; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
.imgname span { font-family: 'Rubik', sans-serif; font-weight: 600; color: var(--text); font-size: 13px; }
.icle { display: flex; align-items: center; gap: 8px; }
.rbtnc { width: 26px; height: 26px; border: none; background: var(--green); color: #fff; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.rbtnc:hover { background: var(--green-dark); }
.crtri { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nonsvg { border: 0; background: none; cursor: pointer; color: #ccc; transition: color .2s; padding: 3px; }
.nonsvg:hover { color: var(--red); }

/* ===== FORMS ===== */
.aft1 { padding: 0 20px; }

.aftch {
    padding: 24px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--border);
}

.aftch-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 2px solid var(--green-light);
}
.aftch-icon {
    font-size: 28px; line-height: 1;
    width: 48px; height: 48px;
    background: var(--green-light); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aftch-title {
    font-family: 'Rubik', sans-serif; font-size: 16px; font-weight: 800;
    color: var(--text); display: block; margin-bottom: 2px;
}
.aftch-sub {
    font-family: 'Rubik', sans-serif; font-size: 12px; color: #999;
}

.aftch > span {
    color: var(--text) !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
    margin-bottom: 14px !important;
    letter-spacing: 0.3px;
}

label {
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: 'Rubik', sans-serif;
}

input {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    font-family: 'Rubik', sans-serif;
}

input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(0,130,59,0.1); }

#country {
    width: 100%; height: 44px; padding: 10px 14px;
    border: 1.5px solid var(--border);
    font-size: 14px; color: var(--text); background: var(--white);
    box-sizing: border-box; outline: none;
    border-radius: var(--radius);
    font-family: 'Rubik', sans-serif;
}

#country:focus { border-color: var(--green); }

#timeSelect {
    width: 100%; height: 44px; padding: 10px 14px;
    border-radius: var(--radius); border: 1.5px solid var(--border);
    font-size: 14px; color: var(--text); background: var(--white);
    box-sizing: border-box; outline: none;
    font-family: 'Rubik', sans-serif;
}

/* ===== BUTTONS ===== */
.btn0 {
    background: var(--green);
    padding: 13px 32px;
    border-radius: 10px;
    color: #fff;
    border: 0; outline: none; cursor: pointer;
    font-family: 'Rubik', sans-serif;
    font-weight: 700; font-size: 14px;
    transition: background .2s;
}

.btn0:hover { background: var(--green-dark); }

.btn1 {
    background: var(--green);
    padding: 11px; width: 100%;
    border-radius: var(--radius);
    color: #fff; border: 0; outline: none; cursor: pointer;
    height: 44px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700; font-size: 14px;
    transition: background .2s;
}

.btn1:hover { background: var(--green-dark); }

.modalbtn {
    background: var(--green);
    padding: 11px; width: 100%;
    border-radius: var(--radius);
    color: #fff; border: 0; outline: none; cursor: pointer;
    height: 44px; margin-top: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700; font-size: 14px;
    transition: background .2s;
}

.modalbtn:hover { background: var(--green-dark); }

/* ===== SECURITY SECTION ===== */
.secur {
    background: var(--white);
    margin-top: 12px;
    padding-top: 16px;
    border-radius: var(--radius-lg);
    margin-left: 20px; margin-right: 20px;
    border: 1.5px solid var(--border);
}

.secur1sp { color: var(--text); font-weight: 700; font-size: 12px; text-transform: uppercase; font-family: 'Rubik', sans-serif; margin-left: 20px; letter-spacing: 0.3px; }

/* ===== FOOTER ===== */
.footer-main {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 24px;
    margin-top: 48px;
}

.footer-grid {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0 20px;
}

.footer-col-title {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-family: 'Rubik', sans-serif; font-size: 13px; color: #aaa; text-decoration: none; transition: color .2s; }
.footer-links li a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 16px 20px 0;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-logo { font-family: 'Rubik', sans-serif; font-size: 18px; font-weight: 900; color: var(--green); }
.footer-bottom-copy { font-family: 'Rubik', sans-serif; font-size: 12px; color: #666; }
.footer-bottom-pay { display: flex; gap: 6px; align-items: center; }
.pay-chip { background: #333; color: #ccc; font-size: 11px; font-family: 'Rubik', sans-serif; padding: 3px 8px; border-radius: 3px; font-weight: 600; }

/* Legacy footer (kept) */
.foot { margin-top: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 20px; width: 100%; flex-direction: column; align-items: center; display: flex; text-align: center; color: var(--text-light); font-size: 12px; gap: 5px; }
.foot a { color: var(--green); text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; }
.footsp { margin-top: 4px; text-align: center; color: #bbb; width: 100%; font-size: 11px; display: flex; padding: 0 20px 16px; box-sizing: border-box; justify-content: center; background: var(--white); }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--green); padding: 32px 20px; }
.newsletter-inner { flex-direction: column; align-items: center; padding: 0 20px; gap: 12px; text-align: center; }
.newsletter-title { font-family: 'Rubik', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.newsletter-sub { font-family: 'Rubik', sans-serif; font-size: 13px; color: rgba(255,255,255,0.85); }
.newsletter-form { display: flex; gap: 0; max-width: 440px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(255,255,255,0.3); }
.newsletter-form input { border: none; border-radius: 0; flex: 1; height: 44px; }
.newsletter-form input:focus { box-shadow: none; }
.newsletter-btn { background: #fff; color: var(--green); border: none; padding: 0 20px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.newsletter-btn:hover { background: #e8f5ee; }

/* ===== LOADERS ===== */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.loader { height: 22px; width: 22px; border: 3px solid var(--green); border-top: 3px solid transparent; border-left: 3px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; display: none; }

.loadc { height: 20px; width: 20px; border: 3px solid rgba(255,255,255,0.7); border-top: 3px solid transparent; border-left: 3px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }

/* ===== ERROR / STATES ===== */
.error { border: 2px solid var(--red) !important; background: #fff5f5 !important; }

#rest { text-align: center; color: var(--red); margin-top: 10px !important; margin-bottom: 14px !important; display: none; font-size: 13px; font-family: 'Rubik', sans-serif; font-weight: 500; }

/* ===== PAYMENT PAGE ===== */
.cartpage { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); width: 100%; height: 100vh; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 0 20px; position: fixed; z-index: 999; top: 0; }

.cartpage1 { width: 60%; background: var(--white); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; align-items: center; max-width: 520px; overflow: auto !important; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }

.crdlb { color: var(--text); }

.crd { background-color: transparent; border-bottom: 1.5px solid var(--border); padding: 12px; border-radius: 0; font-family: 'Rubik', sans-serif; }

.cartfr { width: 240px; height: 130px; background: var(--bg); border-radius: var(--radius-lg); position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--border); justify-content: space-between; z-index: 2; }

.cartbck { width: 240px; height: 130px; background: var(--bg); border-radius: var(--radius-lg); position: absolute; right: 0; top: 0; display: flex; flex-direction: column; border: 1px solid var(--border); justify-content: space-between; z-index: 1; padding-top: 25px; padding-bottom: 20px; }

/* ===== SWITCH ===== */
.switch { position: relative; display: inline-block; min-width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; transition: .3s; border-radius: 26px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background: #fff; transition: .3s; border-radius: 50%; }
input:checked + .slider { background: var(--green); }
input:checked + .slider:before { transform: translateX(24px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* ===== 2FA/BLUR ===== */
.blur { width: 100%; height: 100vh; position: fixed; z-index: 9999999; top: 0; left: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); padding: 20px; backdrop-filter: blur(4px); }

.form2fa { align-items: center; text-align: center; background: #fff; padding: 28px; display: flex; flex-direction: column; max-width: 460px; width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }

.codeinp { background: none; border: 1.5px solid var(--border); border-radius: var(--radius); height: 44px; font-family: 'Rubik', sans-serif; font-size: 15px; }
.codeinp:focus { border: 2px solid var(--green); }

.btn2, .btn3, .btn4 { background: var(--green); border-radius: var(--radius); border: none; width: 100px; height: 36px; color: #fff; font-weight: 600; cursor: pointer; font-family: 'Rubik', sans-serif; transition: background .2s; }
.btn2:hover, .btn3:hover, .btn4:hover { background: var(--green-dark); }

.container { position: relative; width: 0; height: 20px; animation: spin 2s linear infinite; }

/* ===== DELIVERY BANNER ===== */
#dwatc span { font-size: 15px; }

/* ===== FEATURED PRODUCT STRIP ===== */
.featured-section { background: linear-gradient(135deg, #fff8f0 0%, #fff3f3 50%, #f0fff6 100%); padding: 36px 0; margin-top: 20px; }
.featured-inner { flex-direction: column; padding: 0 20px; }

/* Deal header */
.deal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.deal-title-wrap { display: flex; align-items: center; gap: 12px; }
.deal-flame { font-size: 36px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(230,32,32,0.4)); animation: flicker 1.5s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.08) rotate(3deg); } }
.deal-title { font-family: 'Rubik', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); margin: 0; line-height: 1.1; }
.deal-subtitle { font-family: 'Rubik', sans-serif; font-size: 12px; color: var(--text-light); margin-top: 2px; }
.deal-timer { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; background: #ffeaea; padding: 1px 6px; border-radius: 4px; }
.deal-badge-big { background: var(--red); color: #fff; font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 800; padding: 6px 14px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 12px rgba(230,32,32,0.35); }
.deal-viewall { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600; color: var(--green); border: 1.5px solid var(--green); padding: 7px 16px; border-radius: 20px; white-space: nowrap; transition: background .2s, color .2s; }
.deal-viewall:hover { background: var(--green); color: #fff; text-decoration: none; }

/* Scroll */
.featured-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.featured-scroll::-webkit-scrollbar { height: 4px; }
.featured-scroll::-webkit-scrollbar-thumb { background: #ffb3b3; border-radius: 2px; }

/* Card */
.featured-card {
    flex: 0 0 190px;
    background: var(--white);
    border: 1.5px solid #ffe0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(230,32,32,0.07);
}
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(230,32,32,0.15); text-decoration: none; border-color: var(--red); }

.feat-img-wrap { position: relative; }
.featured-card-img { width: 100%; height: 150px; object-fit: cover; background: #f9f9f9; display: block; }
.feat-badge { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 20px; font-family: 'Rubik', sans-serif; box-shadow: 0 2px 6px rgba(230,32,32,0.4); }

.featured-card-info { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.featured-card-name { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.35; margin-bottom: 6px; min-height: 32px; }
.featured-card-name { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.feat-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.featured-card-price { font-family: 'Rubik', sans-serif; font-size: 18px; font-weight: 800; color: var(--red); }
.featured-card-old { font-family: 'Rubik', sans-serif; font-size: 11px; color: var(--text-light); text-decoration: line-through; }
.feat-reviews { font-family: 'Rubik', sans-serif; font-size: 11px; color: var(--text-light); margin-top: 4px; }
.feat-stock { font-family: 'Rubik', sans-serif; font-size: 11px; color: #c05000; font-weight: 600; background: none; padding: 0; display: block; min-height: 20px; margin-top: 4px; }
.feat-btn { margin-top: auto; background: var(--green); color: #fff; font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700; text-align: center; padding: 8px 0; border-radius: 8px; transition: background .2s; }
.featured-card:hover .feat-btn { background: var(--green-dark); }

/* ===== COUNTDOWN TIMER ===== */
.countdown-bar {
    background: #1a1a2e; padding: 10px 20px;
    display: flex; justify-content: center;
}
.countdown-inner {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.countdown-label {
    font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600; color: #fff;
}
.countdown-blocks { display: flex; align-items: center; gap: 6px; }
.cd-block {
    background: rgba(255,255,255,0.1); border-radius: 6px;
    padding: 4px 10px; text-align: center; min-width: 48px;
}
.cd-block span:first-child {
    display: block; font-family: 'Rubik', sans-serif; font-size: 20px;
    font-weight: 900; color: #fff; line-height: 1;
}
.cd-unit {
    font-family: 'Rubik', sans-serif; font-size: 9px; color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 1px;
}
.cd-sep { font-size: 20px; font-weight: 900; color: var(--red); }
.countdown-cta {
    font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700;
    background: var(--red); color: #fff; padding: 6px 16px;
    border-radius: 4px; text-decoration: none; transition: opacity .2s;
}
.countdown-cta:hover { opacity: .85; text-decoration: none; }

/* ===== HOW IT WORKS ===== */
.hiw-section { background: var(--white); padding: 48px 0; border-top: 1px solid var(--border-light); }
.hiw-inner { flex-direction: column; padding: 0 20px; }
.hiw-title {
    font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 800;
    color: var(--text); text-align: center; margin-bottom: 36px;
}
.hiw-steps {
    display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap;
}
.hiw-step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; padding: 0 16px; }
.hiw-icon-wrap { position: relative; display: inline-block; margin-bottom: 16px; }
.hiw-icon {
    width: 72px; height: 72px; background: var(--green-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    margin: 0 auto; border: 2px solid var(--green-mid);
}
.hiw-num {
    position: absolute; top: -4px; right: -4px;
    width: 22px; height: 22px; background: var(--green); color: #fff;
    border-radius: 50%; font-family: 'Rubik', sans-serif; font-size: 11px;
    font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.hiw-step-title {
    font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 700;
    color: var(--text); margin-bottom: 8px;
}
.hiw-step-text { font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.hiw-arrow {
    font-size: 28px; color: var(--green); padding: 0 8px; margin-top: 24px;
    align-self: flex-start;
}

/* ===== BRAND LOGOS ===== */
.brand-logos-row {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center;
}
.brand-logo-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
    padding: 12px 16px; min-width: 90px; text-decoration: none;
    transition: border-color .2s, box-shadow .2s; cursor: pointer;
}
.brand-logo-card:hover { border-color: var(--green); box-shadow: 0 2px 12px rgba(0,130,59,0.12); text-decoration: none; }
.brand-logo-card img { width: 60px; height: 48px; object-fit: contain; }
.brand-logo-card span { font-family: 'Rubik', sans-serif; font-size: 10px; font-weight: 700; color: var(--text-mid); text-align: center; }

/* ===== VIDEO SECTION ===== */
.video-section { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); padding: 60px 0; }
.video-inner { gap: 40px; padding: 0 20px; align-items: center; flex-wrap: wrap; }
.video-text { flex: 1; min-width: 280px; }
.video-tag { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.video-title { font-family: 'Rubik', sans-serif; font-size: 36px; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.video-sub { font-family: 'Rubik', sans-serif; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 24px; }
.video-stats { display: flex; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.vstat { display: flex; flex-direction: column; }
.vstat-num { font-family: 'Rubik', sans-serif; font-size: 24px; font-weight: 900; color: #fff; }
.vstat-label { font-family: 'Rubik', sans-serif; font-size: 11px; color: rgba(255,255,255,0.6); }
.video-btn {
    display: inline-block; padding: 13px 28px; background: var(--green);
    color: #fff; border-radius: 6px; font-family: 'Rubik', sans-serif;
    font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.video-btn:hover { background: var(--green-dark); text-decoration: none; }
.video-frame-wrap { flex: 1; min-width: 280px; max-width: 480px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); height: 320px; }

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #002b14 0%, #004d22 40%, #00391a 100%);
    padding: 72px 40px 64px; text-align: center;
    display: flex; align-items: center; justify-content: center;
}
/* Decorative circles */
.hero-deco {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
}
.hero-deco-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.hero-deco-2 { width: 320px; height: 320px; bottom: -120px; left: -80px; background: rgba(127,255,154,0.05); }
.hero-deco-3 { width: 180px; height: 180px; top: 20px; left: 10%; background: rgba(255,255,255,0.03); }

.hero-content { position: relative; z-index: 1; max-width: 780px; width: 100%; }

.hero-badge {
    display: inline-block; background: rgba(127,255,154,0.15);
    color: #7fff9a; font-family: 'Rubik', sans-serif;
    font-size: 12px; font-weight: 700; padding: 7px 18px;
    border-radius: 20px; margin-bottom: 24px;
    border: 1px solid rgba(127,255,154,0.3); letter-spacing: 0.5px;
}
.hero-title {
    font-family: 'Rubik', sans-serif; font-size: 62px; font-weight: 900;
    color: #fff; line-height: 1.05; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-accent { color: #7fff9a; }
.hero-sub {
    font-family: 'Rubik', sans-serif; font-size: 16px; color: rgba(255,255,255,0.7);
    line-height: 1.7; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.hero-btn-primary {
    padding: 16px 36px; background: #fff; color: var(--green);
    font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 800;
    border-radius: 8px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.35); text-decoration: none; }
.hero-btn-secondary {
    padding: 16px 36px; background: transparent;
    color: #fff; font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 700;
    border-radius: 8px; text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35); transition: border-color .2s, background .2s;
}
.hero-btn-secondary:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); text-decoration: none; }
.hero-promo {
    font-family: 'Rubik', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55);
    margin-bottom: 40px;
}
.hero-promo strong { color: #7fff9a; }
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
    background: rgba(255,255,255,0.06); border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.hero-stat-num { font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 900; color: #fff; }
.hero-stat-label { font-family: 'Rubik', sans-serif; font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* ===== HERO TABS ===== */
.hero-tabs {
    display: flex; gap: 8px; justify-content: center;
    margin-bottom: 28px; flex-wrap: wrap;
}
.hero-tab {
    padding: 10px 22px; border-radius: 30px; border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
    font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .25s; outline: none;
}
.hero-tab:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.12); }
.hero-tab.active { background: #fff; color: var(--green); border-color: #fff; }
.hero-panel { animation: fadePanel .3s ease; }
@keyframes fadePanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== CATEGORY CARDS ===== */
.cat-cards-section { padding: 48px 0; background: #f8f9fa; }
.section-heading-center {
    font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 800;
    color: var(--text); text-align: center; margin-bottom: 24px;
}
.cat-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-card {
    position: relative; height: 340px; border-radius: 14px; overflow: hidden;
    display: block; text-decoration: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.22); text-decoration: none; }
.cat-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 28px;
}
.cat-card-tag { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.cat-card-title { font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.cat-card-count { font-family: 'Rubik', sans-serif; font-size: 12px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.cat-card-btn {
    display: inline-block; background: rgba(255,255,255,0.2);
    color: #fff; font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700;
    padding: 8px 18px; border-radius: 6px; width: fit-content;
    border: 1px solid rgba(255,255,255,0.4); transition: background .2s;
    backdrop-filter: blur(4px);
}
.cat-card:hover .cat-card-btn { background: rgba(255,255,255,0.35); }

/* ===== PROMO BANNERS (new) ===== */
.promo-banner-big {
    flex: 2; min-width: 280px; border-radius: 12px; overflow: hidden;
    position: relative; display: block; height: 260px; text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform .3s, box-shadow .3s;
}
.promo-banner-big:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.18); text-decoration: none; }

.promo-banner-small {
    flex: 1; min-width: 200px; border-radius: 12px; overflow: hidden;
    position: relative; display: block; height: 120px; text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform .3s, box-shadow .3s;
}
.promo-banner-small:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.16); text-decoration: none; }

.promo-banner-promo {
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 2px solid #ffe082;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    cursor: default;
}
.promo-banner-promo:hover { transform: none !important; }

.promo-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-banner-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center; padding: 24px;
}
.promo-banner-tag {
    font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.promo-banner-title {
    font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 900;
    color: #fff; line-height: 1.2; margin-bottom: 8px;
}
.promo-banner-sub {
    font-family: 'Rubik', sans-serif; font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 14px;
}
.promo-banner-btn {
    font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,0.2); color: #fff;
    padding: 6px 16px; border-radius: 4px; display: inline-block; width: fit-content;
    border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px);
    transition: background .2s;
}
.promo-banner-big:hover .promo-banner-btn,
.promo-banner-small:hover .promo-banner-btn { background: rgba(255,255,255,0.35); }

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRODUCT MODAL ===== */
.pmodal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
    align-items: center; justify-content: center; padding: 16px;
}
.pmodal-overlay.open { display: flex; }
.pmodal-box {
    background: #fff; border-radius: 12px; width: 100%; max-width: 860px;
    max-height: 90vh; overflow-y: auto; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: pmodalIn .25s ease;
}
@keyframes pmodalIn { from { opacity:0; transform:scale(.95) translateY(20px); } to { opacity:1; transform:none; } }
.pmodal-close {
    position: absolute; top: 14px; right: 14px; z-index: 1;
    background: #f0f0f0; border: none; border-radius: 50%;
    width: 32px; height: 32px; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.pmodal-close:hover { background: #e0e0e0; }
.pmodal-body { display: flex; gap: 24px; padding: 28px; }
.pmodal-img-wrap {
    flex: 0 0 280px; height: 280px; background: #f9f9f9;
    border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.pmodal-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.pmodal-info { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pmodal-name { font-family: 'Rubik', sans-serif; font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.3; }
.pmodal-desc { font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.6; flex: 1; }
.pmodal-price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pmodal-badge { background: var(--red); color: #fff; font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.pmodal-price-cur { font-family: 'Rubik', sans-serif; font-size: 28px; font-weight: 800; color: var(--green); }
.pmodal-price-old { font-family: 'Rubik', sans-serif; font-size: 16px; color: #aaa; text-decoration: line-through; }
.pmodal-btn {
    margin-top: 6px; padding: 13px 28px; background: var(--green); color: #fff;
    border: none; border-radius: 6px; font-family: 'Rubik', sans-serif;
    font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.pmodal-btn:hover { background: var(--green-dark); }
.pmodal-btn:disabled { background: #aaa; cursor: default; }
.pmodal-related { padding: 0 28px 28px; border-top: 1px solid var(--border-light); margin-top: 4px; }
.pmodal-related-title { font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); padding: 16px 0 12px; }
.pmodal-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pmodal-rel-card { text-align: center; cursor: pointer; }
.pmodal-rel-card img { width: 100%; height: 80px; object-fit: contain; background: #f9f9f9; border-radius: 6px; transition: transform .2s; }
.pmodal-rel-card:hover img { transform: scale(1.05); }
.pmodal-rel-name { font-family: 'Rubik', sans-serif; font-size: 11px; color: var(--text); margin-top: 5px; line-height: 1.3; }
.pmodal-rel-price { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700; color: var(--green); margin-top: 2px; }

/* ===== BACK TO TOP ===== */
#back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 8000;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--green); color: #fff; border: none;
    font-size: 20px; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,130,59,0.35);
    opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
    display: flex; align-items: center; justify-content: center;
}
#back-to-top.btt-visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 600px) {
    .pmodal-body { flex-direction: column; padding: 20px; gap: 16px; }
    .pmodal-img-wrap { flex: none; height: 220px; }
    .pmodal-related-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-banner-big { height: 200px; }
    .promo-banner-small { height: 100px; }
    .shop-sidebar { border-radius: 8px; padding: 8px 0; }
}
@media (max-width: 768px) {
    .pmodal-related-grid { grid-template-columns: repeat(2, 1fr); }
    .pmodal-img-wrap { flex: 0 0 220px; height: 220px; }
}

/* ===== CAT HERO (category page hero) ===== */
.cat-hero {
    background: linear-gradient(135deg, var(--green) 0%, #005a28 100%);
    padding: 28px 0;
    color: #fff;
}

.cat-hero-inner { padding: 0 20px; gap: 20px; flex-wrap: wrap; }

.cat-hero-text { flex: 1; }
.cat-hero-title { font-family: 'Rubik', sans-serif; font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.cat-hero-sub { font-family: 'Rubik', sans-serif; font-size: 14px; color: rgba(255,255,255,0.85); }
.cat-hero-icon { font-size: 72px; line-height: 1; }

/* ===== LIVE SEARCH DROPDOWN ===== */
.ls-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -2px; right: -2px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    border: 1.5px solid var(--border);
    z-index: 9999;
    overflow: hidden;
    animation: lsFadeIn .15s ease;
    max-height: 420px;
    overflow-y: auto;
}
@keyframes lsFadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

.ls-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; text-decoration: none; color: var(--text);
    transition: background .12s;
    border-bottom: 1px solid #f5f5f5;
}
.ls-item:last-of-type { border-bottom: none; }
.ls-item:hover, .ls-item.focused { background: var(--green-light); text-decoration: none; }

.ls-img {
    width: 44px; height: 44px; object-fit: contain;
    border-radius: 8px; border: 1px solid #eee;
    background: #fafafa; flex-shrink: 0;
}
.ls-info { flex: 1; min-width: 0; }
.ls-name { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-name mark { background: #fff3b0; color: var(--text); border-radius: 2px; padding: 0 1px; }
.ls-meta { display: flex; gap: 8px; margin-top: 2px; align-items: center; }
.ls-cat { font-family: 'Rubik', sans-serif; font-size: 11px; color: #999; }
.ls-stars { font-family: 'Rubik', sans-serif; font-size: 11px; color: #f59e0b; font-weight: 600; }
.ls-price { font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 800; color: var(--green); flex-shrink: 0; }

.ls-more {
    display: block; padding: 11px 14px;
    font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--green); text-align: center; background: var(--green-light);
    text-decoration: none; transition: background .15s;
}
.ls-more:hover { background: var(--green-mid); text-decoration: none; }

.ls-empty {
    padding: 16px 14px; text-align: center;
    font-family: 'Rubik', sans-serif; font-size: 13px; color: #aaa;
}

/* ===== CHECKOUT REDESIGN ===== */
.co-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
/* Override old aft1 padding so co-card takes full width */
.aft1 { padding: 0 20px; }
.cart  { padding: 0 20px; margin-top: 10px; }
#cart-upsell { padding: 0 20px !important; }
.co-contactless { margin: 12px 20px 0; }

.co-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1.5px solid var(--green-light);
    flex-wrap: wrap; gap: 10px;
}
.co-card-header-left { display: flex; align-items: center; gap: 14px; }
.co-card-icon { font-size: 26px; width: 48px; height: 48px; background: var(--green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.co-card-title { font-family: 'Rubik', sans-serif; font-size: 16px; font-weight: 800; color: var(--text); }
.co-card-sub { font-family: 'Rubik', sans-serif; font-size: 12px; color: #999; margin-top: 2px; }

.co-guarantees { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); font-family: 'Rubik', sans-serif; font-size: 12px; color: #888; font-weight: 500; }

.co-section-label { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

/* Fields grid */
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: flex; flex-direction: column; gap: 5px; }
.co-field-full { grid-column: 1 / -1; }
.co-field label { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.4px; }
.co-field input, .co-select, .co-textarea {
    height: 44px; padding: 0 14px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Rubik', sans-serif; font-size: 14px; color: var(--text);
    background: #fafafa; outline: none; transition: border-color .2s, box-shadow .2s;
    width: 100%; box-sizing: border-box;
}
.co-field input:focus, .co-select:focus, .co-textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(0,130,59,0.1); }
.co-textarea { height: 80px; padding: 12px 14px; resize: none; }
.co-select { cursor: pointer; }

/* Delivery method */
.co-delivery-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.co-dm {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 2px solid var(--border);
    border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s;
}
.co-dm input[type=radio] { display: none; }
.co-dm:hover { border-color: var(--green-mid); background: var(--green-light); }
.co-dm.active { border-color: var(--green); background: var(--green-light); }
.co-dm-icon { font-size: 22px; flex-shrink: 0; }
.co-dm-info { flex: 1; }
.co-dm-name { font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 600; color: var(--text); }
.co-dm-desc { font-family: 'Rubik', sans-serif; font-size: 12px; color: #999; margin-top: 2px; }
.co-dm-price { font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.co-dm-price.free { color: var(--green); }

/* Submit row */
.co-submit-row { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1.5px solid var(--border-light); }
.co-place-btn { padding: 14px 36px !important; font-size: 15px !important; border-radius: 10px !important; display: flex; align-items: center; gap: 8px; }

/* mobile overrides moved to media.css */

/* ===== PROMO CODE ===== */
.cart-promo-block { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.promo-row { display: flex; gap: 8px; }
.promo-input { flex: 1; height: 40px; padding: 0 12px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Rubik', sans-serif; font-size: 13px; outline: none; transition: border-color .2s; text-transform: uppercase; letter-spacing: 1px; }
.promo-input:focus { border-color: var(--green); }
.promo-input:disabled { background: var(--green-light); color: var(--green); font-weight: 700; }
.promo-apply-btn { padding: 0 20px; height: 40px; background: var(--green); color: #fff; border: none; border-radius: 8px; font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.promo-apply-btn:hover { background: var(--green-dark); }
.promo-msg { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600; margin-top: 6px; height: 18px; }
.promo-success { color: var(--green); }
.promo-error { color: var(--red); }

/* ===== ORDER NOTES INLINE ===== */
.co-notes-inline {
    width: 100%; box-sizing: border-box;
    height: 70px; padding: 12px 14px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--text);
    background: #fafafa; resize: none; outline: none;
    transition: border-color .2s; margin-top: 16px; margin-bottom: 16px;
}
.co-notes-inline:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(0,130,59,0.08); }

/* ===== ORDER SUMMARY BOX ===== */
.order-summary-box {
    background: #f8fdf9; border: 1.5px solid var(--green-mid);
    border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; margin-top: 20px;
}
.osb-title { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.osb-row {
    display: flex; justify-content: space-between; align-items: baseline;
    font-family: 'Rubik', sans-serif; font-size: 13px; color: #666; margin-bottom: 5px;
}
.osb-row .osb-name { flex: 1; margin-right: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #555; }
.osb-row span:last-child { flex-shrink: 0; font-weight: 600; color: var(--text); }
.osb-divider { height: 1px; background: var(--green-mid); margin: 10px 0; }
.osb-discount { color: var(--green) !important; }
.osb-discount span:last-child { color: var(--green) !important; }
.osb-total { font-weight: 800 !important; font-size: 15px !important; color: var(--text) !important; }
.osb-total span:last-child { color: var(--green) !important; font-size: 16px; }
.osb-delivery {
    display: flex; justify-content: space-between;
    font-family: 'Rubik', sans-serif; font-size: 12px; color: #aaa;
    margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border);
}
.osb-free { color: var(--green); font-weight: 700; }

/* ===== ADDRESS AUTOCOMPLETE ===== */
.addr-dropdown { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1.5px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; overflow: hidden; display: none; }
.addr-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; font-family: 'Rubik', sans-serif; font-size: 12px; color: var(--text); cursor: pointer; border-bottom: 1px solid #f5f5f5; transition: background .1s; }
.addr-item:last-child { border-bottom: none; }
.addr-item:hover { background: var(--green-light); }
.addr-item svg { flex-shrink: 0; margin-top: 2px; }

/* ===== RECENTLY VIEWED ===== */
.rv-section { margin-top: 32px; padding-top: 24px; border-top: 1.5px solid var(--border-light); }
.rv-header { display: flex; align-items: center; margin-bottom: 16px; }
.rv-title { font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }

.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

.rv-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 10px; overflow: hidden;
    text-decoration: none; color: var(--text);
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.rv-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-color: var(--green); transform: translateY(-2px); text-decoration: none; }

.rv-img-wrap { background: #f8f8f8; padding: 10px; display: flex; align-items: center; justify-content: center; height: 110px; }
.rv-img { width: 100%; height: 100%; object-fit: contain; }

.rv-info { padding: 10px 10px 12px; }
.rv-name { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-price-row { display: flex; align-items: baseline; gap: 5px; }
.rv-price { font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 800; color: var(--green); }
.rv-old { font-family: 'Rubik', sans-serif; font-size: 11px; color: #aaa; text-decoration: line-through; }

/* ===== SORT BAR ===== */
.sort-bar {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 0 14px; border-bottom: 1.5px solid var(--border-light); margin-bottom: 16px;
}
.sort-label { font-family: 'Rubik', sans-serif; font-size: 12px; color: #aaa; font-weight: 600; margin-right: 4px; }
.sort-btn {
    font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600;
    padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--border);
    background: #fff; color: #666; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.sort-btn:hover { border-color: var(--green); color: var(--green); }
.sort-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ===== UPSELL IN CART ===== */
.upsell-title { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.upsell-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.upsell-item:last-child { border-bottom: none; }
.upsell-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); flex-shrink: 0; }
.upsell-info { flex: 1; min-width: 0; }
.upsell-name { font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upsell-price { font-family: 'Rubik', sans-serif; font-size: 12px; color: var(--green); font-weight: 700; margin-top: 2px; }
.upsell-btn { flex-shrink: 0; background: var(--green); color: #fff; border: none; border-radius: 8px; padding: 7px 14px; font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.upsell-btn:hover { background: var(--green-dark); }

/* ===== PRICE SLIDER ===== */
.ps-wrap { padding: 8px 16px 14px; }

.ps-labels {
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Rubik', sans-serif; font-size: 12px;
    margin-bottom: 10px;
}
.ps-label-min { color: #bbb; }
.ps-label-max { color: var(--text); font-size: 12px; }
.ps-label-max strong { color: var(--green); }

.ps-single {
    -webkit-appearance: none;
    width: 100%; height: 4px;
    border-radius: 4px; outline: none; cursor: pointer;
    background: linear-gradient(to right, var(--green) 0%, var(--green) 100%, #e0e0e0 100%);
}
.ps-single::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; cursor: pointer;
    border: 2px solid var(--green);
    box-shadow: 0 1px 5px rgba(0,130,59,0.3);
    transition: transform .15s;
}
.ps-single::-webkit-slider-thumb:hover { transform: scale(1.2); }
.ps-single::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; cursor: pointer;
    border: 2px solid var(--green);
    box-shadow: 0 1px 5px rgba(0,130,59,0.3);
}
.ps-single::-moz-range-progress { background: var(--green); height: 4px; border-radius: 4px; }

/* Mobile search dropdown fix */
@media (max-width: 768px) {
    .ls-dropdown { position: fixed; left: 12px; right: 12px; top: auto; }
}

/* ===== CARD QUANTITY CONTROL ===== */
.card-qty-ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}
.card-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
    line-height: 1;
}
.card-qty-btn:active { transform: scale(0.92); }
.card-qty-btn:not(.card-qty-add) { background: #f0f0f0; color: #444; }
.card-qty-btn:not(.card-qty-add):hover { background: #e0e0e0; }
.card-qty-btn.card-qty-add { background: var(--green); color: #fff; }
.card-qty-btn.card-qty-add:hover { background: var(--green-dark); }
.card-qty-num {
    flex: 1;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    background: #f7f7f7;
    border-radius: 6px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MOBILE NAV ===== */
.burger-btn { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.burger-btn span { display: block; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-search-btn { display: none; background: none; border: none; cursor: pointer; color: var(--green); padding: 4px; }

.mobile-search-bar { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 98; background: #fff; border-bottom: 2px solid var(--green); padding: 8px 16px; transform: translateY(-100%); transition: transform .25s; }
.mobile-search-bar.open { transform: translateY(0); }
.mobile-search-inner { display: flex; gap: 0; border: 2px solid var(--green); border-radius: 6px; overflow: hidden; height: 40px; }
.mobile-search-inner input { flex: 1; border: none; outline: none; padding: 0 12px; font-family: 'Rubik', sans-serif; font-size: 14px; }

.mobile-drawer { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: #fff; z-index: 200; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); box-shadow: -4px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-drawer-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid var(--green-light); }
.mobile-drawer-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #888; }
.mobile-drawer-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.mobile-nav-link { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.mobile-nav-link:hover { background: var(--green-light); color: var(--green); }
.mobile-drawer-promo { margin: 16px; padding: 12px 16px; background: var(--green-light); border-radius: 8px; font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--green); text-align: center; }

@media (max-width: 600px) {
    .burger-btn { display: flex; }
    .mobile-search-btn { display: flex; align-items: center; }
    .mobile-search-bar { display: block; }
    .header-icons .header-icon-btn:first-child { display: none; } /* hide Shop icon */
}

