/* TurboTraders India – storefront styles. Mobile first. */
:root {
    --brand: #eb4c23;
    --brand-dark: #c73b16;
    --ink: #272727;
    --muted: #6d625c;
    --line: #eadfd6;
    --bg: #fffaf5;
    --card: #ffffff;
    --gold: #ffb547;
    --night: #1f120d;
    --wa: #0f7a36;
    --flipkart: #1f63d6;
    --shopsy: #7b3fe4;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(80, 40, 20, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; color: #fff; background: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 17px; width: 100%; }
.btn-primary { background: var(--brand-dark); box-shadow: 0 6px 18px rgba(235, 76, 35, .35); }
.btn-primary:hover { background: #a8300f; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-wa { background: var(--wa); }
.btn-flipkart { background: var(--flipkart); }
.btn-shopsy { background: var(--shopsy); }
.btn-outline { background: #fff; color: var(--wa); border-color: var(--wa); }
.btn-link { font-weight: 600; text-align: center; padding: 6px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.logo img { width: 120px; height: auto; }
.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 8px; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.search { order: 3; flex: 1 1 100%; display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: inherit; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--brand); }
.search button { border: 0; background: transparent; padding: 0 14px; color: var(--muted); cursor: pointer; }
.header-wa { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--wa); font-weight: 700; text-decoration: none; padding: 8px; }
.header-wa span { display: none; }
.site-nav { display: none; border-top: 1px solid var(--line); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.site-nav a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--brand-dark); }

@media (min-width: 860px) {
    .menu-toggle { display: none; }
    .logo img { width: 150px; }
    .search { order: 0; flex: 1 1 auto; max-width: 520px; margin: 0 auto; }
    .header-wa span { display: inline; }
    .site-nav { display: block; }
    .site-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; padding: 2px 0; }
    .site-nav a { padding: 8px 0; white-space: nowrap; font-size: 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 20% 0%, #5a2a14 0%, var(--night) 60%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(circle at 10% 20%, rgba(255,181,71,.55) 0 3px, transparent 4px),
    radial-gradient(circle at 25% 70%, rgba(255,181,71,.4) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 15%, rgba(255,214,140,.5) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 80%, rgba(235,76,35,.5) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 30%, rgba(255,181,71,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 65%, rgba(255,214,140,.5) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 50%, rgba(235,76,35,.25), transparent 45%); }
.hero-grid { position: relative; display: grid; gap: 24px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; text-shadow: 0 0 30px rgba(255,181,71,.35); }
.hero .lead { color: #f3e2d6; font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-collage { position: relative; height: 260px; }
.hero-collage img { position: absolute; width: 58%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 40px rgba(255,181,71,.25); }
.collage-0 { left: 21%; top: 0; z-index: 2; }
.collage-1 { left: 0; top: 30%; width: 42% !important; transform: rotate(-6deg); }
.collage-2 { right: 0; top: 34%; width: 42% !important; transform: rotate(6deg); }
@media (min-width: 860px) {
    .hero-grid { grid-template-columns: 1.1fr 1fr; padding-top: 64px; padding-bottom: 64px; }
    .hero-collage { height: 380px; }
}

/* USP strip */
.usp { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: -20px; position: relative; }
.usp div { background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.usp span { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .usp { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding-top: 32px; padding-bottom: 8px; }
.section-title { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; position: relative; padding-bottom: 8px; margin-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); }

/* Category tiles */
.cat-main { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .cat-main { grid-template-columns: repeat(3, 1fr); } }
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 800; font-size: 1.25rem; background: linear-gradient(transparent, rgba(31,18,13,.85)); display: flex; flex-direction: column; }
.cat-name small { font-weight: 500; font-size: 13px; opacity: .85; }
.cat-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cat-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.cat-chip:only-child, .cat-chip span:only-child { padding-left: 8px; }
.cat-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.cat-chip:hover { border-color: var(--brand); color: var(--brand-dark); }

/* Product grid & cards */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-product { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card-product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-noimg { font-size: 2.5rem; color: var(--gold); }
.is-oos .card-media img { opacity: .6; }
.tag { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag-off { background: var(--brand-dark); color: #fff; }
.tag-oos { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.card-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 14px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.price { font-weight: 800; font-size: 1.1rem; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 14px; }

/* Festive banner */
.festive-banner { margin: 32px 0 0; background: linear-gradient(120deg, #a8300f 0%, var(--brand-dark) 55%, #d9622a 100%); color: #fff; }
.banner-inner { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.banner-inner h2 { font-size: 1.5rem; }
.banner-inner p { margin: 0; }
@media (min-width: 760px) { .banner-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Breadcrumb, headers */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 14px 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.page-header { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }

/* Listing with filters */
.listing { display: grid; gap: 16px; padding-bottom: 32px; }
@media (min-width: 900px) { .listing { grid-template-columns: 240px 1fr; align-items: start; } }
.filters-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.filters-panel summary { font-weight: 800; cursor: pointer; }
.filters fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.filter-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.results-bar p { margin: 0; }
.sort-form select { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; margin-left: 6px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px 16px; text-align: center; }
.pagination { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 28px 0 8px; }
.pagination a { font-weight: 700; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* Product page */
.product { display: grid; gap: 24px; }
.product > * { min-width: 0; }
@media (min-width: 860px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; } .gallery { position: sticky; top: 120px; } }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: 0 0 72px; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.thumb.is-active { border-color: var(--brand); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 800; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 8px; }
.product-price .price { font-size: 2rem; }
.product-price .mrp { text-decoration: none; }
.off { color: #157a38; font-weight: 800; }
.price-note { margin: 2px 0 16px; font-size: 13px; color: var(--muted); }
.stock-note { background: #fff4e6; border: 1px solid #ffd9a8; border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.buy-buttons { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.trust { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--wa); font-weight: 800; margin-right: 8px; }
.product-info h2 { font-size: 1.15rem; margin-top: 8px; }
.specs { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; overflow-wrap: anywhere; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; background: #fdf7f2; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.prose { max-width: 760px; }
.sticky-buy { display: none; }
@media (max-width: 859px) {
    .page-product main { padding-bottom: 72px; }
    .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.08); transform: translateY(100%); transition: transform .2s; }
    .sticky-buy.is-visible { transform: none; }
}

/* Pack options */
.packs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pack { display: flex; flex-direction: column; min-width: 96px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; }
.pack span { color: var(--muted); font-size: 13px; }
.pack:hover { border-color: var(--brand); }
.pack.is-active { border-color: var(--brand-dark); background: #fff4ee; }
.pack.is-oos strong { color: var(--muted); }

/* Search page */
.search-page { margin-bottom: 20px; max-width: 640px; border-radius: 999px; padding: 4px; background: #fff; }
.search-page .btn { padding: 8px 18px; }

/* Pages & forms */
.narrow { max-width: 960px; }
.page-body h1, .narrow > h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.prose { font-size: 16.5px; }
.prose h2 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.enquiry-grid { display: grid; gap: 24px; padding-bottom: 24px; }
@media (min-width: 860px) { .enquiry-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.contact-card p { margin: 12px 0 0; line-height: 1.8; }
.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.enquiry-form h2 { font-size: 1.25rem; }
.enquiry-form label { display: block; font-weight: 600; margin-bottom: 14px; font-size: 15px; }
.enquiry-form input, .enquiry-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--bg); }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }
.form-row { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.field-error { display: block; color: #b42318; font-size: 14px; font-weight: 500; margin-top: 4px; }
.form-alert { background: #fdecea; color: #a12a1b; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.enquiry-product { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 13px; }
.thanks { text-align: center; padding: 48px 16px; }
.thanks .btn { width: auto; margin: 8px 0 20px; }
.bulk-link { margin: -4px 0 16px; font-size: 15px; }
.nav-wholesale { color: var(--brand-dark) !important; }

/* Footer */
.site-footer { margin-top: 48px; background: var(--night); color: #e9d9cf; font-size: 15px; }
.footer-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; width: 160px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #ffd9b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 14px; line-height: 1.8; }
.site-footer .btn { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; padding-bottom: 20px; font-size: 13px; color: #b9a598; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
