/* ==========================================================================
   Sublicraft Studios — global styles
   ========================================================================== */

:root {
  --bg: #fff8fb;
  --bg-tint: #fdf0f6;
  --card: #ffffff;
  --card-soft: #f8eef3;
  --ink: #17131d;
  --ink-2: #3b3445;
  --muted: #7a7184;
  --line: #f0e2ea;
  --line-strong: #e4d2dd;
  --primary: #6a1fd1;
  --primary-hover: #5916b6;
  --primary-soft: #efe5ff;
  --accent: #9b5cf6;
  --accent-light: #b388ff;
  --wa: #25d366;
  --wa-dark: #128c4b;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;

  --shadow-sm: 0 2px 10px rgba(73, 26, 110, 0.06);
  --shadow: 0 24px 48px -24px rgba(76, 29, 149, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(76, 29, 149, 0.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Spanish: hide until translations are applied (failsafe reveals after 2s) */
html.i18n-pending body { opacity: 0; animation: sc-failsafe 0s 2s forwards; }
@keyframes sc-failsafe { to { opacity: 1; } }
body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #e6d6ff; color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-display {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.h-section {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.h-sub { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; }
.accent { color: var(--accent); }
.accent-deep { color: var(--primary); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); font-weight: 300; line-height: 1.65; max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
  box-shadow: 0 14px 28px -14px rgba(106, 31, 209, 0.65);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 120% at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(106, 31, 209, 0.7); background: var(--primary-hover); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { width: 18px; height: 18px; transition: transform .45s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-outline:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 14px 28px -18px rgba(0,0,0,.25); }
.btn-wa { --btn-bg: var(--wa-dark); box-shadow: 0 14px 28px -14px rgba(18, 140, 75, .6); }
.btn-wa:hover { background: #0e7a40; box-shadow: 0 20px 36px -16px rgba(18, 140, 75, .65); }
.btn-wa svg { width: 20px; height: 20px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 500; font-size: 15px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink);
  transition: background-color .25s, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(106, 31, 209, .08); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  view-transition-name: site-header;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 248, 251, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand-name { font-size: 23px; font-weight: 600; letter-spacing: -0.03em; color: var(--primary); line-height: 1; }
.brand-name small { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .32em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav-link {
  position: relative; padding: 10px 14px; font-size: 14.5px; color: var(--ink-2); border-radius: 999px;
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; border-radius: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--primary); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

.lang-toggle {
  position: relative; display: inline-flex; align-items: center; padding: 3px; margin-right: 6px;
  border-radius: 999px; background: rgba(106, 31, 209, .07); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.lang-toggle button { position: relative; z-index: 1; width: 38px; height: 30px; border-radius: 999px; color: var(--muted); transition: color .3s; }
.lang-toggle button[aria-pressed="true"] { color: #fff; }
.lang-toggle .lang-pill {
  position: absolute; top: 3px; left: 3px; width: 38px; height: 30px; border-radius: 999px; background: var(--primary);
  transition: transform .45s var(--ease); box-shadow: 0 6px 14px -6px rgba(106,31,209,.7);
}
.lang-toggle[data-lang="es"] .lang-pill { transform: translateX(38px); }

.bag-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; background: var(--primary); color: #fff;
  font-size: 10.5px; font-weight: 600; line-height: 1; transform: scale(0); transition: transform .4s var(--ease);
}
.bag-count.has-items { transform: scale(1); }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.menu-btn { display: none; }
.menu-btn .bars { position: relative; width: 20px; height: 12px; }
.menu-btn .bars span { position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease), opacity .2s; }
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 5px; }
.menu-btn .bars span:nth-child(3) { top: 10px; }
.menu-open .menu-btn .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.menu-open .site-header { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; font-size: 24px; letter-spacing: -0.02em; border-bottom: 1px solid var(--line);
}
.mobile-menu a.m-link.is-active { color: var(--primary); }
.mobile-menu a.m-link svg { width: 22px; height: 22px; color: var(--muted); }
.mobile-menu .m-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mobile-menu .m-socials { display: flex; gap: 8px; }
.mobile-menu .m-search { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font-size: 15px; text-align: left; }
.mobile-menu .m-search svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(253, 240, 246, .7)); }
.footer-top { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; gap: 40px; padding-block: 56px 40px; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 10px; }
.footer-links a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.newsletter h3 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.newsletter form { position: relative; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 5px 5px 5px 20px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.newsletter form:focus-within { box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--accent); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; padding: 10px 0; }
.newsletter button { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease), background-color .25s; }
.newsletter button:hover { background: var(--primary-hover); transform: rotate(-30deg); }
.newsletter button svg { width: 18px; height: 18px; }
.newsletter .hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.socials { display: flex; align-items: center; gap: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff;
  box-shadow: 0 16px 32px -12px rgba(18, 140, 75, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 40px -14px rgba(18, 140, 75, .6); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: 15px; transition: max-width .5s var(--ease); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 160px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2.8s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Overlay, drawer, search, toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(23, 19, 29, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(104%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 24px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.drawer-total strong { font-size: 22px; font-weight: 600; }
.drawer-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.drawer-empty { text-align: center; padding: 64px 12px; display: grid; justify-items: center; gap: 14px; }
.drawer-empty .empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.drawer-empty .empty-ic svg { width: 32px; height: 32px; }
.drawer-empty p { color: var(--muted); max-width: 26ch; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; animation: fade-in .4s var(--ease); }
.cart-item .ci-img { width: 76px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--card-soft); }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-img.contain img { object-fit: contain; padding: 6px; }
.cart-item h3 { font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.cart-item .ci-meta { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.cart-item .ci-price { font-weight: 600; font-size: 15px; text-align: right; }
.cart-item .ci-remove { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-item .ci-remove:hover { color: #c0264d; }
.qty { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); background: #fff; }
.qty button { width: 38px; height: 100%; display: grid; place-items: center; border-radius: 999px; color: var(--ink-2); transition: background-color .2s; }
.qty button:hover { background: var(--primary-soft); color: var(--primary); }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 34px; border: 0; text-align: center; background: transparent; font-weight: 500; -moz-appearance: textfield; appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item .qty { height: 34px; margin-top: 10px; }
.cart-item .qty button { width: 32px; }
.cart-item .qty input { width: 26px; font-size: 14px; }

.search-modal {
  position: fixed; left: 50%; top: clamp(16px, 10vh, 120px); z-index: 90; width: min(640px, calc(100% - 32px));
  background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translate(-50%, -12px) scale(.98);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.search-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.search-box svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 18px; padding: 8px 0; }
.search-results { max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.search-results a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; transition: background-color .2s; }
.search-results a:hover, .search-results a.is-focus { background: var(--card-soft); }
.search-results img { width: 52px; height: 60px; border-radius: 10px; object-fit: cover; background: var(--card-soft); }
.search-results .sr-name { font-weight: 500; font-size: 15px; line-height: 1.3; }
.search-results .sr-cat { font-size: 12.5px; color: var(--muted); }
.search-results .sr-price { font-weight: 600; font-size: 14px; }
.search-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 15px; }
.search-hint { padding: 12px 22px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); display: flex; gap: 16px; }
.search-hint kbd { font-family: inherit; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }

.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .35s var(--ease), transform .5s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .t-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.toast .t-ic svg { width: 14px; height: 14px; }
.toast button { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13.5px; white-space: nowrap; }
.toast button:hover { background: rgba(255,255,255,.24); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.reveal-scale { transform: scale(.96); }
.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes march { to { stroke-dashoffset: -24; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes img-in { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes clip-up { from { clip-path: inset(100% 0 0 0 round 24px); } to { clip-path: inset(0 0 0 0 round 24px); } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; animation: line-up 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.09s + .1s); }
.hero-sub { margin-top: 26px; animation: fade-in 1s var(--ease) .45s both; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; animation: fade-in 1s var(--ease) .55s both; }
.hero .eyebrow { animation: fade-in 1s var(--ease) both; }

.proof { margin-top: 44px; display: inline-flex; align-items: center; gap: 14px; animation: fade-in 1s var(--ease) .7s both; border-radius: 999px; padding: 6px 18px 6px 6px; transition: background-color .3s; }
.proof:hover { background: rgba(255,255,255,.7); }
.proof-stack { display: flex; }
.proof-stack img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--bg); background: var(--card-soft); }
.proof-stack img + img { margin-left: -12px; }
.proof-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.proof-text strong { font-weight: 600; color: var(--ink); }
.proof-text .ig-line { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.proof-text .ig-line svg { width: 13px; height: 13px; }

.hero-art { position: relative; display: grid; grid-template-columns: 1.16fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .92; max-height: 640px; }
.art-card { position: relative; overflow: hidden; background: var(--card-soft); border-radius: 24px; box-shadow: var(--shadow); animation: clip-up 1.3s var(--ease) both; }
.art-card img { width: 100%; height: 100%; object-fit: cover; animation: img-in 1.8s var(--ease) both; transition: transform 1.2s var(--ease); }
.art-card:hover img { transform: scale(1.04); }
.art-arch { grid-row: 1 / 3; border-radius: 999px 999px 32px 32px; animation-delay: .15s; }
.art-arch img { animation-delay: .15s; object-position: 50% 40%; }
.art-arch.art-card { animation-name: arch-up; }
@keyframes arch-up { from { clip-path: inset(100% 0 0 0 round 999px 999px 32px 32px); } to { clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); } }
.art-s1 { animation-delay: .3s; } .art-s1 img { animation-delay: .3s; }
.art-s2 { animation-delay: .45s; } .art-s2 img { animation-delay: .45s; }
.art-s1 img { object-position: 50% 45%; }
.art-s2 img { object-position: 50% 45%; }

.chip-design {
  position: absolute; z-index: 3; top: 3%; left: 49%; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 13px; font-weight: 500;
  animation: fade-in .8s var(--ease) 1s both, float-y 5s ease-in-out 2s infinite;
}
.chip-design .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(155, 92, 246, .18); }
.chip-design .sparks { position: absolute; right: -16px; top: -14px; width: 26px; height: 26px; color: var(--accent); }

.badge-rotate {
  position: absolute; z-index: 3; right: -2%; bottom: -5%; width: clamp(104px, 11vw, 136px); aspect-ratio: 1;
  border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--shadow); display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fade-in .8s var(--ease) 1.1s both;
  transition: transform .5s var(--ease);
}
.badge-rotate:hover { transform: scale(1.06); }
.badge-rotate .ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 16s linear infinite; color: var(--primary); }
.badge-rotate .ring text { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; fill: currentColor; text-transform: uppercase; }
.badge-rotate .center { width: 44%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--primary); box-shadow: inset 0 0 0 1.5px rgba(106, 31, 209, .25); transition: background-color .3s, color .3s; }
.badge-rotate:hover .center { background: var(--primary); color: #fff; }
.badge-rotate .center svg { width: 40%; height: 40%; transition: transform .5s var(--ease); }
.badge-rotate:hover .center svg { transform: rotate(45deg); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px 20px;
  border-radius: var(--radius); color: var(--ink-2); font-size: 14px; text-align: center; transition: color .3s, background-color .3s;
}
.cat .cat-ic { width: 48px; height: 48px; display: grid; place-items: center; transition: transform .5s var(--ease), color .3s; }
.cat .cat-ic svg { width: 40px; height: 40px; }
.cat::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .5s var(--ease); }
.cat:hover { color: var(--primary); }
.cat:hover .cat-ic { transform: translateY(-4px); color: var(--primary); }
.cat:hover::after, .cat.is-active::after { transform: scaleX(1); }
.cat.is-active { color: var(--primary); font-weight: 500; }
.cat.is-active .cat-ic { color: var(--primary); }

/* ---------- Create your own (home) ---------- */
.create-card {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr auto; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-xl);
  background: radial-gradient(120% 90% at 70% 40%, #fff 0%, #fff 40%, #fdf3f8 100%);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(240, 226, 234, .7);
  overflow: hidden;
}
#create { padding-top: clamp(12px, 3vw, 40px); }
.create-copy .eyebrow { margin-bottom: 18px; }
.create-copy .lead { margin-top: 20px; }
.create-copy .btn { margin-top: 30px; }
.create-stage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.tee-wrap { position: absolute; inset: 0; transform: rotate(-4deg); transition: transform 1s var(--ease); }
.tee-wrap > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(73, 26, 110, .14)); }
.create-card:hover .tee-wrap { transform: rotate(-2deg) scale(1.02); }
.print-box { position: absolute; left: 33.5%; top: 22%; width: 33%; height: 37%; display: grid; place-items: center; }
.print-box svg.dash { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.print-box svg.dash rect { fill: none; stroke: var(--primary); stroke-width: 2; stroke-dasharray: 8 6; animation: march 1.2s linear infinite; vector-effect: non-scaling-stroke; }
.print-box span { font-size: clamp(14px, 1.7vw, 20px); font-weight: 600; letter-spacing: .02em; line-height: 1.12; color: var(--primary); text-align: center; text-transform: uppercase; }
.print-box .cursor { position: absolute; right: -16%; bottom: -14%; width: 30%; max-width: 34px; color: var(--primary); animation: float-y 3s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(106,31,209,.3)); }
.tool-rail { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.tool { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; padding: 16px 8px; border-radius: 16px; font-size: 13px; color: var(--ink-2); transition: background-color .25s, color .25s, transform .4s var(--ease); }
.tool svg { width: 28px; height: 28px; color: var(--primary); transition: transform .4s var(--ease); }
.tool:hover { background: var(--primary-soft); color: var(--primary); }
.tool:hover svg { transform: scale(1.12); }

/* ---------- Section head ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec-head p { color: var(--muted); margin-top: 8px; font-weight: 300; }
.sec-head .h-sub { font-size: clamp(30px, 3.4vw, 40px); }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
.p-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.p-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--card-soft); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s; }
.p-card__media.contain img { object-fit: contain; padding: 12%; filter: drop-shadow(0 18px 18px rgba(73,26,110,.12)); }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__badge { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--primary); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.p-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: 14px; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .25s, color .25s;
}
.p-card__quick svg { width: 18px; height: 18px; }
.p-card:hover .p-card__quick, .p-card__quick:focus-visible { opacity: 1; transform: none; }
.p-card__quick:hover { background: var(--primary); color: #fff; }
.p-card__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-inline: 4px; }
.p-card__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.p-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--radius); }
.p-card__price { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; grid-column: 1; }
.p-card__price small { font-size: 12px; color: var(--muted); font-weight: 400; margin-right: 3px; }
.dots { display: flex; gap: 5px; grid-column: 2; grid-row: 1; justify-self: end; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.p-card__cat { grid-column: 2; grid-row: 2; justify-self: end; font-size: 12px; color: var(--muted); }

/* ---------- Promo banner ---------- */
.promo { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: clamp(340px, 38vw, 500px); border-radius: var(--radius-xl); overflow: hidden; background: #f7ece8; box-shadow: var(--shadow-sm); }
.promo-media { position: absolute; inset: 0; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.promo.is-in .promo-media img { transform: scale(1); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 250, 251, .94) 0%, rgba(255, 250, 251, .75) 32%, rgba(255, 250, 251, 0) 58%); }
.promo-copy { position: relative; z-index: 2; align-self: center; padding: clamp(28px, 5vw, 64px); }
.promo-copy .lead { margin-top: 16px; }
.promo-copy .btn { margin-top: 28px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.feature { display: grid; justify-items: center; gap: 8px; padding: 12px; }
.feature .f-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--primary); margin-bottom: 8px; transition: transform .6s var(--ease), background-color .3s; }
.feature:hover .f-ic { transform: translateY(-4px) rotate(-6deg); background: var(--primary-soft); }
.feature .f-ic svg { width: 32px; height: 32px; }
.feature h3 { font-size: 17px; font-weight: 500; }
.feature p { font-size: 14.5px; color: var(--muted); font-weight: 300; max-width: 30ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero .eyebrow { margin-bottom: 16px; animation: fade-in .8s var(--ease) both; }
.page-hero h1 { animation: fade-in .9s var(--ease) .08s both; }
.page-hero .lead { margin-top: 18px; animation: fade-in .9s var(--ease) .16s both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Shop ---------- */
.filter-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 248, 251, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.filter-bar .cats { grid-template-columns: repeat(7, 1fr); }
.filter-bar .cat { padding: 12px 6px 14px; gap: 6px; font-size: 13.5px; }
.filter-bar .cat .cat-ic { width: 34px; height: 34px; }
.filter-bar .cat .cat-ic svg { width: 28px; height: 28px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block: 28px 22px; }
.shop-toolbar .count { color: var(--muted); font-size: 14.5px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 42px 0 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14.5px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.grid-products.is-filtering .p-card { animation: fade-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.custom-cta-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 24px; aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, #7c3aed, #5b16bd); color: #fff; overflow: hidden; }
.custom-cta-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.custom-cta-card h3 { font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.custom-cta-card p { font-size: 14px; opacity: .85; font-weight: 300; }
.custom-cta-card .link-arrow { color: #fff; margin-top: 6px; }
.custom-cta-card .big-ic { position: absolute; top: 22px; left: 22px; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.custom-cta-card .big-ic svg { width: 28px; height: 28px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 16px; color: var(--muted); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(16px, 3vw, 32px); }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.pdp-main { position: relative; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--card-soft); cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .4s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pdp-main.contain img { object-fit: contain; padding: 10%; filter: drop-shadow(0 24px 24px rgba(73,26,110,.14)); }
.pdp-main.is-zoom img { transform: scale(1.9); }
.pdp-main .tint { position: absolute; inset: 0; padding: 10%; -webkit-mask-origin: content-box; mask-origin: content-box; -webkit-mask-clip: content-box; mask-clip: content-box; mix-blend-mode: multiply; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; pointer-events: none; transition: background-color .4s; }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumbs button { width: 76px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--card-soft); box-shadow: inset 0 0 0 1.5px transparent; opacity: .7; transition: opacity .25s, box-shadow .25s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button.is-active, .pdp-thumbs button:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--primary); }
.pdp-info .eyebrow { margin-bottom: 12px; }
.pdp-info h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 400; letter-spacing: -0.03em; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.pdp-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.pdp-desc { margin-top: 16px; color: var(--ink-2); font-weight: 300; max-width: 52ch; }
.opt-group { margin-top: 26px; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.opt-label span { color: var(--muted); font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: transform .3s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--primary); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"]::after { opacity: 1; transform: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 52px; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14.5px; transition: box-shadow .25s, background-color .25s, color .25s; }
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.input, .textarea {
  width: 100%; border: 0; border-radius: 16px; background: #fff; padding: 14px 16px; font-size: 15px; line-height: 1.5;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .25s; outline: 0;
}
.input:focus, .textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(155, 92, 246, .12); }
.textarea { resize: vertical; min-height: 96px; }
.input.is-invalid { box-shadow: inset 0 0 0 1.5px #d23f63; }
.pdp-buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 28px; align-items: center; }
.pdp-buy .qty { height: 52px; }
.pdp-buy .qty button { width: 44px; }
.pdp-buy .btn-wa { grid-column: 1 / -1; }
.pdp-total { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.pdp-total strong { color: var(--ink); font-weight: 600; }
.pdp-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.perk { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.perk svg { width: 22px; height: 22px; color: var(--primary); }
.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; font-weight: 500; font-size: 15.5px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus { position: relative; width: 14px; height: 14px; flex: none; }
.accordion summary .plus::before, .accordion summary .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.accordion summary .plus::after { transform: rotate(90deg); }
.accordion details[open] summary .plus::after { transform: rotate(0); }
.accordion .acc-body { padding: 0 2px 20px; color: var(--ink-2); font-weight: 300; font-size: 15px; }
.accordion .acc-body ul { list-style: disc; padding-left: 18px; display: grid; gap: 6px; }
.accordion .acc-body p + p { margin-top: 8px; }
.opt-hint { font-size: 13px; color: var(--muted); margin-top: 10px; transition: color .25s; }
.opt-group.is-invalid .opt-hint { color: #c0264d; }
.opt-group.is-invalid .pills { animation: shake .45s var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.not-found { text-align: center; padding: 80px 16px; display: grid; justify-items: center; gap: 16px; }

/* ---------- Customizer ---------- */
.studio { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.studio-stage-wrap { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.studio-stage {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(100% 80% at 50% 35%, #fff 0%, #fdf2f7 70%, #f9e8f0 100%);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  user-select: none; -webkit-user-select: none;
}
.stage-product { position: absolute; inset: 7%; isolation: isolate; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.stage-product.is-switching { opacity: 0; transform: scale(.96); }
.stage-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(73, 26, 110, .14)); }
.stage-tint { position: absolute; inset: 0; mix-blend-mode: multiply; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; transition: background-color .45s; pointer-events: none; }
.print-area { position: absolute; overflow: hidden; container-type: inline-size; outline: 1.5px dashed rgba(106, 31, 209, .5); outline-offset: 0; border-radius: 4px; transition: outline-color .3s; }
.print-area.is-clean { outline-color: transparent; }
.print-area .pa-hint { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 9cqw; line-height: 1.1; color: rgba(106, 31, 209, .75); text-transform: uppercase; letter-spacing: .02em; pointer-events: none; transition: opacity .3s; padding: 6%; }
.print-area.has-layers .pa-hint { opacity: 0; }
.layer { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%) rotate(calc(var(--r, 0) * 1deg)); cursor: grab; touch-action: none; }
.layer:active { cursor: grabbing; }
.layer.is-selected { outline: 1.5px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.layer:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.layer img { width: 100%; height: auto; pointer-events: none; display: block; }
.layer.l-image, .layer.l-graphic { width: calc(var(--s) * 1%); }
.layer.l-graphic svg { width: 100%; height: auto; display: block; pointer-events: none; }
.layer.l-text { font-size: calc(var(--s) * 0.4cqw); line-height: 1.05; white-space: pre; text-align: center; pointer-events: auto; padding: 2px 4px; }
.print-mode-mug .print-area { border-radius: 2px; }
.stage-note { font-size: 13px; color: var(--muted); text-align: center; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stage-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.stage-actions .btn svg { width: 17px; height: 17px; }

.studio-panel { display: grid; gap: 22px; }
.step { background: #fff; border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.step-head h2 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.prod-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod-choice { display: grid; justify-items: center; gap: 6px; padding: 12px 8px 14px; border-radius: 18px; background: var(--card-soft); font-size: 14px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background-color .25s; }
.prod-choice img { width: 72%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--ease); }
.prod-choice:hover img { transform: scale(1.06) rotate(-3deg); }
.prod-choice small { color: var(--muted); font-size: 12.5px; }
.prod-choice[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.studio-other { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.studio-other a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 999px; background: var(--card-soft); margin-bottom: 18px; }
.tab { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.tab-panel { display: grid; gap: 16px; animation: fade-in .4s var(--ease); }
.tab-panel[hidden] { display: none; }
.upload-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 26px 16px; border-radius: 20px; border: 1.5px dashed var(--line-strong); text-align: center; background: var(--bg); cursor: pointer; transition: border-color .25s, background-color .25s; }
.upload-drop:hover, .upload-drop.is-drag { border-color: var(--primary); background: var(--primary-soft); }
.upload-drop svg { width: 30px; height: 30px; color: var(--primary); }
.upload-drop strong { font-weight: 500; }
.upload-drop span { font-size: 13px; color: var(--muted); }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.font-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.font-choice { height: 46px; border-radius: 14px; background: var(--card-soft); font-size: 18px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background-color .25s; overflow: hidden; white-space: nowrap; }
.font-choice[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.color-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.color-choices .swatch { width: 32px; height: 32px; }
.graphics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.graphic-btn { aspect-ratio: 1; border-radius: 16px; background: var(--card-soft); display: grid; place-items: center; color: var(--primary); transition: background-color .25s, transform .35s var(--ease), box-shadow .25s; }
.graphic-btn svg { width: 56%; height: 56%; }
.graphic-btn:hover { background: var(--primary-soft); transform: translateY(-2px); }
.graphic-btn[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.range { width: 100%; accent-color: var(--primary); height: 28px; }
.layer-tools { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; padding: 14px 16px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.layer-tools[hidden] { display: none; }
.layer-tools label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.layer-tools .range { min-width: 0; }
.layer-tools .btn-del { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #c0264d; padding: 6px 10px; border-radius: 999px; }
.layer-tools .btn-del:hover { background: #fde8ee; }
.layer-tools .btn-del svg { width: 15px; height: 15px; }
.summary-list { display: grid; gap: 8px; font-size: 14.5px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 500; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); }
.summary-total strong { font-size: 24px; font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step-card { position: relative; padding: 28px 24px 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card .s-num { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.step-card .s-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 18px 0 20px; }
.step-card .s-ic svg { width: 28px; height: 28px; }
.step-card h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.step-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); font-weight: 300; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-card { overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.tech-card .t-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-soft); }
.tech-card .t-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tech-card:hover .t-media img { transform: scale(1.05); }
.tech-card .t-body { padding: 22px 24px 26px; }
.tech-card h3 { font-size: 20px; font-weight: 500; }
.tech-card p { margin-top: 8px; color: var(--muted); font-weight: 300; font-size: 15px; }
.tech-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: linear-gradient(135deg, #6a1fd1 0%, #8b3dff 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.cta-band p { margin-top: 10px; opacity: .85; font-weight: 300; }
.cta-band .row { position: relative; z-index: 1; }
.cta-band .btn-light { --btn-bg: #fff; --btn-fg: var(--primary); box-shadow: 0 14px 28px -14px rgba(0,0,0,.4); }
.cta-band .btn-light:hover { background: #f7f0ff; }

/* ---------- Inspiration ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.m-item { position: relative; break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-lg); overflow: hidden; background: var(--card-soft); display: block; }
.m-item img { width: 100%; transition: transform 1.1s var(--ease); }
.m-item.contain img { padding: 12%; filter: drop-shadow(0 18px 18px rgba(73,26,110,.12)); }
.m-item:hover img { transform: scale(1.05); }
.m-item figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; transform: translateY(8px); opacity: .0; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.m-item figcaption strong { font-weight: 500; }
.m-item figcaption span { font-size: 12.5px; color: var(--muted); }
.m-item figcaption svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.m-item:hover figcaption, .m-item:focus-visible figcaption { opacity: 1; transform: none; }
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.occasion { position: relative; display: grid; gap: 6px; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.occasion:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occasion .o-emoji { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.occasion h3 { font-size: 17px; font-weight: 500; }
.occasion p { font-size: 14px; color: var(--muted); font-weight: 300; }
.ig-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.ig-band .ig-logo { width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.ig-band .ig-logo img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; }
.ig-band h3 { font-size: 20px; font-weight: 500; }
.ig-band p { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.stats { display: flex; gap: clamp(16px, 3vw, 36px); margin-top: 8px; }
.stat strong { display: block; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: wa-pulse 2.4s infinite; }
.live-dot.is-cached::before { background: #cbb8d6; box-shadow: none; animation: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card-soft); box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .logo-float { position: absolute; left: 20px; bottom: 20px; width: 88px; height: 88px; border-radius: 50%; box-shadow: var(--shadow-lg); animation: float-y 5s ease-in-out infinite; }
.about-copy p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.value .v-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.value .v-ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 18px; font-weight: 500; }
.value p { margin-top: 6px; font-size: 14.5px; color: var(--muted); font-weight: 300; }
.social-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card .sc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.social-card .sc-ic svg { width: 22px; height: 22px; }
.social-card strong { display: block; font-weight: 500; font-size: 15px; }
.social-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Help ---------- */
.help-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .faq-body { padding: 0 2px 22px; color: var(--ink-2); font-weight: 300; max-width: 60ch; }
.contact-card { position: sticky; top: calc(var(--header-h) + 16px); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: grid; gap: 16px; }
.contact-card h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.contact-lines { display: grid; gap: 10px; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); transition: background-color .25s; font-size: 15px; }
.contact-line:hover { background: var(--primary-soft); }
.contact-line svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.contact-line span { color: var(--muted); font-size: 13px; margin-left: auto; }
.form-grid { display: grid; gap: 14px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .big { font-size: clamp(96px, 18vw, 200px); line-height: 1; font-weight: 300; letter-spacing: -0.06em; background: linear-gradient(135deg, var(--primary), var(--accent-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .create-card { grid-template-columns: 1fr 1fr; }
  .create-card .tool-rail { grid-column: 1 / -1; flex-direction: row; justify-self: center; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .social-cards { grid-template-columns: repeat(2, 1fr); }
  .occasions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; width: 100%; justify-self: center; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .pdp, .studio, .about-grid, .help-grid { grid-template-columns: 1fr; }
  .pdp-gallery, .studio-stage-wrap, .contact-card { position: relative; top: 0; }
  .studio-stage-wrap { max-width: 560px; width: 100%; justify-self: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .newsletter { grid-column: 1 / -1; }
  .tech-grid, .values { grid-template-columns: 1fr 1fr; }
  .filter-bar .cats { display: flex; overflow-x: auto; scrollbar-width: none; gap: 2px; padding-inline: 4px; scroll-snap-type: x proximity; }
  .filter-bar .cats::-webkit-scrollbar { display: none; }
  .filter-bar .cat { flex: none; min-width: 92px; scroll-snap-align: start; }
  .ig-band { grid-template-columns: auto 1fr; }
  .ig-band > .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .lang-toggle { margin-right: 0; }
  .brand-name { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .nav { gap: 10px; }
  .nav-actions .icon-btn { width: 40px; height: 40px; }
  .hero-art { gap: 10px; }
  .chip-design { top: 2%; left: auto; right: 2%; font-size: 12px; padding: 8px 12px; }
  .badge-rotate { right: 2%; bottom: -6%; width: 96px; }
  .badge-rotate .ring text { font-size: 12.5px; }
  .proof { margin-top: 30px; }
  .cats { grid-template-columns: repeat(3, 1fr); row-gap: 4px; }
  .cat { padding: 14px 4px 16px; font-size: 13px; }
  .create-card { grid-template-columns: 1fr; text-align: left; border-radius: var(--radius-lg); }
  .create-card .tool-rail { grid-column: auto; width: 100%; justify-content: space-around; }
  .tool { width: auto; flex: 1; padding: 12px 6px; }
  .create-stage { max-width: 380px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .p-card__body { grid-template-columns: 1fr; }
  .dots { grid-column: 1; grid-row: auto; justify-self: start; order: 3; }
  .p-card__name { font-size: 14px; }
  .p-card__price { font-size: 15.5px; }
  .p-card__quick { display: none; }
  .p-card__cat { display: none; }
  .promo { grid-template-columns: 1fr; min-height: 0; border-radius: var(--radius-lg); }
  .promo-media { position: relative; inset: auto; aspect-ratio: 16 / 10; order: 2; }
  .promo-media img { object-position: 78% 50%; }
  .promo::before { display: none; }
  .promo-copy { padding: 28px 24px 26px; }
  .features { grid-template-columns: 1fr; gap: 8px; }
  .feature { grid-template-columns: auto 1fr; text-align: left; justify-items: start; column-gap: 16px; row-gap: 2px; padding: 12px 4px; }
  .feature .f-ic { grid-row: 1 / 3; margin: 0; background: var(--primary-soft); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 28px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .pdp-perks { grid-template-columns: 1fr 1fr 1fr; }
  .perk { font-size: 11.5px; padding: 12px 6px; }
  .prod-choice { font-size: 13px; }
  .graphics-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .tab span { display: none; }
  .tab[aria-selected="true"] span { display: inline; }
  .tech-grid, .values, .steps-grid { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: 1fr; }
  .occasions { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .wa-float { height: 52px; padding: 0 13px; }
  .footer-bottom { padding-bottom: 88px; }
  .wa-float svg { width: 26px; height: 26px; }
  .search-box input { font-size: 16px; }
  .shop-toolbar { margin-block: 20px 16px; }
}

@media (max-width: 420px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 19px; }
  .lang-toggle button { width: 34px; height: 28px; font-size: 11.5px; }
  .lang-toggle .lang-pill { width: 34px; height: 28px; }
  .lang-toggle[data-lang="es"] .lang-pill { transform: translateX(34px); }
  .nav-actions .icon-btn.search-btn { display: none; }
  .occasions { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .p-card__quick { display: none; }
  .m-item figcaption { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Studio v2 — views, areas, Canva, modals
   ========================================================================== */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-wa svg { width: 20px; height: 20px; }
.tabs.tabs-4 { grid-template-columns: repeat(4, 1fr); }
.view-toggle { position: absolute; z-index: 4; top: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.view-toggle button { position: relative; z-index: 1; width: 84px; height: 34px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .3s; }
.view-toggle button[aria-pressed="true"] { color: #fff; }
.view-toggle .vt-pill { position: absolute; top: 4px; left: 4px; width: 84px; height: 34px; border-radius: 999px; background: var(--primary); transition: transform .45s var(--ease); box-shadow: 0 6px 14px -6px rgba(106,31,209,.7); }
.view-toggle[data-view="back"] .vt-pill { transform: translateX(84px); }
.stage-garment { position: absolute; inset: 0; isolation: isolate; transition: transform .5s var(--ease); }
.stage-garment.is-mirror { transform: scaleX(-1); }
.stage-areas { position: absolute; inset: 0; }
.print-area { outline: 1.5px dashed rgba(155, 92, 246, .45); cursor: pointer; transition: outline-color .3s, background-color .3s; }
.print-area:hover { outline-color: rgba(106, 31, 209, .5); background: rgba(155, 92, 246, .05); }
.print-area.is-active { outline: 1.5px dashed rgba(106, 31, 209, .6); cursor: default; background: none; }
.print-area .pa-hint { opacity: .55; }
.print-area.is-active .pa-hint { opacity: 1; }
.print-area.has-layers { outline-color: transparent; }
.print-area.is-active.has-layers { outline-color: rgba(106, 31, 209, .35); }
.print-area.is-small .pa-hint { font-size: 14cqw; padding: 2%; }
.print-area:not(.is-active) .layer { pointer-events: none; }
.layer.l-qr { width: calc(var(--s) * 1%); }
.layer.l-qr svg { width: 100%; height: auto; display: block; pointer-events: none; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.area-chip { position: relative; display: inline-flex; align-items: baseline; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--card-soft); font-size: 14px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background-color .25s; }
.area-chip small { font-size: 11.5px; color: var(--muted); }
.area-chip[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); color: var(--primary); }
.area-chip.is-used::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.upload-drop > svg { width: 30px; height: 30px; color: var(--primary); }
.upload-extra { gap: 12px; }
.upload-extra .btn { min-height: 40px; }
.canva-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, rgba(0, 196, 204, .08), rgba(125, 42, 232, .08)); box-shadow: inset 0 0 0 1px rgba(125, 42, 232, .14); }
.canva-mark { grid-row: 1 / 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #00c4cc, #7d2ae8); color: #fff; font-family: "Pacifico", "Outfit", cursive; font-size: 15px; letter-spacing: -.01em; box-shadow: 0 10px 20px -10px rgba(125,42,232,.6); }
.canva-copy strong { font-weight: 600; font-size: 15px; }
.canva-copy .form-note { margin-top: 2px; }
.canva-btn { grid-column: 2; justify-self: start; --btn-bg: #7d2ae8; min-height: 40px; gap: 8px; }
.canva-btn:hover { background: #6a1fd1; }
.canva-btn small { font-size: 12px; opacity: .8; font-weight: 400; }
.layer-tools .lt-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.copy-to { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-copy { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 12.5px; color: var(--ink-2); transition: box-shadow .2s, color .2s; }
.btn-copy:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }
.btn-copy svg { width: 13px; height: 13px; }
.layer-tools .btn-del { grid-column: auto; justify-self: auto; }

.checker { background-color: #1f1c24; background-image: linear-gradient(45deg, #2a2630 25%, transparent 25%), linear-gradient(-45deg, #2a2630 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2a2630 75%), linear-gradient(-45deg, transparent 75%, #2a2630 75%); background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }

.sc-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.sc-modal[hidden] { display: none; }
.sc-modal__backdrop { position: absolute; inset: 0; background: rgba(23, 19, 29, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.sc-modal__panel { position: relative; width: min(860px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.sc-modal.is-open .sc-modal__backdrop { opacity: 1; }
.sc-modal.is-open .sc-modal__panel { opacity: 1; transform: none; }
.sc-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.sc-modal__head h2 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.sc-modal__body { padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.sc-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.sc-modal__foot .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.fm-file { display: grid; gap: 10px; }
.fm-file .checker { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.fm-file .checker img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.fm-mockup .checker { aspect-ratio: 16 / 10; }
.fm-mockup .checker img { inset: 0; width: 100%; height: 100%; }
.fm-file figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; font-size: 14px; }
.fm-file figcaption span { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.fm-file figcaption .link-arrow { grid-row: 1 / 3; grid-column: 2; font-size: 14px; }
.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.sc-modal.is-busy .sc-modal__panel { width: auto; min-width: 260px; }
.busy { display: grid; justify-items: center; gap: 14px; padding: 32px 36px; text-align: center; }
.busy p { color: var(--ink-2); font-size: 15px; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
.sc-modal__body.ready { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 28px 24px; }
#ready-modal .sc-modal__panel { width: min(440px, 100%); }
.empty-ic.ok { background: #dcfce7; color: #15803d; }
.empty-ic.ok svg { width: 30px; height: 30px; }
@media (max-width: 720px) {
  .tabs.tabs-4 .tab span { display: none; }
  .tabs.tabs-4 .tab[aria-selected="true"] span { display: inline; font-size: 13px; }
  .view-toggle button, .view-toggle .vt-pill { width: 72px; }
  .view-toggle[data-view="back"] .vt-pill { transform: translateX(72px); }
  .canva-card { grid-template-columns: 1fr; }
  .canva-mark { grid-row: auto; width: 46px; height: 46px; font-size: 13px; }
  .canva-btn { grid-column: auto; }
  .sc-modal { padding: 0; place-items: end center; }
  .sc-modal__panel { border-radius: 24px 24px 0 0; max-height: 92dvh; }
  .sc-modal__foot .btn { flex: 1 1 auto; }
  .fm-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.print-area.is-active.has-layers .pa-hint { opacity: 0; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.rating-summary { display: flex; align-items: center; gap: 14px; margin-top: 22px; animation: fade-in .9s var(--ease) .2s both; }
.rating-summary .big { font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.rating-summary .meta { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: #e7dbe2; }
.review-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.review-card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.review-card h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.review-card > p, .review-card .rv-text { margin-top: 10px; color: var(--muted); font-weight: 300; }
.star-picker { display: flex; gap: 6px; margin-top: 26px; }
.star-picker button { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #e4d6de; background: var(--bg); transition: color .2s, transform .35s var(--ease), background-color .2s; }
.star-picker button svg { width: 34px; height: 34px; }
.star-picker button.is-lit { color: #f5b301; background: #fff8e1; }
.star-picker button:hover { transform: translateY(-3px) scale(1.06); }
.star-label { margin-top: 12px; min-height: 22px; font-weight: 500; color: var(--ink-2); }
.rv-form { display: grid; gap: 14px; margin-top: 22px; }
.rv-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-hint { font-size: 12.5px; color: var(--muted); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.rv-chosen { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; margin-top: 16px; }
.rv-chosen button { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; }
.photo-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--line-strong); cursor: pointer; transition: border-color .2s, background-color .2s; }
.photo-pick:hover { border-color: var(--primary); background: var(--primary-soft); }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-pick .ph { width: 64px; height: 64px; border-radius: 14px; background: var(--card-soft); display: grid; place-items: center; color: var(--primary); overflow: hidden; flex: none; }
.photo-pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick .ph svg { width: 26px; height: 26px; }
.photo-pick span { font-size: 14px; color: var(--ink-2); }
.rv-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.rv-done .empty-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.rv-done p { color: var(--muted); max-width: 40ch; }
.btn-google { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 10px 22px -16px rgba(0,0,0,.4); }
.btn-google:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #4285f4, 0 14px 26px -16px rgba(66,133,244,.6); }
.btn-google svg { width: 20px; height: 20px; }
.review-side { display: grid; gap: 14px; }
.side-card { padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.side-card h3 { font-size: 17px; font-weight: 500; }
.side-card p { font-size: 14px; color: var(--muted); font-weight: 300; margin-top: 6px; }
.side-card .btn { margin-top: 14px; }
.reviews-grid { columns: 3 280px; column-gap: 16px; }
.rv-item { break-inside: avoid; margin-bottom: 16px; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.rv-item p { color: var(--ink-2); font-weight: 300; line-height: 1.6; white-space: pre-line; }
.rv-item .rv-photo { display: block; border-radius: 16px; overflow: hidden; background: var(--card-soft); }
.rv-item .rv-photo img { width: 100%; max-height: 340px; object-fit: cover; transition: transform 1s var(--ease); }
.rv-item .rv-photo:hover img { transform: scale(1.04); }
.rv-item footer { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rv-item .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 14px; flex: none; }
.rv-item footer span { color: var(--muted); font-size: 12.5px; }
.rv-empty { padding: 40px 20px; text-align: center; color: var(--muted); border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); }
.home-reviews[hidden] { display: none; }
@media (max-width: 960px) { .review-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .star-picker { gap: 4px; }
  .star-picker button { width: calc((100vw - 80px) / 5); max-width: 58px; height: 54px; border-radius: 14px; }
  .rv-form .row2 { grid-template-columns: 1fr; }
}
