/* Mega menu B, new header, mobile drawer and mini cart.
   Standalone asset: load in HEAD after all other redesign CSS. Works together with megamenu.js (prefix shm-).
   AIDEV-NOTE: existing header.css positions .header-bottom absolutely and the campaign CSS forces
   display on some items. This file loads last and wins by specificity (two ids), not by editing them. */

:root {
  --shm-brand: var(--sh-brand, #dd6e42);
  --shm-brand-h: var(--sh-brand-hover, #cc4d2a);
  --shm-ink: var(--sh-ink, #0a0e17);
  --shm-text: #2e2e2e;
  --shm-muted: var(--sh-muted, #606a7f);
  --shm-line: var(--sh-line, #e8ebef);
  --shm-paper: var(--sh-paper, #fdf5ef);
  --shm-peach: var(--sh-peach, #f9e8db);
  --shm-r: var(--sh-radius, 10px);
}

/* ---------- shared bits ---------- */
.shm-ico { width: 1em; height: 1em; flex: none; }
@keyframes shm-show { to { visibility: visible; } }

/* ================= DESKTOP (Shoptet desktop header, >= 992px) ================= */
@media (min-width: 992px) {
  /* Topbar: one thin row */
  html body.template-14 .sh-header-topbar { background: #fff; border-bottom: 1px solid var(--shm-line); }
  html body.template-14 .sh-header-topbar-inner { min-height: 36px; font-size: 13px; letter-spacing: 0; color: var(--shm-muted); gap: 16px; }
  html body.template-14 .sh-header-links { gap: 20px; }
  html body.template-14 .sh-header-links a { color: var(--shm-muted); }
  html body.template-14 .sh-header-links a:hover,
  html body.template-14 .sh-header-contacts a:hover { color: var(--shm-brand-h); }
  html body.template-14 .sh-header-contacts { gap: 20px; }
  html body.template-14 .sh-header-contacts a { font-weight: 400; text-decoration: none; color: var(--shm-ink); gap: 6px; }
  html body.template-14 .sh-header-hours-badge { background: none; padding: 0; border-radius: 0; font-size: 13px; line-height: inherit; font-weight: 700; color: var(--shm-brand-h); }
  html body.template-14 .sh-header-response-badge { display: none; }

  /* Header grid: logo | nav | icons (nav moves under the logo below 1340px) */
  html body.template-14 #header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search icons" "nav nav nav";
    align-items: center;
    column-gap: 32px;
    row-gap: 0;
    padding: 37px max(32px, calc((100% - 1480px) / 2)) 0;
    height: auto;
    min-height: 0;
  }
  html body.template-14 #header .header-top, html body.template-14 #header .header-top-wrapper { display: contents; }
  html body.template-14 #header .site-name { grid-area: logo; width: auto; flex: none; margin: 0; padding: 10px 0; }
  html body.template-14 #header .site-name > a { display: block; height: auto; margin: 0; }
  html body.template-14 #header .site-name > a > img { height: 64px !important; width: auto !important; max-height: none !important; display: block; margin: 10px 0 !important; }
  html body.template-14 #header .navigation-tools { display: none; }
  html body.template-14 #header .navigation-buttons { grid-area: icons; position: static; display: flex; align-items: center; gap: 20px; width: auto; margin: 0; padding: 0; justify-self: end; }
  html body.template-14 #header .navigation-buttons > [data-target="search"] { display: none; }
  html body.template-14 #header .navigation-buttons > [data-target="navigation"] { display: none; }
  html body.template-14 #header .user-action { top: 100%; }
  html body.template-14 #header .header-bottom {
    grid-area: nav; position: static; transform: none; left: auto; top: auto; width: auto; max-width: none;
    pointer-events: auto; background: none; border: 0; align-self: stretch; height: auto; z-index: auto;
  }
  html body.template-14 #header .header-bottom-wrapper, html body.template-14 #header #navigation, html body.template-14 #header #navigation .navigation-in {
    position: static; width: auto !important; max-width: none; height: 100%; min-height: 0; background: none; overflow: visible; pointer-events: auto;
  }
  html body.template-14 #header .menu-helper { display: none !important; }

  /* Search field in the freed space (narrow layout) */
  .shm-search {
    grid-area: search; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; justify-self: center;
    margin: 0; padding: 11px 18px; border: 1px solid var(--shm-line); border-radius: 999px; background: #fff;
    color: var(--shm-muted); font: inherit; font-size: 15px; line-height: 1.3; text-align: left; cursor: text;
  }
  .shm-search:hover { border-color: var(--shm-brand); }
  .shm-search .shm-ico { color: var(--shm-brand); font-size: 18px; }
  .shm-search:focus-visible, html body.template-14 #header a:focus-visible, html body.template-14 #header button:focus-visible { outline: 2px solid var(--shm-brand); outline-offset: 2px; }

  /* Nav row */
  html body.template-14 #header #navigation .menu-level-1 {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: stretch; margin: 0; padding: 0; width: 100%;
    height: 100%; position: static;
  }
  html:not(.shm-ready) body.template-14 #header #navigation .menu-level-1 { visibility: hidden; animation: shm-show 0s 1.5s forwards; }
  /* :not(.shm-x) only raises specificity above header.css "li.splitted { display:block }" */
  html body.template-14 #header #navigation .menu-level-1 > li:not(.shm-x) { position: static; display: flex; align-items: stretch; pointer-events: auto; float: none; border: 0; background: none; margin: 0; }
  html body.template-14 #header #navigation .menu-level-1 > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 12px 9px; margin: 0;
    font-size: 15px !important; font-weight: 700; line-height: 20px; letter-spacing: 0; white-space: nowrap;
    color: var(--shm-ink); background: transparent; border-radius: 0; text-decoration: none;
  }
  html body.template-14 #header #navigation .menu-level-1 > li > a b { font-weight: 700; }
  html body.template-14 #header #navigation .menu-level-1 > li > a:hover,
  html body.template-14 #header #navigation .menu-level-1 > li.shm-open > a,
  html body.template-14 #header #navigation .menu-level-1 > li > a:focus-visible { color: var(--shm-brand-h); text-decoration: none; }
  html body.template-14 #header #navigation .menu-level-1 > li > a::after {
    content: ""; display: block !important; position: absolute; left: 9px; right: 9px; top: calc(50% + 13px); bottom: auto; height: 2px; background: var(--shm-brand);
    transform: scaleX(0); transform-origin: left; transition: transform .15s ease;
  }
  html body.template-14 #header #navigation .menu-level-1 > li.shm-open > a::after { transform: scaleX(1); }
  html body.template-14 #header #navigation .menu-level-1 > li > a .submenu-arrow {
    position: static; display: block; box-sizing: content-box; width: 0; height: 0; margin: 1px 0 0; padding: 0; background: none;
    border-style: solid; border-width: 4.5px 3.5px 0; border-color: var(--shm-brand) transparent transparent;
  }
  html body.template-14 #header #navigation .menu-level-1 > li > a .submenu-arrow::before, html body.template-14 #header #navigation .menu-level-1 > li > a .submenu-arrow::after { display: none; }
  html body.template-14 #header #navigation .menu-level-1 > li > a:is([href="/novinky/"], [href="/darcekove-poukazky/"])::before { display: none; }
  html body.template-14 #header #navigation .menu-level-1 > li > a[href="/akcie/"] { color: var(--shm-brand-h); }
  html body.template-14 #header #navigation .menu-level-1 > li > a[href="/akcie/"]::before {
    content: "%"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0; border-radius: 50%;
    background: var(--shm-brand); color: #fff; font-size: 11px; font-weight: 900; line-height: 1; vertical-align: baseline;
  }

  /* Order: categories | divider | Darčeky, Novinky, Akcie. Vianoce and vouchers live inside Darčeky. */
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/prstene/"]) { order: 1; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/privesky/"]) { order: 2; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/naramky/"]) { order: 3; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/nausnice/"]) { order: 4; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/nahrdelniky/"]) { order: 5; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/retiazky/"]) { order: 6; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/hodinky/"]) { order: 7; display: flex !important; }
  html body.template-14 #header #navigation .menu-level-1 > li.shm-gifts { order: 9; display: flex !important; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/novinky/"]) { order: 10; display: flex !important; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a[href="/akcie/"]) { order: 11; display: flex !important; }
  html body.template-14 #header #navigation .menu-level-1 > li.shm-gifts::before { content: ""; width: 1px; height: 20px; align-self: center; background: var(--shm-line); margin: 0 9px 0 6px; }
  html body.template-14 #header #navigation .menu-level-1 > li:has(> a:is([href="/sperky-na-vianoce/"], [href="/darcekove-poukazky/"], [href="/sperky-k-promociam/"])):not(.shm-gifts) { display: none !important; }

  /* ---------- mega panel (variant B) ---------- */
  html body.template-14 #header #navigation .menu-level-1 > li > ul.menu-level-2 {
    --shm-pad: max(24px, calc((100% - 1080px) / 2));
    display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; max-width: none; height: auto; max-height: none; margin: 0;
    padding: 26px var(--shm-pad) 22px; background: #fff; border: 0; border-top: 1px solid var(--shm-line); border-bottom: 1px solid var(--shm-line);
    border-radius: 0 0 12px 12px; box-shadow: 0 14px 28px -14px rgba(10, 14, 23, .18); list-style: none;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; opacity: 1; visibility: visible; transform: none; overflow: visible; z-index: 5;
  }
  html:not(.shm-js) body.template-14 #header #navigation .menu-level-1 > li.exp > ul.menu-level-2,
  html body.template-14 #header #navigation .menu-level-1 > li.shm-open > ul.menu-level-2 { display: grid; }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-content: start; align-items: center;
    margin: 0; padding: 14px; width: auto; float: none; list-style: none; background: none;
    border: 1px solid var(--shm-line); border-radius: 12px;
  }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot):hover { border-color: var(--shm-peach); box-shadow: 0 8px 20px -14px rgba(221, 110, 66, .6); }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > a.menu-image {
    grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0; padding: 0;
    border-radius: 50%; background: var(--shm-paper); overflow: hidden; line-height: 0;
  }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > a.menu-image img { width: 100%; height: 100%; max-width: none; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.15); }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div { display: contents; }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div > a {
    grid-column: 2; grid-row: 1; display: block; margin: 0; padding: 0; font-size: 17px; font-weight: 900; line-height: 1.25;
    color: var(--shm-ink); text-transform: none; letter-spacing: 0; text-decoration: none; background: none;
  }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div > a span { display: block; font: inherit; }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div > a::after { content: "Zobraziť všetko"; display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--shm-brand-h); }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div > a:hover { color: var(--shm-brand-h); text-decoration: none; }
  html body.template-14 #header #navigation .menu-level-2 > li:not(.shm-foot) > div > ul.menu-level-3 {
    grid-column: 1 / -1; grid-row: 2; position: static; display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0;
    width: auto; max-height: none; list-style: none; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  html body.template-14 #header #navigation .menu-level-3::before, html body.template-14 #header #navigation .menu-level-3::after { display: none; }
  html body.template-14 #header #navigation .menu-level-3 > li { display: block !important; margin: 0; padding: 0; width: auto; float: none; border: 0; }
  html body.template-14 #header #navigation .menu-level-3 > li::after { display: none; }
  html body.template-14 #header #navigation .menu-level-3 > li > a {
    display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--shm-paper);
    border: 1px solid var(--shm-peach); font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--shm-text); text-transform: none; text-decoration: none; letter-spacing: 0;
  }
  html body.template-14 #header #navigation .menu-level-3 > li > a:hover { border-color: var(--shm-brand); color: var(--shm-brand-h); }
  /* flat grid: no third level anywhere in the panel (Hodinky, Darčeky) */
  html body.template-14 #header #navigation .menu-level-1 > li > ul.menu-level-2:not(:has(.menu-level-3)) { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
  html body.template-14 #header #navigation .menu-level-2:not(:has(.menu-level-3)) > li:not(.shm-foot) {
    grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 14px 8px; border-color: transparent; border-radius: 12px;
  }
  html body.template-14 #header #navigation .menu-level-2:not(:has(.menu-level-3)) > li:not(.shm-foot):hover { background: var(--shm-paper); box-shadow: none; }
  html body.template-14 #header #navigation .menu-level-2:not(:has(.menu-level-3)) > li:not(.shm-foot) > a.menu-image { width: 76px; height: 76px; }
  html body.template-14 #header #navigation .menu-level-2:not(:has(.menu-level-3)) > li:not(.shm-foot) > div > a { grid-column: 1; grid-row: 2; font-size: 15px; font-weight: 700; }
  html body.template-14 #header #navigation .menu-level-2:not(:has(.menu-level-3)) > li:not(.shm-foot) > div > a::after { display: none; }
  .shm-ico-tile { width: 50%; height: 50%; color: var(--shm-brand); }
  /* panel footer */
  html body.template-14 #header #navigation .menu-level-2 > li.shm-foot {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    margin: 4px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--shm-line); border-radius: 0; background: none; list-style: none; box-shadow: none; width: auto;
  }
  html body.template-14 #header #navigation .shm-quick { display: flex; flex-direction: row; justify-content: flex-start; text-align: left; width: auto; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--shm-muted); }
  html body.template-14 #header #navigation .shm-pill {
    display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--shm-paper);
    border: 1px solid var(--shm-peach); font: inherit; font-size: 14px; color: var(--shm-text); text-decoration: none; cursor: pointer;
  }
  html body.template-14 #header #navigation .shm-pill:hover { border-color: var(--shm-brand); color: var(--shm-brand-h); }
  html body.template-14 #header #navigation .shm-all {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--shm-r);
    background: var(--shm-brand-h); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-decoration: none; margin: 0; width: auto; min-width: 0; max-width: none; height: auto; flex: 0 0 auto; overflow: visible;
  }
  html body.template-14 #header #navigation .shm-all:hover { background: var(--shm-ink); color: #fff; }
}

/* One row: nav next to logo, native search icon stays */
@media (min-width: 1340px) {
  html body.template-14 #header { grid-template-areas: "logo nav icons"; }
  html body.template-14 #header .navigation-buttons > [data-target="search"] { display: inline-flex; }
  .shm-search { display: none; }
}
@media (min-width: 992px) and (max-width: 1339px) {
  html body.template-14 #header .header-bottom { padding-bottom: 4px; }
  html body.template-14 #header #navigation .menu-level-1 > li > a { padding-block: 10px; }
}
@media (min-width: 992px) and (max-width: 1149px) {
  html body.template-14 #header #navigation .menu-level-1 > li > a { font-size: 14px !important; padding-inline: 7px; }
  html body.template-14 #header #navigation .menu-level-1 > li > a::after { left: 7px; right: 7px; }
  html body.template-14 #header #navigation .menu-level-1 > li.shm-gifts::before { margin-inline: 4px 6px; }
  /* campaign CSS moves Hodinky into a "Viac" helper at this width: keep everything in the row */
  html body.template-14 #header #navigation .menu-level-1 > li.sh-christmas-menu-overflow:has(> a[href="/hodinky/"]) { display: flex !important; }
}
@media (max-width: 991px) { .shm-search { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html body.template-14 #header #navigation .menu-level-1 > li > a::after { transition: none; }
}

/* ================= MINI CART (#cart-widget) ================= */
html body.template-14 #header #cart-widget {
  width: 380px; max-width: calc(100vw - 32px); padding: 0; background: #fff; border: 1px solid var(--shm-line); border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(10, 14, 23, .35); color: var(--shm-ink); font-size: 15px; line-height: 1.4; overflow: hidden; max-height: none; height: auto;
}
@media (min-width: 992px) {
  html body.template-14 #header #cart-widget { left: auto; right: 0; top: 0; margin-top: 8px; }
}
html body.template-14 #header #cart-widget .cart-widget-inner { display: flex; flex-direction: column; padding: 0; margin: 0; width: auto; max-height: min(82vh, 680px); background: none; box-shadow: none; border: 0; }
html body.template-14 #header #cart-widget #cart-wrapper, html body.template-14 #header #cart-widget .cart-inner, html body.template-14 #header #cart-widget .cart-row, html body.template-14 #header #cart-widget .cart-row > [class*="col-"], html body.template-14 #header #cart-widget .cart-content, html body.template-14 #header #cart-widget .cart-summary > .extras-wrapper { display: contents; }
html body.template-14 #header #cart-widget .cart-header, html body.template-14 #header #cart-widget .delivery-time, html body.template-14 #header #cart-widget .cart-summary > h2, html body.template-14 #header #cart-widget .cart-summary .discount-coupon, html body.template-14 #header #cart-widget .extras-col:has(.discount-coupon),
html body.template-14 #header #cart-widget .sidebar-in-cart > .cart-content:not(.summary-wrapper), html body.template-14 #header #cart-widget .summary-wrapper > h2, html body.template-14 #header #cart-widget .cart-widget-inner > script { display: none !important; }
html body.template-14 #header #cart-widget .shm-mc-h { order: 0; display: flex; align-items: baseline; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--shm-line); flex: none; }
html body.template-14 #header #cart-widget .shm-mc-h b { font-size: 18px; font-weight: 700; color: var(--shm-ink); }
html body.template-14 #header #cart-widget .shm-mc-h span { color: var(--shm-muted); font-size: 14px; }
html body.template-14 #header #cart-widget .shm-mc-x { margin-left: auto; align-self: center; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--shm-muted); font-size: 20px; cursor: pointer; border-radius: 50%; }
html body.template-14 #header #cart-widget .shm-mc-x:hover { color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget .shm-mc-x .shm-ico { font-size: 20px; }
html body.template-14 #header #cart-widget a:focus-visible, html body.template-14 #header #cart-widget button:focus-visible, html body.template-14 #header #cart-widget input:focus-visible { outline: 2px solid var(--shm-brand); outline-offset: 2px; }

html body.template-14 #header #cart-widget .cart-table { order: 1; display: block; flex: 1 1 auto; min-height: 0; width: auto; margin: 0; padding: 0 16px; border: 0; overflow-y: auto; overflow-x: hidden; }
html body.template-14 #header #cart-widget .cart-table tbody { display: block; }
html body.template-14 #header #cart-widget .cart-table tr {
  display: grid; grid-template-columns: 64px auto 1fr auto; grid-template-areas: "img name name total" "img price price total" "img qty rm total";
  column-gap: 12px; row-gap: 3px; align-items: center; padding: 14px 0; margin: 0; border: 0; border-bottom: 1px solid var(--shm-line); background: none; position: relative;
}
html body.template-14 #header #cart-widget .cart-table tr:last-child { border-bottom: 0; }
html body.template-14 #header #cart-widget .cart-table td { display: block; padding: 0; margin: 0; border: 0; width: auto; background: none; text-align: left; }
html body.template-14 #header #cart-widget .cart-p-image { grid-area: img; align-self: start; }
html body.template-14 #header #cart-widget .cart-p-image a { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--shm-paper); }
html body.template-14 #header #cart-widget .cart-p-image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
html body.template-14 #header #cart-widget td.p-name { display: contents; }
html body.template-14 #header #cart-widget td.p-name > a.main-link { grid-area: name; align-self: start; font-weight: 700; line-height: 1.3; color: var(--shm-ink); text-decoration: none; font-size: 15px; }
html body.template-14 #header #cart-widget td.p-name > a.main-link:hover { color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget td.p-name .cart-p-availability { display: none; }
html body.template-14 #header #cart-widget td.p-name > form.delete-cart-item { grid-area: rm; margin: 0; }
html body.template-14 #header #cart-widget td.p-price { grid-area: price; color: var(--shm-muted); font-size: 13px; }
html body.template-14 #header #cart-widget td.p-price .p-label { display: none; }
html body.template-14 #header #cart-widget td.p-price strong { font-weight: 400; font-size: inherit; }
html body.template-14 #header #cart-widget td.p-price .unit-value { font-size: inherit; }
html body.template-14 #header #cart-widget td.p-quantity { grid-area: qty; }
html body.template-14 #header #cart-widget td.p-total { grid-area: total; align-self: start; text-align: right; white-space: nowrap; }
html body.template-14 #header #cart-widget td.p-total .p-label, html body.template-14 #header #cart-widget td.p-total form { display: none; }
html body.template-14 #header #cart-widget td.p-total strong, html body.template-14 #header #cart-widget td.p-price strong { color: inherit; }
html body.template-14 #header #cart-widget td.p-total strong { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
html body.template-14 #header #cart-widget .quantity-form { margin: 0; }
html body.template-14 #header #cart-widget .quantity-form .p-label { display: none; }
html body.template-14 #header #cart-widget .quantity { position: relative; display: inline-flex; align-items: center; width: auto; height: 32px; padding: 0; margin: 0; border: 1px solid var(--shm-line); border-radius: 999px; background: #fff; }
html body.template-14 #header #cart-widget .quantity label { order: 2; display: block; margin: 0; padding: 0; width: auto; }
html body.template-14 #header #cart-widget .quantity input.amount {
  width: 30px; min-width: 0; height: 30px; min-height: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; text-align: center;
  font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--shm-ink); -moz-appearance: textfield; appearance: textfield;
}
html body.template-14 #header #cart-widget .quantity input.amount::-webkit-outer-spin-button, html body.template-14 #header #cart-widget .quantity input.amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html body.template-14 #header #cart-widget .quantity button { position: static; display: grid; place-items: center; width: 30px; height: 30px; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; transform: none; color: var(--shm-brand-h); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
html body.template-14 #header #cart-widget .quantity button:hover { background: var(--shm-paper); }
html body.template-14 #header #cart-widget .quantity .decrease { order: 1; }
html body.template-14 #header #cart-widget .quantity .increase { order: 3; }
html body.template-14 #header #cart-widget .quantity button::before, html body.template-14 #header #cart-widget .quantity button::after { display: none; }
html body.template-14 #header #cart-widget .quantity .increase__sign, html body.template-14 #header #cart-widget .quantity .decrease__sign { display: block; font-size: 18px; line-height: 1; }
html body.template-14 #header #cart-widget .remove-item { visibility: visible; opacity: 1; position: static; display: inline; width: auto; height: auto; min-width: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; font-size: 13px; line-height: 1.3; color: var(--shm-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
html body.template-14 #header #cart-widget .remove-item:hover { color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget .remove-item::before, html body.template-14 #header #cart-widget .remove-item::after { display: none; }
html body.template-14 #header #cart-widget .remove-item .sr-only.shm-rm, html body.template-14 #header #cart-widget .remove-item .shm-rm { visibility: visible; opacity: 1; color: inherit !important; font-size: inherit; position: static; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; clip-path: none; white-space: nowrap; }

html body.template-14 #header #cart-widget .cart-summary { order: 2; display: block; margin: 4px 16px 0; padding: 0; background: none; border: 0; }
html body.template-14 #header #cart-widget .extras-col, html body.template-14 #header #cart-widget .extras-wrap { display: block; width: auto; margin: 0; padding: 0; }
html body.template-14 #header #cart-widget .shm-ship { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 8px; margin: 0; padding: 12px 14px 14px; background: var(--shm-paper); border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--shm-ink); text-align: left; }
html body.template-14 #header #cart-widget .shm-ship .shm-truck { width: 18px; height: 18px; color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget .shm-ship .shm-ship-t { display: block; }
html body.template-14 #header #cart-widget .shm-ship .shm-ship-t strong { font-weight: 700; color: inherit; }
html body.template-14 #header #cart-widget .shm-ship .price-range { grid-column: 1 / -1; display: block; box-sizing: border-box; width: 100%; max-width: 100%; height: 6px; margin: 0; padding: 0; background: var(--shm-peach); border-radius: 999px; overflow: hidden; }
html body.template-14 #header #cart-widget .shm-ship .price-range > div { height: 100%; background: var(--shm-brand); border-radius: inherit; transition: width .3s; }
html body.template-14 #header #cart-widget .shm-ship.shm-free { grid-template-columns: auto 1fr; background: #e7f5ec; color: #006320; font-weight: 700; padding: 12px 14px; }
html body.template-14 #header #cart-widget .shm-ship.shm-free .shm-truck { color: #006320; }
html body.template-14 #header #cart-widget .sidebar-in-cart, html body.template-14 #header #cart-widget .summary-wrapper, html body.template-14 #header #cart-widget .summary-wrapper .box, html body.template-14 #header #cart-widget .next-step, html body.template-14 #header #cart-widget .price-wrapper { background: #fff; border-radius: 0; }
html body.template-14 #header #cart-widget .summary-wrapper { order: 3; display: block; flex: none; margin: 0; padding: 0; }
html body.template-14 #header #cart-widget .summary-wrapper > .box, html body.template-14 #header #cart-widget .summary-wrapper .box { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
html body.template-14 #header #cart-widget .price-wrapper { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 14px 16px 0; background: none; }
html body.template-14 #header #cart-widget .price-wrapper .price-secondary { display: none; }
html body.template-14 #header #cart-widget .price-wrapper .price-label { margin: 0; font-size: 15px; font-weight: 400; color: var(--shm-ink); }
html body.template-14 #header #cart-widget .price-wrapper .price { margin: 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--shm-ink); }
html body.template-14 #header #cart-widget .next-step { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; margin: 0; background: none; border: 0; }
html body.template-14 #header #cart-widget .next-step .btn { display: flex; align-items: center; justify-content: center; width: 100%; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: none; text-decoration: none; }
html body.template-14 #header #cart-widget .next-step .next-step-forward { order: 1; padding: 14px; border: 0; border-radius: var(--shm-r); background: var(--shm-brand-h); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; }
html body.template-14 #header #cart-widget .next-step .next-step-forward:hover { background: var(--shm-ink); }
html body.template-14 #header #cart-widget .next-step .next-step-back { order: 2; padding: 6px; border: 0; background: none; color: var(--shm-muted); font-size: 14px; font-weight: 400; }
html body.template-14 #header #cart-widget .next-step .next-step-back:hover { color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget .next-step .btn, html body.template-14 #header #cart-widget .next-step .btn span, html body.template-14 #header #cart-widget .cart-widget-bottom .cart-widget-button .btn { text-transform: none !important; letter-spacing: 0 !important; }
html body.template-14 #header #cart-widget .next-step .btn span { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) { html body.template-14 #header #cart-widget .shm-ship .price-range > div { transition: none; } }


/* Native widget markup after a cart change (.cart-widget-products / .cart-widget-bottom) */
html body.template-14 #header #cart-widget .cart-widget-products { order: 1; flex: 1 1 auto; min-height: 0; max-height: none; height: auto; margin: 0; padding: 0 16px; overflow-y: auto; overflow-x: hidden; }
html body.template-14 #header #cart-widget .cart-widget-products-inner { display: block; padding: 0; margin: 0; }
html body.template-14 #header #cart-widget .cart-widget-product {
  display: grid; grid-template-columns: 64px auto 1fr auto; grid-template-areas: "img name name total" "img unit unit total" "img qty rm total";
  column-gap: 12px; row-gap: 3px; align-items: center; padding: 14px 0; margin: 0; border: 0; border-bottom: 1px solid var(--shm-line); background: none; width: auto;
}
html body.template-14 #header #cart-widget .cart-widget-product:last-child { border-bottom: 0; }
html body.template-14 #header #cart-widget .cart-widget-product-image { grid-area: img; align-self: start; padding: 0; margin: 0; width: auto; }
html body.template-14 #header #cart-widget .cart-widget-product-image a { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--shm-paper); }
html body.template-14 #header #cart-widget .cart-widget-product-image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
html body.template-14 #header #cart-widget .cart-widget-product-name-and-price { display: contents; }
html body.template-14 #header #cart-widget .cart-widget-product-name { grid-area: name; align-self: start; padding: 0; margin: 0; width: auto; }
html body.template-14 #header #cart-widget .cart-widget-product-name strong, html body.template-14 #header #cart-widget .cart-widget-product-name a { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--shm-ink); text-decoration: none; }
html body.template-14 #header #cart-widget .cart-widget-product-name a:hover { color: var(--shm-brand-h); }
html body.template-14 #header #cart-widget .cart-widget-product-price { grid-area: total; align-self: start; padding: 0; margin: 0; width: auto; text-align: right; white-space: nowrap; }
html body.template-14 #header #cart-widget .cart-widget-product-price strong { font-weight: 700; font-size: 15px; color: var(--shm-ink); font-variant-numeric: tabular-nums; }
html body.template-14 #header #cart-widget .shm-unit { grid-area: unit; font-size: 13px; color: var(--shm-muted); }
html body.template-14 #header #cart-widget .cart-widget-product-unit { display: none; }
html body.template-14 #header #cart-widget .cart-widget-product-amount { grid-area: qty; width: auto; padding: 0; margin: 0; }
html body.template-14 #header #cart-widget .cart-widget-product-delete { grid-area: rm; padding: 0; margin: 0; width: auto; }
html body.template-14 #header #cart-widget .cart-widget-product-delete form { margin: 0; }
html body.template-14 #header #cart-widget .cart-widget-bottom { order: 2; height: auto; min-height: 0; position: static; inset: auto; box-shadow: none; display: flex; flex-direction: column; flex: none; margin: 0; padding: 4px 16px 14px; background: #fff; border: 0; }
html body.template-14 #header #cart-widget .cart-widget-bottom .cart-free-shipping { order: 1; margin: 0; padding: 12px 14px 14px; }
html body.template-14 #header #cart-widget .cart-widget-bottom .shm-sum { order: 2; display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 0; }
html body.template-14 #header #cart-widget .cart-widget-bottom .shm-sum span { font-size: 15px; }
html body.template-14 #header #cart-widget .cart-widget-bottom .shm-sum b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
html body.template-14 #header #cart-widget .cart-widget-bottom .cart-widget-button { order: 3; margin: 14px 0 4px; padding: 0; width: auto; }
html body.template-14 #header #cart-widget .cart-widget-bottom .cart-widget-button .btn { display: flex; align-items: center; justify-content: center; width: 100%; margin: 0; padding: 14px; border: 0; border-radius: var(--shm-r); background: var(--shm-brand-h); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; box-shadow: none; text-decoration: none; }
html body.template-14 #header #cart-widget .cart-widget-bottom .cart-widget-button .btn:hover { background: var(--shm-ink); }
html body.template-14 #header #cart-widget .shm-continue { order: 4; padding: 6px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--shm-muted); cursor: pointer; text-align: center; }
html body.template-14 #header #cart-widget .shm-continue:hover { color: var(--shm-brand-h); }

html body.template-14 #header #cart-widget .cart-widget-product[data-testid="cartTitle"] { display: block; padding: 28px 0 24px; text-align: center; color: var(--shm-muted); border: 0; }
html body.template-14 #header #cart-widget .shm-mc-h span[data-shm-count]:empty { display: none; }

/* Mobile: bottom sheet */
@media (max-width: 991px) {
  html body.template-14 #header #cart-widget { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; margin: 0; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(10, 14, 23, .25); z-index: 2; }
  html body.template-14 #header #cart-widget .cart-widget-inner { max-height: 88vh; max-height: 88dvh; }
  html body.template-14 #header #cart-widget .cart-widget-inner::before { content: ""; display: block; order: -1; flex: none; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--shm-line); }
  html body.template-14 #header .user-action { position: static; }
  html body.template-14 #header .user-action-in { position: static; }
  body.template-14.cart-window-visible #header::after { content: ""; position: fixed; inset: 0; z-index: 1; background: rgba(10, 14, 23, .45); }
}

/* ================= MOBILE DRAWER ================= */
html body.template-14 #navigation .shm-drawer { display: none; }
@media (max-width: 991px) {
  #navigation.shm-drawer-on .navigation-in > ul.menu-level-1, #navigation.shm-drawer-on .navigation-in > ul.navigationActions { display: none !important; }
  #navigation.shm-drawer-on .navigation-in { height: 100%; padding: 0; overflow: hidden; background: #fff; }
  html body.template-14 #navigation .shm-drawer { display: block; height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 24px; color: var(--shm-ink); font-size: 16px; line-height: 1.45; letter-spacing: .2px; text-align: left; background: #fff; }
  html body.template-14 #navigation .shm-drawer a, html body.template-14 #navigation .shm-drawer button { text-decoration: none; color: inherit; }
  html body.template-14 #navigation .shm-drawer a:focus-visible, html body.template-14 #navigation .shm-drawer button:focus-visible { outline: 2px solid var(--shm-brand); outline-offset: 2px; border-radius: 4px; }
  html body.template-14 #navigation .shm-drawer .shm-thumb { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--shm-paper); }
  html body.template-14 #navigation .shm-drawer .shm-thumb img { width: 100%; height: 100%; max-width: none; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.15); }
  html body.template-14 #navigation .shm-drawer .shm-thumb svg { width: 50%; height: 50%; color: var(--shm-brand); }
  html body.template-14 #navigation .shm-drawer .shm-m-search { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 14px 16px 0; padding: 11px 14px; border: 1px solid var(--shm-line); border-radius: var(--shm-r); background: #fff; color: var(--shm-muted); font: inherit; font-size: 15px; text-align: left; cursor: text; }
  html body.template-14 #navigation .shm-drawer .shm-m-search svg { color: var(--shm-brand); font-size: 18px; }
  html body.template-14 #navigation .shm-drawer .shm-m-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 4px; }
  html body.template-14 #navigation .shm-drawer .shm-m-chip { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: var(--shm-r); background: var(--shm-paper); font-weight: 900; font-size: 15px; }
  html body.template-14 #navigation .shm-drawer .shm-m-chip.sale { background: var(--shm-brand-h); color: #fff; }
  html body.template-14 #navigation .shm-drawer .shm-m-chip.sale .shm-pct { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--shm-brand-h); font-size: 11px; }
  html body.template-14 #navigation .shm-drawer .shm-m-lab { margin: 0; padding: 18px 16px 2px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--shm-muted); }
  html body.template-14 #navigation .shm-drawer .shm-m-list, html body.template-14 #navigation .shm-drawer .shm-m-rows { list-style: none; margin: 0; padding: 0 16px; }
  html body.template-14 #navigation .shm-drawer .shm-m-list > li { border-bottom: 1px solid var(--shm-line); margin: 0; padding: 0; }
  html body.template-14 #navigation .shm-drawer .shm-m-list > li:last-child { border-bottom: 0; }
  html body.template-14 #navigation .shm-drawer .shm-m-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; margin: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
  html body.template-14 #navigation .shm-drawer .shm-m-item .shm-thumb { width: 38px; height: 38px; }
  html body.template-14 #navigation .shm-drawer .shm-m-item .shm-chev { margin-left: auto; color: var(--shm-muted); }
  html body.template-14 #navigation .shm-drawer .shm-m-foot { margin-top: 14px; padding: 16px; display: grid; gap: 10px; font-size: 14px; background: var(--shm-paper); }
  html body.template-14 #navigation .shm-drawer .shm-m-foot .shm-hrs { color: var(--shm-brand-h); font-weight: 700; }
  html body.template-14 #navigation .shm-drawer .shm-m-foot .shm-ln { display: flex; align-items: center; gap: 8px; }
  html body.template-14 #navigation .shm-drawer .shm-m-foot .shm-ln svg { color: var(--shm-brand); }
  html body.template-14 #navigation .shm-drawer .shm-m-foot .shm-sm { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 6px; border-top: 1px solid var(--shm-peach); color: var(--shm-muted); }
  html body.template-14 #navigation .shm-drawer .shm-m-back { display: flex; align-items: center; gap: 6px; padding: 14px 16px 4px; margin: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--shm-brand-h) !important; cursor: pointer; }
  html body.template-14 #navigation .shm-drawer .shm-m-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 16px 12px; }
  html body.template-14 #navigation .shm-drawer .shm-m-title h3 { margin: 0; padding: 0; font-size: 24px; font-weight: 900; line-height: 1.2; text-transform: none; color: var(--shm-ink); }
  html body.template-14 #navigation .shm-drawer .shm-m-more { color: var(--shm-brand-h) !important; font-weight: 700; font-size: 15px; }
  html body.template-14 #navigation .shm-drawer .shm-m-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px 16px; }
  html body.template-14 #navigation .shm-drawer .shm-m-tile { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 12px; margin: 0; border: 1px solid var(--shm-line); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; text-align: center; cursor: pointer; }
  html body.template-14 #navigation .shm-drawer .shm-m-tile .shm-thumb { width: 72px; height: 72px; }
  html body.template-14 #navigation .shm-drawer .shm-m-tile small { display: block; font-weight: 400; font-size: 12px; color: var(--shm-muted); }
  html body.template-14 #navigation .shm-drawer .shm-m-rows a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--shm-line); font-size: 16px; }
  html body.template-14 #navigation .shm-drawer .shm-m-rows svg { color: var(--shm-muted); }
}
