/* Storefront templates. Colors come from the layout (:root --primary / --dark); this file changes shape & typography. */
.preview-bar { background: #111; color: #fff; text-align: center; font-size: 13px; padding: 7px 12px; }
.preview-bar a { color: #ffd166; }
.card .thumb { position: relative; }
.card .alt-img { display: none; }
.card-cat { display: none; font-size: 12px; color: var(--muted); margin-bottom: 2px; }

/* shared pieces for organic / fashion home pages */
.t-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 50px 0 30px; }
.t-hero .eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, white); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.t-hero h1 { font-size: 48px; line-height: 1.15; margin: 0 0 14px; }
.t-hero p { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 520px; }
.t-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.t-hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.t-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 10px; }
.t-features div { text-align: center; padding: 22px 12px; }
.t-features svg { width: 34px; height: 34px; color: var(--primary); margin: 0 auto 8px; display: block; }
.t-features b { display: block; }
.t-features small { color: var(--muted); }
.t-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.t-story img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.t-story h2 { font-size: 32px; margin: 0 0 12px; line-height: 1.25; }
.t-story p { color: var(--muted); font-size: 17px; }
.t-heading { text-align: center; margin-bottom: 26px; }
.t-heading small { color: var(--primary); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.t-heading h2 { margin: 4px 0 0; font-size: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ================= ORGANIC ================= */
.theme-organic { --bg: #f7f3ea; --line: #e7dfcc; --radius: 18px; }
.theme-organic h1, .theme-organic h2, .theme-organic .section-title, .theme-organic .t-heading h2 { font-family: 'Noto Serif Bengali', serif; }
.theme-organic .header { background: #fffdf8; }
.theme-organic .search input { border-radius: 999px; background: #f4efe3; }
.theme-organic .btn { border-radius: 999px; padding: 10px 20px; }
.theme-organic .card { border-radius: 18px; border-color: transparent; padding: 14px; box-shadow: 0 2px 10px rgba(60,50,20,.05); }
.theme-organic .card .thumb { background: #f6f1e6; border-radius: 14px; }
.theme-organic .card .thumb img { padding: 10px; }
.theme-organic .card-cat { display: block; }
.theme-organic .badge { border-radius: 999px; }
.theme-organic .t-hero-img img { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; border: 10px solid #fff; box-shadow: 0 30px 60px rgba(36,64,28,.15); background: #fff; }
.theme-organic .t-hero-wrap { background: radial-gradient(circle at 80% 40%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 50%); }
.theme-organic .t-features div { background: #fffdf8; border-radius: 18px; border: 1px solid var(--line); }
.theme-organic .cat-item .ic { border-radius: 50%; background: #fffdf8; border: 2px solid var(--line); }
.theme-organic .cat-item:hover .ic { border-color: var(--primary); }
.theme-organic .t-story img { border-radius: 24px; }
.theme-organic .t-story-wrap { background: #efe8d6; border-radius: 28px; padding: 40px; }
.theme-organic .t-heading::after { content: '🌿'; display: block; margin-top: 4px; }
.theme-organic .section-head::after { border-radius: 4px; }
.theme-organic .footer { background: #fffdf8; }
.theme-organic .box, .theme-organic .pd, .theme-organic .desc { border-radius: 20px; }
.theme-organic .price .now { color: var(--primary); }

/* ================= FASHION ================= */
.theme-fashion { --bg: #fff; --line: #e7e5e4; --muted: #78716c; font-family: 'Jost', 'Hind Siliguri', sans-serif; }
.theme-fashion .header { border-bottom: 1px solid #111; }
.theme-fashion .logo { color: #111; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.theme-fashion .nav { background: #fff; border-top: 1px solid var(--line); }
.theme-fashion .nav-inner { justify-content: center; }
.theme-fashion .nav a { color: #111; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; padding: 12px 14px; }
.theme-fashion .nav a:hover, .theme-fashion .nav a.active { color: #111; text-decoration: underline; text-underline-offset: 6px; }
.theme-fashion .search input { border-radius: 0; background: #fff; border-color: #d6d3d1; }
.theme-fashion .btn { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 500; }
.theme-fashion .btn-outline { border-color: #111; color: #111; }
.theme-fashion .btn-outline:hover { background: #111; color: #fff; }
.theme-fashion .notice { background: #111; letter-spacing: .06em; }
.theme-fashion .cart-badge { background: #111; }
.theme-fashion .card { border: 0; padding: 0; border-radius: 0; }
.theme-fashion .card:hover { box-shadow: none; }
.theme-fashion .card .thumb { aspect-ratio: 3/4; background: #f5f5f4; margin-bottom: 12px; }
.theme-fashion .card .thumb img { object-fit: cover; }
.theme-fashion .card .alt-img { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.theme-fashion .card:hover .alt-img { opacity: 1; }
.theme-fashion .card:hover .thumb img { transform: none; }
.theme-fashion .card .name { font-size: 15px; min-height: 0; }
.theme-fashion .card-cat { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.theme-fashion .card form { opacity: .9; }
.theme-fashion .price .now { color: #111; font-weight: 500; }
.theme-fashion .badge { border-radius: 0; background: #111; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.theme-fashion .badge-right { background: #b91c1c; }
.theme-fashion .section-head { border-bottom: 0; justify-content: center; text-align: center; }
.theme-fashion .section-head::after { display: none; }
.theme-fashion .section-head h2, .theme-fashion .t-heading h2, .theme-fashion .section-title { text-transform: uppercase; letter-spacing: .16em; font-weight: 500; font-size: 22px; }
.theme-fashion .see-all { color: #111; text-decoration: underline; text-underline-offset: 4px; position: absolute; right: 0; }
.theme-fashion .f-hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; }
.theme-fashion .f-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.theme-fashion .f-hero .container { position: relative; padding-bottom: 60px; }
.theme-fashion .f-hero small { letter-spacing: .3em; text-transform: uppercase; font-size: 13px; }
.theme-fashion .f-hero h1 { font-size: 64px; font-weight: 500; line-height: 1.05; margin: 8px 0 14px; max-width: 760px; }
.theme-fashion .f-hero p { font-size: 18px; max-width: 520px; opacity: .9; margin: 0 0 22px; }
.theme-fashion .f-hero .btn { background: #fff; color: #111; border-color: #fff; padding: 14px 34px; }
.theme-fashion .f-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.theme-fashion .f-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #f5f5f4; }
.theme-fashion .f-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme-fashion .f-tile:hover img { transform: scale(1.05); }
.theme-fashion .f-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; text-transform: uppercase; letter-spacing: .14em; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); font-weight: 500; }
.theme-fashion .t-features div { border-right: 1px solid var(--line); }
.theme-fashion .t-features div:last-child { border-right: 0; }
.theme-fashion .t-features svg { color: #111; }
.theme-fashion .footer { background: #111; color: #e7e5e4; border-top: 0; }
.theme-fashion .footer li, .theme-fashion .footer .about, .theme-fashion .copyright { color: #a8a29e; }
.theme-fashion .footer .logo { color: #fff; }
.theme-fashion .copyright { border-color: #292524; }
.theme-fashion .socials a { background: #292524; color: #fff; }
.theme-fashion .float-cart { background: #111; }
.theme-fashion .float-cart .amt { color: #111; }
.theme-fashion .pd, .theme-fashion .box, .theme-fashion .desc { border-radius: 0; }
.theme-fashion .pd-main-img { border-radius: 0; aspect-ratio: 3/4; }
.theme-fashion .pd-main-img img { object-fit: cover; }
.theme-fashion .pd h1 { font-weight: 500; }
.theme-fashion .pd .price .now { color: #111; }
.theme-fashion .call-btn { background: #44403c; }

@media (max-width: 860px) {
    .t-hero, .t-story { grid-template-columns: 1fr; gap: 24px; }
    .t-hero-img { order: -1; max-width: 420px; margin: 0 auto; }
    .t-features, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .theme-fashion .t-features div:nth-child(2) { border-right: 0; }
    .theme-fashion .see-all { position: static; }
    .theme-fashion .section-head { flex-direction: column; align-items: center; gap: 4px; }
}
@media (max-width: 640px) {
    .t-hero { padding: 20px 0 10px; }
    .t-hero h1 { font-size: 32px; }
    .t-hero p { font-size: 16px; }
    .t-story h2, .t-heading h2 { font-size: 24px; }
    .theme-organic .t-story-wrap { padding: 22px; }
    .grid-4 { gap: 10px; }
    .theme-fashion .f-hero { min-height: 64vh; }
    .theme-fashion .f-hero::before { background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.35)); }
    .theme-fashion .f-hero .container { padding-bottom: 36px; }
    .theme-fashion .f-hero h1 { font-size: 38px; }
    .theme-fashion .f-tiles { grid-template-columns: 1fr 1fr; }
    .theme-fashion .nav { display: none; }
}
