/* ============================================================
   SaurabhPrinter.com — Global Stylesheet
   Independent digital retail storefront
   ============================================================ */

:root {
  --brand: #0b5cff;
  --brand-dark: #063fb3;
  --brand-light: #e8f0ff;
  --accent: #00b894;
  --ink: #14181f;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --warn-bg: #fff7e6;
  --warn-line: #ffd479;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --maxw: 1160px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top announcement bar ---------- */
.announce {
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.2px;
}
.announce strong { color: #ffe9a8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 900;
}
.logo .dot { color: var(--brand); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
  text-decoration: none;
}
.header-cta {
  display: flex; align-items: center; gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #00997a; }
.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(0,184,148,.14), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(11,92,255,.12), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px;
  color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .tick { color: var(--accent); font-weight: 900; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.hero-card h3 { margin: 0 0 6px; font-size: 17px; }
.hero-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.hero-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.hero-card li { margin: 6px 0; }

/* ---------- Section helpers ---------- */
.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -0.4px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-light);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media {
  height: 210px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eef3ff, #f4fbf8);
  border-bottom: 1px solid var(--line);
  font-size: 44px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 6px; font-size: 17px; }
.card-body .meta { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  background: var(--brand-light); color: var(--brand-dark);
  padding: 4px 9px; border-radius: 999px; margin-bottom: 10px;
}
.tag.green { background: #e3fbf4; color: #04795f; }
.price-row {
  display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px;
}
.price { font-size: 22px; font-weight: 800; }
.price .strike { font-size: 14px; color: var(--muted); font-weight: 500; text-decoration: line-through; }
.card .btn { margin-top: 12px; }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand-dark); font-size: 22px; margin-bottom: 12px;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Delivery notice ---------- */
.delivery-notice {
  background: #e9f7f1;
  border: 1px solid #b7e6d3;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  color: #0a5a45;
  margin: 0 0 22px;
}
.delivery-notice strong { color: #064534; }

/* ---------- Info / policy content ---------- */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-head h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.4px; }
.page-head p { margin: 0; color: var(--muted); max-width: 760px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

.prose { max-width: 860px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p, .prose li { color: #2b3240; }
.prose ul { padding-left: 20px; }
.prose .muted { color: var(--muted); font-size: 14px; }
.callout {
  background: var(--brand-light);
  border: 1px solid #cfe0ff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14.5px;
}
.callout.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.callout.green { background: #e9f7f1; border-color: #b7e6d3; }

/* ---------- Two column layout (contact) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,92,255,.12);
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- Info card (contact details) ---------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 18px;
}
.info-card h3 { margin: 0 0 12px; font-size: 16px; }
.info-card .row { display: flex; gap: 10px; margin: 10px 0; font-size: 14.5px; color: #2b3240; }
.info-card .row .ico { color: var(--brand); font-size: 17px; }
.info-card a { color: var(--brand-dark); }

/* ---------- Payment icons ---------- */
.pay-icons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-icons .pay {
  border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px;
  font-size: 12.5px; font-weight: 800; color: #2b3240; background: #fff; letter-spacing: .3px;
}

/* ---------- Footer ---------- */
.site-footer { background: #0e1420; color: #c3cbd8; margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
  padding: 48px 0 30px;
}
.footer-top h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .4px; text-transform: uppercase; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin: 8px 0; }
.footer-top a { color: #c3cbd8; font-size: 14px; }
.footer-top a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: #98a2b3; margin: 0 0 14px; max-width: 320px; }
.footer-contact { font-size: 13.5px; color: #98a2b3; }
.footer-contact .phone { color: #fff; font-weight: 700; }
.footer-contact .label { display: block; font-size: 12px; color: #8b96a8; margin-top: 2px; }

.footer-disclaimer {
  border-top: 1px solid #222b3a;
  padding: 22px 0;
  font-size: 12.5px;
  color: #98a2b3;
  line-height: 1.7;
}
.footer-disclaimer strong { color: #d7deea; }
.footer-bottom {
  border-top: 1px solid #222b3a;
  padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #8b96a8;
}

/* ---------- Setup / Driver page (Canon-style) ---------- */
.product-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; list-style: none;
  margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.product-tabs a {
  display: block; padding: 7px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  border: 1px solid transparent;
}
.product-tabs a:hover { background: var(--brand-light); color: var(--brand-dark); text-decoration: none; }
.product-tabs a.active { background: var(--brand); color: #fff; }

.setup-hero {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px;
  align-items: stretch; padding: 40px 0 52px;
}
.setup-hero-media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); min-height: 320px; background: var(--bg-soft);
}
.setup-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.setup-welcome h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: -0.4px; }
.setup-welcome > p { color: var(--muted); font-size: 16px; margin: 0 0 22px; }

.action-stack { display: flex; flex-direction: column; gap: 12px; }
.action-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  color: #fff; font-weight: 800; font-size: 15.5px;
  border: none; cursor: pointer; width: 100%; text-align: left;
  box-shadow: var(--shadow-sm); transition: transform .06s ease, filter .15s ease;
}
.action-btn:hover { filter: brightness(1.07); text-decoration: none; }
.action-btn:active { transform: translateY(1px); }
.action-btn .aico {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 19px;
}
.action-btn .arrow { margin-left: auto; font-size: 18px; opacity: .85; }
.action-btn .sub { display: block; font-size: 12px; font-weight: 600; opacity: .9; }
.action-red    { background: #d5342b; }
.action-blue   { background: #1c3f94; }
.action-gold   { background: #d9a11a; }
.action-green  { background: #1f8a4c; }

/* Brand selector */
.selector-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px; margin-top: 8px;
}
.selector-box h3 { margin: 0 0 6px; font-size: 18px; }
.selector-box > p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.selector-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.selector-grid .field { margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .setup-hero { grid-template-columns: 1fr; }
  .selector-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.lead-sm { color: var(--muted); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 30px; }
  .grid, .grid.cols-4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .announce, .site-footer .footer-top, .btn { display: none !important; }
  body { color: #000; }
  .page-head { background: #fff; }
}

/* ---------- Shopping Cart ---------- */
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; text-decoration: none; flex: none;
}
.cart-link:hover { background: var(--brand-light); text-decoration: none; }
.cart-ico { font-size: 20px; line-height: 1; }
.cart-count {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}

.sp-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 9999;
}
.sp-toast.show { opacity: 1; transform: translate(-50%, 0); }

.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 28px; align-items: start; }
.cart-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 22px; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-prod { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.cart-prod strong { display: block; font-size: 15px; line-height: 1.3; }
.cart-tag {
  display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--brand); background: var(--brand-light); padding: 2px 8px; border-radius: 999px;
}
.cart-unit { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cart-qty button { width: 32px; height: 34px; border: 0; background: #f6f8fc; cursor: pointer; font-size: 16px; color: var(--ink); }
.cart-qty button:hover { background: var(--brand-light); }
.cart-qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-line { font-weight: 700; font-size: 15px; text-align: right; min-width: 72px; }
.cart-remove { border: 0; background: none; color: #b9c0cc; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.cart-remove:hover { color: #d5342b; }

.cart-summary {
  background: #f6f8fc; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  position: sticky; top: 16px;
}
.cart-summary h3 { margin: 0 0 14px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 800; color: var(--ink); }
.cart-empty { text-align: center; padding: 56px 20px; }
.cart-empty .big { font-size: 46px; }

.order-form { display: none; margin-top: 22px; }
.order-form .field { margin-bottom: 14px; }
.order-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.order-form input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; box-sizing: border-box;
}
.order-form input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr auto; }
  .cart-line { text-align: left; }
  .cart-summary { position: static; }
}

/* ---- Order & pay-by-link flow ---- */
.order-steps { list-style: none; counter-reset: os; margin: 18px 0 0; padding: 0; }
.order-steps li {
  counter-increment: os; position: relative; padding: 6px 0 6px 34px;
  font-size: 13.5px; color: var(--muted); line-height: 1.35;
}
.order-steps li::before {
  content: counter(os); position: absolute; left: 0; top: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.order-note {
  background: #f2f7ff; border: 1px solid #d5e3ff; color: #24405f;
  border-radius: 10px; padding: 11px 13px; font-size: 12.8px; line-height: 1.45;
  margin: 0 0 16px;
}
.order-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
