/* =========================================================
   Ideas Printhouse Ltd — Storefront styles
   Brand: royal blue + signal yellow, taken from the logo.
   ========================================================= */

:root {
  --brand-blue: #322F7B;
  --brand-blue-dark: #211F54;
  --brand-blue-soft: #EEEEFA;
  --brand-yellow: #EAC53D;
  --brand-yellow-dark: #BF9D1A;
  --ink: #0F1230;
  --ink-soft: #4B4F6B;
  --line: #E4E7F2;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FC;
  --success: #1F9D55;
  --danger: #D43F3F;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 18, 48, 0.06);
  --shadow: 0 6px 18px rgba(15, 18, 48, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 18, 48, 0.14);
  --container: 1200px;
  --header-h: 78px;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 0.4em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex; gap: 22px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.topbar a { color: #fff; opacity: 0.9; }
.topbar .meta { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.header .container {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}
.header .logo {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; flex: 0 0 auto;
}
.header .logo img { height: 50px; width: auto; }
.nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-left: 14px; flex: 1;
}
.nav a {
  color: var(--ink); padding: 8px 12px; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { background: var(--brand-blue-soft); text-decoration: none; }
.nav a.active { color: var(--brand-blue); background: var(--brand-blue-soft); }
.header .actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; background: transparent; border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: all .15s ease;
}
.icon-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--brand-yellow); color: var(--ink);
  font-size: 0.7rem; font-weight: 700;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: all .15s ease;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-dark); text-decoration: none; }
.btn-yellow { background: var(--brand-yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--brand-yellow-dark); text-decoration: none; }
.btn-outline { border-color: var(--brand-blue); color: var(--brand-blue); background: #fff; }
.btn-outline:hover { background: var(--brand-blue); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 85% -20%, rgba(234, 197, 61, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(50, 47, 123, 0.20), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--brand-blue-soft) 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 64px 22px 72px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; color: var(--ink-soft);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 { margin-top: 14px; }
.hero h1 .accent { color: var(--brand-blue); }
.hero p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 540px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero .stats {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 540px;
}
.hero .stat strong { display: block; font-size: 1.6rem; color: var(--ink); font-family: var(--font-display); }
.hero .stat span { font-size: 0.85rem; color: var(--ink-soft); }
.hero-art {
  position: relative; height: 400px; border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--brand-blue) 0%, #4641A8 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-art .blob {
  position: absolute; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink);
}
.hero-art .blob-1 { top: 30px; left: 30px; width: 220px; height: 130px; transform: rotate(-6deg); font-size: 1.05rem; padding: 16px; flex-direction: column; align-items: flex-start; }
.hero-art .blob-1 .small { font-size: 0.75rem; color: var(--ink-soft); font-weight: 500; }
.hero-art .blob-2 { bottom: 40px; right: 36px; width: 180px; height: 220px; transform: rotate(7deg); padding: 14px; flex-direction: column; align-items: flex-start; }
.hero-art .blob-2 .swatch { display: flex; gap: 8px; margin-top: 10px; }
.hero-art .blob-2 .swatch span { width: 20px; height: 20px; border-radius: 50%; }
.hero-art .blob-3 {
  top: 180px; left: 220px; width: 160px; height: 90px;
  background: var(--brand-yellow); color: var(--ink); transform: rotate(3deg);
  font-size: 1rem;
}
/* Variant: hero-art that hosts a real photo instead of the blob art */
.hero-photo {
  /* Override the diagonal-stripe gradient inherited from .hero-art */
  background: var(--brand-blue) !important;
  padding: 0;
  /* Square aspect ratio matches the brand banner perfectly */
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 540px;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: contain; /* show full banner, no cropping */
  display: block;
}

/* Catalogue flipbook (view-only) */
.catalogue-flip {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}
.cat-nav {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 2rem; line-height: 1;
  color: var(--brand-blue);
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.cat-nav:hover:not(:disabled) {
  background: var(--brand-blue); color: #fff;
  border-color: var(--brand-blue);
  transform: scale(1.05);
}
.cat-nav:disabled {
  opacity: 0.3; cursor: not-allowed;
}
.cat-stage {
  position: relative;
  max-width: 900px; width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  cursor: pointer; /* whole stage is clickable to flip */
  touch-action: pan-y; /* allow vertical scroll, capture horizontal swipes */
}
.cat-stage img {
  display: block;
  width: 100%; height: auto;
  pointer-events: none; /* clicks pass through to the stage */
  -webkit-user-drag: none;
  user-drag: none;
}
.cat-overlay {
  /* transparent overlay — kept thin so it doesn't block clicks */
  position: absolute; inset: 0;
  background: transparent;
  pointer-events: none;
}

/* Subtle hover hints — chevrons that fade in on hover, fade out on mobile */
.cat-hint {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 60px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; line-height: 1;
  color: #fff;
  background: rgba(50, 47, 123, 0.35);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cat-hint-left  { left: 12px; }
.cat-hint-right { right: 12px; }
.cat-stage:hover .cat-hint { opacity: 1; }

/* Slide animation between pages */
.cat-page {
  animation-duration: .35s;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1);
  animation-fill-mode: both;
}
.cat-page.anim-next { animation-name: slideInNext; }
.cat-page.anim-prev { animation-name: slideInPrev; }

@keyframes slideInNext {
  from { transform: translateX(8%);  opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}
@keyframes slideInPrev {
  from { transform: translateX(-8%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* Disable hover hints on touch devices */
@media (hover: none) {
  .cat-stage:hover .cat-hint { opacity: 0; }
}
.cat-meta {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cat-meta span { color: var(--ink-soft); font-size: 0.92rem; }
.cat-meta input[type="range"] {
  width: 300px; max-width: 60vw;
  accent-color: var(--brand-blue);
}
@media (max-width: 720px) {
  .catalogue-flip { padding: 14px; gap: 8px; }
  .cat-nav { width: 44px; height: 44px; font-size: 1.5rem; }
}

/* Wide banner at the top of the Services page */
.services-hero-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}

/* ---------- Sections ---------- */
section.section { padding: 64px 0; }
section.section.tight { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; max-width: 540px; }
.section-head a { font-weight: 600; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: #fff;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .15s ease; cursor: pointer;
  min-height: 170px; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--brand-blue-soft); transition: all .25s ease;
}
.cat-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card:hover::before { background: var(--brand-yellow); opacity: 0.4; }
.cat-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; font-size: 1.4rem;
}
.cat-card h3 { margin: 4px 0 0; position: relative; z-index: 1; }
.cat-card p { margin: 0; font-size: 0.9rem; position: relative; z-index: 1; }
.cat-card .arrow { margin-top: auto; color: var(--brand-blue); font-weight: 600; font-size: 0.9rem; position: relative; z-index: 1; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .15s ease; cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .thumb {
  aspect-ratio: 4/3; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card .thumb svg { width: 80%; height: 80%; }
.product-card .badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand-yellow); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 0.75rem; text-transform: uppercase; color: var(--brand-blue); font-weight: 600; letter-spacing: 0.08em; }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card .price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.product-card .price strong { color: var(--ink); font-size: 1.15rem; font-family: var(--font-display); }
.product-card .price span.from { font-size: 0.78rem; color: var(--ink-soft); }
.product-card .price s { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------- Shop layout ---------- */
.shop-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.shop-aside {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; height: fit-content;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.shop-aside h4 { margin: 0 0 10px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.filter-list { list-style: none; padding: 0; margin: 0 0 18px; }
.filter-list li { margin-bottom: 4px; }
.filter-list button {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: transparent; border: none; text-align: left;
  padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 0.95rem;
}
.filter-list button:hover { background: var(--brand-blue-soft); }
.filter-list button.active { background: var(--brand-blue); color: #fff; font-weight: 600; }
.filter-list button .count { font-size: 0.78rem; color: var(--ink-soft); }
.filter-list button.active .count { color: rgba(255,255,255,0.8); }
.shop-toolbar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 18px; flex-wrap: wrap;
}
.shop-toolbar .count-text { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pd-gallery {
  background: var(--bg-soft); border-radius: var(--radius-lg);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); padding: 30px;
}
.pd-gallery svg { width: 80%; height: 80%; }
.pd-info .crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.pd-info .crumbs a { color: var(--brand-blue); }
.pd-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pd-info .price-block { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 14px; }
.pd-info .price-block strong { font-size: 2rem; color: var(--brand-blue); font-family: var(--font-display); }
.pd-info .price-block s { color: var(--ink-soft); }
.pd-info .desc { color: var(--ink-soft); }
.pd-info .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.pd-info .field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.pd-info select, .pd-info input[type="number"] {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-family: inherit; font-size: 0.95rem; background: #fff;
}
.qty-row { display: flex; gap: 12px; align-items: center; }
.qty-row .qty-input { width: 100px; }

/* Artwork upload block on product detail page */
.artwork-block {
  margin: 18px 0;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.artwork-block .field { margin-bottom: 12px; }
.artwork-block .field:last-child { margin-bottom: 0; }
.artwork-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.artwork-head strong { font-size: 1.05rem; color: var(--ink); }
.artwork-hint { font-size: 0.78rem; color: var(--ink-soft); }
.file-drop {
  display: block;
  cursor: pointer;
  position: relative;
}
.file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-drop input[type="file"]:disabled {
  cursor: not-allowed;
}
.file-drop-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  transition: all .15s ease;
}
.file-drop:hover .file-drop-inner {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
  color: var(--ink);
}
.file-drop input:disabled + .file-drop-inner {
  opacity: 0.6;
}
.field small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pd-tabs { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.pd-tabs .tab-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pd-tabs .tab-bar button {
  background: transparent; border: none; padding: 12px 16px;
  font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.pd-tabs .tab-bar button.active { color: var(--brand-blue); border-color: var(--brand-blue); }

/* ---------- Cart / Checkout ---------- */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.cart-table {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.cart-row {
  display: grid; grid-template-columns: 80px 1fr auto auto auto;
  gap: 14px; align-items: center; padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .thumb {
  width: 80px; height: 80px; border-radius: 8px;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.cart-row .name { font-weight: 600; }
.cart-row .meta { font-size: 0.85rem; color: var(--ink-soft); }
.cart-row .qty { display: flex; align-items: center; gap: 6px; }
.cart-row .qty button {
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff;
}
.cart-row .qty input { width: 44px; text-align: center; border: 1px solid var(--line); border-radius: 6px; padding: 4px; font-size: 0.9rem; }
.cart-row .remove { background: transparent; border: 0; color: var(--danger); cursor: pointer; }
.summary {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h3 { margin: 0 0 10px; }
.summary .line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-soft); }
.summary .line.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.empty {
  text-align: center; padding: 60px 20px;
  background: var(--bg-soft); border-radius: var(--radius);
  border: 1px dashed var(--line);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field-input {
  display: flex; flex-direction: column; gap: 6px;
}
.field-input input, .field-input select, .field-input textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font-family: inherit; font-size: 0.95rem; background: #fff;
}
.field-input input:focus, .field-input select:focus, .field-input textarea:focus {
  outline: 2px solid var(--brand-blue); outline-offset: 2px; border-color: var(--brand-blue);
}
.field-input label { font-size: 0.85rem; font-weight: 600; }

/* ---------- About / Services ---------- */
.about-hero { padding: 60px 0 30px; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.about-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 22px;
  border-left: 4px solid var(--brand-yellow);
}
.about-card h3 { margin: 0 0 6px; }
.about-card p { margin: 0; font-size: 0.95rem; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: all .15s ease;
}
.svc-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow); }
.svc-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), #5B57BD);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.6rem;
}
.svc-card h3 { margin: 0 0 6px; }
.svc-card ul { padding-left: 18px; margin: 10px 0 0; color: var(--ink-soft); }
.svc-card ul li { margin-bottom: 4px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .15s ease; }
.blog-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-card .cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-blue), #5B57BD);
  position: relative;
}
.blog-card .cover.alt-1 { background: linear-gradient(135deg, var(--brand-yellow), #C99B00); }
.blog-card .cover.alt-2 { background: linear-gradient(135deg, #322F7B, #ff6b6b); }
.blog-card .cover.alt-3 { background: linear-gradient(135deg, #1f9d55, #322F7B); }
.blog-card .body { padding: 18px; }
.blog-card .meta { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.blog-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
.contact-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 22px;
  margin-bottom: 14px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: 0.95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(234, 197, 61, 0.4), transparent 60%),
    linear-gradient(135deg, var(--brand-blue) 0%, #2d4dfb 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 24px;
}
.cta-banner h2 { color: #fff; margin: 0 0 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.trust-strip .item { display: flex; gap: 12px; align-items: center; }
.trust-strip .item .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-yellow); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-strip .item strong { display: block; font-size: 0.95rem; }
.trust-strip .item span { color: var(--ink-soft); font-size: 0.82rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9CDE6; margin-top: 60px; }
.footer .container {
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px; padding: 56px 22px 30px;
}
.footer h5 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #C9CDE6; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .brand-block img { height: 60px; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer .brand-block p { font-size: 0.95rem; color: #9298BC; }
.footer .socials { display: flex; gap: 8px; margin-top: 14px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff; transition: all .15s ease;
}
.footer .socials a:hover { background: var(--brand-blue); }
.footer .copy {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0;
  text-align: center; font-size: 0.85rem; color: #7B8099;
}

/* ---------- Notification toast ---------- */
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center;
  animation: toastIn 0.25s ease-out;
}
.toast .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- Misc ---------- */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-blue-soft); color: var(--brand-blue);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  margin-right: 4px;
}
.tag.yellow { background: rgba(234,197,61,0.25); color: var(--brand-yellow-dark); }

.alert {
  background: var(--brand-blue-soft); border: 1px solid #c9d2ff;
  border-radius: var(--radius); padding: 14px 16px;
  color: var(--ink); margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding: 48px 22px; }
  .hero-art { height: 320px; order: -1; }
  .hero .stats { max-width: none; }
  .pd-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .menu-toggle { display: inline-flex; }
  .header .container { gap: 8px; }
  .header .logo img { height: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; padding: 40px 22px 20px; }
  .topbar .meta { gap: 12px; }
  .topbar .meta .hide-sm { display: none; }
  .cart-row { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .cart-row .thumb { width: 60px; height: 60px; }
  .cart-row .col-price, .cart-row .col-total { display: none; }
}
