/* ==========================================================================
   KD GRAV — new web identity
   Palette: concept 07 "Terracotta Film"  ·  Layout language: concept 05 "Split"
   Applies to: public site, header, footer, personal account (LK), admin panel
   ========================================================================== */

:root{
  --kd-ink:#21120e; --kd-deep:#5f261d; --kd-terra:#a74730; --kd-rust:#c46749;
  --kd-sand:#e8c3a4; --kd-cream:#f4e5d3; --kd-paper:#fbf3e8;
  --kd-accent:#f0c28b; --kd-night:#4e2119;
  --kd-line:rgba(33,18,14,.20); --kd-line-2:rgba(33,18,14,.10);
  --kd-lite:rgba(251,243,232,.72); --kd-lite-line:rgba(251,243,232,.22);

  /* legacy token remap */
  --bg:#f4e5d3; --bg-2:#fbf3e8; --panel:#fbf3e8; --line:rgba(33,18,14,.20);
  --txt:#21120e; --dim:#7a5343; --silver:#5f261d; --silver-2:#8a5a45;
  --accent:#a74730;
}

body,body.public-shell,body.adm-shell{background:var(--kd-cream);color:var(--kd-ink)}
.bg3d-wrap{display:none!important}
h1,h2,h3,h4{letter-spacing:-.02em}
.eyebrow,.logo-s,.cell-k,.fact-l{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--kd-terra)}
.note{color:var(--kd-dim,#7a5343)}
.silver{color:var(--kd-deep)}
.hair,.hr{background:var(--kd-line)}

/* ---------------- buttons: flat, film-frame ---------------- */
.btn{border-radius:0!important;background:transparent;color:var(--kd-deep);
  border:1px solid rgba(33,18,14,.30);box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  font-size:11px;font-weight:700;letter-spacing:.10em;text-transform:uppercase}
.btn:hover{background:var(--kd-sand);border-color:var(--kd-sand);color:var(--kd-ink)}
.btn-solid{background:var(--kd-terra);color:var(--kd-paper);border-color:var(--kd-terra)}
.btn-solid:hover{background:var(--kd-deep);border-color:var(--kd-deep);color:var(--kd-paper)}
.btn-ghost{background:transparent;border-color:rgba(33,18,14,.28);color:var(--kd-deep)}
.btn-ghost:hover{background:rgba(167,71,48,.10);border-color:var(--kd-terra);color:var(--kd-terra)}

/* ---------------- forms ---------------- */
input,select,textarea{background:#fff!important;color:var(--kd-ink)!important;
  border:1px solid rgba(33,18,14,.24)!important;border-radius:0!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{border-color:var(--kd-terra)!important;outline:none}
.field label{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kd-terra)}

/* ---------------- header ---------------- */
header.top{background:var(--kd-deep)!important;border-bottom:1px solid var(--kd-lite-line);
  -webkit-backdrop-filter:none;backdrop-filter:none}
.top-in{height:76px;gap:28px}
.logo img{width:auto!important;height:44px!important;max-height:44px!important;object-fit:contain}
nav.main{gap:26px;font-size:10.5px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--kd-lite)}
nav.main a{position:relative;padding-bottom:3px}
nav.main a:hover,nav.main a.on{color:var(--kd-paper)}
nav.main a.on:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--kd-accent)}
header.top .hchip{border-color:rgba(251,243,232,.32);color:var(--kd-paper);border-radius:0;font-size:11px;letter-spacing:.06em}
header.top .hchip:hover{border-color:var(--kd-accent);color:var(--kd-accent)}
header.top .hbadge{color:var(--kd-accent);opacity:1}
header.top .btn{color:var(--kd-paper);border-color:rgba(251,243,232,.45)}
header.top .btn:hover{background:var(--kd-paper);border-color:var(--kd-paper);color:var(--kd-deep)}
header.top .btn-solid{background:var(--kd-paper);color:var(--kd-deep);border-color:var(--kd-paper)}
.burger{border-color:rgba(251,243,232,.35)!important;border-radius:0!important;background:transparent!important}
.burger span{background:var(--kd-paper)!important}
@media(max-width:760px){
  nav.main{background:var(--kd-deep)!important;border-bottom:1px solid var(--kd-lite-line)}
  nav.main a{border-bottom:1px solid var(--kd-lite-line);color:var(--kd-lite)}
}

/* ---------------- footer ---------------- */
footer{margin-top:0;padding:0;background:var(--kd-night);color:var(--kd-lite);font-size:13px}
footer .wrap{max-width:1500px}
footer .f-in{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;
  align-items:start;padding:62px 0 44px;border-bottom:1px solid var(--kd-lite-line)}
footer .f-in>div>div{padding:3px 0}
footer .f-logo img{height:46px;width:auto;object-fit:contain;margin-bottom:16px}
footer .f-cap{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--kd-accent);margin-bottom:12px}
footer .logo-t{font-family:var(--serif);font-size:20px;color:var(--kd-paper);letter-spacing:.04em}
footer a{color:var(--kd-paper)}
footer a:hover{color:var(--kd-accent)}
footer .silver,footer .note a{color:var(--kd-accent)}
footer .note{color:rgba(251,243,232,.48)}
footer .f-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;
  padding:20px 0 30px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(251,243,232,.45)}
@media(max-width:900px){footer .f-in{grid-template-columns:1fr 1fr}}
@media(max-width:560px){footer .f-in{grid-template-columns:1fr;gap:26px;padding:44px 0 30px}}

/* ---------------- generic public surfaces ---------------- */
section{border-bottom:1px solid var(--kd-line-2)}
.card,.tar,.cell{background:var(--kd-paper);border-color:var(--kd-line);border-radius:0}
.tar.mid{background:var(--kd-terra);color:var(--kd-paper);border-color:var(--kd-terra)}
.tar.mid .k,.tar.mid ul,.tar.mid .lead2{color:rgba(251,243,232,.8)}
a.cell:hover{background:var(--kd-sand)}
.grid{background:var(--kd-line);border-color:var(--kd-line)}
table.t th{color:var(--kd-terra);border-bottom:1px solid var(--kd-line)}
table.t td{border-bottom:1px solid var(--kd-line-2)}
table.t tr:hover td{background:#f7ead9}
.flash{background:var(--kd-paper);border:1px solid var(--kd-line);border-radius:0}
.flash.ok{border-color:#7d8c5a;color:#3f4a26}
.flash.error{border-color:var(--kd-terra);color:var(--kd-deep)}
.st{border-radius:0;border-color:var(--kd-line);color:var(--kd-deep);font-weight:700}
.st.new{border-color:#a2734a;color:#7a4f28}
.st.work{border-color:var(--kd-terra);color:var(--kd-terra)}
.st.done{border-color:#5f7346;color:#425231}

/* ---------------- personal account (LK) ---------------- */
.account-wrap{background:var(--kd-cream);padding:0 0 90px}
.account-wrap>.wrap{max-width:1500px}
.account-hero{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:end;
  margin:0 0 0;padding:clamp(38px,5vw,72px) clamp(22px,3.4vw,52px);
  background:var(--kd-terra);color:var(--kd-paper);border:0;border-radius:0}
.account-hero .eyebrow{color:var(--kd-accent)}
.account-hero h1{margin:12px 0 8px;font-size:clamp(40px,6vw,86px);line-height:.82;
  text-transform:uppercase;letter-spacing:-.05em;color:var(--kd-paper)}
.account-hero .note{color:rgba(251,243,232,.75)}
.account-hero-side{display:flex;align-items:flex-end;gap:26px;flex-wrap:wrap}
.account-kv{display:flex;flex-direction:column;gap:4px;padding-left:16px;
  border-left:1px solid rgba(251,243,232,.35)}
.account-kv span{font-size:9.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--kd-accent)}
.account-kv b{font-family:var(--serif);font-size:30px;font-weight:500;color:var(--kd-paper)}
.account-hero .btn{color:var(--kd-paper);border-color:rgba(251,243,232,.5)}
.account-hero .btn:hover{background:var(--kd-paper);color:var(--kd-deep)}
.account-nav{display:flex;flex-wrap:wrap;gap:0;margin:0 0 26px;
  background:var(--kd-deep);border:0}
.account-tab{padding:15px 22px;border:0;border-right:1px solid rgba(251,243,232,.18);
  border-radius:0;background:transparent;color:rgba(251,243,232,.7);
  font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.account-tab:hover{background:rgba(251,243,232,.10);color:var(--kd-paper)}
.account-tab.on{background:var(--kd-accent);color:#492118}
.account-grid-4,.account-grid-2{gap:14px}
.account-kpi,.account-panel{background:var(--kd-paper);border:1px solid var(--kd-line);
  border-radius:0;box-shadow:none}
.account-kpi span{font-size:9.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--kd-terra)}
.account-kpi b{font-family:var(--serif);font-size:clamp(30px,3vw,44px);font-weight:500;color:var(--kd-ink);line-height:1}
.account-kpi small{color:#7a5343}
.account-kpi:first-child{background:var(--kd-deep);border-color:var(--kd-deep)}
.account-kpi:first-child b{color:var(--kd-paper)}
.account-kpi:first-child span{color:var(--kd-accent)}
.account-kpi:first-child small{color:rgba(251,243,232,.62)}
.account-title-row{border-bottom:1px solid var(--kd-line);padding-bottom:14px}
.account-note-box,.account-kv-mini,.account-bullet-row{background:#fff;border:1px solid var(--kd-line-2);border-radius:0}
.account-kv-mini span{font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kd-terra)}
.ui-table,.ui-table-row,.ui-empty{background:var(--kd-paper);border-color:var(--kd-line);border-radius:0}
.ui-table-head{background:var(--kd-sand);color:var(--kd-deep);border-color:var(--kd-line);
  font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.ui-row-summary:hover{background:#f7ead9}
.ui-primary{color:var(--kd-ink);font-weight:700}
.ui-sub,.ui-muted{color:#7a5343}
.ui-status{border-radius:0;border:1px solid var(--kd-line);color:var(--kd-deep);
  font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.ui-status--ok{border-color:#5f7346;color:#425231}
.ui-status--warn{border-color:var(--kd-terra);color:var(--kd-terra)}
.ui-row-cta{color:var(--kd-terra);font-weight:700;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase}
.ui-row-panel{background:#fff;border-top:1px solid var(--kd-line)}
.ui-star-pill span{border-radius:0;border:1px solid var(--kd-line);color:var(--kd-deep)}
.ui-star-pill input:checked+span{background:var(--kd-terra);color:var(--kd-paper);border-color:var(--kd-terra)}
@media(max-width:760px){
  .account-hero{grid-template-columns:1fr;padding:34px 20px}
  .account-hero-side{gap:18px}
  .account-nav{overflow-x:auto;flex-wrap:nowrap}
  .account-tab{white-space:nowrap}
}

/* ---------------- admin panel ---------------- */
body.adm-shell{background:var(--kd-cream)}
.adm-top{background:var(--kd-deep)!important;border-bottom:1px solid var(--kd-lite-line);
  -webkit-backdrop-filter:none;backdrop-filter:none}
.adm-in .logo img{height:40px!important;width:auto!important}
.adm-top .logo-t{color:var(--kd-paper);font-family:var(--serif)}
.adm-top .logo-s{color:var(--kd-accent)}
.adm-nav a{border-radius:0;color:rgba(251,243,232,.68);font-size:10.5px;font-weight:700;letter-spacing:.10em}
.adm-nav a:hover{background:rgba(251,243,232,.12);color:var(--kd-paper);border-color:rgba(251,243,232,.24)}
.adm-nav a.on{background:var(--kd-accent)!important;color:#492118!important;
  border-color:var(--kd-accent)!important;box-shadow:none!important}
.adm-nav a.adm-out{color:var(--kd-accent)}
.adm-sep{background:var(--kd-lite-line)}
.adm-burger{border-radius:0;background:rgba(251,243,232,.12)!important;
  border-color:rgba(251,243,232,.3)!important;box-shadow:none!important}
.adm-burger span{background:var(--kd-paper)}
@media(max-width:760px){.adm-nav{background:var(--kd-deep)!important;border-radius:0;
  border-color:var(--kd-lite-line);box-shadow:0 18px 40px rgba(33,18,14,.35)}
  .adm-nav a{border-radius:0}}
.adm-body{padding-top:36px}
.adm-body .wrap,.adm-body{max-width:1500px}
.adm-head{border-bottom:1px solid var(--kd-line);padding-bottom:16px}
.adm-tile,.adm-card,.media-it{border-radius:0;background:var(--kd-paper);
  border:1px solid var(--kd-line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.adm-tile:hover{transform:none;background:var(--kd-sand);border-color:var(--kd-terra)}
.adm-tile b{color:var(--kd-ink)}
.adm-tile span{color:#7a5343}
.adm-card-top{background:var(--kd-sand);color:var(--kd-deep);border-bottom:1px solid var(--kd-line);font-weight:600}
.adm-card-act{border-top:1px solid var(--kd-line);background:#fff}
.adm-card-body .r span{color:#7a5343}
.ph-thumb{border-radius:0;background:#fff;border-color:var(--kd-line)}
.media-it img{border-radius:0;border-color:var(--kd-line);background:#fff}
.media-n{color:var(--kd-deep)}
.kpi{background:var(--kd-line);border-color:var(--kd-line)}
.kpi div{background:var(--kd-paper)}
.kpi b{color:var(--kd-ink)}
.kpi span{color:var(--kd-terra);font-weight:700}
.chk{color:var(--kd-deep)}
.chk input{accent-color:var(--kd-terra)}
.adm-login{max-width:440px}
.adm-login-head img{height:56px;width:auto;object-fit:contain}
.adm-login-head .logo-t{font-family:var(--serif);font-size:26px;color:var(--kd-ink)}
.adm-login-head .logo-s{color:var(--kd-terra)}

/* ============ HARD OVERRIDES v2: LK / CATALOG / TERMS / ADMIN ============ */
/* cards, docs, terms */
body .card,body .adm-card,body .adm-tile,body .adm-fold,body .sz-fold,body .cert-card,body .dash-chart-wrap{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important;box-shadow:none!important;color:#21120e!important}
body .card h1,body .card h2,body .card h3,body .card h4{color:#21120e!important}
body .note{color:#6b463a!important}
body .eyebrow{color:#a74730!important}
body .silver{color:#5f261d!important}
body .hair{background:rgba(33,18,14,.16)!important}
body .adm-card-act{background:#f2e0cb!important}
body .adm-warn,body .kdg-bulk{background:#f7e2c0!important;border:1px solid #c08a3e!important;border-radius:0!important;color:#5f261d!important}
body .kdg-bulk-n{color:#5f261d!important}

/* form controls */
body input,body select,body textarea,body .field input,body .field select,body .field textarea,body .ui-toolbar input,body .ui-toolbar select,body .kdg-find input,body .ordx-search input,body .ordx-filters select,body .cm-qty{background:#ffffff!important;color:#21120e!important;border:1px solid rgba(33,18,14,.25)!important;border-radius:0!important}
body .field label,body .adm-date label{color:#8a5a45!important}
body input::placeholder,body textarea::placeholder{color:#a98a7a!important}

/* buttons on light surfaces */
.public-shell .btn,.public-shell .btn.btn-sm,body .btn,body .btn.btn-sm{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.3)!important;color:#5f261d!important;border-radius:0!important;box-shadow:none!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-size:11.5px!important;font-weight:600!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.public-shell .btn:hover,body .btn:hover{background:#e8c3a4!important;border-color:#a74730!important;color:#5f261d!important;transform:none!important}
.public-shell .btn-solid,.public-shell .btn.btn-solid,body .btn-solid{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
.public-shell .btn-solid:hover,body .btn-solid:hover{background:#5f261d!important;border-color:#5f261d!important;color:#fbf3e8!important}
.public-shell .btn-ghost,body .btn-ghost{background:transparent!important;border-color:rgba(33,18,14,.3)!important;color:#5f261d!important}

/* ui tables (LK + admin) */
body .ui-table,body .kdg-table{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important}
body .ui-table-head,body .kdg-thead{background:#e8c3a4!important;border-bottom:1px solid rgba(33,18,14,.22)!important;color:#7a3a29!important}
body .ui-table-row,body .kdg-row{border-bottom:1px solid rgba(33,18,14,.12)!important}
body .ui-row-summary,body .kdg-sum{background:#fbf3e8!important;color:#21120e!important}
body .ui-row-summary:hover,body .kdg-sum:hover,body .kdg-item[open] .kdg-sum{background:#f7e6d2!important}
body .ui-row-panel,body .kdg-panel,body .ordx-body{background:#f7ead9!important;border-top:1px solid rgba(33,18,14,.14)!important}
body .ui-row-cta,body .kdg-open,body .ordx-open{color:#a74730!important}
body .ui-primary,body .ui-kv b,body .kdg-c b,body .kdg-kv b,body .kdg-text,body .kdg-empty b{color:#21120e!important}
body .ui-sub,body .ui-muted,body .ui-kv span,body .kdg-c i,body .kdg-kv span,body .kdg-hint,body .kdg-head-note,body .kdg-card-t,body .kdg-empty span,body .kdg-menu-title{color:#6b463a!important}
body .ui-empty,body .kdg-empty{background:#f7ead9!important;border:1px dashed rgba(33,18,14,.3)!important;border-radius:0!important;color:#6b463a!important}
body .ui-kv,body .ui-note-box,body .kdg-card,body .kdg-bar,body .kdg-subform,body .kdg-edit-box,body .kdg-menu-box,body .ordx-card,body .ordx-stack,body .account-note-box{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important;color:#21120e!important;box-shadow:none!important}
body .review-text{color:#21120e!important}
body .kdg-menu-item{color:#21120e!important}
body .kdg-menu-item:hover:not(:disabled){background:#f2ded3!important}
body .kdg-menu-item--danger{color:#a72f1b!important}
body .kdg-menu-sep{background:rgba(33,18,14,.15)!important}
body .kdg-check,body .kdg-thead input[type=checkbox]{accent-color:#a74730!important}
body .kdg-row--new{box-shadow:inset 3px 0 0 #a74730!important}
body .kdg-row--work{box-shadow:inset 3px 0 0 #c08a3e!important}
body .kdg-row--done{box-shadow:inset 3px 0 0 #7d8b5a!important}

/* statuses */
body .ui-status,body .ui-badge,body .kdg-st{background:#f4e5d3!important;border:1px solid rgba(33,18,14,.25)!important;border-radius:0!important;color:#5f261d!important}
body .ui-status--ok,body .kdg-st--done{background:#e6ecd4!important;border-color:#7d8b5a!important;color:#41552a!important}
body .ui-status--warn,body .kdg-st--work{background:#f7e2c0!important;border-color:#c08a3e!important;color:#875612!important}
body .ui-status--off,body .kdg-st--off{background:#f6d9d2!important;border-color:#b45c48!important;color:#8e2f1b!important}
body .kdg-st--new{background:#f2ded3!important;border-color:#a74730!important;color:#a74730!important}

/* stars, pagers */
body .ui-star-pill span{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.25)!important;border-radius:0!important;color:#5f261d!important}
body .ui-star-pill input:checked + span{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
body .kdg-page,body .ui-pager .btn{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.25)!important;border-radius:0!important;color:#5f261d!important}
body .kdg-page.is-on{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
body .kdg-gap,body .ui-pager{color:#8a5a45!important}
body .review-photo,body .item-review-photo,body .kdg-thumb,body .ordx-thumb,body .ui-order-thumb{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.2)!important;border-radius:0!important}

/* account (LK) */
body .account-wrap{background:#f4e5d3!important}
body .account-hero{background:#a74730!important;border:0!important;border-radius:0!important;color:#fbf3e8!important}
body .account-hero h1,body .account-hero h2{color:#fbf3e8!important}
body .account-hero .eyebrow{color:#f0c28b!important}
body .account-hero .note{color:rgba(251,243,232,.78)!important}
body .account-hero .btn{background:transparent!important;border-color:rgba(251,243,232,.5)!important;color:#fbf3e8!important}
body .account-hero .btn:hover{background:#fbf3e8!important;border-color:#fbf3e8!important;color:#5f261d!important}
body .account-kv{background:#5f261d!important;border:1px solid rgba(251,243,232,.24)!important;border-radius:0!important}
body .account-kv span{color:#f0c28b!important}
body .account-kv b{color:#fbf3e8!important}
body .account-tab{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.2)!important;border-radius:0!important;color:#6b463a!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-size:11px!important}
body .account-tab:hover{border-color:#a74730!important;color:#a74730!important}
body .account-tab.on{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
body .account-kpi,body .account-panel,body .account-kv-mini,body .account-bullet-row{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important;color:#21120e!important}
body .account-kpi span,body .account-kv-mini span,body .account-bullet-row span{color:#8a5a45!important}
body .account-kpi b,body .account-kv-mini b,body .account-bullet-row b{color:#21120e!important}
body .account-kpi small{color:#6b463a!important}
body .account-copy-btn{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.25)!important;border-radius:0!important;color:#a74730!important}
body .account-copy-btn:hover{background:#f2ded3!important;border-color:#a74730!important;color:#5f261d!important}
body .account-copy-btn.is-done{color:#41552a!important;border-color:#7d8b5a!important}
body .account-table-compact th,body table.t th{color:#8a5a45!important}
body table.t td{border-bottom:1px solid rgba(33,18,14,.12)!important}

/* catalog / product / item / business */
.public-shell .tone-section{background:#f4e5d3!important;border-color:rgba(33,18,14,.14)!important;box-shadow:none!important}
.public-shell .category-card,.public-shell .product-card{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important}
.public-shell .category-card:hover,.public-shell a.product-card:hover{background:#f7e6d2!important;border-color:#a74730!important;transform:none!important}
.public-shell .product-card .cell-ph,.public-shell .category-card .cell-ph{background:#e8c3a4!important;border-bottom:1px solid rgba(33,18,14,.16)!important}
.public-shell .product-card .cell-n,.public-shell .category-card .cell-n{color:#21120e!important}
.public-shell .product-card .cell-d,.public-shell .category-card .cell-d{color:#6b463a!important}
.public-shell .product-card-foot .cell-p,.public-shell .category-card .cell-p,.public-shell .cell-p{color:#a74730!important}
.public-shell .product-select{background:#a74730!important;color:#fbf3e8!important;border-radius:0!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.public-shell .catalog-page .chip,body .chip{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.2)!important;border-radius:0!important;color:#5f261d!important}
.public-shell .catalog-page .chip.on,body .chip.on{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
.public-shell .catalog-page .search input{background:#ffffff!important;border-color:rgba(33,18,14,.25)!important;border-radius:0!important}
.public-shell .hero-shot,.public-shell .shot,.public-shell .item-main-section .item-plate,.public-shell .price-rows{border-radius:0!important}
.public-shell .item-main-section .item-plate,.public-shell .price-rows,.public-shell .business-stats .card,.public-shell .item-concept-design,.public-shell .concept-steps article,.public-shell .b2b-numbers b,.public-shell .b2b-form,.public-shell .cs-journey span{background:#fbf3e8!important;border-color:rgba(33,18,14,.16)!important;border-radius:0!important;color:#21120e!important}
.public-shell .price-row{border-color:rgba(33,18,14,.14)!important}
.public-shell .concept-steps b{background:#a74730!important;color:#fbf3e8!important}
.public-shell .concept-steps p,.public-shell .b2b-numbers small,.public-shell .hero-concept-lead,.public-shell .hero-promises,.public-shell .hero-concept-price span,.public-shell .cs-journey span{color:#6b463a!important}
.public-shell .cs-journey span.on{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
.public-shell .item-concept-design>div a{background:#f7ead9!important;border-color:rgba(33,18,14,.2)!important;border-radius:0!important;color:#5f261d!important}
.public-shell .cart-item-card,.public-shell .cart-side-card,body .cart-item-card,body .cart-side-card{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important}

/* concept hero on catalog / item / business */
.public-shell .concept-hero{background:#5f261d!important;border-bottom:1px solid rgba(251,243,232,.2)!important}
.public-shell .concept-hero h1{color:#fbf3e8!important}
.public-shell .concept-hero .eyebrow{color:#f0c28b!important}
.public-shell .concept-hero .hero-concept-lead,.public-shell .concept-hero .hero-promises,.public-shell .concept-hero .fact-l,.public-shell .concept-hero .note{color:rgba(251,243,232,.74)!important}
.public-shell .concept-hero .fact-n,.public-shell .concept-hero .hero-concept-price b{color:#f0c28b!important}
.public-shell .concept-hero .btn{background:transparent!important;border-color:rgba(251,243,232,.5)!important;color:#fbf3e8!important}
.public-shell .concept-hero .btn:hover,.public-shell .concept-hero .btn-solid{background:#fbf3e8!important;border-color:#fbf3e8!important;color:#5f261d!important}
.public-shell .concept-hero-media:before{background:linear-gradient(90deg,#5f261d 0%,rgba(95,38,29,.92) 26%,rgba(95,38,29,.58) 54%,rgba(95,38,29,.12) 80%,transparent 100%),linear-gradient(0deg,rgba(95,38,29,.6) 0%,transparent 26%)!important}
.public-shell .concept-hero-mobile-shot{border-radius:0!important;border-color:rgba(251,243,232,.25)!important;background:#5f261d!important;box-shadow:none!important}

/* constructor panels */
body .cs-toolbar,body .cst-zone-live,body .cs-controls{background:#f7ead9!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important;color:#21120e!important}
body .cs-add .cs-file{background:#f7ead9!important;border:1.5px dashed rgba(33,18,14,.32)!important;border-radius:0!important;color:#5f261d!important}
body .cs-range,body .cst-zone-help span{color:#6b463a!important}
body .cst-zone-help span{background:#f7ead9!important;border:1px solid rgba(33,18,14,.18)!important}

/* admin shell */
body.adm-shell,.adm-shell body{background:#f4e5d3!important;color:#21120e!important}
.adm-shell .adm-top{background:#5f261d!important;border-bottom:1px solid rgba(251,243,232,.2)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.adm-shell .adm-nav a{background:transparent!important;border:1px solid transparent!important;border-radius:0!important;color:rgba(251,243,232,.72)!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-size:11px!important}
.adm-shell .adm-nav a:hover{background:rgba(251,243,232,.12)!important;border-color:transparent!important;color:#fbf3e8!important}
.adm-shell .adm-nav a.on{background:#f0c28b!important;border-color:#f0c28b!important;color:#492118!important;box-shadow:none!important}
.adm-shell .adm-sep{background:rgba(251,243,232,.25)!important}
.adm-shell .adm-burger{background:transparent!important;border:1px solid rgba(251,243,232,.4)!important;border-radius:0!important;box-shadow:none!important;color:#fbf3e8!important}
.adm-shell .adm-top .note,.adm-shell .adm-top a.adm-out{color:rgba(251,243,232,.72)!important}
body .ordx-stat{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important;color:#6b463a!important}
body .ordx-stat b{color:#21120e!important}
body .ordx-stat.is-on{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
body .ordx-stat.is-on b{color:#fbf3e8!important}
body .ordx-row{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important}
body .ordx-row[open] .ordx-main,body .ordx-row:hover .ordx-main{background:#f7e6d2!important}
body .ordx-col b,body .ordx-kv b,body .ordx-line b{color:#21120e!important}
body .ordx-col span,body .ordx-kv span,body .ordx-card-title,body .ordx-caption,body .ordx-line span{color:#6b463a!important}
body .ordx-new{border-color:#a74730!important}
body .ordx-work{border-color:#c08a3e!important}
body .ordx-done{border-color:#7d8b5a!important}
body .kdg-tab,body .kdg-more-btn,body .kdg-menu-btn,body .kdg-edit-btn{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.22)!important;border-radius:0!important;color:#5f261d!important}
body .kdg-tab.is-on,body .kdg-more[open] .kdg-more-btn,body .kdg-edit[open] .kdg-edit-btn{background:#a74730!important;border-color:#a74730!important;color:#fbf3e8!important}
body .kdg-tab b{color:#8a5a45!important}
body .kdg-tab.is-on b{color:#fbf3e8!important}
body .kdg-more-box{background:#f7ead9!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important}
body .kpi{background:rgba(33,18,14,.16)!important}
body .kpi a,body .kpi div{background:#fbf3e8!important;color:#21120e!important}
.adm-shell .hero-setting{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.16)!important;border-radius:0!important}
.adm-shell .hero-setting-preview{background:#e8c3a4!important;border-radius:0!important}
.adm-shell .hero-setting input[type=file]{background:#ffffff!important}
body .media-it,body .ph-thumb{background:#fbf3e8!important;border:1px solid rgba(33,18,14,.18)!important;border-radius:0!important}
@media(max-width:760px){.adm-shell .adm-nav{background:#5f261d!important;border:1px solid rgba(251,243,232,.24)!important;border-radius:0!important}}

/* mobile drawer */
body .mobile-drawer-win{background:#5f261d!important;border-left:1px solid rgba(251,243,232,.22)!important;box-shadow:none!important}
body .md-head,body .md-footer,body .md-user-stats{border-color:rgba(251,243,232,.2)!important}
body .md-user-card,body .md-nav-item{background:rgba(251,243,232,.08)!important;border:1px solid rgba(251,243,232,.2)!important;border-radius:0!important;color:#fbf3e8!important}
body .md-nav-item:hover,body .md-nav-item:active{background:rgba(251,243,232,.18)!important;border-color:rgba(251,243,232,.35)!important}
body .md-nav-icon{background:rgba(251,243,232,.14)!important;border:1px solid rgba(251,243,232,.24)!important;border-radius:0!important}
body .md-nav-icon svg,body .md-nav-txt b,body .md-user-meta b{color:#fbf3e8!important}
body .md-nav-txt small,body .md-user-meta span,body .md-stat-box span,body .md-footer .note,body .md-contact-row{color:rgba(251,243,232,.68)!important}
body .md-stat-box b{color:#f0c28b!important}
body .md-avatar{background:#a74730!important;border:1px solid rgba(251,243,232,.3)!important;border-radius:0!important;color:#fbf3e8!important}
body .md-close{color:rgba(251,243,232,.75)!important}
body .md-arrow{color:#f0c28b!important}
body .burger{background:transparent!important;border:1px solid rgba(251,243,232,.4)!important;border-radius:0!important;box-shadow:none!important}
body .burger span{background:#fbf3e8!important}

/* cart drawer */
body .cart-modal-win{background:#f4e5d3!important;border-left:1px solid rgba(33,18,14,.2)!important;color:#21120e!important}
body .cm-head{background:#5f261d!important;color:#fbf3e8!important;border-bottom:1px solid rgba(33,18,14,.18)!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-size:13px!important}
body .cm-head b{color:#fbf3e8!important;font-weight:600!important}
body .cart-modal-x,body .cm-head .icon-only{color:#fbf3e8!important}
body .cm-foot{background:#fbf3e8!important;border-top:1px solid rgba(33,18,14,.18)!important}
body .cm-row{border-bottom:1px solid rgba(33,18,14,.12)!important}
body .cm-name,body .cm-sum,body .cm-total b{color:#21120e!important}
body .cm-sub,body .cm-empty .note{color:#6b463a!important;opacity:1!important}
body .cm-th{background:#e8c3a4!important;border-radius:0!important}
body .cm-x{color:#a74730!important;opacity:.85!important}
body .cm-x:hover{color:#5f261d!important;opacity:1!important}
body .cm-empty .ico svg{color:#a74730!important}

/* re-assert header / footer on deep terracotta */
header.top{background:#5f261d!important}
header.top .btn{background:transparent!important;border-color:rgba(251,243,232,.42)!important;color:#fbf3e8!important}
header.top .btn:hover,header.top .btn-solid{background:#fbf3e8!important;border-color:#fbf3e8!important;color:#5f261d!important}
header.top .hchip{border-color:rgba(251,243,232,.32)!important;color:#fbf3e8!important;border-radius:0!important}
header.top .hchip:hover{border-color:#f0c28b!important;color:#f0c28b!important}
header.top .note,header.top .logo-t{color:#fbf3e8!important}
header.top .logo-s,header.top .hbadge{color:#f0c28b!important}
footer{background:#4e2119!important;color:rgba(251,243,232,.7)!important}
footer .note{color:rgba(251,243,232,.6)!important}
footer a{color:rgba(251,243,232,.82)!important}
footer a:hover,footer .silver,footer .f-cap{color:#f0c28b!important}
footer .f-logo img{width:160px;max-height:52px;object-fit:contain;display:block;margin-bottom:12px}
footer .f-cap{font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
footer .f-in{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;padding:60px 0 34px}
footer .f-in>div>div{margin-bottom:7px;font-size:13px}
footer .f-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 0 40px;border-top:1px solid rgba(251,243,232,.18);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(251,243,232,.55)}
@media(max-width:900px){footer .f-in{grid-template-columns:1fr 1fr}}
@media(max-width:560px){footer .f-in{grid-template-columns:1fr;gap:26px;padding:42px 0 26px}}

/* ===== 2026-08-21 UX pass: contrast, works carousel, b2b nowrap ===== */
:root{--kd-dim:#6b4034}

/* readable secondary text instead of washed-out grey */
.public-shell .note,.public-shell .cell-d,.public-shell .lead{color:#6b4034}
.public-shell .cs-range,.public-shell .cs-range span,.public-shell .cs-under{color:#6b4034!important}
.public-shell .cs-price{color:#a74730!important;font-weight:700;opacity:1!important}
.public-shell .cs-toolbar .cs-tool{color:#5f261d!important;opacity:1!important}
.public-shell .cs-toolbar .cs-tool:hover{color:#a74730!important;background:rgba(167,71,48,.10)!important}
.public-shell .cs-align button{color:#5f261d!important;border:1px solid rgba(33,18,14,.28)!important;background:#fff!important;opacity:1!important}
.public-shell .cs-align button:hover{color:#fbf3e8!important;background:#a74730!important;border-color:#a74730!important}
.public-shell .cs-area-l{color:#fbf3e8!important;opacity:.95!important;font-weight:700;letter-spacing:.12em}
.public-shell .fusion-cases p{color:#f2dcc9}
.public-shell .fusion-cases article>span{color:#f0c28b}
.public-shell .fusion-choices p{opacity:.92}
.public-shell .fusion-choices b,.public-shell .fusion-reels b,.public-shell .fusion-cases article>b,
.public-shell .fusion-process li>b,.public-shell .fusion-tariffs article>b{opacity:.88}

/* b2b figures: keep the value on one line */
.public-shell .b2b-numbers b,.public-shell .fusion-business aside b{white-space:nowrap}
.public-shell .b2b-numbers small,.public-shell .fusion-business aside small{white-space:nowrap}

/* works in detail: seamless auto-scrolling carousel */
.public-shell .fusion-cases>.fu-marquee{display:block;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.public-shell .fusion-cases .fu-track{display:flex;gap:0;width:max-content;animation:fu-scroll var(--fu-speed,28s) linear infinite;will-change:transform}
.public-shell .fusion-cases>.fu-marquee:hover .fu-track,.public-shell .fusion-cases>.fu-marquee:focus-within .fu-track{animation-play-state:paused}
.public-shell .fusion-cases .fu-track article{flex:0 0 clamp(300px,30vw,470px);margin-right:12px}
.public-shell .fusion-cases .fu-track figure{aspect-ratio:4/3}
@keyframes fu-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:700px){.public-shell .fusion-cases .fu-track article{flex:0 0 78vw}}
@media(prefers-reduced-motion:reduce){.public-shell .fusion-cases .fu-track{animation:none}
  .public-shell .fusion-cases>.fu-marquee{overflow-x:auto}}


/* ===== 2026-08-21 B2B page redesign ===== */
.public-shell .b2bx{--b2-ink:#21120e;--b2-deep:#5f261d;--b2-terra:#a74730;--b2-rust:#c46749;--b2-sand:#e8c3a4;--b2-cream:#f4e5d3;--b2-paper:#fbf3e8;--b2-night:#35130f;--b2-line:rgba(33,18,14,.16)}
.public-shell .b2bx h1,.public-shell .b2bx h2,.public-shell .b2bx h3{margin:0}
.public-shell .b2bx p{margin:0}
.public-shell .b2bx .wrap{max-width:1500px}
.public-shell .b2bx-eyebrow{font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--b2-sand);margin:0 0 18px!important}
.public-shell .b2bx-eyebrow-dark{color:var(--b2-terra)}

/* hero */
.public-shell .b2bx-hero{background:radial-gradient(120% 140% at 12% 0%,#5f261d 0%,#35130f 58%,#24100c 100%);color:var(--b2-paper);border-bottom:1px solid rgba(240,194,139,.22)}
.public-shell .b2bx-hero .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:center;padding:84px 0 78px}
.public-shell .b2bx-hero h1{font-size:clamp(30px,4.1vw,58px);line-height:1.04;letter-spacing:-.01em;color:var(--b2-paper)}
.public-shell .b2bx-lead{margin:20px 0 0!important;max-width:62ch;font-size:16px;line-height:1.62;color:rgba(251,243,232,.82)!important}
.public-shell .b2bx-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.public-shell .b2bx-btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 26px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;border:1px solid transparent;transition:background .18s,color .18s,border-color .18s}
.public-shell .b2bx-btn-main{background:var(--b2-rust);border-color:var(--b2-rust);color:#fff}
.public-shell .b2bx-btn-main:hover{background:var(--b2-paper);border-color:var(--b2-paper);color:var(--b2-deep)}
.public-shell .b2bx-btn-ghost{background:transparent;border-color:rgba(251,243,232,.42);color:var(--b2-paper)}
.public-shell .b2bx-btn-ghost:hover{background:rgba(251,243,232,.12);border-color:var(--b2-paper)}
.public-shell .b2bx-hero-note{margin-top:20px!important;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:rgba(240,194,139,.8)!important}
.public-shell .b2bx-figures{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(240,194,139,.26);border:1px solid rgba(240,194,139,.26)}
.public-shell .b2bx-figures b{display:flex;flex-direction:column;gap:8px;padding:24px 22px;background:rgba(53,19,15,.72)}
.public-shell .b2bx-figures i{font-style:normal;font-size:clamp(20px,2.3vw,30px);font-weight:700;line-height:1;white-space:nowrap;color:var(--b2-paper)}
.public-shell .b2bx-figures small{font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:rgba(240,194,139,.86)}

/* running band */
.public-shell .b2bx-band{background:var(--b2-rust);color:#fff}
.public-shell .b2bx-band .wrap{display:flex;flex-wrap:wrap;gap:14px 40px;justify-content:space-between;padding:18px 0}
.public-shell .b2bx-band span{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.94)}

/* light sections */
.public-shell .b2bx-section{background:var(--b2-paper);padding:76px 0}
.public-shell .b2bx-section-tint{background:var(--b2-cream)}
.public-shell .b2bx-head{margin-bottom:38px;max-width:64ch}
.public-shell .b2bx-head h2{font-size:clamp(22px,2.5vw,34px);line-height:1.12;color:var(--b2-ink)}

.public-shell .b2bx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--b2-line);border:1px solid var(--b2-line)}
.public-shell .b2bx-grid article{background:var(--b2-paper);padding:30px 26px 32px}
.public-shell .b2bx-grid span{display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--b2-terra);margin-bottom:14px}
.public-shell .b2bx-grid h3{font-size:17px;line-height:1.25;color:var(--b2-ink);margin-bottom:10px!important}
.public-shell .b2bx-grid p{font-size:14px;line-height:1.62;color:#6b4034}

.public-shell .b2bx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;list-style:none;margin:0;padding:0;counter-reset:none}
.public-shell .b2bx-steps li{position:relative;background:var(--b2-paper);border:1px solid var(--b2-line);border-left:3px solid var(--b2-rust);padding:24px 22px}
.public-shell .b2bx-steps b{display:block;font-size:11px;letter-spacing:.16em;color:var(--b2-terra);margin-bottom:12px}
.public-shell .b2bx-steps h3{font-size:16px;color:var(--b2-ink);margin-bottom:8px!important}
.public-shell .b2bx-steps p{font-size:14px;line-height:1.6;color:#6b4034}

.public-shell .b2bx-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.public-shell .b2bx-card{background:var(--b2-cream);border:1px solid var(--b2-line);padding:28px 26px}
.public-shell .b2bx-section-tint .b2bx-card{background:var(--b2-paper)}
.public-shell .b2bx-card h3{font-size:17px;color:var(--b2-ink);margin-bottom:16px!important}
.public-shell .b2bx-card dl{display:block;margin:0}
.public-shell .b2bx-card dl>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px dashed rgba(33,18,14,.18)}
.public-shell .b2bx-card dl>div:last-child{border-bottom:0}
.public-shell .b2bx-card dt{margin:0;font-size:14px;color:var(--b2-ink)}
.public-shell .b2bx-card dd{margin:0;font-size:14px;font-weight:700;white-space:nowrap;color:var(--b2-terra)}
.public-shell .b2bx-fine{margin-top:18px!important;font-size:12px;line-height:1.6;color:#6b4034!important}

/* form */
.public-shell .b2bx-form-section{background:linear-gradient(160deg,#5f261d 0%,#35130f 100%);color:var(--b2-paper);padding:78px 0}
.public-shell .b2bx-form-wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;align-items:start}
.public-shell .b2bx-form-side h2{font-size:clamp(22px,2.4vw,32px);line-height:1.12;color:var(--b2-paper)}
.public-shell .b2bx-side-list{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:10px}
.public-shell .b2bx-side-list li{position:relative;padding-left:20px;font-size:14px;line-height:1.55;color:rgba(251,243,232,.84)}
.public-shell .b2bx-side-list li:before{content:"";position:absolute;left:0;top:8px;width:8px;height:8px;background:var(--b2-rust)}
.public-shell .b2bx-side-contacts{display:flex;flex-direction:column;gap:6px;margin-top:26px;padding-top:22px;border-top:1px solid rgba(240,194,139,.28)}
.public-shell .b2bx-side-contacts a,.public-shell .b2bx-side-contacts span{font-size:14px;color:var(--b2-sand)!important;text-decoration:none}
.public-shell .b2bx-side-contacts a:hover{color:var(--b2-paper)!important}
.public-shell .b2bx-form{background:var(--b2-paper);border:1px solid rgba(240,194,139,.4);padding:32px 30px 30px}
.public-shell .b2bx-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.public-shell .b2bx-f{display:flex;flex-direction:column;gap:7px}
.public-shell .b2bx-f-wide{grid-column:1/-1}
.public-shell .b2bx-f>span{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--b2-terra)}
.public-shell .b2bx-f input{width:100%;padding:13px 14px;font-size:14px;background:#fff!important;color:var(--b2-ink)!important;border:1px solid rgba(33,18,14,.26)!important;border-radius:0!important}
.public-shell .b2bx-f input:focus{outline:none;border-color:var(--b2-terra)!important;box-shadow:0 0 0 3px rgba(167,71,48,.14)}
.public-shell .b2bx-submit{width:100%;margin-top:24px}
.public-shell .b2bx-form .b2bx-fine{color:#6b4034!important;text-align:center}

/* faq */
.public-shell .b2bx-faq{border-top:1px solid var(--b2-line)}
.public-shell .b2bx-faq details{border-bottom:1px solid var(--b2-line)}
.public-shell .b2bx-faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;position:relative;font-size:16px;font-weight:600;color:var(--b2-ink)}
.public-shell .b2bx-faq summary::-webkit-details-marker{display:none}
.public-shell .b2bx-faq summary:after{content:"+";position:absolute;right:6px;top:16px;font-size:22px;line-height:1;color:var(--b2-terra)}
.public-shell .b2bx-faq details[open] summary:after{content:"–"}
.public-shell .b2bx-faq p{padding:0 40px 22px 0;font-size:14px;line-height:1.66;color:#6b4034}

/* final */
.public-shell .b2bx-final{background:var(--b2-cream);border-top:1px solid var(--b2-line);padding:72px 0}
.public-shell .b2bx-final h2{font-size:clamp(22px,2.6vw,36px);line-height:1.1;color:var(--b2-ink)}
.public-shell .b2bx-final p{margin-top:14px!important;font-size:15px;line-height:1.6;color:#6b4034}
.public-shell .b2bx-final .b2bx-btn-ghost{border-color:rgba(33,18,14,.3);color:var(--b2-deep)}
.public-shell .b2bx-final .b2bx-btn-ghost:hover{background:var(--b2-deep);border-color:var(--b2-deep);color:var(--b2-paper)}

@media(max-width:1080px){
  .public-shell .b2bx-hero .wrap{grid-template-columns:1fr;gap:40px;padding:64px 0 58px}
  .public-shell .b2bx-grid{grid-template-columns:1fr 1fr}
  .public-shell .b2bx-steps{grid-template-columns:1fr 1fr}
  .public-shell .b2bx-form-wrap{grid-template-columns:1fr;gap:36px}
}
@media(max-width:640px){
  .public-shell .b2bx-section,.public-shell .b2bx-form-section,.public-shell .b2bx-final{padding:52px 0}
  .public-shell .b2bx-grid,.public-shell .b2bx-steps,.public-shell .b2bx-cols,.public-shell .b2bx-form-grid,.public-shell .b2bx-figures{grid-template-columns:1fr}
  .public-shell .b2bx-band .wrap{gap:10px 24px}
  .public-shell .b2bx-form{padding:24px 20px}
  .public-shell .b2bx-btn{width:100%}
}


/* ===== 2026-08-21 admin contrast + reviews ===== */
body .note,body .adm-tile span,body .adm-card-body .r span,body .adm-list-meta,
body .ui-muted,body .ui-sub,body .field label,body .adm-date label,
body .adm-card-body .field label{color:#5a3126!important}
body .mono,body .adm-list-main{color:#3a1f18!important}
body .badge{background:#f2e0cb!important;border:1px solid #b9803a!important;color:#5f261d!important;font-weight:600}
body .frz{color:#8c2f1b!important;font-weight:600}
body .adm-card-top{color:#3a1f18!important;font-weight:600}
body .adm-nav a{color:rgba(251,243,232,.9)!important}
body .eyebrow{color:#8a4a33!important}
body .adm-head .note{color:#5a3126!important}

/* review photos: larger, clickable */
.item-review-photo{display:block;width:100%;height:300px;overflow:hidden;
  border:1px solid var(--kd-line);cursor:zoom-in;position:relative;background:#f4e5d3}
.item-review-photo img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .4s ease}
.item-review-photo:hover img{transform:scale(1.05)}
body .review-photo{width:210px;height:210px;cursor:zoom-in;border-radius:0}
@media(max-width:760px){.item-review-photo{height:240px}
  body .review-photo{width:100%;height:260px}}

/* lightbox */
.kd-lb{position:fixed;inset:0;z-index:9999;background:rgba(24,12,9,.94);
  padding:26px;place-items:center;display:none}
.kd-lb.on{display:grid}
.kd-lb img{max-width:min(1120px,94vw);max-height:86vh;object-fit:contain;
  box-shadow:0 30px 90px rgba(0,0,0,.55)}
.kd-lb-close,.kd-lb-nav{position:absolute;background:rgba(251,243,232,.08);
  border:1px solid rgba(251,243,232,.45);color:#fbf3e8;cursor:pointer;
  line-height:1;transition:.2s}
.kd-lb-close:hover,.kd-lb-nav:hover{background:var(--kd-accent);color:#492118;
  border-color:var(--kd-accent)}
.kd-lb-close{top:18px;right:20px;width:46px;height:46px;font-size:26px}
.kd-lb-nav{top:50%;transform:translateY(-50%);width:54px;height:54px;font-size:30px}
.kd-lb-prev{left:18px}
.kd-lb-next{right:18px}
.kd-lb-count{position:absolute;bottom:20px;left:0;right:0;text-align:center;
  color:rgba(251,243,232,.82);font-size:13px;letter-spacing:.08em}
@media(max-width:640px){.kd-lb-nav{width:44px;height:44px;font-size:24px}
  .kd-lb-close{width:40px;height:40px;font-size:22px;top:12px;right:12px}}


/* ===== legal pages and technical-cookie notice ===== */
.legal-page{padding:54px 0 90px;border-bottom:0}.legal-wrap{max-width:980px}.legal-hero{padding:clamp(26px,5vw,54px);background:var(--kd-terra);color:var(--kd-paper);border:1px solid rgba(33,18,14,.18)}.legal-hero h1{margin:12px 0 12px;font-family:"Cormorant Garamond",serif;font-size:clamp(42px,7vw,76px);font-weight:500;line-height:.9}.legal-hero>p:not(.eyebrow){max-width:700px;margin:0;line-height:1.55;color:rgba(255,255,255,.85)}.legal-hero>span{display:block;margin-top:20px;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.legal-nav{display:flex;gap:7px;overflow:auto;padding:12px 0 18px}.legal-nav a{flex:0 0 auto;padding:9px 12px;border:1px solid rgba(33,18,14,.22);color:var(--kd-ink);text-decoration:none;font-size:12px}.legal-nav a:hover,.legal-nav a.on{background:var(--kd-deep);border-color:var(--kd-deep);color:var(--kd-paper)}.legal-doc{background:var(--kd-paper);border:1px solid rgba(33,18,14,.20);padding:clamp(22px,5vw,52px)}.legal-doc section{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid rgba(33,18,14,.16)}.legal-doc section:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}.legal-doc h2{margin:0 0 12px;font-family:"Cormorant Garamond",serif;font-size:clamp(27px,4vw,38px);font-weight:600;color:var(--kd-deep)}.legal-doc p,.legal-doc li{font-size:15px;line-height:1.72;color:#4d2f27}.legal-doc p{margin:9px 0}.legal-doc ul{margin:8px 0;padding-left:20px}.legal-doc a,.legal-check a{color:var(--kd-terra);text-decoration:underline;text-underline-offset:3px}.legal-table{display:grid;gap:1px;margin-top:16px;background:rgba(33,18,14,.18);border:1px solid rgba(33,18,14,.18)}.legal-table>div{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:16px;background:var(--kd-paper)}.legal-table span{line-height:1.55;color:#5f4038}.seller-details{margin:0}.seller-details>div{display:grid;grid-template-columns:170px 1fr;gap:18px;padding:11px 0;border-bottom:1px solid rgba(33,18,14,.13)}.seller-details dt{font-weight:700}.seller-details dd{margin:0}.legal-checks{display:grid;gap:10px;margin-top:16px}.legal-check{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;line-height:1.5;color:#5a3a31}.legal-check input{flex:0 0 auto;margin-top:3px}.b2bx-legal{margin:14px 0;color:rgba(255,255,255,.78)}.b2bx-legal a{color:#fff}.cookie-note{position:fixed;z-index:9997;left:18px;right:18px;bottom:18px;max-width:980px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 20px;background:#21120e;color:#fbf3e8;border:1px solid rgba(251,243,232,.36);box-shadow:0 18px 60px rgba(33,18,14,.36)}.cookie-note[hidden]{display:none!important}.cookie-note b{font-size:14px}.cookie-note p{margin:4px 0 0;max-width:680px;font-size:12.5px;line-height:1.45;color:rgba(251,243,232,.76)}.cookie-note-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}.cookie-note-actions a{color:#e8c3a4;font-size:12px}.cookie-note .btn{min-height:40px;padding:0 16px;background:#fbf3e8;color:#5f261d;border-color:#fbf3e8}@media(max-width:680px){.legal-page{padding-top:28px}.legal-table>div,.seller-details>div{grid-template-columns:1fr;gap:5px}.cookie-note{left:10px;right:10px;bottom:10px;display:grid;gap:14px}.cookie-note-actions{justify-content:space-between}.cookie-note .btn{flex:0 0 auto}}

/* Stable legal consent rows: checkbox must never inherit full-width form input rules. */
.legal-check{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-weight:400!important;
  box-sizing:border-box!important;
}
.legal-check>input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  display:block!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:1px 0 0!important;
  padding:0!important;
  flex:none!important;
  accent-color:var(--kd-terra);
  box-sizing:border-box!important;
}
.legal-check>span{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  overflow-wrap:anywhere;
  text-transform:none!important;
  letter-spacing:0!important;
}
.public-shell .b2bx-form .b2bx-legal{
  color:#5a3126!important;
  line-height:1.55!important;
  margin:16px 0 20px!important;
}
.public-shell .b2bx-form .b2bx-legal a{
  color:var(--b2-terra)!important;
}
@media(max-width:680px){
  .legal-check{grid-template-columns:18px minmax(0,1fr)!important;gap:9px!important;font-size:12px!important}
}


/* 2026-08-22 mobile adaptive pass */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
.site-chrome{position:sticky;top:0;z-index:120;width:100%}
.site-chrome header.top{position:relative!important;top:auto!important;z-index:2}
.payment-reminder{position:relative;z-index:3;background:#f4d06f;color:#21120e;border-bottom:1px solid rgba(33,18,14,.25);box-shadow:0 5px 18px rgba(0,0,0,.14)}
.payment-reminder-in{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:8px;padding-bottom:8px}
.payment-reminder-in>div{min-width:0;font-size:14px;line-height:1.4}
.payment-reminder .btn{flex:0 0 auto;white-space:nowrap;background:#a74730!important;color:#fff!important;border-color:#a74730!important;min-height:42px}

@media(max-width:700px){
  .site-chrome{position:sticky;top:0}
  .payment-reminder-in{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding-top:8px!important;padding-bottom:8px!important}
  .payment-reminder-in>div{font-size:12px;line-height:1.3}
  .payment-reminder-in>div b{display:block;margin-bottom:1px}
  .payment-reminder .btn{min-height:40px;padding:0 13px!important;font-size:10px!important;letter-spacing:.06em}
  .site-chrome .top-in{height:58px!important}

  .fusion-home{width:100%;overflow:hidden}
  .fusion-home section{max-width:100%}
  .fusion-hero,.fusion-board,.fusion-reels,.fusion-cases,.fusion-process,.fusion-business,.fusion-tariffs,.fusion-final{padding-left:20px!important;padding-right:20px!important}
  .fusion-title{padding:34px 0 22px!important;gap:18px}
  .fusion-title .kicker{font-size:10px;line-height:1.4}
  .fusion-title h1{font-size:clamp(40px,12.2vw,56px)!important;line-height:.86!important;letter-spacing:-.045em!important;overflow-wrap:normal;word-break:normal;text-wrap:balance}
  .fusion-title>p:not(.kicker){font-size:15px;line-height:1.5}
  .fusion-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .fusion-actions a{width:100%;min-height:46px}

  .fusion-choices{grid-template-columns:1fr!important;gap:12px}
  .fusion-choices>a{grid-template-columns:40% minmax(0,60%)!important;min-height:210px!important;border-width:5px!important}
  .fusion-choices figure{height:auto!important;min-height:210px}
  .fusion-choices>a>div{padding:18px!important}
  .fusion-choices h2{font-size:clamp(27px,8vw,34px)!important;line-height:.95!important;overflow-wrap:normal;word-break:normal}
  .fusion-choices p{font-size:13px!important;line-height:1.4}
  .fusion-ticker{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;overflow:visible!important;white-space:normal!important;padding:0!important;margin-top:18px!important}
  .fusion-ticker span{display:flex;align-items:center;justify-content:center;min-height:58px;padding:9px 7px;text-align:center;line-height:1.3;border-right:1px solid rgba(255,255,255,.28);font-size:9px}
  .fusion-ticker span:last-child{border-right:0}

  .fusion-board,.fusion-reels,.fusion-cases,.fusion-process,.fusion-tariffs{padding-top:64px!important;padding-bottom:64px!important}
  .fusion-board>header,.fusion-reels>header,.fusion-cases>header,.fusion-process>header,.fusion-tariffs>header{gap:10px!important;margin-bottom:24px!important;padding-bottom:14px!important}
  .fusion-board>header h2,.fusion-reels>header h2,.fusion-cases>header h2,.fusion-process>header h2,.fusion-tariffs>header h2{font-size:clamp(33px,10vw,42px)!important;line-height:.9!important;letter-spacing:-.025em!important;overflow-wrap:normal;word-break:normal;text-wrap:balance}
  .fusion-board article{min-height:0!important;padding:28px 24px!important}
  .fusion-board h3{max-width:11ch;margin:34px 0 20px!important;font-size:clamp(36px,11vw,48px)!important;line-height:.88!important;overflow-wrap:normal;word-break:normal}

  .fusion-reels{overflow:visible!important}
  .fusion-reels>div{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;overflow:visible!important;margin:0!important;padding:0!important;scroll-snap-type:none!important}
  .fusion-reels a{width:100%;max-width:100%;flex:auto!important;transform:none!important;scroll-snap-align:none!important;padding:10px 10px 20px}
  .fusion-reels figure{aspect-ratio:4/3;margin-bottom:16px}
  .fusion-reels h3{font-size:32px!important}

  .fusion-cases .fu-marquee{overflow:hidden}
  .public-shell .fusion-cases .fu-track{gap:10px}
  .public-shell .fusion-cases .fu-track article{flex:0 0 min(82vw,330px)!important;max-width:330px}
  .fusion-cases h3{font-size:25px}

  .fusion-process ol{grid-template-columns:1fr!important}
  .fusion-process li{min-height:0!important;padding:24px 0 30px!important}
  .fusion-process h3{margin:34px 0 8px!important;font-size:32px!important}

  .fusion-business{display:block!important;padding-top:64px!important;padding-bottom:64px!important}
  .fusion-business h2{max-width:100%!important;margin:18px 0!important;font-size:clamp(42px,12vw,56px)!important;line-height:.86!important;letter-spacing:-.03em;overflow-wrap:normal;word-break:normal}
  .fusion-business aside{margin-top:34px!important}
  .fusion-business aside b{font-size:34px!important;gap:16px}

  .fusion-tariffs>div{grid-template-columns:1fr!important}
  .fusion-tariffs article{min-height:0!important;padding:24px!important}
  .fusion-tariffs h3{margin:34px 0 10px!important;font-size:36px}
  .fusion-tariffs article>p{min-height:0}

  .fusion-final{padding-top:72px!important;padding-bottom:72px!important}
  .fusion-final h2{font-size:clamp(46px,13vw,62px)!important;line-height:.86!important;text-wrap:balance}
  .fusion-final>small{overflow-wrap:anywhere;line-height:1.6}
}

@media(max-width:430px){
  .payment-reminder-in{grid-template-columns:1fr}
  .payment-reminder .btn{width:100%;min-height:38px}
  .fusion-hero,.fusion-board,.fusion-reels,.fusion-cases,.fusion-process,.fusion-business,.fusion-tariffs,.fusion-final{padding-left:16px!important;padding-right:16px!important}
  .fusion-title h1{font-size:clamp(38px,11.5vw,48px)!important;line-height:.9!important}
  .fusion-choices>a{grid-template-columns:1fr!important}
  .fusion-choices figure{height:210px!important;min-height:0}
  .fusion-choices>a>div{min-height:190px}
  .fusion-ticker span{font-size:8.5px;padding-inline:4px}
  .fusion-board>header h2,.fusion-reels>header h2,.fusion-cases>header h2,.fusion-process>header h2,.fusion-tariffs>header h2{font-size:34px!important}
  .fusion-business h2{font-size:44px!important}
  .fusion-business aside b{font-size:31px!important}
  .fusion-business aside small{font-size:9px}
}

@media(prefers-reduced-motion:reduce){
  .fusion-home *{scroll-behavior:auto!important}
  .public-shell .fusion-cases .fu-track{animation:none!important;transform:none!important}
}


/* account refund dialog */
.refund-action{display:flex;justify-content:flex-end;margin-top:16px}
.refund-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(33,18,14,.25);background:#fbf3e8;color:#21120e;box-shadow:0 28px 90px rgba(33,18,14,.38);overflow:auto}
.refund-dialog::backdrop{background:rgba(33,18,14,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.refund-form{display:grid;gap:18px;padding:28px}
.refund-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid rgba(33,18,14,.16)}
.refund-head h2{margin:6px 0 0;font-family:"Cormorant Garamond",serif;font-size:42px;line-height:.9}
.refund-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid rgba(33,18,14,.24);background:transparent;color:#5f261d;font-size:28px;cursor:pointer}
.refund-summary{display:grid;grid-template-columns:110px minmax(0,1fr) 120px;border:1px solid rgba(33,18,14,.16);background:#f4e5d3}
.refund-summary>div{min-width:0;padding:14px;border-right:1px solid rgba(33,18,14,.14)}
.refund-summary>div:last-child{border-right:0}
.refund-summary span{display:block;margin-bottom:5px;color:#8a5a45;font-size:10px;text-transform:uppercase;letter-spacing:.09em}
.refund-summary b{display:block;overflow-wrap:anywhere}
.refund-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:560px){.refund-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.refund-form{padding:20px;gap:15px}.refund-head h2{font-size:34px}.refund-summary{grid-template-columns:1fr}.refund-summary>div{border-right:0;border-bottom:1px solid rgba(33,18,14,.14)}.refund-summary>div:last-child{border-bottom:0}.refund-actions{display:grid;grid-template-columns:1fr}.refund-actions .btn{width:100%;min-height:46px}.refund-action{justify-content:stretch}.refund-action .btn{width:100%}}

.refund-contact{margin:0;font-size:16px;line-height:1.6;color:#4d2f27}.refund-contact a{color:#a74730;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* safari dialog fallback */
.refund-dialog:not([open]){display:none}
.refund-dialog{margin:auto}
.refund-dialog.no-dialog{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9998}
.refund-dialog.no-dialog.is-open{display:block}
.refund-shade{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(33,18,14,.72);z-index:9997}
.refund-shade.is-open{display:block}

/* KDG_OWN_ITEM_V1 — блок своего предмета */
.own-sec{padding:8px 0 48px}
.own-card{padding:20px;display:grid;gap:16px}
.own-card h2{margin:0;font-size:clamp(20px,3vw,26px)}
.own-card .own-hint{margin:6px 0 0}
.own-body{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:18px;align-items:start}
.own-shot{position:relative;border-radius:14px;overflow:hidden;background:rgba(120,120,120,.12);min-height:180px;display:flex;align-items:center;justify-content:center}
.own-shot img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain}
.own-scan{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:12px;background:rgba(10,12,16,.45);color:#fff;font-size:13px;letter-spacing:.02em;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.own-scan-line{position:absolute;left:0;right:0;height:3px;background:linear-gradient(90deg,rgba(255,255,255,0),#7fd7ff,rgba(255,255,255,0));box-shadow:0 0 18px 4px rgba(127,215,255,.55);animation:ownScan 1.5s ease-in-out infinite}
.own-scan::after{content:"";position:absolute;inset:8px;border:1px solid rgba(127,215,255,.55);border-radius:10px}
@keyframes ownScan{0%{top:4%}50%{top:94%}100%{top:4%}}
@media (prefers-reduced-motion:reduce){.own-scan-line{animation:none;top:50%}}
.own-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.own-obj{font-weight:600;margin:0}
.own-note{margin:4px 0 0}
.own-warn{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:rgba(255,176,32,.14);border:1px solid rgba(255,176,32,.4);font-size:13px;line-height:1.45}
.own-total{display:flex;align-items:baseline;gap:10px;margin-top:12px;font-size:26px;font-weight:700}
.own-total small{font-size:13px;font-weight:400;opacity:.7}
.own-confirm{display:flex;gap:10px;align-items:flex-start;margin-top:10px;font-size:13px;line-height:1.45}
.own-confirm input{margin-top:2px;flex:0 0 auto;width:18px;height:18px}
.own-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.note.bad{color:#e2574c}
@media (max-width:760px){.own-body{grid-template-columns:1fr}.own-grid{grid-template-columns:1fr 1fr}.own-card{padding:16px}}
/* KDG_ENGRAVE_SCAN_V1 */
.engrave-scan{margin-top:12px;padding:12px;border:1px solid rgba(205,154,67,.5);border-radius:12px;background:rgba(205,154,67,.08);min-width:min(100%,460px)}
.engrave-scan-head{display:flex;gap:12px;justify-content:space-between;align-items:center}.engrave-status{font-size:12px;color:#9b611b}
.engrave-laser{height:3px;margin:8px 0;overflow:hidden}.engrave-laser span{display:none;height:100%;background:linear-gradient(90deg,transparent,#d79827,transparent)}.engrave-laser.on span{display:block;animation:laserMove 1.1s linear infinite}
@keyframes laserMove{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.engrave-object{font-weight:650;margin:5px 0}.engrave-fields{display:grid;grid-template-columns:110px 110px auto;gap:8px;align-items:end;margin-top:10px}.engrave-fields label{font-size:12px}.engrave-fields input{margin-top:4px;width:100%}.engrave-price{font-weight:700;margin-top:8px}.engrave-help{margin-top:5px}
.review-card{padding:0!important;overflow:hidden}.review-product{padding:14px 16px;background:linear-gradient(120deg,#7f2e18,#b75025);color:#fff}.review-product-label{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;opacity:.8}.review-product-name{display:block;margin-top:5px;font-size:17px;font-weight:750}.review-body{padding:16px}.review-copy{margin-top:10px;padding:12px;border-left:4px solid #d59a39;background:rgba(213,154,57,.08);font-size:16px;line-height:1.55}.review-copy-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#9b611b;font-weight:750}
@media(max-width:620px){.engrave-fields{grid-template-columns:1fr 1fr}.engrave-confirm{grid-column:1/-1}.engrave-scan-head{align-items:flex-start;flex-direction:column;gap:4px}}
/* KDG_OWN_CALC_V2 */
.cs-stage{position:relative}.cs-ai-scan{position:absolute;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;padding:20px;background:rgba(8,10,14,.46);color:#fff;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow:hidden}.cs-ai-scan[hidden]{display:none}.cs-ai-scan b{position:relative;z-index:2;padding:9px 13px;border-radius:999px;background:rgba(0,0,0,.62);font-size:13px}.cs-ai-line{position:absolute;left:0;right:0;height:4px;background:linear-gradient(90deg,transparent,#dca33b,#fff3bd,#dca33b,transparent);box-shadow:0 0 22px 6px rgba(220,163,59,.7);animation:kdAiScan 1.35s ease-in-out infinite}.cs-stage.ai-scanning:after{content:"";position:absolute;inset:10px;z-index:91;border:1px solid rgba(255,218,145,.65);border-radius:12px;pointer-events:none}@keyframes kdAiScan{0%{top:3%}50%{top:96%}100%{top:3%}}@media(prefers-reduced-motion:reduce){.cs-ai-line{animation:none;top:50%}}
/* KDG_CATALOG_GALLERY_V1 */
.product-main-photo img{width:100%;height:100%;object-fit:contain}.product-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.product-thumb{appearance:none;border:1px solid var(--line);border-radius:9px;padding:3px;background:rgba(255,255,255,.04);aspect-ratio:1;overflow:hidden;cursor:pointer}.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:6px}.product-thumb.on{border-color:#bb722d;box-shadow:0 0 0 2px rgba(187,114,45,.2)}.product-description{margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035)}.product-description-text{margin-top:9px;white-space:pre-wrap;line-height:1.65}.admin-product-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.admin-product-photo{display:grid;gap:5px;padding:7px;border:1px solid var(--line);border-radius:10px}.admin-product-photo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.admin-product-photo span{font-size:12px}.cs-area.cs-area-own{border-color:transparent!important;background:transparent!important;box-shadow:none!important}.cs-area.cs-area-own .cs-area-l{display:none!important}
@media(max-width:640px){.product-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.product-description{padding:14px}}
/* KDG_GALLERY_FIX_V2 */
.item-plate.photo.product-main-photo{background:rgba(255,255,255,.22);overflow:hidden}.item-plate.photo.product-main-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transition:opacity .16s ease}.item-plate.photo.product-main-photo img.switching{opacity:.35!important}.product-thumb img{object-fit:contain!important;background:rgba(255,255,255,.18)}.catalog-products .cell-ph img,.public-shell .product-card .cell-ph img{object-fit:contain!important;object-position:center!important;padding:5px;background:rgba(255,255,255,.16);transform:none!important}.admin-product-photo{position:relative}.admin-product-photo img{object-fit:contain!important;background:rgba(255,255,255,.16)}.admin-photo-remove{position:absolute;right:4px;top:4px;z-index:3;width:28px;height:28px;border:0;border-radius:50%;background:#8d2f23;color:#fff;font-size:22px;line-height:26px;cursor:pointer;box-shadow:0 2px 9px rgba(0,0,0,.28)}.admin-photo-remove:hover{background:#bd3e2d}.admin-product-photo.is-removed img{opacity:.22;filter:grayscale(1)}.admin-product-photo.is-removed{border-color:#a83b2d;background:rgba(168,59,45,.1)}.admin-product-photo.is-removed .admin-photo-state{color:#a83b2d;font-weight:700}


/* KDG_PHOTO_REMOVE_RESIZE_V2 */
/* Stable admin gallery frames at every card width. */
body .admin-product-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,132px),1fr));align-items:start}
body .admin-product-photo{position:relative;min-width:0;grid-template-rows:auto auto;padding:8px;overflow:visible}
body .admin-product-photo-frame{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;border:1px solid rgba(33,18,14,.18);background:#f7ead9;box-sizing:border-box}
body .admin-product-photo-frame img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;background:transparent!important;display:block}
body .admin-product-photo-state{min-width:0;overflow-wrap:anywhere}
body .admin-photo-remove{right:2px;top:2px;width:32px;height:32px;display:grid;place-items:center;padding:0;line-height:1;touch-action:manipulation}
body .admin-product-photo.is-removed .admin-product-photo-frame{border-color:#a83b2d;background:rgba(168,59,45,.08)}
body .admin-product-photo.is-removed .admin-product-photo-frame img{opacity:.2;filter:grayscale(1)}

/* The visible selection frame follows the real image canvas, not its handles. */
.cobj-img{box-sizing:border-box}
.cobj-img .cobj-body{position:relative;box-sizing:border-box;line-height:0;min-width:1px}
.cobj-img .cobj-body canvas{display:block;width:100%;height:auto;max-width:none;pointer-events:none}
.cobj-img.on{outline:0!important}
.cobj-img.on .cobj-body:after{content:"";position:absolute;inset:0;box-sizing:border-box;border:2px solid #a74730;box-shadow:0 0 0 1px rgba(251,243,232,.92),0 4px 16px rgba(33,18,14,.24);pointer-events:none}
.cobj .h{z-index:6;box-sizing:border-box;touch-action:none}
.cobj .h-del{top:-15px;right:-15px;width:28px;height:28px;padding:0;border:2px solid #fbf3e8;border-radius:50%;background:#a74730;color:#fff;font:700 20px/1 Arial,sans-serif;cursor:pointer;place-items:center;box-shadow:0 3px 12px rgba(33,18,14,.32)}
.cobj.on .h-del{display:grid}
.cobj .h-del:hover,.cobj .h-del:focus-visible{background:#5f261d;outline:2px solid #a74730;outline-offset:2px}
.cs-tool:disabled,.cs-tool.is-disabled{opacity:.38!important;cursor:not-allowed!important;pointer-events:none}
@media(max-width:560px){
  .cobj .h{width:22px;height:22px}
  .cobj .h-size{right:-12px;bottom:-12px}
  .cobj .h-rot{top:-30px}
  .cobj .h-del{top:-17px;right:-17px;width:32px;height:32px;font-size:22px}
  body .admin-product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* KDG_PHOTO_FRAME_TIGHTEN_V1 */
/* Product photo frames were 4/3 with object-fit:contain, so portrait shots
   (phone cases, pens standing up) got wide empty bands on both sides. */
.public-shell .item-main-section .item-plate.photo.product-main-photo,
.item-plate.photo.product-main-photo{aspect-ratio:1/1!important;background:#fbf3e8!important;padding:0!important}
.item-plate.photo.product-main-photo img{object-fit:contain!important;padding:6px!important;box-sizing:border-box!important}
.own-shot{background:#fbf3e8!important;min-height:0!important}
.own-shot img{max-height:none!important;aspect-ratio:1/1!important;height:100%!important;object-fit:contain!important}
@media(max-width:640px){.item-plate.photo.product-main-photo,
.public-shell .item-main-section .item-plate.photo.product-main-photo{aspect-ratio:4/5!important}}

/* KDG_SILVER_INK_V1 */
#cStage.ink-silver .cobj-body{filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(0,0,0,.35))}
#cStage.ink-silver .cobj-img .cobj-body{filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}

/* KDG_ACCOUNT_STATUS_V1 */
body .ui-status--pay{background:#f7dfc4!important;border-color:#a74730!important;color:#8e2f1b!important;font-weight:700!important}
body .ui-status--wait{background:#efe7da!important;border-color:rgba(33,18,14,.28)!important;color:#6b463a!important}
.account-order-table .ui-table-row.account-order--pay{box-shadow:inset 3px 0 0 #a74730;background:#fdf3e6}
.account-order-table .ui-table-row.account-order--pay .ui-primary{color:#8e2f1b}


/* HIGH CONTRAST CHIPS (PHOTO 1 FIX) */
.cat-bar {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 24px !important;
  margin-bottom: 28px !important;
}
.cat-bar .chip,
.public-shell .catalog-page .chip,
body .chip {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 18px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border: 1.5px solid rgba(15, 23, 42, 0.28) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}
.cat-bar .chip:hover,
.public-shell .catalog-page .chip:hover,
body .chip:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  border-color: #0f172a !important;
  transform: translateY(-1px) !important;
}
.cat-bar .chip.on,
.public-shell .catalog-page .chip.on,
body .chip.on {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
}
.cat-bar .chip.on span {
  opacity: 0.8 !important;
  color: #94a3b8 !important;
}
.cat-bar .chip span {
  opacity: 0.7 !important;
  color: #475569 !important;
  font-weight: 600 !important;
}


/* HIGH CONTRAST ADMIN DASHBOARD (PHOTO 1 FIX) */
.adm-toolgrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 24px !important;
}
@media (max-width: 760px) {
  .adm-toolgrid { grid-template-columns: 1fr !important; }
}
.adm-tool {
  padding: 18px 22px !important;
  border-radius: 16px !important;
  border: 1.5px solid rgba(33, 18, 14, 0.18) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(33, 18, 14, 0.05) !important;
  display: grid !important;
  gap: 6px !important;
  min-height: 94px !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}
.adm-tool:hover {
  background: #fdfaf6 !important;
  border-color: #a74730 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(33, 18, 14, 0.1) !important;
}
.adm-tool b {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #21120e !important;
  font-family: inherit !important;
}
.adm-tool span {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #5c3d35 !important;
  font-weight: 500 !important;
}
.kpi {
  background: #ffffff !important;
  border: 1.5px solid rgba(33, 18, 14, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(33, 18, 14, 0.05) !important;
  overflow: hidden !important;
}
.kpi a, .kpi div {
  background: #ffffff !important;
  padding: 18px 22px !important;
}
.kpi b {
  color: #21120e !important;
  font-size: 26px !important;
  font-weight: 800 !important;
}
.kpi span {
  color: #785c54 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
