:root { --studio-blue:#0b2a4a; --studio-yellow:#f2bd31; --studio-ink:#101827; --studio-paper:#fffdf7; }
.customizer-page { background:#f4f7fb; color:var(--studio-ink); }
.customizer-page .back-link { color:var(--studio-blue); font-weight:800; text-decoration:none; padding:10px 14px; }
.customizer-intro { padding:54px 24px 30px; background:linear-gradient(120deg,#fff 55%,#fff4c9); }
.customizer-kicker { display:inline-block; color:var(--studio-blue); font-size:12px; font-weight:900; letter-spacing:2px; border-bottom:3px solid var(--studio-yellow); padding-bottom:4px; }
.customizer-intro h1 { margin:12px 0 8px; color:var(--studio-blue); font-size:clamp(36px,5vw,60px); line-height:1.05; }
.customizer-intro h1 span { color:#b87a3c; }
.customizer-intro p { color:#526070; font-size:18px; }
.customizer-shell { max-width:1240px; margin:0 auto; padding:30px 24px 70px; display:grid; grid-template-columns:minmax(320px, .82fr) minmax(390px, 1.18fr); gap:30px; text-align:left; align-items:start; }
.customizer-controls,.preview-panel { background:#fff; border:1px solid #dde4ed; border-radius:18px; box-shadow:0 12px 36px rgba(11,42,74,.09); }
.customizer-controls { padding:28px; }
.control-heading { display:flex; align-items:center; gap:13px; margin-bottom:18px; }
.control-heading>span { width:38px; height:38px; border-radius:10px; background:var(--studio-yellow); color:var(--studio-blue); display:grid; place-items:center; font-weight:900; }
.control-heading h2 { font-size:21px; color:var(--studio-blue); margin:0; }
.control-heading p { color:#6b7582; font-size:13px; }
.details-heading { margin-top:30px; }
.template-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(78px,1fr)); gap:10px; }
.template-option { padding:7px; border:2px solid #e1e6ed; background:#fff; border-radius:11px; cursor:pointer; color:var(--studio-ink); transition:transform .2s,border-color .2s; }
.template-option:hover { transform:translateY(-2px); }
.template-option.active { border-color:var(--studio-blue); box-shadow:0 0 0 2px rgba(242,189,49,.55); }
.template-option strong { display:block; font-size:11px; margin-top:5px; white-space:nowrap; }
.template-thumb { display:block; aspect-ratio:210/297; border-radius:5px; overflow:hidden; }
.thumb-sunrise { background:radial-gradient(circle at 70% 28%,#ffd85b 0 10%,transparent 11%),linear-gradient(150deg,transparent 55%,#f2bd31 56% 68%,#0b2a4a 69%); }
.thumb-geometry { background:linear-gradient(35deg,#0b2a4a 0 34%,transparent 35%),linear-gradient(145deg,#f2bd31 0 28%,#fff 29%); }
.thumb-waves { background:radial-gradient(ellipse at 15% 90%,#f2bd31 0 30%,transparent 31%),radial-gradient(ellipse at 0 100%,#1d5d8f 0 53%,#eef8ff 54%); }
.thumb-minimal { background:linear-gradient(90deg,#f2bd31 0 9%,#fff 9% 91%,#0b2a4a 91%); }
.thumb-karan,.thumb-virat,.thumb-sidhu { background-size:cover; background-position:center top; }
.thumb-karan { background-image:url('images/notebook-samples/karan-aujla.png'); }
.thumb-virat { background-image:url('images/notebook-samples/virat-kohli.png'); }
.thumb-sidhu { background-image:url('images/notebook-samples/sidhu-moosewala.png'); }
.field-group { position:relative; margin-top:17px; }
.field-group>label:first-child { display:block; margin-bottom:7px; color:#273548; font-weight:800; font-size:14px; }
.field-group input[type=text],.field-group textarea { width:100%; border:1px solid #cfd7e2; border-radius:9px; padding:12px 13px; font:inherit; resize:vertical; }
.field-group input:focus,.field-group textarea:focus { outline:3px solid rgba(242,189,49,.4); border-color:var(--studio-blue); }
.field-group>small { position:absolute; right:9px; bottom:7px; font-size:11px; color:#768294; background:#fff; }
.upload-box { border:1.5px dashed #aebac8; background:#f8fafc; border-radius:10px; min-height:74px; padding:13px; display:flex; gap:12px; align-items:center; cursor:pointer; }
.upload-box:hover { border-color:var(--studio-blue); background:#fffdf3; }
.upload-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:9px; color:#fff; background:var(--studio-blue); font-size:24px; }
.upload-box strong,.upload-box small { display:block; }
.upload-box small { color:#737e8c; font-size:11px; }
.visually-hidden { position:absolute!important; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.photo-status { color:#287050; font-size:12px; margin-top:6px; }
.photo-status.error { color:#b42318; }
.remove-photo { border:0; background:none; color:#a5352b; text-decoration:underline; cursor:pointer; padding:3px 0; }
.preview-panel { padding:22px; background:#edf2f7; }
.preview-topline { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; }
.preview-topline div span,.preview-topline div strong { display:block; }
.preview-topline div span { font-size:11px; letter-spacing:1.4px; color:#637082; font-weight:900; }
.preview-topline div strong { color:var(--studio-blue); font-size:14px; }
.ready-badge { padding:6px 10px; border-radius:999px; background:#d9f3e5; color:#17613c; font-size:11px; font-weight:900; }
.canvas-wrap { max-width:510px; margin:0 auto; padding:10px; background:#dbe2ea; border-radius:12px; }
#coverCanvas { display:block; width:100%; height:auto; aspect-ratio:210/297; background:#fff; box-shadow:0 12px 26px rgba(16,24,39,.18); }
.action-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; margin-top:18px; }
.download-btn,.order-btn { min-height:50px; border-radius:9px; padding:11px 13px; display:flex; justify-content:center; align-items:center; gap:8px; font-weight:900; text-align:center; text-decoration:none; cursor:pointer; font-size:14px; }
.download-btn { border:0; color:#fff; background:var(--studio-blue); }
.download-btn:hover { background:#15456e; }
.order-btn { color:var(--studio-blue); background:var(--studio-yellow); }
.order-btn:hover { background:#e4ad1e; }
.download-note { color:#697687; font-size:11px; margin:9px 0 0; text-align:center; }
.customizer-page footer a { color:#fff; }
@media(max-width:850px){.customizer-shell{grid-template-columns:1fr;max-width:680px}.preview-panel{order:2}.customizer-page .header-actions .phone-btn{display:none}}
@media(max-width:520px){.customizer-intro{padding-top:38px}.customizer-shell{padding:18px 14px 50px}.customizer-controls,.preview-panel{padding:17px;border-radius:13px}.template-grid{grid-template-columns:repeat(3,1fr)}.template-option strong{font-size:10px;white-space:normal}.action-grid{grid-template-columns:1fr}.customizer-page .logo-area small{display:none}.customizer-page .back-link{font-size:13px;padding:8px}.customizer-page .top-header{padding:10px 12px}}
