/* ==========================================================================
   Coreronize Base Theme v1.0.0
   Brand values (colors, fonts, radius, width) come from the per-store
   settings as CSS variables printed in the page <head>.
   ========================================================================== */

:root {
  --cr-primary: #111;
  --cr-primary-rgb: 17,17,17;
  --cr-on-primary: #fff;
  --cr-ink: #111;
  --cr-ink-rgb: 17,17,17;
  --cr-on-ink: #fff;
  --cr-accent: #c8102e;
  --cr-on-accent: #fff;
  --cr-bg: #fff;
  --cr-surface: #f5f4f0;
  --cr-radius: 6px;
  --cr-font-head: "Archivo", system-ui, sans-serif;
  --cr-font-body: "Inter", system-ui, sans-serif;
  --cr-head-case: none;
  --cr-container: 1320px;

  --cr-text: rgba(var(--cr-ink-rgb), .92);
  --cr-muted: rgba(var(--cr-ink-rgb), .62);
  --cr-line: rgba(var(--cr-ink-rgb), .12);
  --cr-gutter: clamp(16px, 4vw, 40px);
  --cr-header-h: 68px;
  --cr-shadow: 0 18px 50px rgba(0,0,0,.14);

  /* Hand brand values to Bootstrap so core pages (account, checkout) match */
  --bs-primary: var(--cr-primary);
  --bs-primary-rgb: var(--cr-primary-rgb);
  --bs-link-color: var(--cr-ink);
  --bs-link-color-rgb: var(--cr-ink-rgb);
  --bs-link-hover-color: var(--cr-primary);
  --bs-link-hover-color-rgb: var(--cr-primary-rgb);
  --bs-body-color: var(--cr-text);
  --bs-body-bg: var(--cr-bg);
  --bs-body-font-family: var(--cr-font-body);
  --bs-border-color: var(--cr-line);
  --bs-border-radius: var(--cr-radius);
  --bs-border-radius-sm: var(--cr-radius);
  --bs-border-radius-lg: var(--cr-radius);
  --bs-focus-ring-color: rgba(var(--cr-primary-rgb), .25);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.cr {
  font-family: var(--cr-font-body);
  color: var(--cr-text);
  background: var(--cr-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.cr.cr-locked { overflow: hidden; }
#container { position: static; min-height: 100vh; display: flex; flex-direction: column; margin: 0; width: 100%; }
#cr-main { flex: 1 0 auto; }
#content, #column-left, #column-right { padding-bottom: 0; }
img { max-width: 100%; height: auto; }

.cr h1, .cr h2, .cr h3, .cr h4, .cr h5, .cr h6 {
  font-family: var(--cr-font-head);
  color: var(--cr-ink);
  text-transform: var(--cr-head-case);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.12;
}
.cr h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: .6em; }
.cr h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cr h3 { font-size: 1.35rem; }
.cr h4 { font-size: 1.08rem; }
.cr a { color: var(--cr-ink); text-underline-offset: 3px; }
.cr a:hover { color: var(--cr-primary); }
.cr label, .cr .form-label { font-size: .9rem; font-weight: 600; color: var(--cr-ink); }
.cr-muted { color: var(--cr-muted); }

.cr-wrap, .cr .container {
  width: 100%;
  max-width: var(--cr-container);
  margin-inline: auto;
  padding-inline: var(--cr-gutter);
}
.cr-page { padding-top: 24px; padding-bottom: 72px; }
.cr-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cr-accent); margin-bottom: .6rem;
}
.cr-eyebrow a { color: inherit; text-decoration: none; }

.cr-skip { position: absolute; left: -9999px; }
.cr-skip:focus { left: 12px; top: 12px; z-index: 9999; background: var(--cr-bg); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--cr-primary); outline-offset: 2px; }

/* ---------- Buttons & forms ---------- */
.cr .btn {
  border-radius: var(--cr-radius);
  font-weight: 700;
  letter-spacing: .01em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cr .btn:active { transform: translateY(1px); }
.cr a.btn { color: var(--bs-btn-color); text-decoration: none; }
.cr a.btn:hover { color: var(--bs-btn-hover-color); }
.cr .btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.cr .btn-primary {
  --bs-btn-bg: var(--cr-primary); --bs-btn-border-color: var(--cr-primary); --bs-btn-color: var(--cr-on-primary);
  --bs-btn-hover-bg: var(--cr-ink); --bs-btn-hover-border-color: var(--cr-ink); --bs-btn-hover-color: var(--cr-on-ink);
  --bs-btn-active-bg: var(--cr-ink); --bs-btn-active-border-color: var(--cr-ink); --bs-btn-active-color: var(--cr-on-ink);
  --bs-btn-disabled-bg: var(--cr-primary); --bs-btn-disabled-border-color: var(--cr-primary); --bs-btn-disabled-color: var(--cr-on-primary);
}
.cr .btn-outline-dark, .cr .btn-light, .cr .btn-secondary {
  --bs-btn-color: var(--cr-ink); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(var(--cr-ink-rgb), .3);
  --bs-btn-hover-bg: var(--cr-ink); --bs-btn-hover-color: var(--cr-on-ink); --bs-btn-hover-border-color: var(--cr-ink);
  --bs-btn-active-bg: var(--cr-ink); --bs-btn-active-color: var(--cr-on-ink);
}
.cr .btn-danger { --bs-btn-bg: var(--cr-accent); --bs-btn-border-color: var(--cr-accent); --bs-btn-color: var(--cr-on-accent); }
.cr .form-control, .cr .form-select {
  border-radius: var(--cr-radius);
  border-color: rgba(var(--cr-ink-rgb), .22);
  padding: .7rem .9rem;
  font-size: 1rem;
}
.cr .form-control:focus, .cr .form-select:focus { border-color: var(--cr-primary); box-shadow: 0 0 0 3px rgba(var(--cr-primary-rgb), .18); }
.cr .form-check-input:checked { background-color: var(--cr-primary); border-color: var(--cr-primary); }
.cr div.required .form-label:before, .cr div.required .col-form-label:before, .cr fieldset.required legend:before {
  content: "* "; color: var(--cr-accent); font-weight: 700;
}
.cr .input-group-text { border-radius: var(--cr-radius); background: var(--cr-surface); }
.cr-icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; padding: 0; color: inherit; border-radius: 50%; position: relative; cursor: pointer;
  text-decoration: none;
}
.cr-icon-btn:hover { background: rgba(var(--cr-ink-rgb), .06); color: inherit; }
.cr-link-btn { background: none; border: 0; padding: 4px 0; color: var(--cr-muted); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-size: .9rem; }
.cr-link-btn:hover { color: var(--cr-ink); }

/* ---------- Toast alerts (replaces center-screen alert) ---------- */
#alert.cr-toast {
  position: fixed; top: auto; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: min(520px, calc(100% - 32px)); margin: 0; z-index: 1090;
}
#alert.cr-toast .alert { border-radius: var(--cr-radius); box-shadow: var(--cr-shadow); border: 0; margin-bottom: 10px; font-weight: 500; }

/* ---------- Announcement ---------- */
.cr-announce { background: var(--cr-ink); color: var(--cr-on-ink); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-align: center; }
.cr-announce .cr-wrap { padding-block: 9px; }
.cr-announce a, .cr-announce span { color: inherit; text-decoration: none; }
.cr-announce a:hover { text-decoration: underline; color: inherit; }

/* ---------- Header ---------- */
.cr-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--cr-bg);
  border-bottom: 1px solid var(--cr-line);
  transition: box-shadow .2s ease;
}
body.cr-menu-open .cr-header { z-index: 1065; }
.cr-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.cr-header-dark .cr-header { background: var(--cr-ink); color: var(--cr-on-ink); border-bottom-color: transparent; }
.cr-header-dark .cr-header a, .cr-header-dark .cr-header .cr-icon-btn { color: var(--cr-on-ink); }
.cr-header-dark .cr-header .cr-icon-btn:hover { background: rgba(255,255,255,.1); }
.cr-header-row { display: flex; align-items: center; gap: 12px; min-height: var(--cr-header-h); }
.cr-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: 12px; }
.cr-logo img { max-height: 42px; width: auto; }
.cr-logo-text { font-family: var(--cr-font-head); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; text-transform: var(--cr-head-case); }
.cr-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cr-bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--cr-accent); color: var(--cr-on-accent);
  font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center;
}
.cr-bag-count.is-empty { display: none; }
.cr-bag-count.bump { animation: cr-bump .4s ease; }
@keyframes cr-bump { 50% { transform: scale(1.35); } }

/* Desktop nav */
.cr-nav-wrap { display: flex; align-items: center; flex: 1; min-width: 0; }
.cr-nav-head, .cr-nav-extra, .cr-menu-toggle { display: none; }
.cr-menu-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; }
.cr-menu-item { position: relative; display: flex; align-items: center; }
.cr-menu-link { display: block; padding: 12px 0; font-weight: 600; font-size: .93rem; text-decoration: none; color: inherit; white-space: nowrap; }
.cr-menu-link:hover { color: var(--cr-primary); }
.cr-sub-toggle { display: none; }
.cr-sub {
  position: absolute; top: 100%; left: -18px; min-width: 230px;
  background: var(--cr-bg); color: var(--cr-text); border: 1px solid var(--cr-line); border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.cr-menu-item.has-children:hover .cr-sub, .cr-menu-item.has-children:focus-within .cr-sub { opacity: 1; visibility: visible; transform: none; }
.cr-sub ul { list-style: none; margin: 0; padding: 0; }
.cr-sub a { display: block; padding: 8px 18px; text-decoration: none; color: var(--cr-text) !important; font-size: .93rem; }
.cr-sub a:hover { background: var(--cr-surface); }
.cr-sub-all a { font-weight: 700; border-top: 1px solid var(--cr-line); margin-top: 6px; padding-top: 12px; }

.cr-logo-center .cr-header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
.cr-logo-center .cr-logo { grid-column: 2; grid-row: 1; margin: 0; }
.cr-logo-center .cr-nav-wrap { grid-column: 1; grid-row: 1; }
.cr-logo-center .cr-actions { grid-column: 3; grid-row: 1; justify-self: end; }

/* Search panel */
.cr-search-panel { border-top: 1px solid var(--cr-line); background: var(--cr-bg); padding: 14px 0; }
.cr-search { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.cr-search .form-control { flex: 1; }

@media (max-width: 991.98px) {
  :root { --cr-header-h: 60px; }
  .cr-menu-toggle { display: inline-grid; margin-left: -10px; }
  .cr-hide-sm { display: none; }
  .cr-logo { margin: 0 auto; }
  .cr-logo-center .cr-header-row { display: flex; }
  .cr-nav-wrap {
    position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); z-index: 1060;
    background: var(--cr-bg); color: var(--cr-text);
    flex-direction: column; align-items: stretch; padding: 0 0 24px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .25s ease; visibility: hidden;
  }
  .cr-nav-wrap.is-open { transform: none; visibility: visible; }
  .cr-header-dark .cr-nav-wrap a, .cr-header-dark .cr-nav-wrap .cr-icon-btn { color: var(--cr-text); }
  .cr-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--cr-line); min-height: 60px; }
  .cr-menu-list { flex-direction: column; gap: 0; }
  .cr-menu-item { flex-wrap: wrap; border-bottom: 1px solid var(--cr-line); }
  .cr-menu-link { flex: 1; padding: 15px 20px; font-size: 1.05rem; }
  .cr-sub-toggle { display: inline-grid; place-items: center; width: 52px; height: 52px; background: none; border: 0; color: inherit; }
  .cr-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .cr-sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px; background: var(--cr-surface); }
  .cr-sub.is-open { display: block; }
  .cr-sub a { padding: 10px 32px; }
  .cr-nav-extra { display: flex; flex-direction: column; padding: 18px 20px 0; gap: 12px; }
  .cr-nav-extra a { text-decoration: none; color: var(--cr-muted) !important; }
}

/* Scrim + drawers */
.cr-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 1050; opacity: 0; transition: opacity .2s ease; }
.cr-scrim.is-on { opacity: 1; }
.cr-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 1070;
  background: var(--cr-bg); box-shadow: var(--cr-shadow);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden;
}
.cr-drawer.is-open { transform: none; visibility: visible; }
.cr-drawer #cart { height: 100%; }

/* ---------- Bag (drawer content) ---------- */
.cr-bag { display: flex; flex-direction: column; height: 100%; }
.cr-bag-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--cr-line); }
.cr-bag-head h2 { font-size: 1.15rem; margin: 0; }
.cr-bag-head h2 span { color: var(--cr-muted); font-weight: 500; }
.cr-freeship { padding: 14px 22px; background: var(--cr-surface); font-size: .88rem; }
.cr-freeship p { margin: 0 0 8px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.cr-freeship-bar { height: 6px; background: rgba(var(--cr-ink-rgb), .1); border-radius: 3px; overflow: hidden; }
.cr-freeship-bar span { display: block; height: 100%; background: var(--cr-primary); border-radius: 3px; transition: width .4s ease; }
.cr-freeship.is-done .cr-freeship-bar span { background: #1f8a4c; }
.cr-bag-items { list-style: none; margin: 0; padding: 6px 22px; overflow-y: auto; flex: 1; }
.cr-bag-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cr-line); }
.cr-bag-thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--cr-radius); background: var(--cr-surface); }
.cr-bag-name { font-weight: 700; text-decoration: none; display: block; line-height: 1.3; margin-bottom: 4px; }
.cr-bag-opts { list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--cr-muted); }
.cr-bag-qty { font-size: .82rem; color: var(--cr-muted); margin: 2px 0 0; }
.cr-bag-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cr-bag-foot { padding: 18px 22px 22px; border-top: 1px solid var(--cr-line); }
.cr-bag-total { display: flex; justify-content: space-between; font-size: .9rem; color: var(--cr-muted); margin-bottom: 2px; }
.cr-bag-total.is-grand { font-size: 1.08rem; color: var(--cr-ink); margin-top: 6px; }
.cr-bag-note { font-size: .8rem; color: var(--cr-muted); margin: 4px 0 14px; }
.cr-bag-empty { padding: 48px 22px; text-align: center; color: var(--cr-muted); }

/* ---------- Home hero ---------- */
.cr-hero { position: relative; background: var(--cr-surface); overflow: hidden; }
.cr-hero-media { background: var(--cr-surface); line-height: 0; }
.cr-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; margin-bottom: .35em; letter-spacing: -.02em; }
.cr-hero-text { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 34em; color: var(--cr-muted); margin-bottom: 1.6rem; }
.cr-hero-split { display: grid; grid-template-columns: 1fr; }
.cr-hero-split .cr-hero-media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.cr-hero-split .cr-hero-copy { padding-block: clamp(40px, 7vw, 96px); }
@media (min-width: 992px) {
  .cr-hero-split { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .cr-hero-split .cr-hero-media { grid-column: 2; grid-row: 1; position: relative; }
  .cr-hero-split .cr-hero-media img { position: absolute; inset: 0; max-height: none; aspect-ratio: auto; }
  .cr-hero-split .cr-hero-copy { grid-column: 1; grid-row: 1; display: flex; align-items: center; max-width: calc(var(--cr-container) / 2); margin-left: auto; margin-right: 0; }
  .cr-hero-split.cr-hero-noimg { grid-template-columns: 1fr; }
  .cr-hero-split.cr-hero-noimg .cr-hero-copy { max-width: var(--cr-container); margin-inline: auto; }
}
.cr-hero-cover { min-height: clamp(460px, 70vh, 720px); display: flex; align-items: flex-end; color: #fff; background: var(--cr-ink); }
.cr-hero-cover .cr-hero-media { position: absolute; inset: 0; }
.cr-hero-cover .cr-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.cr-hero-cover .cr-hero-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.08) 65%); }
.cr-hero-cover .cr-hero-copy { position: relative; padding-block: clamp(40px, 8vw, 96px); }
.cr-hero-cover h1, .cr-hero-cover .cr-hero-text { color: #fff; }
.cr-hero-cover .cr-hero-text { opacity: .9; }

/* ---------- Product cards ---------- */
.cr-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.cr-card-media { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--cr-surface); border-radius: var(--cr-radius); overflow: hidden; }
.cr-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.cr-card:hover .cr-card-media img { transform: scale(1.04); }
.cr-badge { position: absolute; top: 12px; left: 12px; background: var(--cr-accent); color: var(--cr-on-accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--cr-radius); }
.cr-card-body { padding: 14px 2px 8px; flex: 1; }
.cr-card-title { font-size: 1rem !important; margin: 0 0 4px; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--cr-font-body) !important; font-weight: 700 !important; }
.cr-card-title a { text-decoration: none; }
.cr-card-desc { display: none; font-size: .9rem; color: var(--cr-muted); }
.cr-card-actions { display: flex; gap: 4px; align-items: center; padding: 0 2px; }
.cr-stars { color: rgba(var(--cr-ink-rgb), .2); letter-spacing: 1px; }
.cr-stars .on { color: #e8a317; }
.price { font-weight: 700; color: var(--cr-ink); }
.price-new { font-weight: 800; }
.price-old { color: var(--cr-muted); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.price-tax { display: block; font-size: .8rem; color: var(--cr-muted); font-weight: 500; }
/* Category list view keeps working */
#product-list.product-list .cr-card { flex-direction: row; gap: 22px; }
#product-list.product-list .cr-card-media { width: 220px; flex-shrink: 0; }
#product-list.product-list .cr-card-desc { display: block; }
#product-list.product-list .cr-card-actions { position: absolute; bottom: 8px; left: 244px; }

/* ---------- Product page ---------- */
.cr .breadcrumb { font-size: .82rem; margin-bottom: 18px; padding: 0; background: none; }
.cr .breadcrumb a { color: var(--cr-muted); text-decoration: none; }
.cr .breadcrumb-item + .breadcrumb-item:before { color: var(--cr-line); }
.cr-pdp { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 992px) {
  .cr-pdp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .cr-buybox { position: sticky; top: calc(var(--cr-header-h) + 20px); }
}
.cr-gallery-main { background: var(--cr-surface); border-radius: var(--cr-radius); overflow: hidden; aspect-ratio: 1 / 1; }
.cr-gallery-main a { display: block; height: 100%; cursor: zoom-in; }
.cr-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease; }
.cr-gallery-main img.is-loading { opacity: .35; }
.cr-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.cr-thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--cr-radius); overflow: hidden; background: var(--cr-surface); cursor: pointer; }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-thumb.is-active { border-color: var(--cr-ink); }
.cr-pdp-title { margin-bottom: .3em; }
.cr-pdp-price { font-size: 1.55rem; margin-bottom: 6px; }
.cr-pdp-rating { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.cr-pdp-rating a { color: var(--cr-muted); }
.cr-discounts { list-style: none; padding: 10px 14px; background: var(--cr-surface); border-radius: var(--cr-radius); font-size: .9rem; }
.cr-options { margin-top: 22px; }
.cr-option { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.cr-option legend { float: none; width: auto; margin-bottom: .5rem; font-size: .9rem; }
.cr-picked { font-weight: 500; color: var(--cr-muted); }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chip {
  display: inline-flex; align-items: center; gap: 6px; min-width: 52px; min-height: 44px; justify-content: center;
  padding: 8px 14px; border: 1.5px solid rgba(var(--cr-ink-rgb), .2); border-radius: var(--cr-radius);
  font-size: .92rem !important; font-weight: 600 !important; color: var(--cr-ink) !important; cursor: pointer; background: var(--cr-bg);
  transition: border-color .12s ease, background-color .12s ease;
}
.cr-chip small { color: var(--cr-muted); font-weight: 500; }
.cr-chip:hover { border-color: var(--cr-ink); }
.btn-check:checked + .cr-chip { border-color: var(--cr-ink); background: var(--cr-ink); color: var(--cr-on-ink) !important; }
.btn-check:checked + .cr-chip small { color: inherit; opacity: .75; }
.btn-check:focus-visible + .cr-chip { outline: 2px solid var(--cr-primary); outline-offset: 2px; }
.cr-swatches .cr-chip { width: 46px; height: 46px; min-width: 0; padding: 3px; border-radius: 50%; }
.cr-swatches .cr-chip img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cr-swatches .btn-check:checked + .cr-chip { background: var(--cr-bg); box-shadow: 0 0 0 2px var(--cr-ink); }
.cr-chips.is-invalid .cr-chip { border-color: var(--bs-form-invalid-border-color, #dc3545); }
.cr-buy-row { display: flex; gap: 10px; margin-top: 8px; }
.cr-qty { display: flex; align-items: center; border: 1.5px solid rgba(var(--cr-ink-rgb), .2); border-radius: var(--cr-radius); }
.cr-qty input { width: 46px; text-align: center; border: 0 !important; box-shadow: none !important; padding: 0; font-weight: 700; background: transparent; }
.cr-qty-btn { width: 40px; height: 100%; min-height: 50px; border: 0; background: none; color: var(--cr-ink); display: grid; place-items: center; }
.cr-add { flex: 1; }
.cr-trust { list-style: none; padding: 16px 0; margin: 20px 0 0; border-top: 1px solid var(--cr-line); border-bottom: 1px solid var(--cr-line); display: grid; gap: 8px; font-size: .9rem; }
.cr-trust li { display: flex; align-items: center; gap: 10px; }
.cr-meta { list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; color: var(--cr-muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cr-secondary-actions { display: flex; gap: 20px; margin-top: 10px; }
.cr-details { margin-top: 22px; }
.cr-details details { border-bottom: 1px solid var(--cr-line); }
.cr-details summary { list-style: none; cursor: pointer; padding: 16px 0; font-family: var(--cr-font-head); font-weight: 800; color: var(--cr-ink); display: flex; justify-content: space-between; text-transform: var(--cr-head-case); }
.cr-details summary::-webkit-details-marker { display: none; }
.cr-details summary:after { content: "+"; font-size: 1.3rem; line-height: 1; font-weight: 400; }
.cr-details details[open] summary:after { content: "\2013"; }
.cr-details-body { padding-bottom: 18px; font-size: .95rem; }
.cr-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.cr-specs dt { font-weight: 600; }
.cr-specs dd { margin: 0; color: var(--cr-muted); }
.cr-related { margin-top: 64px; }
.cr-mobile-buy { display: none; }
@media (max-width: 991.98px) {
  .cr-mobile-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cr-bg); border-top: 1px solid var(--cr-line);
    transform: translateY(110%); transition: transform .2s ease;
  }
  .cr-mobile-buy.is-on { transform: none; }
  .cr-mobile-buy div { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .cr-mobile-buy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
  .cr-mobile-buy span { font-size: .85rem; color: var(--cr-muted); }
}

/* ---------- Category / listing ---------- */
.cr #product-category h1, .cr #product-search h1, .cr #product-special h1 { margin-bottom: .4em; }
.cr #product-list { --bs-gutter-x: 22px; row-gap: 28px; }
.cr #product-list > .col { margin-bottom: 0 !important; }
.cr .pagination { --bs-pagination-color: var(--cr-ink); --bs-pagination-active-bg: var(--cr-ink); --bs-pagination-active-border-color: var(--cr-ink); --bs-pagination-border-radius: var(--cr-radius); }
.cr .list-group-item.active { background: var(--cr-ink); border-color: var(--cr-ink); }

/* ---------- Core pages: account, cart, checkout ---------- */
.cr #checkout-cart, .cr #checkout-checkout, .cr #account-account, .cr #account-login, .cr #account-register,
.cr #information-information, .cr #information-contact, .cr #product-category, .cr #product-search,
.cr #product-special, .cr #product-manufacturer, .cr #error-not-found, .cr #common-success, .cr #account-order,
.cr #account-edit, .cr #account-password, .cr #account-address, .cr #account-wishlist, .cr #product-compare {
  padding-top: 24px; padding-bottom: 72px;
}
.cr #checkout-checkout fieldset, .cr #checkout-checkout #checkout-confirm {
  background: var(--cr-bg); border: 1px solid var(--cr-line); border-radius: var(--cr-radius); padding: 20px; margin-bottom: 18px;
}
.cr #checkout-checkout fieldset > legend + * { clear: both; }
.cr #checkout-checkout legend { font-family: var(--cr-font-head); font-weight: 800; color: var(--cr-ink); border: 0; font-size: 1.1rem; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.cr #checkout-checkout #button-confirm, .cr #checkout-checkout .btn-primary { padding: .85rem 1.6rem; }
.cr .table { --bs-table-bg: transparent; }
.cr .table > :not(caption) > * > * { border-color: var(--cr-line); padding: .8rem .6rem; }
.cr .table-bordered > :not(caption) > * { border-width: 0; }
.cr .table-bordered > :not(caption) > * > * { border-width: 0 0 1px; }
.cr .card { border-color: var(--cr-line); border-radius: var(--cr-radius); }
.cr .nav-tabs .nav-link.active { color: var(--cr-ink); font-weight: 700; }
.cr .img-thumbnail { border-color: var(--cr-line); border-radius: var(--cr-radius); padding: 0; }
.cr .alert { border-radius: var(--cr-radius); }
#cookie { z-index: 1080; }

/* ---------- Footer ---------- */
.cr-footer { background: var(--cr-ink); color: color-mix(in srgb, var(--cr-on-ink) 72%, transparent); margin-top: auto; padding: 64px 0 28px; font-size: .92rem; }
.cr-footer h5 { color: var(--cr-on-ink); font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--cr-font-body) !important; }
.cr-footer a { color: color-mix(in srgb, var(--cr-on-ink) 72%, transparent); text-decoration: none; }
.cr-footer a:hover { color: var(--cr-on-ink); }
.cr-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.cr-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 768px) { .cr-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.cr-footer-name { font-family: var(--cr-font-head); color: var(--cr-on-ink); font-weight: 900; font-size: 1.4rem; text-transform: var(--cr-head-case); margin-bottom: 10px; }
.cr-socials { display: flex !important; gap: 6px !important; margin-top: 16px !important; }
.cr-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cr-on-ink) 22%, transparent); }
.cr-socials a:hover { background: color-mix(in srgb, var(--cr-on-ink) 10%, transparent); }
.cr-signup { display: flex; gap: 8px; }
.cr-signup .btn { white-space: nowrap; flex-shrink: 0; }
.cr-signup .form-control { background: color-mix(in srgb, var(--cr-on-ink) 8%, transparent); border-color: color-mix(in srgb, var(--cr-on-ink) 20%, transparent); color: var(--cr-on-ink); }
.cr-signup .form-control::placeholder { color: color-mix(in srgb, var(--cr-on-ink) 50%, transparent); }
.cr-footer .cr-signup .btn-primary { --bs-btn-bg: var(--cr-on-ink); --bs-btn-color: var(--cr-ink); --bs-btn-border-color: var(--cr-on-ink); }
.cr-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--cr-on-ink) 12%, transparent); font-size: .8rem; }
.cr-footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.cr-no-compare #compare-total, .cr-no-compare div:has(> div > #compare-total) { display: none !important; }
