/* ==========================================================================
   BuildNova Technology — Storefront Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --ink-900: #0f1222;
  --ink-800: #171a2e;
  --ink-700: #242844;
  --ink-500: #4a4f70;
  --ink-400: #6b7091;
  --ink-300: #9aa0bd;
  --line: #e7e9f3;
  --line-strong: #d7dae8;
  --surface: #f6f7fb;
  --surface-2: #eef0f8;
  --white: #ffffff;

  --brand-700: #3b2fb0;
  --brand-600: #4f46e5;
  --brand-500: #6366f1;
  --brand-100: #eceafe;
  --accent-600: #d97706;
  --accent-500: #f59e0b;
  --accent-100: #fef3c7;
  --success: #0f9d58;
  --success-bg: #e6f6ee;
  --danger: #dc2626;
  --danger-bg: #fdeaea;

  --shadow-sm: 0 1px 2px rgba(16, 18, 34, .06), 0 1px 3px rgba(16, 18, 34, .05);
  --shadow-md: 0 6px 20px rgba(16, 18, 34, .08);
  --shadow-lg: 0 20px 50px rgba(16, 18, 34, .16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1240px;
  --header-h: 116px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink-900); letter-spacing: -.01em; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 7vw, 92px); }
.section--tight { padding-block: clamp(32px, 4vw, 52px); }
.muted { color: var(--ink-400); }
.center { text-align: center; }
.hidden { display: none !important; }
.grid { display: grid; gap: 24px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-top: 8px; }
.section-head p { color: var(--ink-400); max-width: 52ch; margin-top: 8px; }
.section-head .link-more { color: var(--brand-600); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section-head .link-more:hover { gap: 10px; }

.value--card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.value--card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value--card .ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  font-size: 1.3rem;
}
.value--card h3 { font-size: 1.25rem; }
.value--card p { margin-top: 10px; color: var(--ink-500); }

/* Buttons */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--radius-full);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--accent { --btn-bg: var(--accent-500); --btn-fg: #3a2a05; }
.btn--dark { --btn-bg: var(--ink-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-800); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px;
  border-radius: var(--radius-full); background: var(--surface-2);
  font-size: .8rem; font-weight: 600; color: var(--ink-500);
}

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--radius-full); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.badge--sale { background: var(--danger-bg); color: var(--danger); }
.badge--new { background: var(--brand-100); color: var(--brand-700); }
.badge--out { background: var(--surface-2); color: var(--ink-400); }
.badge--hot { background: var(--accent-100); color: var(--accent-600); }

/* ============================ Announcement bar ========================== */
.announce { background: linear-gradient(90deg, var(--ink-900), var(--brand-700)); color: #fff; font-size: .82rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 9px; text-align: center; }
.announce strong { color: var(--accent-500); }

/* ================================ Header ================================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: #ffffff; backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.header-main { display: flex; align-items: center; gap: 26px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__wordmark { width: min(330px, 42vw); height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.brand__mark { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink-900); line-height: 1.05; }
.brand__name span { display: block; font-family: var(--font-body); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-600); }

.search { flex: 1; max-width: 560px; position: relative; }
.search input { width: 100%; padding: 13px 46px 13px 44px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.search .search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-300); pointer-events: none; }
.search__results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 70; max-height: 66vh; overflow-y: auto; }
.search__results a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.search__results a:hover { background: var(--surface); }
.search__results img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.search__results .t { font-weight: 600; font-size: .9rem; }
.search__results .p { color: var(--brand-600); font-weight: 700; font-size: .85rem; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: var(--radius-full); display: grid; place-items: center; color: var(--ink-700); transition: background .2s, color .2s, transform .15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--brand-600); transform: translateY(-1px); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { transition: transform .2s var(--ease); }
.icon-btn:hover svg { transform: scale(1.1); }
.header-actions a[title="Wishlist"]:hover svg { fill: rgba(220, 38, 38, .14); stroke: #dc2626; }
.header-actions a[title="Cart"]:hover svg { stroke: var(--brand-600); }
.icon-btn .count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 7px rgba(217, 119, 6, .55); border: 2px solid #fff; animation: badge-pop .32s var(--ease); }
@keyframes badge-pop { from { transform: scale(0); } 60% { transform: scale(1.28); } to { transform: scale(1); } }
.acc-avatar { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff !important; font-weight: 700; font-family: var(--font-display); font-size: 1.02rem; box-shadow: var(--shadow-sm); }
.acc-avatar:hover { color: #fff !important; filter: brightness(1.1); transform: translateY(-1px); }

.header-nav { border-top: 1px solid var(--line); background: #ffffff; width: 100%; display: block !important; }
.header-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; padding-block: 2px; }
.header-nav .container::-webkit-scrollbar { display: none; }
.header-nav a { padding: 10px 14px; font-weight: 700; font-size: .92rem; color: #1e293b; position: relative; text-decoration: none; flex-shrink: 0; border-radius: 8px; transition: background .15s, color .15s; }
.header-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2.5px; background: var(--brand-600); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); border-radius: 2px; }
.header-nav a:hover { background: var(--surface); color: var(--brand-600); }
.header-nav a.active { color: var(--brand-700); background: var(--brand-50, #eef2ff); }
.header-nav a.active::after { transform: scaleX(1); }
.nav-cats { position: relative; }
.nav-cats > button { display: inline-flex; align-items: center; gap: 7px; padding: 13px 15px; font-weight: 600; font-size: .93rem; color: var(--ink-700); }
.mega { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 4px; min-width: 560px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s var(--ease); z-index: 80; }
.nav-cats:hover .mega, .nav-cats:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; }
.mega a:hover { background: var(--surface); color: var(--brand-700); }
.mega a::after { display: none; }
.mega .c { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.mega small { color: var(--ink-300); font-weight: 600; }

.menu-toggle { display: none; }

/* ============================== Hero ==================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 80% 0%, #211d55 0%, #131530 45%, #0f1222 100%); color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 30%, rgba(245, 158, 11, .16), transparent 40%), radial-gradient(circle at 90% 80%, rgba(99, 102, 241, .28), transparent 45%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1fr .95fr; gap: 32px; align-items: center; min-height: 540px; padding-block: 60px; }
.hero__content { max-width: 620px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--radius-full); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 22px; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; }
.hero h1 em { font-style: italic; color: var(--accent-500); }
.hero p { color: #c9cbe4; font-size: 1.1rem; margin-top: 20px; max-width: 44ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; align-items: center; }
.hero__cta .btn { min-width: 180px; }
.hero__stats { display: flex; gap: 28px; margin-top: 36px; justify-content: flex-start; align-items: flex-end; }
.hero__stats .n { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: #fff; }
.hero__stats .l { color: #a5a8c9; font-size: .82rem; }
.hero__art { position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .float-card { position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(255, 255, 255, .96); color: var(--ink-800); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-md); }
.hero__art .float-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; }

/* ============================ Trust bar ================================= */
.trustbar { background: var(--ink-900); color: #fff; }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-block: 22px; }
.trust { display: flex; align-items: center; gap: 14px; padding: 6px 12px; }
.trust .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--accent-500); flex-shrink: 0; }
.trust b { display: block; font-size: .95rem; }
.trust span { color: #a5a8c9; font-size: .8rem; }

/* ========================== Category cards ============================= */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1.08; box-shadow: var(--shadow-sm); background: var(--surface-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); color: rgba(255, 255, 255, .92); background: linear-gradient(155deg, hsl(var(--h, 240) 48% 34%), hsl(var(--h, 240) 58% 16%)); }
.cat-card__ph::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .16), transparent 45%); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .55s var(--ease); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(15, 18, 34, .88) 4%, rgba(15, 18, 34, .38) 42%, rgba(15, 18, 34, .04) 74%); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; z-index: 3; }
.cat-card__body h3 { color: #fff; font-size: 1.12rem; }
.cat-card__body span { font-size: .8rem; color: #d7d8ec; }
.cat-card__body .go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .84rem; color: var(--accent-500); opacity: 0; transform: translateY(6px); transition: all .25s var(--ease); }
.cat-card:hover .go { opacity: 1; transform: translateY(0); }

/* ========================== Product cards ============================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 1/1; background: var(--surface-2); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card__wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink-500); box-shadow: var(--shadow-sm); z-index: 2; opacity: 0; transform: translateY(-6px); transition: all .2s var(--ease); }
.product-card:hover .product-card__wish { opacity: 1; transform: translateY(0); }
.product-card__wish:hover, .product-card__wish.active { color: var(--danger); }
.product-card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(10px); transition: all .22s var(--ease); }
.product-card:hover .product-card__quick { opacity: 1; transform: translateY(0); }
.product-card__body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.product-card__title { font-family: var(--font-body); font-weight: 600; font-size: .96rem; color: var(--ink-800); margin: 5px 0 8px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card__title:hover { color: var(--brand-600); }
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-500); font-size: .78rem; }
.stars span { color: var(--ink-300); margin-left: 4px; }
.product-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 10px; }
.product-card__price .now { font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; color: var(--ink-900); }
.product-card__price .was { text-decoration: line-through; color: var(--ink-300); font-size: .9rem; }

/* ============================ Promo banner ============================= */
.promo { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, var(--brand-700), #2a1f7a 60%, var(--ink-900)); color: #fff; position: relative; }
.promo::after { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .35), transparent 65%); }
.promo .inner { position: relative; padding: clamp(36px, 5vw, 64px); max-width: 620px; }
.promo h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.promo p { color: #d3d5ee; margin: 14px 0 26px; font-size: 1.05rem; }

/* ============================ Testimonials ============================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review .stars { font-size: .95rem; }
.review p { margin: 14px 0 20px; color: var(--ink-700); }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; }
.review .who b { display: block; font-size: .92rem; }
.review .who span { color: var(--ink-400); font-size: .8rem; }

/* ============================== Newsletter ============================= */
.newsletter { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); text-align: center; }
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.newsletter p { color: var(--ink-400); margin: 12px auto 26px; max-width: 46ch; }
.newsletter form { display: flex; gap: 10px; max-width: 500px; margin-inline: auto; }
.newsletter input { flex: 1; padding: 15px 20px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); background: #fff; }
.newsletter input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }

/* ================================ Footer =============================== */
.site-footer { background: var(--ink-900); color: #c4c7de; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 56px; align-items: start; }
.footer-top > div { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #a9adcd; font-size: .92rem; line-height: 2.1; transition: color .15s; }
.footer-top > div > a { display: block; width: fit-content; line-height: 1.7; margin-top: 8px; }
.footer-top > div > a:first-of-type { margin-top: 0; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand__logo { display: inline-flex; width: min(340px, 100%); margin-bottom: 10px; }
.footer-brand__logo img { width: 100%; height: auto; display: block; }
.footer-brand p { margin: 18px 0; max-width: 34ch; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--brand-600); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom__legal { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom__legal a { color: rgba(255,255,255,.55); font-size: .78rem; text-decoration: none; white-space: nowrap; }
.footer-bottom__legal a:hover { color: #fff; }
.co-free-ship { color: #16a34a; font-weight: 700; }
.co-ship-note { font-size: .8rem; color: var(--ink-500); margin-top: 4px; }
.co-ship-note--free { color: #15803d; font-weight: 600; }
.pay-icons span { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }

/* ============================= Breadcrumb ============================== */
.crumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-400); padding-block: 20px; }
.crumb a:hover { color: var(--brand-600); }
.crumb .sep { color: var(--ink-300); }

/* ============================= Page banner ============================= */
.page-banner { background: linear-gradient(120deg, var(--ink-900), var(--brand-700)); color: #fff; padding-block: clamp(40px, 6vw, 72px); text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-banner p { color: #c9cbe4; margin-top: 12px; }

/* ============================ Shop layout ============================== */
.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h4 { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); margin: 20px 0 12px; }
.filters h4:first-child { margin-top: 0; }
.filter-list { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.filter-list a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; font-size: .9rem; color: var(--ink-700); }
.filter-list a:hover { background: var(--surface); }
.filter-list a.active { background: var(--brand-100); color: var(--brand-700); font-weight: 600; }
.filter-list a .n { color: var(--ink-300); font-size: .8rem; }
.price-row { display: flex; gap: 10px; align-items: center; }
.price-row input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: 9px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-toolbar select { padding: 11px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-full); background: #fff; font-weight: 500; }
.filter-toggle { display: none; }

/* ============================ Pagination =============================== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; }
.pagination button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 600; color: var(--ink-700); transition: all .15s; }
.pagination button:hover:not([disabled]) { border-color: var(--brand-500); color: var(--brand-600); }
.pagination button.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pagination button[disabled] { opacity: .4; cursor: not-allowed; }

/* ============================ Product page ============================= */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1/1; border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); }
.gallery__thumbs button.active { border-color: var(--brand-600); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info .cat { color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.pdp__info h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 10px 0 14px; }
.pdp__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 22px; }
.pdp__price .now { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink-900); }
.pdp__price .was { text-decoration: line-through; color: var(--ink-300); font-size: 1.2rem; }
.pdp__price .save { background: var(--danger-bg); color: var(--danger); padding: 5px 12px; border-radius: var(--radius-full); font-weight: 700; font-size: .82rem; }
.pdp__desc { color: var(--ink-700); margin-bottom: 26px; }
.pdp__meta { display: grid; gap: 10px; margin: 22px 0; }
.pdp__meta div { display: flex; gap: 10px; font-size: .9rem; }
.pdp__meta b { min-width: 110px; color: var(--ink-500); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-full); overflow: hidden; }
.qty button { width: 44px; height: 48px; font-size: 1.2rem; color: var(--ink-600); }
.qty button:hover { background: var(--surface); color: var(--brand-600); }
.qty input { width: 52px; height: 48px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp__actions { display: flex; gap: 12px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.pdp__assur { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.pdp__assur .a { display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.pdp__assur .a .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); color: var(--brand-600); display: grid; place-items: center; flex-shrink: 0; }

/* ============================= Cart page =============================== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row__img { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__title { font-weight: 600; color: var(--ink-800); }
.cart-row__title:hover { color: var(--brand-600); }
.cart-row__meta { color: var(--ink-400); font-size: .85rem; margin-top: 4px; }
.cart-row__remove { color: var(--ink-400); font-size: .84rem; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.cart-row__remove:hover { color: var(--danger); }
.cart-row__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-row__price { font-weight: 700; font-size: 1.05rem; }
.qty--sm button { width: 34px; height: 38px; font-size: 1rem; }
.qty--sm input { width: 40px; height: 38px; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { font-size: 1.2rem; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--ink-600); }
.summary__row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.2rem; font-weight: 700; color: var(--ink-900); }
.summary__row.total .amt { font-family: var(--font-display); }
.ship-hint { background: var(--success-bg); color: var(--success); border-radius: 10px; padding: 10px 14px; font-size: .84rem; font-weight: 600; margin: 14px 0; text-align: center; }

/* ============================== Checkout =============================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 34px; align-items: start; }
.checkout-account { background: var(--brand-100); border: 1px solid #d9d5ff; border-radius: var(--radius); padding: 18px 20px; margin: -4px 0 22px; }
.checkout-account__toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkout-account__toggle input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-600); flex-shrink: 0; }
.checkout-account__toggle b, .checkout-account__toggle small { display: block; }
.checkout-account__toggle b { color: var(--ink-900); font-size: .94rem; }
.checkout-account__toggle small { color: var(--ink-500); font-size: .8rem; margin-top: 3px; }
.checkout-account__password { margin: 16px 0 0 30px; }
.checkout-account__password input { background: #fff; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.form-card h3 { font-size: 1.15rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.form-card h3 .step { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: .9rem; font-family: var(--font-body); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-600); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: var(--surface); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-options { display: grid; gap: 12px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:hover { border-color: var(--brand-400); }
.pay-option input { accent-color: var(--brand-600); width: 18px; height: 18px; }
.pay-option.selected { border-color: var(--brand-600); background: var(--brand-100); }
.pay-option b { display: block; font-size: .95rem; }
.pay-option span { font-size: .82rem; color: var(--ink-400); }
.co-items { max-height: 320px; overflow-y: auto; margin-bottom: 16px; }
.co-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-item img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.co-item .t { font-size: .88rem; font-weight: 600; }
.co-item .q { color: var(--ink-400); font-size: .8rem; }
.co-item .p { margin-left: auto; font-weight: 700; }

/* =========================== Empty & states =========================== */
.empty { text-align: center; padding: 70px 20px; }
.empty .ic { width: 90px; height: 90px; border-radius: 50%; background: var(--surface); color: var(--ink-300); display: grid; place-items: center; margin: 0 auto 22px; }
.empty h3 { font-size: 1.5rem; margin-bottom: 10px; }
.empty p { color: var(--ink-400); margin-bottom: 24px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-card { aspect-ratio: 1/1.5; }

/* =============================== Toast ================================= */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink-900); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .9rem; min-width: 260px; animation: slideIn .3s var(--ease); }
.toast .ic { color: var(--success); flex-shrink: 0; }
.toast.error .ic { color: #ff8a8a; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } }

/* ============================ Content pages ============================ */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p { color: var(--ink-700); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; color: var(--ink-700); }
#ab-details h2 { margin-top: 30px; margin-bottom: 12px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 10px; }
.about-fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.about-fact span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-300); font-weight: 700; margin-bottom: 5px; }
.about-fact b { display: block; font-size: .98rem; font-weight: 600; color: var(--ink-900); line-height: 1.5; word-break: break-word; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.value .ic { width: 56px; height: 56px; border-radius: 15px; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; margin: 0 auto 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; flex-shrink: 0; }

/* ============================= Blog pages ============================== */
.blog-page,
.blog-post-page {
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 32%),
    linear-gradient(180deg, #f8f7ff 0%, #ffffff 38%);
}

.blog-hero,
.blog-post-hero {
  padding: 74px 0 30px;
}

.blog-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 24px;
  align-items: start;
}

.blog-hero h1,
.blog-post-hero h1 {
  margin: 12px 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.blog-hero__card,
.blog-side-card,
.blog-post-card,
.blog-card {
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 24, 68, 0.08);
}

.blog-hero__card,
.blog-side-card {
  padding: 24px;
}

.blog-hero__card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #5d6486;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.blog-card {
  overflow: hidden;
}

.blog-card--featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.blog-card__media,
.blog-post-cover {
  display: block;
  min-height: 220px;
  background: linear-gradient(135deg, #eef2ff, #dbe4ff);
}

.blog-card__media img,
.blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #1e1b4b, #4f46e5 55%, #8b5cf6);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
}

.blog-card__body {
  padding: 22px;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #6a7092;
  font-size: .84rem;
  margin-bottom: 12px;
}

.blog-card__body h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.blog-card__body h3 a,
.blog-card__link {
  color: #1e2350;
  text-decoration: none;
}

.blog-card__body p {
  margin: 0;
  color: #5f6689;
}

.blog-card__link {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
  color: #4f46e5;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 22px;
  align-items: start;
}

.blog-post-card {
  padding: 0;
  overflow: hidden;
}

.blog-post-card .page-content {
  padding: 28px;
}

.blog-post-card .page-content p,
.blog-post-card .page-content li {
  color: #4d5478;
}

/* ===================== Construction packages =========================== */
.construction-plan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.construction-plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.construction-plan-card__head {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 14px;
  font-size: 1.12rem;
}

.construction-plan-card details {
  border: 1px solid #eceef4;
  border-radius: 10px;
  background: #fff;
}

.construction-plan-card summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--ink-800);
  position: relative;
}

.construction-plan-card summary::-webkit-details-marker { display: none; }

.construction-plan-card summary::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-800);
}

.construction-plan-card details[open] summary::after {
  content: '-';
}

.construction-plan-card details p {
  padding: 0 14px 13px;
  color: var(--ink-500);
  font-size: .93rem;
}

.construction-plan-card .btn {
  margin-top: 8px;
}

.construction-selected {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--brand-700);
}

/* ============================ Confirmation ============================= */
.confirm { max-width: 620px; margin-inline: auto; text-align: center; }
.confirm .tick { width: 92px; height: 92px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 24px; }
.confirm .order-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 28px 0; text-align: left; }
.confirm .order-box .n { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-700); font-weight: 700; }

/* ============================== Backdrop =============================== */
.backdrop { position: fixed; inset: 0; background: rgba(15, 18, 34, .5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .2s; }
.backdrop.show { opacity: 1; visibility: visible; }

/* ============================= Responsive ============================== */
@media (max-width: 1024px) {
  :root { --header-h: 104px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__art { display: none; }
  .hero__cta, .hero__stats { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { padding-right: 0; }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .reviews, .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-hero__inner,
  .blog-card--featured,
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .search { order: 3; flex-basis: 100%; max-width: none; margin-top: 12px; }
  .header-main { flex-wrap: wrap; }
  .header-nav { display: block !important; }
  .menu-toggle { display: grid; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 18px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 100; border-radius: 0; transform: translateX(-100%); transition: transform .25s var(--ease); overflow-y: auto; }
  .filters.open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .brand__wordmark { width: min(245px, 70vw); max-height: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .trustbar .container { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .hero__stats { gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .product-card__title { min-height: auto; }
}

.brand__mark { overflow: hidden; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Mobile drawer nav */
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .25s var(--ease); padding: 24px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 13px 6px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink-800); }
.mobile-nav a:hover { color: var(--brand-600); }
.mobile-nav .close { margin-left: auto; margin-bottom: 12px; }

/* ===================== Cost calculator (public) ===================== */
.calc-page { padding-block: clamp(36px, 5vw, 64px); }
.calc-app { max-width: 1000px; margin: 0 auto; }
.calc-loading, .calc-empty { text-align: center; color: var(--ink-400); padding: 60px 20px; }
.calc-empty p { margin-bottom: 16px; font-size: 1.05rem; }
.calc-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--brand-600); border-radius: 50%; animation: calc-spin .7s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes calc-spin { to { transform: rotate(360deg); } }

/* System chooser */
.calc-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 20px; }
.calc-choice { text-align: left; padding: 15px 18px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.calc-choice:hover { border-color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.calc-choice.on { border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); }
.calc-choice b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink-900); line-height: 1.25; }

/* Sqft controls */
.calc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.calc-label { font-weight: 700; color: var(--ink-900); font-size: 1.02rem; }
.calc-field { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 4px 16px; background: var(--surface); transition: border-color .18s, box-shadow .18s, background .18s; }
.calc-field:focus-within { border-color: var(--brand-600); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.calc-field input { width: 128px; border: none; background: none; font-size: 1.6rem; font-weight: 800; color: var(--ink-900); padding: 6px 0; -moz-appearance: textfield; }
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field input:focus { outline: none; }
.calc-field span { font-weight: 700; color: var(--ink-400); font-size: 1rem; }
.calc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.calc-quick button { padding: 7px 13px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .82rem; color: var(--ink-500); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.calc-quick button:hover { border-color: var(--brand-600); color: var(--brand-600); }
.calc-quick button.on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* Detailed cost chart (mirrors the source cost sheets) */
.cc-sheet { border: 1.5px solid var(--ink-900); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cc-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 3vw, 1.6rem); padding: 12px 14px; border-bottom: 1.5px solid var(--ink-900); color: var(--ink-900); }
.cc-sub { text-align: center; font-weight: 700; padding: 8px; border-bottom: 1.5px solid var(--ink-900); color: var(--ink-700); }
.cc-scroll { overflow-x: auto; }
.cc-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.cc-table th, .cc-table td { border: 1px solid var(--ink-300); padding: 9px 10px; text-align: center; font-size: .86rem; vertical-align: middle; }
.cc-table thead th { background: var(--surface-2); font-weight: 700; font-size: .78rem; line-height: 1.25; color: var(--ink-800); }
.cc-table thead th small { display: block; font-weight: 500; color: var(--ink-400); font-size: .7rem; text-transform: none; }
.cc-table td.cc-l { text-align: left; }
.cc-table td.cc-sno { font-weight: 700; background: var(--surface); }
.cc-table tbody tr:hover { background: #fbfbfe; }
.cc-table td.cc-amt { font-weight: 700; color: var(--ink-900); white-space: nowrap; }

.cc-totals { display: flex; flex-direction: column; align-items: flex-end; }
.cc-tot { display: flex; width: min(380px, 100%); border-top: 1px solid var(--ink-300); }
.cc-tot span { flex: 1; padding: 10px 14px; text-align: right; font-weight: 700; background: var(--surface-2); border-right: 1px solid var(--ink-300); color: var(--ink-700); }
.cc-tot b { width: 42%; padding: 10px 14px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.cc-tot--hl { border-top: 1.5px solid var(--ink-900); }
.cc-tot--hl span { background: var(--brand-600); color: #fff; border-right-color: var(--brand-600); }
.cc-tot--hl b { color: var(--brand-600); font-size: 1.15rem; }

.cc-note { padding: 12px 15px; border-top: 1px solid var(--ink-300); background: var(--accent-100); color: var(--accent-600); font-size: .86rem; font-weight: 600; }

.calc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.calc-disclaimer { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--ink-400); max-width: 52ch; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .calc-quick { margin-left: 0; }
  .calc-cta { flex-direction: column; align-items: stretch; }
  .calc-actions { flex-direction: column; }
  .calc-actions .btn { width: 100%; }
}

@media print {
  body * { visibility: hidden !important; }
  #calc-sheet, #calc-sheet * { visibility: visible !important; }
  #calc-sheet { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
  .cc-sheet { box-shadow: none; border-color: #000; }
  .cc-scroll { overflow: visible !important; }
  .cc-table { min-width: 0 !important; }
  @page { margin: 12mm; }
}

/* ===================== Epoxy flooring services & booking ===================== */
.eyebrow { display: inline-block; color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; }
.eyebrow--light { color: var(--accent-500); }
.section--tint { background: var(--surface); }

/* Hero */
.svc-hero { background: linear-gradient(120deg, var(--ink-900) 0%, var(--brand-700) 100%); color: #fff; padding-block: clamp(46px, 7vw, 88px); }
.svc-hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.svc-hero__copy h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.08; margin-top: 12px; }
.svc-hero__copy p { color: #cfd2ec; margin-top: 16px; font-size: 1.06rem; max-width: 56ch; }
.svc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.svc-trust { display: flex; flex-wrap: wrap; gap: 26px 38px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.svc-trust div { display: flex; flex-direction: column; }
.svc-trust b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.svc-trust span { color: #b9bce0; font-size: .84rem; }

/* Hero quick card */
.svc-hero__card { background: #fff; color: var(--ink-800); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.svc-qc__ribbon { display: inline-block; background: var(--accent-100); color: var(--accent-600); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: var(--radius-full); }
.svc-qc__head h3 { font-family: var(--font-display); font-size: 1.4rem; margin-top: 12px; }
.svc-qc__head p { color: var(--ink-400); margin-top: 6px; font-size: .92rem; }
.svc-qc__price { display: flex; flex-direction: column; margin: 18px 0; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); }
.svc-qc__price span { font-size: .8rem; color: var(--ink-400); font-weight: 600; }
.svc-qc__price b { font-family: var(--font-display); font-size: 1.7rem; color: var(--brand-600); }
.svc-qc__list { margin: 0 0 20px; display: grid; gap: 9px; }
.svc-qc__list li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; }
.svc-qc__list svg { color: var(--success); flex-shrink: 0; }

/* Benefits */
.svc-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.svc-benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.svc-benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.svc-benefit__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-100); color: var(--brand-600); margin-bottom: 14px; }
.svc-benefit h3 { font-size: 1.08rem; margin-bottom: 6px; }
.svc-benefit p { color: var(--ink-400); font-size: .92rem; }

/* Use cases */
.svc-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.svc-use { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border-left: 4px solid var(--brand-600); }
.svc-use b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.svc-use span { color: var(--ink-400); font-size: .9rem; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.svc-card__top { margin-bottom: 14px; }
.svc-card__top h3 { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.svc-card__cond { display: inline-block; margin-top: 8px; font-size: .76rem; font-weight: 600; color: var(--ink-400); background: var(--surface); padding: 3px 10px; border-radius: var(--radius-full); }
.svc-card__rate { display: flex; flex-direction: column; padding: 14px 0; margin-bottom: 12px; border-block: 1px solid var(--line); }
.svc-card__rate span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-300); font-weight: 700; }
.svc-card__rate b { font-family: var(--font-display); font-size: 1.7rem; color: var(--brand-600); line-height: 1.1; }
.svc-card__rate small { color: var(--ink-400); font-size: .78rem; }
.svc-card__note { color: var(--accent-600); background: var(--accent-100); border-radius: 10px; padding: 9px 12px; font-size: .82rem; font-weight: 500; margin-bottom: 16px; }
.svc-card .btn { margin-top: auto; }

/* Booking layout */
.svc-book { display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; align-items: start; }
.svc-book__intro .eyebrow { color: var(--brand-600); }
.svc-book__intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-top: 8px; }
.svc-book__intro > p { color: var(--ink-400); margin-top: 12px; }
.svc-steps { margin: 26px 0; display: grid; gap: 18px; }
.svc-steps li { display: flex; gap: 15px; align-items: flex-start; }
.svc-steps li span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.svc-steps li b { display: block; font-size: 1rem; }
.svc-steps li p { color: var(--ink-400); font-size: .9rem; }
.svc-help { padding: 16px 18px; border-radius: var(--radius); background: var(--brand-100); color: var(--brand-700); font-size: .95rem; }

/* Booking form extras */
.svc-form-card { position: sticky; top: 90px; }
.svc-estimate { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(120deg, var(--brand-600), var(--brand-500)); color: #fff; }
.svc-estimate span { font-size: .8rem; font-weight: 600; opacity: .9; }
.svc-estimate b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.svc-estimate small { font-size: .74rem; opacity: .82; margin-top: 3px; }
.svc-consent { text-align: center; color: var(--ink-300); font-size: .78rem; margin-top: 12px; }

/* Confirmation */
.svc-note { display: block; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #eef2ff; color: #3730a3; font-size: .94rem; border: 1px solid #c7d2fe; }
.svc-done { text-align: center; padding: 20px 6px; }
.svc-done__ic { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 16px; }
.svc-done h3 { font-family: var(--font-display); font-size: 1.6rem; }
.svc-done p { color: var(--ink-400); margin-top: 8px; }
.svc-done__ref { display: inline-block; margin: 12px 0; padding: 10px 22px; border-radius: var(--radius); background: var(--ink-900); color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; }
.svc-done__est { color: var(--ink-700); }
.svc-done__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

@media (max-width: 920px) {
  .svc-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .svc-book { grid-template-columns: 1fr; gap: 30px; }
  .svc-form-card { position: static; }
}

/* ===================== Bookings, media, checkout shipping ===================== */
/* Booking status + payment tags */
.tag--new { background: #e6effd; color: #2563eb; }
.tag--contacted { background: var(--brand-100); color: var(--brand-700); }
.tag--confirmed { background: #ede9fe; color: #6d28d9; }
.tag--scheduled { background: var(--accent-100); color: var(--accent-600); }
.tag--in_progress { background: #e0f2f1; color: #0d9488; }
.tag--completed { background: var(--success-bg); color: var(--success); }
.tag--unpaid { background: var(--accent-100); color: var(--accent-600); }
.tag--partially_paid { background: #fff4cc; color: #a16207; }
.tag--paid { background: var(--success-bg); color: var(--success); }
.tag--refunded { background: var(--danger-bg); color: var(--danger); }

/* Checkout: weight-based shipping note */
.co-ship-note { margin-top: 12px; font-size: .82rem; color: var(--ink-500); background: var(--surface); border-radius: 10px; padding: 10px 12px; line-height: 1.5; }

/* Services confirmation: work-location media upload */
.svc-upload { margin-top: 20px; padding: 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); text-align: left; }
.svc-upload h4 { font-size: 1rem; margin-bottom: 4px; }
.svc-upload p { color: var(--ink-400); font-size: .88rem; margin-bottom: 12px; }
.svc-upload__list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.svc-upload__item { font-size: .84rem; color: var(--ink-500); background: var(--surface); border-radius: 8px; padding: 7px 11px; }
.svc-upload__item.ok { color: var(--success); background: var(--success-bg); }
.svc-upload__item.err { color: var(--danger); background: var(--danger-bg); }

/* ========================= Shop Page Redesign ========================= */
/* Hero */
.shop-hero {
  background:
    radial-gradient(circle at 15% 60%, rgba(99,102,241,.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(244,114,182,.22), transparent 40%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  color: #fff;
  padding-block: clamp(60px, 9vw, 112px);
  text-align: center;
}
.shop-hero__inner { max-width: 800px; margin: 0 auto; }
.shop-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
}
.shop-hero__h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 22px;
}
.shop-hero__accent {
  background: linear-gradient(90deg, #f59e0b 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.shop-hero__sub {
  color: rgba(255,255,255,.74);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.shop-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.shop-hero__pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.shop-hero__pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  font-size: .82rem;
  color: rgba(255,255,255,.82);
}

/* Category cards */
.shop-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.shop-cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  cursor: default;
}
.shop-cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.shop-cat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.shop-cat-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.shop-cat-card p { color: var(--ink-500); font-size: .9rem; line-height: 1.56; margin-bottom: 16px; }
.shop-cat-card__link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
}
.shop-cat-card:hover .shop-cat-card__link { gap: 8px; }

/* Quality strip */
.shop-qual-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.shop-qual-item {
  background: #fff;
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.shop-qual-item:last-child { border-right: none; }
.shop-qual-item svg { margin-bottom: 12px; color: var(--brand-600); display: block; margin-left: auto; margin-right: auto; }
.shop-qual-item b { display: block; font-size: .98rem; margin-bottom: 6px; }
.shop-qual-item p { color: var(--ink-500); font-size: .86rem; line-height: 1.5; margin: 0; }

/* Form two-column layout */
.shop-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.shop-form-aside { padding-top: 4px; }
.shop-form-aside h3 { font-size: 1.2rem; margin-bottom: 22px; }
.shop-form-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.shop-form-steps li { display: flex; gap: 14px; align-items: flex-start; }
.shop-form-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.shop-form-steps b { display: block; font-size: .96rem; margin-bottom: 4px; }
.shop-form-steps p { color: var(--ink-500); font-size: .88rem; line-height: 1.5; margin: 0; }
.shop-form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--brand-50, #eef2ff);
  border: 1px solid rgba(79,70,229,.15);
  font-size: .84rem;
  color: var(--ink-600);
  margin-top: 24px;
  line-height: 1.5;
}
.shop-form-note svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-600); }

/* Radio option style */
.ra-mode__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: .92rem;
}
.ra-mode__opt:has(input:checked) {
  border-color: var(--brand-600);
  background: var(--brand-50, #eef2ff);
}

/* Responsive */
@media (max-width: 960px) {
  .shop-form-layout { grid-template-columns: 1fr; gap: 24px; }
  .shop-form-aside { order: 2; }
  .shop-form-layout .form-card { order: 1; }
}
@media (max-width: 880px) {
  .shop-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-qual-strip { grid-template-columns: repeat(2, 1fr); }
  .shop-qual-item:nth-child(2) { border-right: none; }
  .shop-qual-item:nth-child(3) { border-top: 1px solid var(--line); }
  .shop-qual-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
}
@media (max-width: 540px) {
  .shop-cat-grid { grid-template-columns: 1fr; }
  .shop-qual-strip { grid-template-columns: 1fr; }
  .shop-qual-item { border-right: none; border-bottom: 1px solid var(--line); }
  .shop-qual-item:last-child { border-bottom: none; }
  .shop-hero__pills span { font-size: .78rem; padding: 7px 12px; }
}

/* ========================= Resin Art Shop ========================= */
.resin-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(46px, 8vw, 96px);
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, .22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, .22), transparent 30%),
    linear-gradient(135deg, #111827 0%, #1f2937 48%, #312e81 100%);
  color: #fff;
}
.resin-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.resin-hero__copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-top: 12px;
  max-width: 12ch;
}
.resin-hero__copy p {
  color: rgba(255, 255, 255, .8);
  margin-top: 16px;
  max-width: 56ch;
  font-size: 1.04rem;
}
.resin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.resin-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.resin-hero__stats div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}
.resin-hero__stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 3px;
}
.resin-hero__stats span {
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
}
.resin-hero__visual {
  position: relative;
  min-height: 430px;
}
.resin-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}
.resin-orb--a {
  width: 180px;
  height: 180px;
  top: 0;
  right: 14%;
  background: radial-gradient(circle, rgba(244, 114, 182, .95), rgba(244, 114, 182, .12));
}
.resin-orb--b {
  width: 240px;
  height: 240px;
  right: 0;
  bottom: 10%;
  background: radial-gradient(circle, rgba(245, 158, 11, .88), rgba(245, 158, 11, .12));
}
.resin-panels {
  position: absolute;
  inset: 70px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.resin-panel {
  border-radius: 28px;
  min-height: 250px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .16);
}
.resin-panel--dark { background: linear-gradient(160deg, #0f172a, #334155); transform: translateY(20px); }
.resin-panel--pearl { background: linear-gradient(160deg, #f8fafc, #e2e8f0 48%, #c084fc); transform: translateY(0); }
.resin-panel--amber { background: linear-gradient(160deg, #7c2d12, #f59e0b 55%, #fde68a); transform: translateY(42px); }
.resin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.resin-card {
  position: relative;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(250, 250, 255, .98)),
    #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.resin-card::after {
  content: '';
  position: absolute;
  inset: auto -25% -35% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, .16), transparent 70%);
}
.resin-card--hero {
  background: linear-gradient(140deg, #111827, #312e81 60%, #7c3aed);
  color: #fff;
  grid-row: span 2;
}
.resin-card--hero::after { background: radial-gradient(circle, rgba(255, 255, 255, .15), transparent 70%); }
.resin-card__tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  background: rgba(129, 140, 248, .14);
  color: var(--brand-700);
  margin-bottom: 14px;
}
.resin-card--hero .resin-card__tag {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.resin-card h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.14;
  margin-bottom: 10px;
}
.resin-card p {
  color: var(--ink-500);
  margin-bottom: 14px;
}
.resin-card--hero p, .resin-card--hero li { color: rgba(255, 255, 255, .78); }
.resin-card ul {
  display: grid;
  gap: 10px;
}
.resin-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-500);
  font-size: .92rem;
}
.resin-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.resin-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.resin-steps article {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.resin-steps span {
  display: inline-flex;
  margin-bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
}
.resin-steps h3 {
  font-size: 1.03rem;
  margin-bottom: 6px;
}
.resin-steps p {
  color: var(--ink-400);
  font-size: .92rem;
}
.resin-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ink-900), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.resin-cta h2 { color: #fff; margin-top: 8px; }
.resin-cta p { color: rgba(255, 255, 255, .78); max-width: 52ch; margin-top: 8px; }

@media (max-width: 1100px) {
  .resin-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .resin-hero__visual { min-height: 340px; }
  .resin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resin-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .resin-hero__stats { grid-template-columns: 1fr; }
  .resin-panels { inset: 40px 0 0 0; gap: 10px; }
  .resin-panel { min-height: 180px; }
  .resin-grid, .resin-steps { grid-template-columns: 1fr; }
  .resin-cta { flex-direction: column; align-items: stretch; }
}

.ra-ready-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ra-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ra-card__img {
  aspect-ratio: 1/1;
  background: linear-gradient(140deg, #fdf2f8, #f5f3ff 45%, #fff7ed);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.ra-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ra-card__img span {
  font-family: var(--font-display);
  color: var(--ink-400);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ra-card__ph-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.ra-sold-out {
  position: absolute;
  top: 9px;
  right: 9px;
  background: rgba(15,23,42,.7);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 100px;
}
.ra-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ra-card__type {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 700;
}
.ra-card__body h3 {
  font-size: 1rem;
  line-height: 1.3;
}
.ra-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink-900);
}
.ra-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.ra-card__actions .btn {
  flex: 1;
  justify-content: center;
}

.ra-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ra-mode label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .ra-ready-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ra-ready-grid { grid-template-columns: 1fr; }
  .ra-card__actions { flex-direction: column; }
}

/* ===================== Auth gate (register to order) ===================== */
.auth-gate-wrap { width: 100%; }
.auth-gate {
  text-align: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff, #f6f7fb);
  box-shadow: var(--shadow-sm);
}
.auth-gate__ic {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  margin-bottom: 14px;
}
.auth-gate h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.auth-gate p {
  color: var(--ink-400);
  max-width: 46ch;
  margin: 0 auto 20px;
}
.auth-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===================== Home page (unified theme) ===================== */
.hp-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
}
.hp-logos span {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  position: relative;
  padding-left: 26px;
}
.hp-logos span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-500), var(--brand-700));
  opacity: .85;
}
.hp-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hp-quote {
  margin: 0;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hp-quote__stars {
  color: var(--accent-500);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.hp-quote blockquote {
  margin: 0 0 16px;
  font-size: 1.02rem;
  color: var(--ink-700);
  line-height: 1.6;
}
.hp-quote figcaption b { display: block; font-family: var(--font-display); }
.hp-quote figcaption span { color: var(--ink-400); font-size: .86rem; }
@media (max-width: 900px) {
  .hp-quotes { grid-template-columns: 1fr; }
}

/* ===================== Floating contact (all pages) ===================== */
.support-assist {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100vw - 24px);
}
.support-assist__launcher,
.fab-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 15px;
  border-radius: var(--radius-full);
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(22, 163, 74, .35);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.support-assist__launcher:hover,
.fab-contact:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(22, 163, 74, .45); filter: brightness(1.02); }
.support-assist__launcher svg,
.fab-contact svg { flex-shrink: 0; }
.support-assist__launcher span,
.fab-contact span { font-size: .92rem; }
.support-panel {
  width: min(412px, calc(100vw - 24px));
  max-height: min(720px, calc(100vh - 110px));
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.support-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, var(--ink-900), var(--brand-700));
  color: #fff;
}
.support-panel__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  color: #fff;
}
.support-panel__head h3 { color: #fff; font-size: 1.15rem; margin-top: 2px; }
.support-panel__head p { color: rgba(255, 255, 255, .82); font-size: .88rem; margin-top: 4px; max-width: 30ch; }
.support-panel__eyebrow { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: #a5b4fc; font-weight: 800; }
.support-panel__online { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #16a34a; }
.support-panel__dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: blink 1.6s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.support-bubble--typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface-2);
  border-radius: 18px;
  border-top-left-radius: 6px;
  max-width: 80px;
}
.support-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-400);
  animation: bounce 1.2s infinite;
}
.support-bubble--typing span:nth-child(2) { animation-delay: .2s; }
.support-bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.support-panel__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  flex: 0 0 auto;
}
.support-panel__meta {
  display: grid;
  gap: 6px;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-500);
}
.support-chat {
  padding: 16px 16px 4px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, #fff, #fbfbfe);
  min-height: 180px;
  max-height: 300px;
}
.support-bubble {
  display: grid;
  gap: 10px;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.support-bubble p { color: inherit; }
.support-bubble--bot {
  background: var(--surface-2);
  color: var(--ink-800);
  border-top-left-radius: 6px;
}
.support-bubble--user {
  margin-left: auto;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  border-top-right-radius: 6px;
}
.support-bubble--user p { color: #fff; }
.support-bubble__action { align-self: start; }
.support-chips {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  flex-wrap: wrap;
}
.support-chip,
.support-panel__handoff-btn {
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-700);
  font-weight: 600;
  font-size: .82rem;
  padding: 8px 12px;
}
.support-panel__handoff-btn {
  margin: 12px 16px 0;
  background: var(--surface);
}
.support-form,
.support-handoff {
  display: grid;
  gap: 10px;
  padding: 12px 16px 16px;
}
.support-form {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.support-form input,
.support-handoff input,
.support-handoff textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.support-form input:focus,
.support-handoff input:focus,
.support-handoff textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.support-form button { justify-self: stretch; }
.support-handoff .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.support-handoff .field { display: grid; gap: 6px; }
.support-handoff label { font-size: .78rem; font-weight: 700; color: var(--ink-500); }
.support-handoff textarea { resize: vertical; min-height: 96px; }
.support-assist [hidden] { display: none !important; }
@media (max-width: 560px) {
  .support-assist { right: 12px; bottom: 12px; }
  .support-panel { width: calc(100vw - 24px); max-height: calc(100vh - 112px); }
  .support-form { grid-template-columns: 1fr; }
  .support-handoff .field-row { grid-template-columns: 1fr; }
  .support-assist__launcher span,
  .fab-contact span { display: none; }
  .support-assist__launcher,
  .fab-contact { padding: 14px; }
}

/* ========================= Auth Pages ========================= */
.auth-section {
  padding: 68px 0 90px;
  background: #f1f3f4;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  padding: 32px 32px 28px;
}
.auth-head {
  margin-bottom: 14px;
}
.auth-head h1 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 3vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #202124;
}
.auth-head p {
  margin: 0 0 18px;
  max-width: 640px;
  color: #5f6368;
  font-size: 1rem;
  line-height: 1.6;
}
.auth-tabs {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 26px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.auth-tabs button {
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #5f6368;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color .2s ease, border-color .2s ease;
}
.auth-tabs button.on {
  background: transparent;
  color: #1a73e8;
  border-color: #1a73e8;
  box-shadow: none;
}
.auth-form {
  display: grid;
  gap: 18px;
  width: 100%;
}
.auth-form .field {
  display: grid;
  gap: 8px;
  margin: 0;
}
.auth-form label {
  margin: 0;
  display: block;
  color: #202124;
  font-size: .95rem;
  font-weight: 500;
}
.auth-form input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-form input::placeholder {
  color: #9aa0a6;
}
.auth-form input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .12);
  background: #fff;
}
.auth-error {
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: #fce8e6;
  color: #d93025;
  font-size: .88rem;
}
#auth-submit,
.btn.btn--lg,
.auth-form button[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a73e8 0%, #1765cc 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
  transition: background .2s ease, transform .15s ease;
}
#auth-submit:hover,
.btn.btn--lg:hover,
.auth-form button[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1765cc 0%, #1557b8 100%);
}
.auth-alt {
  margin-top: 18px;
  text-align: left;
  color: #5f6368;
  font-size: .98rem;
}
.auth-alt a,
.auth-alt button.link-btn {
  color: #1a73e8;
  font-weight: 500;
}
.auth-alt button.link-btn {
  background: transparent;
  padding: 0;
}
@media (max-width: 720px) {
  .auth-section {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .auth-card {
    padding: 22px 18px 18px;
    border-radius: 14px;
  }
  .auth-head h1 {
    font-size: 2.1rem;
  }
  .auth-tabs {
    gap: 18px;
  }
  .auth-form input {
    min-height: 50px;
    padding: 12px 14px;
  }
  #auth-submit,
  .btn.btn--lg,
  .auth-form button[type="submit"] {
    min-height: 50px;
  }
}

/* ===================== Customer dashboard ===================== */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.dash-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px; position: sticky; top: 110px; }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.dash-av { width: 46px; height: 46px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; flex-shrink: 0; }
.dash-user__i { min-width: 0; }
.dash-user__i b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-user__i span { font-size: .78rem; color: var(--ink-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav button, .dash-nav__link { text-align: left; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink-700); transition: background .15s, color .15s; background: none; border: 0; cursor: pointer; text-decoration: none; width: 100%; display: block; }
.dash-nav button:hover, .dash-nav__link:hover { background: var(--surface-2); color: var(--brand-600); }
.dash-nav button.on { background: var(--brand-600); color: #fff; }
.dash-nav__link { color: var(--ink-400); }
.dash-nav__section { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink-400); margin: 12px 14px 4px; }
.dash-logout { margin-top: 8px; padding-top: 14px !important; border-top: 1px solid var(--line); color: var(--danger) !important; background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.dash-main { min-width: 0; }
.dash-head { margin-bottom: 20px; }
.dash-head h1 { font-family: var(--font-display); font-size: 1.7rem; margin: 0; }
.dash-head p { margin-top: 6px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.dash-stat span { font-size: .8rem; color: var(--ink-400); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.dash-stat b { display: block; font-size: 1.7rem; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.dash-stat--brand { background: linear-gradient(150deg, var(--brand-600), var(--brand-700)); border: none; color: #fff; }
.dash-stat--brand span { color: rgba(255, 255, 255, .8); }
.dash-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px 22px; margin-bottom: 20px; }
.dash-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-block__head h3 { font-size: 1.05rem; margin: 0; }
.link { color: var(--brand-600); font-weight: 600; font-size: .86rem; background: none; border: 0; cursor: pointer; text-decoration: underline; }
.dash-empty { padding: 26px; text-align: center; color: var(--ink-400); background: var(--surface); border-radius: var(--radius); }
.dash-empty a { color: var(--brand-600); font-weight: 600; }
.dash-form { padding: 24px; }
.dash-form .field { margin-bottom: 15px; }
.dash-form label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-500); margin-bottom: 7px; }
.dash-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: var(--surface); }
.dash-form input:focus { outline: none; border-color: var(--brand-600); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.dash-form input:disabled { opacity: .6; }
.ord-list { display: flex; flex-direction: column; gap: 14px; }
.ord-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.ord-card__top { display: flex; align-items: center; justify-content: space-between; }
.ord-no { font-weight: 700; }
.ord-items { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.ord-item { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: .82rem; }
.ord-item img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ord-card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; font-size: .84rem; }
.ord-total { font-weight: 800; font-size: 1.02rem; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: capitalize; }
.tag--pending { background: var(--accent-100); color: var(--accent-600); }
.tag--processing { background: #e6effd; color: #2563eb; }
.tag--shipped { background: var(--brand-100); color: var(--brand-700); }
.tag--delivered { background: var(--success-bg); color: var(--success); }
.tag--cancelled { background: var(--danger-bg); color: var(--danger); }

/* Dashboard Cart & Products styling */
.dash-cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.dash-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.dash-cart-item__left { display: flex; align-items: center; gap: 14px; min-width: 200px; flex: 1; }
.dash-cart-item__left img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-2); }
.dash-cart-item__title { font-weight: 700; font-size: .95rem; color: var(--ink-800); }
.dash-cart-item__meta { font-size: .82rem; color: var(--ink-500); margin-top: 2px; }
.dash-cart-item__right { display: flex; align-items: center; gap: 16px; }
.dash-cart-summary { background: linear-gradient(135deg, var(--surface-2) 0%, #fff 100%); border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; }
.dash-cart-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; color: var(--ink-600); }
.dash-cart-row.total { border-top: 1.5px solid var(--line-strong); padding-top: 12px; margin-top: 8px; font-weight: 800; font-size: 1.15rem; color: var(--ink-900); }
.dash-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dash-prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.dash-prod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dash-prod-card img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.dash-prod-card h4 { font-size: .95rem; font-weight: 700; color: var(--ink-800); margin: 0; line-height: 1.3; }
.dash-prod-card .price { font-weight: 800; color: var(--brand-600); font-size: 1rem; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav button, .dash-nav__link { width: auto; }
}
@media (max-width: 560px) {
  .dash-stats { grid-template-columns: 1fr; }
  .dash-cart-item { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   JARVIS Customer Widget — Iron Man Dark Theme
   ══════════════════════════════════════════════════════════════ */
.jv-widget { position: fixed !important; right: 24px !important; bottom: 24px !important; z-index: 99999 !important; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ── Floating launcher ── */
.jv-fab { position: relative !important; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; background: linear-gradient(135deg, #06090f 0%, #0d1224 100%); border: 2px solid #00dcff; border-radius: 50px; color: #00dcff; cursor: pointer; box-shadow: 0 0 30px rgba(0,220,255,.5), 0 0 60px rgba(0,220,255,.2), 0 10px 30px rgba(0,0,0,.7); transition: all .2s; white-space: nowrap; }
.jv-fab:hover { border-color: #00dcff; box-shadow: 0 0 50px rgba(0,220,255,.7), 0 0 100px rgba(0,220,255,.3), 0 14px 40px rgba(0,0,0,.8); transform: translateY(-3px); }
.jv-fab__label { font-weight: 900; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #00dcff; text-shadow: 0 0 10px rgba(0,220,255,.8); }
.jv-fab__pulse { position: absolute; top: -5px; right: -5px; width: 13px; height: 13px; border-radius: 50%; background: #00ff88; border: 2px solid #06090f; box-shadow: 0 0 8px #00ff88; animation: jvPulse 2s infinite; }
@keyframes jvPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.jv-unread { position: absolute; top: -8px; left: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #06090f; box-shadow: 0 0 8px rgba(239,68,68,.6); animation: jvBadge .3s cubic-bezier(.36,.07,.19,.97); }
@keyframes jvBadge { 0%{transform:scale(0)} 70%{transform:scale(1.2)} 100%{transform:scale(1)} }

/* ── Arc reactor ── */
.jv-fab__arc, .jv-head__arc { position: relative; width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; }
.jv-fab__arc-inner, .jv-head__arc-inner { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, #002540, #00dcff18); border: 2px solid #00dcff; display: grid; place-items: center; color: #00dcff; font-weight: 900; font-size: .9rem; box-shadow: 0 0 12px rgba(0,220,255,.5), inset 0 0 8px rgba(0,220,255,.15); animation: jvArcGlow 3s infinite alternate; }
.jv-head__arc-inner { width: 32px; height: 32px; font-size: 1rem; }
@keyframes jvArcGlow { from{box-shadow:0 0 8px rgba(0,220,255,.4),inset 0 0 5px rgba(0,220,255,.1)} to{box-shadow:0 0 22px rgba(0,220,255,.7),inset 0 0 12px rgba(0,220,255,.2)} }
.jv-fab__arc-ring, .jv-head__arc-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,220,255,.3); animation: jvSpin 8s linear infinite; }
.jv-fab__arc-ring::before, .jv-head__arc-ring::before { content: ''; position: absolute; top: -2px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #00dcff; box-shadow: 0 0 6px #00dcff; }
@keyframes jvSpin { to { transform: rotate(360deg); } }

/* ── Panel ── */
.jv-panel { position: fixed !important; bottom: 90px !important; right: 24px !important; width: min(400px, calc(100vw - 28px)) !important; max-height: min(640px, calc(100vh - 120px)) !important; background: linear-gradient(180deg, #04060d 0%, #080c18 100%) !important; border: 2px solid #00dcff !important; border-radius: 20px; box-shadow: 0 0 50px rgba(0,220,255,.2), 0 0 100px rgba(0,220,255,.08), 0 20px 60px rgba(0,0,0,.8) !important; display: flex !important; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .28s ease, transform .3s cubic-bezier(.16,1,.3,1); pointer-events: none; z-index: 99998 !important; }
.jv-panel--visible { opacity: 1; transform: none; pointer-events: all; }

/* ── Header ── */
.jv-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(90deg, rgba(0,220,255,.06), rgba(0,220,255,.02)); border-bottom: 1px solid rgba(0,220,255,.15); }
.jv-head__info { flex: 1; min-width: 0; }
.jv-head__title { display: block; color: #00dcff; font-weight: 900; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 0 8px rgba(0,220,255,.5); }
.jv-head__sub { display: flex; align-items: center; gap: 5px; color: rgba(0,220,255,.5); font-size: .68rem; margin-top: 2px; letter-spacing: .04em; }
.jv-dot { width: 6px; height: 6px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 5px #00ff88; animation: jvPulse 2s infinite; flex-shrink: 0; }
.jv-head__actions { display: flex; gap: 6px; }
.jv-icon-btn { width: 28px; height: 28px; border-radius: 7px; background: rgba(0,220,255,.07); border: 1px solid rgba(0,220,255,.2); color: rgba(0,220,255,.7); cursor: pointer; display: grid; place-items: center; font-size: .8rem; transition: all .15s; }
.jv-icon-btn:hover { background: rgba(0,220,255,.16); border-color: rgba(0,220,255,.5); }

/* ── Chat log ── */
.jv-log { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 320px; scroll-behavior: smooth; }
.jv-log::-webkit-scrollbar { width: 3px; }
.jv-log::-webkit-scrollbar-thumb { background: rgba(0,220,255,.2); border-radius: 3px; }

/* ── Bubbles ── */
.jv-bubble { display: flex; flex-direction: column; gap: 6px; max-width: 90%; animation: jvBubble .2s ease; }
@keyframes jvBubble { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }
.jv-bubble--bot { align-self: flex-start; }
.jv-bubble--user { align-self: flex-end; }
.jv-bubble__body { padding: 10px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.6; }
.jv-bubble--bot .jv-bubble__body { background: rgba(0,220,255,.05); border: 1px solid rgba(0,220,255,.15); border-top-left-radius: 4px; color: rgba(200,235,255,.9); }
.jv-bubble--bot .jv-bubble__body strong { color: #00dcff; }
.jv-bubble--bot .jv-bubble__body em { color: rgba(0,220,255,.6); font-style: italic; }
.jv-bubble--user .jv-bubble__body { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-top-right-radius: 4px; color: rgba(255,255,255,.85); }
.jv-bubble--typing .jv-bubble__body { display: flex; gap: 5px; align-items: center; padding: 12px 16px; max-width: 70px; }
.jv-bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: #00dcff; animation: jvDot 1.2s infinite; }
.jv-bubble--typing span:nth-child(2){animation-delay:.2s}.jv-bubble--typing span:nth-child(3){animation-delay:.4s}
@keyframes jvDot { 0%,80%,100%{transform:translateY(0);opacity:.4} 40%{transform:translateY(-6px);opacity:1} }
.jv-agent-badge { display: flex; align-items: center; gap: 4px; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(0,220,255,.5); margin-bottom: 2px; }
.jv-bubble__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.jv-action-btn { font-size: .74rem; padding: 5px 11px; border-radius: 20px; border: 1px solid rgba(0,220,255,.25); background: rgba(0,220,255,.06); color: rgba(0,220,255,.9); cursor: pointer; text-decoration: none; display: inline-block; transition: all .15s; }
.jv-action-btn:hover { background: rgba(0,220,255,.14); border-color: rgba(0,220,255,.5); }
.jv-tbl-wrap { overflow-x: auto; margin: 6px 0; }
.jv-tbl { width: 100%; border-collapse: collapse; font-size: .78rem; }
.jv-tbl td { padding: 5px 9px; border: 1px solid rgba(0,220,255,.12); color: rgba(200,235,255,.85); }
.jv-tbl .jv-th td { background: rgba(0,220,255,.08); font-weight: 700; color: #00dcff; }
.jv-tbl tr:last-child td { color: #00ff88; font-weight: 700; }

/* ── Quick chips ── */
.jv-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 2px; }
.jv-chip { font-size: .74rem; padding: 5px 11px; border-radius: 20px; border: 1px solid rgba(0,220,255,.2); background: rgba(0,220,255,.04); color: rgba(0,220,255,.8); cursor: pointer; white-space: nowrap; transition: all .15s; }
.jv-chip:hover { background: rgba(0,220,255,.12); border-color: rgba(0,220,255,.5); transform: translateY(-1px); }

/* ── Input form ── */
.jv-form { display: flex; gap: 7px; align-items: center; padding: 10px 12px; border-top: 1px solid rgba(0,220,255,.1); background: rgba(0,0,0,.2); }
.jv-form input { flex: 1; background: rgba(0,220,255,.04); border: 1.5px solid rgba(0,220,255,.18); border-radius: 24px; padding: 9px 14px; font-size: .86rem; color: rgba(200,235,255,.9); transition: all .2s; }
.jv-form input::placeholder { color: rgba(0,220,255,.3); }
.jv-form input:focus { outline: none; border-color: rgba(0,220,255,.6); background: rgba(0,220,255,.06); box-shadow: 0 0 0 3px rgba(0,220,255,.08); }
.jv-mic, .jv-photo-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.jv-mic { background: rgba(0,220,255,.07); border: 1.5px solid rgba(0,220,255,.2); color: rgba(0,220,255,.8); }
.jv-mic:hover { background: rgba(0,220,255,.16); border-color: rgba(0,220,255,.5); }
.jv-mic--active { background: #ef4444 !important; border-color: #ef4444 !important; color: #fff !important; animation: micPulse 1s infinite; }
@keyframes micPulse { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.4)} 50%{box-shadow:0 0 0 8px rgba(239,68,68,0)} }
.jv-photo-btn { background: rgba(0,255,136,.06); border: 1.5px solid rgba(0,255,136,.2); color: rgba(0,255,136,.8); }
.jv-photo-btn:hover { background: rgba(0,255,136,.14); }
.jv-send { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, rgba(0,220,255,.2), rgba(0,220,255,.35)); border: 1.5px solid rgba(0,220,255,.4); color: #00dcff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; box-shadow: 0 0 10px rgba(0,220,255,.2); transition: all .15s; }
.jv-send:hover { box-shadow: 0 0 18px rgba(0,220,255,.4); transform: scale(1.08); }

/* ── Human handoff ── */
.jv-handoff-wrap { border-top: 1px solid rgba(0,220,255,.1); background: rgba(0,0,0,.15); padding: 0 12px 10px; }
.jv-human-btn { width: 100%; margin: 9px 0 0; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(0,220,255,.15); background: rgba(0,220,255,.03); color: rgba(0,220,255,.6); font-weight: 600; font-size: .78rem; display: flex; align-items: center; gap: 7px; justify-content: center; cursor: pointer; transition: all .15s; }
.jv-human-btn:hover { background: rgba(0,220,255,.08); border-color: rgba(0,220,255,.35); color: rgba(0,220,255,.9); }
.jv-handoff { padding: 10px 0 0; display: grid; gap: 8px; }
.jv-handoff.hidden { display: none; }
.jv-handoff .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jv-handoff .field { display: grid; gap: 4px; }
.jv-handoff label { font-size: .7rem; font-weight: 700; color: rgba(0,220,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.jv-handoff input, .jv-handoff textarea { border: 1px solid rgba(0,220,255,.18); border-radius: 8px; padding: 8px 10px; font-size: .83rem; width: 100%; background: rgba(0,220,255,.04); color: rgba(200,235,255,.9); transition: border-color .2s; }
.jv-handoff input:focus, .jv-handoff textarea:focus { outline: none; border-color: rgba(0,220,255,.5); }
.jv-handoff textarea { resize: vertical; min-height: 70px; }

/* ── Status bar ── */
.jv-status { padding: 5px 12px 8px; font-size: .64rem; color: rgba(0,220,255,.35); text-transform: uppercase; letter-spacing: .06em; text-align: center; }

/* ── Agent badge ── */
.jv-agent-badge span:first-child { font-size: .78rem; }

/* ── Mobile ── */
@media (max-width: 560px) {
  .jv-widget { right: 12px !important; bottom: 12px !important; }
  .jv-fab .jv-fab__label { display: none; }
  .jv-fab { padding: 14px; border-radius: 50%; }
  .jv-panel { right: 10px !important; width: calc(100vw - 20px) !important; max-height: calc(100vh - 100px) !important; border-radius: 16px; bottom: 74px !important; }
  .jv-handoff .field-row { grid-template-columns: 1fr; }
  .jv-log { max-height: 250px; }
}

/* ── JARVIS agent badge (shared with sa2) ── */
.sa2-agent-badge { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.sa2-agent-icon { font-size: .82rem; }
.sa2-agent-name { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #00dcff; opacity: .7; }
.sa2-msg-body { font-size: .86rem; line-height: 1.6; }
.sa2-msg-body strong { color: #00dcff; }
