.account-link { color: var(--navy); font-weight: 700; font-size: 14px; white-space: nowrap; }
.account-link:hover, .account-email { color: var(--blue); }
.account-entry { display: grid; place-items: center; padding-block: 28px 72px; }
.account-card { display: grid; gap: 14px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 34px rgba(18,53,103,.07); }
.account-entry .account-card { width: min(100%, 540px); text-align: center; justify-items: center; }
.account-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--blue); background: var(--pale); font-size: 34px; }
.account-card h2 { margin: 0; }
.account-dashboard { padding-block: 24px 70px; }
.account-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.account-grid { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 20px; align-items: start; }
.account-email { overflow-wrap: anywhere; font-weight: 700; }
.account-card form { display: grid; gap: 12px; }
.account-card form label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
.account-card input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); font: inherit; }
.account-orders-list { display: grid; gap: 12px; }
.account-order { padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.account-order-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.account-order p { margin-top: 8px; }
.account-order a { color: var(--blue); font-weight: 700; }
.account-hint { grid-column: 1 / -1; margin: 0 0 -8px; color: var(--muted); font-size: 13px; }
.account-hint a { color: var(--blue); font-weight: 700; }
@media (max-width: 760px) {
  .account-link { font-size: 12px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-tools { align-items: flex-start; }
}
/* Dizanor storefront v3. Brand: white, blue #0875f5, orange #ff8019, navy #123567. */
@font-face { font-family: Fredoka; src: url("../story-fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Nunito; src: url("../story-nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --blue: #0875f5; --blue-deep: #0b397b; --navy: #123567; --orange: #ff8019; --orange-soft: #fff1e5;
  --ink: #283e5f; --muted: #66788e; --line: #e3ebf3; --pale: #eff7ff; --cream: #fffaf4; --white: #fff;
  --ok: #128a4a; --warn: #a15c00; --error: #c03535;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 10px 30px rgba(18, 53, 103, .08);
  --gutter: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 Nunito, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .2em; }
h1, h2, h3 { font-family: Fredoka, Nunito, sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.5px; }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.muted, .mini-note { color: var(--muted); }
.mini-note { font-size: 14px; }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.5; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.lead { font-size: 18px; max-width: 70ch; color: var(--muted); }

/* Bars and header */
.preview-ribbon { background: #fff3d6; color: #6b4400; text-align: center; font-size: 14px; padding: 6px var(--gutter); }
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: center; gap: 28px; padding: 7px 0; flex-wrap: wrap; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 132px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pale); }
.cart-link svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--navy); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 2px solid var(--orange); border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 128, 25, .25); }
.button.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.button.ghost:hover { border-color: var(--blue); box-shadow: none; }
.button.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button.wide { width: 100%; }
.button[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.link-button { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.text-link { font-weight: 800; text-decoration: none; }

/* Home */
.hero { background: linear-gradient(180deg, var(--pale), var(--white)); padding: clamp(28px, 6vw, 72px) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.hero-media { position: relative; margin: 0; }
.hero-media > img:first-child { border-radius: 32px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.hero-mascots { position: absolute; left: -24px; bottom: -28px; width: clamp(110px, 16vw, 180px); background: var(--white); border-radius: 50%; padding: 12px; box-shadow: var(--shadow); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; }
.trust-list b { color: var(--navy); font-size: 15px; }
.trust-list span { color: var(--muted); font-size: 13px; }
.section { padding: clamp(40px, 7vw, 88px) 0; }
.section.compact { padding-top: 24px; }
.section.tinted { background: var(--cream); }
.section-head { margin-bottom: 28px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); color: var(--navy); border-radius: var(--radius-sm); padding: 10px 14px; font-family: Fredoka, sans-serif; font-size: 18px; font-weight: 600; }
.category-card small { display: block; font-family: Nunito, sans-serif; font-size: 13px; color: var(--muted); font-weight: 600; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.story-grid > img { max-width: 360px; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facts article { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* Products */
.page-head { background: var(--pale); padding: clamp(28px, 5vw, 56px) 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media { position: relative; display: block; aspect-ratio: 1; background: var(--pale); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: grid; place-items: center; height: 100%; font-family: Fredoka, sans-serif; color: var(--blue); font-size: 24px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.muted-badge { background: var(--navy); }
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body .eyebrow { font-size: 11px; margin-bottom: 4px; }
.product-body h3 { font-size: 17px; margin-bottom: 8px; }
.product-body h3 a { color: var(--navy); text-decoration: none; }
.price { font-family: Fredoka, sans-serif; color: var(--navy); font-size: 20px; font-weight: 600; margin: auto 0 0; }
.price small { font-family: Nunito, sans-serif; font-size: 13px; color: var(--muted); font-weight: 600; }
.price.big { font-size: 34px; margin: 4px 0 2px; }
.product-body .mini-note { margin: 2px 0 0; font-size: 13px; color: var(--ok); font-weight: 700; }
.empty { text-align: center; padding: 48px 0; }
.breadcrumb { padding: 16px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 40px; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--pale); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; padding: 0; background: none; cursor: pointer; flex: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.buy-box { position: sticky; top: 96px; }
.options { border: 0; padding: 0; margin: 18px 0 0; }
.options legend { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.options label { display: inline-block; margin: 0 8px 8px 0; }
.options input { position: absolute; opacity: 0; }
.options span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; }
.options input:checked + span { border-color: var(--blue); background: var(--pale); color: var(--blue); }
.options input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.stock { font-weight: 800; margin: 14px 0 8px; }
.stock.in { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--error); }
.buy-row { display: flex; gap: 12px; align-items: end; }
.qty { display: grid; font-size: 13px; font-weight: 700; color: var(--muted); }
.qty input { width: 76px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 10px; text-align: center; }
.added { margin-top: 10px; color: var(--ok); font-weight: 700; }
.offers { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: var(--cream); }
.offers h2 { font-size: 17px; }
.offers ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.offers a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 700; }
.offers a:hover { border-color: var(--blue); }
.offers a b::after { content: " ↗"; color: var(--muted); font-weight: 400; }
.assurance { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; }
.prose { max-width: 78ch; }
.prose p, .prose li { line-height: 1.7; }
.product-description { padding: 8px 0 48px; }

/* Cart and checkout */
.checkout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; padding-block: 28px 64px; align-items: start; }
.cart-panel, .checkout-form { grid-column: 1; }
.summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; background: var(--pale); border-radius: var(--radius); padding: 22px; }
.summary dl { margin: 0; }
.summary dl > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary dd { margin: 0; font-weight: 700; }
.summary .total { border-bottom: 0; font-size: 18px; color: var(--navy); }
.summary .total dd { font-family: Fredoka, sans-serif; font-size: 24px; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--pale); }
.cart-line h3 { font-size: 16px; margin: 0 0 2px; }
.cart-line h3 a { color: var(--navy); text-decoration: none; }
.cart-line .controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-line .controls input { width: 64px; height: 38px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; }
.cart-line .line-total { font-weight: 800; color: var(--navy); white-space: nowrap; }
.cart-line .warn-text { color: var(--error); font-size: 13px; font-weight: 700; }
.cart-empty { text-align: center; padding: 40px 0; }
.checkout-form, .lead-form { margin-top: 12px; }
.checkout-form h2 { margin-top: 28px; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); font-weight: 400; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(8, 117, 245, .15); }
.form-grid [aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.check.warn { background: #fff3d6; border-radius: 12px; padding: 10px 12px; }
.legal-preview { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 16px; margin: 12px 0; max-height: 420px; overflow: auto; background: var(--white); }
.legal-preview summary { font-weight: 800; color: var(--navy); cursor: pointer; padding: 8px 0; }
.form-error { color: var(--error); font-weight: 700; }
.notice { background: var(--pale); border-radius: var(--radius-sm); padding: 12px 16px; }
.notice.warn { background: #fff3d6; color: #6b4400; }
.hp { position: absolute; left: -9999px; }

/* Orders */
.order-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; padding-block: 28px 64px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: step; }
.steps li { counter-increment: step; text-align: center; font-size: 13px; color: var(--muted); font-weight: 700; padding-top: 34px; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; }
.steps li.done { color: var(--navy); }
.steps li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.pay-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.bank { display: grid; gap: 4px; margin: 0 0 12px; }
.bank > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.bank dt { color: var(--muted); font-weight: 700; }
.bank dd { margin: 0; overflow-wrap: anywhere; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--pale); padding: 2px 6px; border-radius: 6px; }
.order-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* Legal and info */
.legal { padding-block: 32px 64px; }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--pale); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-block: 32px 64px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 20px; }

/* Footer and consent */
.footer { background: var(--navy); color: #d9e4f3; margin-top: 0; }
.footer a, .footer .link-button { color: #fff; text-decoration: none; display: block; padding: 3px 0; font-size: 15px; }
.footer a:hover, .footer .link-button:hover { text-decoration: underline; }
.footer h2 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0 32px; }
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 14px; }
.pay-note { font-weight: 700; color: #fff; }
.legal-strip { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 0 24px; font-size: 12px; color: #aebfd6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-strip p { margin: 0; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin-inline: auto; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(18, 53, 103, .25); padding: 18px 20px; display: grid; gap: 12px; }
.consent p { margin: 0; font-size: 14px; }
.consent div { display: flex; gap: 10px; flex-wrap: wrap; }
[hidden] { display: none !important; }

@media (max-width: 1020px) {
  .hide-md { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .topbar-inner { gap: 14px; font-size: 12px; }
  .menu-button { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .hide-md { display: block; }
  .header-inner { min-height: 64px; }
  .header-actions { margin-left: auto; }
  .hero-grid, .story-grid, .product-layout, .checkout, .order-layout, .facts, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-mascots { left: auto; right: 8px; bottom: -22px; }
  .trust-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 10px 12px 14px; }
  .product-body h3 { font-size: 15px; }
  .price { font-size: 17px; }
  .buy-box, .summary { position: static; }
  .summary { grid-column: 1; grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps li { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line .line-total { grid-column: 2; }
}
@media print {
  .topbar, .header, .footer, .preview-ribbon, .consent, .no-print { display: none !important; }
  body { font-size: 12pt; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
