:root{--ink:#221711;--muted:#6d625c;--paper:#fff;--cream:#f7f4f0;--brand:#23649b;--green:#8e2444;--gold:#f0b429;--brown:#743417;--line:#ded9d4}
*{box-sizing:border-box}
body{margin:0;background:#faf9f7;color:var(--ink);font-family:Inter,"Noto Sans Bengali",Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{width:min(1180px,92vw);margin:auto}
.topbar{background:linear-gradient(90deg,#153e67,#23649b,#8e2444);color:#fff;padding:9px;text-align:center;font-size:13px}
.header{position:sticky;top:0;z-index:20;background:#fffdf9eF;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;align-items:center;gap:10px;font:700 18px Georgia;color:var(--brand)}
.navlinks{display:flex;gap:20px;align-items:center;font-size:14px;font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:12px 18px;background:linear-gradient(135deg,#23649b,#174c79);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 7px 18px #23649b22}
.btn.green{background:var(--green)}
.btn.outline{background:transparent;color:var(--ink);border:1px solid var(--line)}
.hero{padding:65px 0;background:radial-gradient(circle at 80% 10%,#eed4c7,transparent 35%),linear-gradient(135deg,#fffaf5,#eee4d8)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.eyebrow{color:var(--brand);font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.hero h1,.section-title{font-family:Georgia,serif}
.hero h1{font-size:clamp(38px,6vw,70px);line-height:1.03;margin:12px 0 18px}
.hero p{color:var(--muted);font-size:18px;line-height:1.7}
.hero-card{aspect-ratio:4/3;border-radius:30px;overflow:hidden;background:#d8c6b4;box-shadow:0 30px 80px #50352a35}
.hero-card img{width:100%;height:100%;object-fit:cover}
.section{padding:65px 0}
.section-title{font-size:36px;margin:0 0 8px}
.section-sub{color:var(--muted);margin:0 0 28px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 35px #4d392414}
.product-img{display:block;aspect-ratio:4/5;background:#e7ddd2;overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:cover}
.product-body{padding:20px}
.product h3{font:700 24px Georgia;margin:0 0 8px}
.summary{color:var(--muted);line-height:1.65}
.price{font-size:22px;font-weight:900;color:var(--brand);margin:15px 0}
.actions{display:flex;gap:9px;flex-wrap:wrap}
.detail{display:grid;grid-template-columns:1fr 1fr;gap:42px;padding:45px 0}
.gallery-main{aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#e4d7ca}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.thumb{aspect-ratio:1;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#eee;cursor:pointer}
.thumb.active{border-color:var(--brand)}
.thumb img{width:100%;height:100%;object-fit:cover}
.detail h1{font:700 clamp(34px,5vw,55px) Georgia;margin:8px 0}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}
.fact{padding:12px;border-radius:10px;background:var(--cream);font-size:12px;text-align:center}
.reader{background:#f4f7fb;padding:58px 0;color:var(--ink);border-top:1px solid #dce6ee}
.book-page{position:relative;width:min(420px,90vw);aspect-ratio:148/210;margin:auto;overflow:hidden;border-radius:10px;background:radial-gradient(circle at 20% 10%,#e7bf6d,#355f63 50%,#8a4b59);box-shadow:0 25px 70px #0009}
.storybox{position:absolute;left:5%;right:5%;bottom:5%;background:#fffdf7dd;color:#2e2925;padding:14px;border-radius:8px}
.storybox h3{font:700 20px Georgia;color:#713e4d;margin:0 0 7px}
.storybox p{font-size:14px;line-height:1.55;margin:0}
.reader-controls{display:flex;justify-content:center;align-items:center;gap:13px;margin-top:18px}
.reader button{border:1px solid var(--line);background:#fff;color:#211e1a;padding:10px 16px;border-radius:9px;font-weight:800}
.checkout{width:min(820px,92vw);margin:45px auto}
.steps{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}
.step{padding:12px;border-radius:10px;background:#e8ddd2;text-align:center;font-weight:800}
.step.on{background:var(--green);color:#fff}
.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 15px 45px #4d392414}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.field.full{grid-column:1/-1}
label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}
input,select,textarea{width:100%;border:1px solid #cdbfb2;border-radius:9px;padding:12px;background:#fff;font:inherit}
textarea{min-height:90px;resize:vertical}
.totalbox{background:var(--cream);border-radius:12px;padding:16px;margin-top:17px;line-height:1.8}
.photo-upload-block{border:1px solid #d6e2ec;border-radius:14px;padding:17px;background:#f8fbfd}.photo-guide{margin:8px 0 14px;padding:14px 16px;border-left:4px solid var(--brand);border-radius:8px;background:#eaf3f9;color:#3f3a36;font-size:14px;line-height:1.55}.photo-guide ul{margin:8px 0 0;padding-left:20px}.upload-preview{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.upload-preview img{width:92px;height:92px;border:2px solid #fff;border-radius:12px;object-fit:cover;box-shadow:0 4px 15px #173f5d25}.upload-preview.multi img{width:76px;height:76px}
.success{text-align:center;padding:70px 20px}
.admin{display:grid;grid-template-columns:230px 1fr;min-height:100vh}
.sidebar{background:#231f1b;color:#fff;padding:25px 18px}
.sidebar a{display:block;padding:11px 12px;border-radius:8px;margin:5px 0}
.sidebar a:hover{background:#ffffff17}
.adminmain{padding:28px}
.tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}
.table{width:100%;border-collapse:collapse;min-width:760px}
.table th,.table td{padding:12px;border-bottom:1px solid #eee3d8;text-align:left;font-size:13px}
.table th{color:var(--muted);font-size:11px;text-transform:uppercase}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.notice{padding:12px;border-radius:10px;background:#e7f5ed;color:#23613e;margin-bottom:18px}
.footer{background:#211e1a;color:#d7cabe;padding:35px 0;text-align:center}
@media(max-width:850px){.hero-grid,.detail{grid-template-columns:1fr}
.grid{grid-template-columns:repeat(2,1fr)}
.admin{display:block}
.sidebar{position:relative}
.cards{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){.navlinks a:not(.btn){display:none}.navlinks .lang-switch a{display:block}
.grid,.fields{grid-template-columns:1fr}
.field.full{grid-column:auto}
.hero{padding:42px 0}
.section{padding:45px 0}
.product-body{padding:16px}
.facts{grid-template-columns:1fr}
.adminmain{padding:16px}
}
.logo img{width:68px;height:52px;object-fit:contain}.logo span{max-width:220px;line-height:1.08}
.lang-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:999px;background:#fff}
.lang-switch a{padding:6px 9px;border-radius:999px;font-size:12px}.lang-switch a.active{background:var(--brand);color:#fff}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.catalog-heading .section-sub{margin-bottom:0}.catalog-count{white-space:nowrap;border-radius:999px;background:#e8f1f8;color:#174c79;padding:9px 14px;font-weight:800}
.product{transition:transform .2s ease,box-shadow .2s ease}.product:hover{transform:translateY(-4px);box-shadow:0 18px 45px #1f4f7520}.product-img{position:relative}
.cover-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:25px;color:var(--muted);font-size:13px;text-align:center;background:linear-gradient(145deg,#eef5fa,#fff7f3)}.cover-placeholder img{width:68%;height:68%;object-fit:contain;mix-blend-mode:multiply}
.story-text-list{display:grid;gap:14px;width:min(850px,100%);margin:28px auto 0}.story-text-page{position:relative;background:#fff;border:1px solid #d8e3ec;border-radius:14px;padding:22px 24px 20px 74px;box-shadow:0 8px 24px #214e7010}.story-text-page>span{position:absolute;left:18px;top:22px;width:42px;color:var(--brand);font-size:12px;font-weight:900}.story-text-page h3{margin:0 0 8px;color:var(--brown);font:700 21px Georgia,"Noto Serif Bengali",serif}.story-text-page p{margin:0;font-size:16px;line-height:1.75;color:#433a35}
.home-slider{position:relative;height:clamp(280px,36.8vw,624px);overflow:hidden;background:#241d18}
.home-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .65s ease}
.home-slide.active{opacity:1;pointer-events:auto}
.home-slide picture,.home-slide picture img{display:block;width:100%;height:100%}
.home-slide picture img{object-fit:cover}
.slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,16,12,.76),rgba(22,16,12,.08) 70%)}
.slide-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#fff}
.slide-content h1{max-width:720px;margin:0 0 14px;font:700 clamp(38px,6vw,72px)/1.04 Georgia,serif;text-shadow:0 3px 18px #0008}
.slide-content p{max-width:610px;font-size:18px;line-height:1.65;margin:0 0 20px;text-shadow:0 2px 12px #000}
.slider-dots{position:absolute;z-index:4;left:50%;bottom:18px;display:flex;gap:8px;transform:translateX(-50%)}
.slider-dots button{width:10px;height:10px;padding:0;border:1px solid #fff;border-radius:50%;background:transparent;cursor:pointer}
.slider-dots button.active{background:#fff}
.floating-social{position:fixed;right:20px;bottom:20px;z-index:50;display:flex;flex-direction:column;gap:10px}
.social{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;color:#fff;font-size:23px;font-weight:900;box-shadow:0 8px 24px #0004}
.social.whatsapp{background:#25d366}.social.messenger{background:#168aff}
@media(max-width:600px){.home-slider{height:240px}.slide-shade{background:linear-gradient(0deg,rgba(22,16,12,.72),rgba(22,16,12,0) 75%)}.slide-content{justify-content:flex-end;padding-bottom:52px}.slide-content h1,.slide-content p,.slide-content .btn{display:none}.floating-social{right:12px;bottom:12px}.social{width:46px;height:46px}.catalog-heading{align-items:flex-start;flex-direction:column}.story-text-page{padding:18px}.story-text-page>span{position:static;display:block;width:auto;margin-bottom:7px}.nav{height:76px}.logo img{width:58px;height:54px}.logo span{display:none}.lang-switch{margin-left:auto}.navlinks{gap:7px}}
