/* CP Grocery theme for Tallymor stores (Leaf Green & Golden Sun Yellow). */
:root {
    --brand: #107348;          /* লোগোর মূল কলাপাতা সবুজ */
    --brand-hover: #0a5435;    /* ডার্ক সবুজ */
    --brand-soft: #ecf7f2;     /* হালকা সবুজ ব্যাকগ্রাউন্ড */
    --accent: #fbb03b;         /* লোগোর সোনালি হলুদ */
    --accent-hover: #e59b20;   /* ডার্ক হলুদ */
    --accent-soft: #fff8eb;    /* হালকা হলুদ ব্যাকগ্রাউন্ড */
    --green: #107348;
    --green-soft: #ecf7f2;
    --dark-nav: #0b4a2e;       /* গভীর প্রাকৃতিক সবুজ নেভবার */
    --bg: #ffffff;
    --surface: #f8faf9;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* 1. Top Utility Bar (Desktop) */
.utility-bar {
    background: #f4f9f6;
    border-bottom: 1px solid #e2eee7;
    font-size: 12px;
    color: #334155;
    padding: 7px 0;
}
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.utility-links { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.utility-links a:hover { color: var(--brand); }

/* 2. Main Header */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(16, 115, 72, 0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.mob-menu-btn {
    display: none; background: none; border: none; color: var(--brand);
    cursor: pointer; padding: 6px; align-items: center; justify-content: center;
}
.site-logo {
    font-size: 22px; font-weight: 800; color: var(--brand);
    letter-spacing: -0.4px; display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.search-box { flex: 1; max-width: 540px; position: relative; }
.search-box input {
    width: 100%; padding: 10px 46px 10px 18px; background: #f8faf9;
    border: 1.5px solid #dce6e0; border-radius: 50px; font-size: 14px; color: var(--text); outline: none; transition: all 0.2s;
}
.search-box input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16, 115, 72, 0.1); }
.search-box button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: var(--brand); color: #fff; border: none; width: 34px; height: 34px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.search-box button:hover { background: var(--brand-hover); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-action {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
    color: #334155; background: transparent; border: none; cursor: pointer; padding: 7px 10px; border-radius: 8px;
}
.icon-action:hover { background: var(--brand-soft); color: var(--brand); }
.cart-icon-btn {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    background: var(--brand-soft); color: var(--brand); border: 1px solid #c6e6d6;
    padding: 8px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.cart-icon-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cart-badge {
    background: var(--accent); color: #0f172a; font-size: 11px; font-weight: 800;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 50px;
    display: inline-flex; align-items: center; justify-content: center;
}

/* 3. Horizontal Category Nav Bar (Brand Deep Green + Golden Yellow Active) */
.cat-navbar { background: var(--dark-nav); color: #f1f5f9; }
.cat-nav-list { display: flex; align-items: center; gap: 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list a {
    display: inline-block; padding: 11px 14px; font-size: 13px; font-weight: 600;
    white-space: nowrap; color: #e2f2ea; border-bottom: 2.5px solid transparent; transition: color 0.15s;
}
.cat-nav-list a:hover, .cat-nav-list a.active { color: var(--accent); border-bottom-color: var(--accent); }
.cat-nav-list a.offer-link { color: var(--accent); font-weight: 700; }

/* 4. Split Hero Section */
.hero-split { display: grid; grid-template-columns: 2.35fr 1fr; gap: 16px; margin-top: 18px; align-items: stretch; }
.hero-slider-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #f8faf9; }
.hero-slide { display: none; width: 100%; }
.hero-slide.active { display: block; }
.hero-slide img { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-fallback {
    min-height: 280px; padding: 40px 36px; display: flex; flex-direction: column;
    justify-content: center; color: #fff; background: linear-gradient(120deg, #0a5435 0%, #107348 65%, #168f5b 100%);
}
.hero-fallback h1 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; max-width: 460px; }
.hero-fallback p { font-size: 14px; opacity: 0.92; margin-bottom: 18px; max-width: 420px; }
.hero-btn { display: inline-block; width: fit-content; background: var(--accent); color: #0f172a; padding: 10px 22px; border-radius: 8px; font-weight: 800; font-size: 13px; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 5; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6); border: none; cursor: pointer; transition: all 0.2s; }
.slider-dot.active { background: var(--accent); width: 22px; border-radius: 10px; }

.hero-side-card {
    background: linear-gradient(155deg, #ecf7f2 0%, #fff8eb 100%);
    border: 1px solid #d5eadf; border-radius: 14px; padding: 24px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.side-tag { display: inline-block; width: fit-content; background: var(--accent); color: #0f172a; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; }
.hero-side-card h3 { font-size: 20px; font-weight: 800; color: var(--brand-hover); line-height: 1.3; margin-bottom: 8px; }
.hero-side-card p { font-size: 13px; color: #475569; margin-bottom: 16px; }
.side-cta { display: inline-block; text-align: center; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: background 0.15s; }
.side-cta:hover { background: var(--brand-hover); }

/* 5. Section Headers */
.section-block { margin-top: 38px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.section-header h2 { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.section-header p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.view-all-btn { font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.view-all-btn:hover { color: var(--accent-hover); text-decoration: underline; }

/* 6. Featured Categories Horizontal Slider */
.slider-outer { position: relative; }
.cat-slider-track { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.cat-slider-track::-webkit-scrollbar { display: none; }
.cat-slide-card {
    min-width: 142px; max-width: 142px; flex-shrink: 0; background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 14px 10px; text-align: center; transition: all 0.2s;
}
.cat-slide-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16,115,72,0.08); }
.cat-icon-circle {
    width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 50%; background: var(--brand-soft);
    border: 1px solid #d5eadf; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 24px;
}
.cat-icon-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-slide-card span { font-size: 12.5px; font-weight: 600; color: #1e293b; display: block; }

.nav-arrow {
    position: absolute; top: 44%; transform: translateY(-50%); width: 34px; height: 34px;
    border-radius: 50%; background: #fff; border: 1px solid #c6e6d6; color: var(--brand);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); cursor: pointer; z-index: 10; font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.nav-arrow:hover { background: var(--brand); color: var(--accent); }
.nav-arrow.prev { left: -14px; }
.nav-arrow.next { right: -14px; }

/* 7. Top Selling 2x2 Horizontal Cards */
.top-selling-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.horiz-card {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px;
    display: grid; grid-template-columns: 155px 1fr; gap: 16px; align-items: center; transition: all 0.2s; position: relative;
}
.horiz-card:hover { border-color: var(--brand); box-shadow: 0 8px 22px rgba(16,115,72,0.07); }
.horiz-thumb { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: #f8faf9; display: block; }
.horiz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.horiz-info h3 { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.horiz-info h3 a:hover { color: var(--brand); }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.price-now { font-size: 16px; font-weight: 800; color: var(--brand); }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.save-tag { background: var(--accent-soft); color: #9a6000; border: 1px solid #fde1a9; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.horiz-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }

/* 8. Standard Clean Product Card */
.carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-card { min-width: 230px; max-width: 230px; flex-shrink: 0; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.product-card {
    background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 11px; display: flex; flex-direction: column; position: relative; transition: all 0.2s;
}
.product-card:hover { border-color: #b5dec9; box-shadow: 0 8px 20px rgba(16,115,72,0.07); transform: translateY(-2px); }
.card-badge {
    position: absolute; top: 9px; left: 9px; z-index: 3; background: var(--accent); color: #0f172a;
    font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 50px;
}
.product-thumb { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #f8faf9; margin-bottom: 9px; position: relative; display: block; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.quick-plus-btn {
    position: absolute; bottom: 7px; right: 7px; width: 28px; height: 28px; border-radius: 50%;
    background: #fff; color: var(--brand); border: 1px solid #c6e6d6; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-size: 17px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.quick-plus-btn:hover { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.product-title {
    font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px;
}
.product-title a:hover { color: var(--brand); }
.product-price { font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 7px; }
.product-price del { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 5px; }
.var-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 9px; }
.var-pill {
    font-size: 10.5px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 5px;
    background: #f8faf9; color: #475569; cursor: pointer; font-weight: 600;
}
.var-pill.active { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }

.btn-outline-cart {
    width: 100%; background: #ffffff; color: var(--brand); border: 1.5px solid #c6e6d6;
    padding: 8px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; margin-top: auto; transition: all 0.15s;
}
.btn-outline-cart:hover { border-color: var(--brand); color: #fff; background: var(--brand); }
.btn-buy-now {
    width: 100%; background: var(--accent); color: #0f172a; border: 1.5px solid var(--accent);
    padding: 8px 8px; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; transition: background 0.15s;
}
.btn-buy-now:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.c-dot { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; border: none; cursor: pointer; }
.c-dot.active { background: var(--brand); width: 20px; border-radius: 10px; }

/* 9. Trust Strip & Clean White Footer */
.trust-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px;
    padding: 20px; background: var(--surface); border: 1px solid #e2eee7; border-radius: 14px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 22px; background: #fff; width: 42px; height: 42px; border-radius: 10px; border: 1px solid #d5eadf; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item h4 { font-size: 13px; font-weight: 700; color: var(--brand-hover); }
.trust-item p { font-size: 11.5px; color: var(--muted); }

.site-footer { background: #f4f9f6; border-top: 1px solid #dfece4; color: #475569; padding: 44px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 28px; }
.site-footer h4 { color: var(--brand-hover); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; font-size: 13px; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid #dfece4; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }

/* 10. Floating Mini-Cart & Slide-out Drawers */
.floating-cart-tab {
    position: fixed; right: 0; top: 52%; transform: translateY(-50%); background: var(--brand);
    color: #fff; border-radius: 10px 0 0 10px; padding: 10px 10px; cursor: pointer; z-index: 90;
    text-align: center; box-shadow: -4px 6px 20px rgba(16,115,72,0.28); min-width: 68px;
}
.floating-cart-tab .fc-top { font-size: 11px; font-weight: 700; color: #e2f2ea; }
.floating-cart-tab .fc-bot { font-size: 12px; font-weight: 800; background: var(--accent); color: #0f172a; border-radius: 4px; padding: 2px 5px; margin-top: 4px; }

.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.48); backdrop-filter: blur(2px); z-index: 200; }
.drawer-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 100%; max-width: 370px; height: 100vh; background: #fff; z-index: 210; display: flex; flex-direction: column; transition: right 0.28s ease; }
.cart-drawer.open { right: 0; }
.menu-drawer { position: fixed; top: 0; left: -320px; width: 290px; height: 100vh; background: #fff; z-index: 210; display: flex; flex-direction: column; transition: left 0.28s ease; }
.menu-drawer.open { left: 0; }
.drawer-head { padding: 15px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.menu-drawer-list { list-style: none; padding: 10px 0; overflow-y: auto; flex: 1; }
.menu-drawer-list a { display: flex; justify-content: space-between; padding: 11px 18px; font-size: 14px; font-weight: 600; color: #334155; border-bottom: 1px solid #f1f5f9; }
.menu-drawer-list a:hover { background: var(--brand-soft); color: var(--brand); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 18px; }
.cart-item { display: flex; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.cart-item img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
.cart-item-info { flex: 1; font-size: 13px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-ctrl button { width: 24px; height: 24px; border: 1px solid var(--border); background: #f8faf9; border-radius: 5px; cursor: pointer; font-weight: 700; }
.cart-footer { padding: 16px 18px; border-top: 1px solid var(--border); background: #f8faf9; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.btn-checkout { display: block; width: 100%; text-align: center; background: var(--brand); color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.btn-checkout:hover { background: var(--brand-hover); }

/* Mobile Search Overlay */
.mob-search-modal { display: none; position: fixed; top: 0; left: 0; right: 0; background: #fff; padding: 14px 16px; z-index: 260; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.mob-search-modal.open { display: block; }
.mob-search-form { display: flex; gap: 8px; align-items: center; }
.mob-search-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--brand); border-radius: 8px; font-size: 14px; outline: none; }
.mob-search-form button[type="submit"] { background: var(--brand); color: #fff; border: none; padding: 10px 16px; border-radius: 8px; font-weight: 700; }

/* 11. Centered Auth Modal Popup */
.auth-modal-bg { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(3px); z-index: 300; align-items: center; justify-content: center; padding: 16px; }
.auth-modal-bg.open { display: flex; }
.auth-modal { background: #fff; width: 100%; max-width: 410px; border-radius: 16px; padding: 26px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.auth-close { position: absolute; top: 14px; right: 14px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; cursor: pointer; color: #475569; }
.auth-pill-tabs { display: flex; background: #f1f5f9; padding: 4px; border-radius: 50px; margin: 16px 0 18px; }
.auth-pill-tab { flex: 1; padding: 8px; border: none; background: transparent; border-radius: 50px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.auth-pill-tab.active { background: var(--brand); color: #fff; }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.m-field { margin-bottom: 13px; }
.m-field label { display: block; font-size: 12.5px; font-weight: 600; color: #334155; margin-bottom: 5px; }
.m-field input { width: 100%; padding: 10px 13px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; outline: none; }
.m-field input:focus { border-color: var(--brand); }
.btn-auth-submit { width: 100%; background: var(--brand); color: #fff; border: none; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* 12. Brand Leaf Green App-Like Mobile Bottom Navigation Bar + Golden Yellow Badge */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--brand); z-index: 180; grid-template-columns: repeat(5, 1fr);
    padding: 8px 4px 7px; box-shadow: 0 -4px 18px rgba(10, 84, 53, 0.22);
    border-top: 2px solid var(--accent);
}
.mob-nav-item {
    background: none; border: none; color: #ffffff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; cursor: pointer; position: relative; text-decoration: none;
}
.mob-nav-item svg { stroke: #ffffff; }
.mob-nav-item:active svg, .mob-nav-item:hover svg { stroke: var(--accent); }
.mob-nav-item span.lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; line-height: 1; color: #f0fdf4; }
.mob-cart-dot {
    position: absolute; top: -4px; right: calc(50% - 17px);
    background: var(--accent); color: #0f172a; font-size: 10px; font-weight: 800;
    min-width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) {
    body { padding-bottom: 70px; }
    .container { padding: 0 12px; }
    .utility-bar, .cat-navbar, .search-box, .hide-mobile, .nav-arrow, .floating-cart-tab { display: none !important; }
    .mob-menu-btn { display: inline-flex; }
    .header-inner { padding: 10px 0; gap: 10px; }
    .site-logo img { height: 30px !important; }
    .cart-icon-btn { padding: 6px 10px; border: none; background: transparent; color: var(--brand); }
    .cart-icon-btn .cart-txt { display: none; }
    .hero-split { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
    .hero-side-card { display: none; }
    .section-block { margin-top: 26px; }
    .section-header h2 { font-size: 17px; }
    .cat-slide-card { min-width: 106px; max-width: 106px; padding: 10px 6px; }
    .cat-icon-circle { width: 48px; height: 48px; }
    .top-selling-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .horiz-card { grid-template-columns: 1fr; padding: 10px; gap: 8px; }
    .horiz-info h3 { font-size: 12.5px; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .horiz-btns { grid-template-columns: 1fr; gap: 5px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .carousel-track .product-card { min-width: 162px; max-width: 162px; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); padding: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .mobile-bottom-nav { display: grid; }
}
/* ---- Single product ---- */

.sp-wrap { margin-top: 22px; }
.sp-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sp-breadcrumb a:hover { color: var(--brand); }
.sp-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.sp-img-box { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #f8fcf9; position: relative; }
.sp-img-box img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.sp-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-stock-badge { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.sp-sku { font-size: 12px; color: var(--muted); }
.sp-title { font-size: 25px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 12px; }
.sp-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.sp-price-now { font-size: 28px; font-weight: 800; color: var(--brand); }
.sp-price-old { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.sp-save-pill { background: var(--accent-soft); color: #9a6000; border: 1px solid #fde1a9; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.sp-short { font-size: 14px; color: #475569; margin-bottom: 20px; line-height: 1.65; }
.sp-label { font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 8px; display: block; }
.sp-qty-wrap { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.sp-qty-wrap button { width: 38px; height: 38px; border: none; background: #f8fcf9; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--text); }
.sp-qty-wrap input { width: 52px; height: 38px; border: none; text-align: center; font-weight: 700; font-size: 15px; outline: none; }
.sp-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sp-btn-cart { background: #fff; color: var(--brand); border: 1.5px solid #bbf7d0; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
.sp-btn-cart:hover { border-color: var(--brand); color: #fff; background: var(--brand); }
.sp-btn-buy { background: var(--accent); color: #0f172a; border: none; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 800; cursor: pointer; }
.sp-btn-buy:hover { background: var(--accent-hover); }
.sp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.sp-wa-btn { background: var(--brand); color: #fff; padding: 11px; border-radius: 10px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 7px; }
.sp-call-btn { background: #0f172a; color: #fff; padding: 11px; border-radius: 10px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 7px; }
.sp-trust-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; color: #475569; text-align: center; }
.sp-desc-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-top: 24px; }
.sp-desc-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.rev-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.rev-item { padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.rev-item:last-child { border-bottom: none; }
.rev-form-box { background: #f8fcf9; border: 1px solid #dcfce7; border-radius: 12px; padding: 20px; }
.rev-input { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 13.5px; margin-bottom: 10px; outline: none; }
.rev-input:focus { border-color: var(--brand); }
@media (max-width: 860px) {
    .sp-card, .rev-layout { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
    .sp-title { font-size: 20px; }
    .sp-price-now { font-size: 24px; }
    .sp-contact-grid { grid-template-columns: 1fr; }
}

/* ---- Tallymor additions (same look) ---- */
.utility-links a, .utility-bar strong { white-space: nowrap; }
.btn-outline-cart:disabled, .btn-buy-now:disabled, .sp-btn-cart:disabled, .sp-btn-buy:disabled { opacity: .45; cursor: not-allowed; }
.out-badge { position: absolute; top: 9px; right: 9px; z-index: 3; background: #0f172a; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 50px; }
.sp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sp-thumbs button { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid var(--border); padding: 0; background: #fff; cursor: pointer; }
.sp-thumbs button.active { border-color: var(--brand); }
.sp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sp-desc { font-size: 14.5px; color: #334155; line-height: 1.8; white-space: pre-line; }
.empty-box { text-align: center; padding: 50px; background: #f8fafc; border-radius: 12px; color: var(--muted); }
.co-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-top: 22px; }
.co-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.co-note { background: var(--accent-soft); border: 1px solid #fde1a9; color: #7a4d00; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 14px 0; }
.co-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 860px) { .co-actions { grid-template-columns: 1fr; } }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 999; }
.co-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.co-layout .co-card { margin-top: 22px; }
.co-textarea { width: 100%; padding: 10px 13px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 14px; outline: none; resize: vertical; }
.co-textarea:focus { border-color: var(--brand); }
.co-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-zone { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.co-zone strong { margin-left: auto; color: var(--brand); }
.co-zone:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.co-zones.co-pay { grid-template-columns: 1fr; }
.m-field .co-zone input[type=radio], .co-zone input[type=radio] { width: auto; height: auto; padding: 0; margin: 0; flex: 0 0 auto; accent-color: var(--brand); }
.co-manual { border: 1.5px dashed var(--brand); border-radius: 12px; padding: 14px; margin: 4px 0 14px; background: #fff; }
.co-manual[hidden] { display: none; }
.co-sum { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: #334155; }
.co-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .co-layout { grid-template-columns: 1fr; gap: 0; } .co-zones { grid-template-columns: 1fr; } }

/* Specifications (all themes) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 600; background: var(--surface); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.logo-mark { display: inline-block; }

/* Compare page (all themes) */
.cmp-table td { min-width: 200px; }
.cmp-remove { margin-top: 8px; border: 0; background: none; color: #b91c1c; font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
