/* =====================================================================
   5omsa — design system v3: "app-grade marketplace"
   The store should feel like a shopping app on a phone: a persistent tab
   bar, a header that steps aside while you scroll, photo-first cards,
   a product page with an always-there buy bar, a cart sheet and a calm,
   big-target checkout. Hot red gradient for buying, ink for everything
   else, red never for decoration.
   Layered over Shoptimizer + CommerceKit; the parent theme is untouched.
   Styles the data that exists: no fake urgency, no fake counts.
   ===================================================================== */

/* ----------------------------------------------------- design tokens */
:root {
  --omsa-hot-1: #ff4d00;        /* energy gradient start */
  --omsa-hot-2: #e70014;        /* brand red / gradient end */
  --omsa-hot: linear-gradient(90deg, var(--omsa-hot-1), var(--omsa-hot-2));
  --omsa-red: #e70014;
  --omsa-red-ink: #c00011;
  --omsa-ink: #111317;          /* near-black text, ink buttons */
  --omsa-ink-soft: #5b5f66;     /* secondary text */
  --omsa-ink-faint: #9a9ca1;    /* meta, strike price, idle tabs */
  --omsa-paper: #ffffff;        /* cards, sheets */
  --omsa-surface: #f4f5f6;      /* app background */
  --omsa-fill: #eef0f2;         /* pressed / selected fills */
  --omsa-line: #e6e8eb;
  --omsa-amber: #ff9500;        /* rating stars */
  --omsa-ok: #0f9d58;           /* in stock, saved */

  --omsa-display: "Archivo", system-ui, sans-serif;
  --omsa-display-x: "Archivo", system-ui, sans-serif; /* heavy (900) price/headings */
  --omsa-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --omsa-r-xs: 8px;
  --omsa-r-sm: 12px;
  --omsa-r: 16px;
  --omsa-r-lg: 22px;
  --omsa-shadow-1: 0 1px 2px rgba(17,19,23,.06);
  --omsa-shadow-2: 0 10px 26px rgba(17,19,23,.12);
  --omsa-shadow-bar: 0 -8px 24px rgba(17,19,23,.06);
  --omsa-glow: 0 8px 22px rgba(231,0,20,.30);
  --omsa-ease: cubic-bezier(.2, .7, .2, 1);
  --omsa-spring: cubic-bezier(.34, 1.56, .64, 1);
  --omsa-glass: rgba(255,255,255,.9);

  --omsa-tabbar-h: 60px;
  --omsa-safe-b: env(safe-area-inset-bottom, 0px);

  /* Try-on widget skin. The 5omsa Try-On widget reads these, so the swipe deck,
     photo upload and "See it on you" button match the store. Change the look here,
     never in the plugin. */
  --omsa-tryon-paper: var(--omsa-surface);
  --omsa-tryon-surface: var(--omsa-paper);
  --omsa-tryon-ink: var(--omsa-ink);
  --omsa-tryon-muted: var(--omsa-ink-soft);
  --omsa-tryon-line: var(--omsa-line);
  --omsa-tryon-accent: var(--omsa-hot-2);
  --omsa-tryon-accent-fill: var(--omsa-hot);
  --omsa-tryon-on-accent: #fff;
  --omsa-tryon-accent-glow: var(--omsa-glow);
  --omsa-tryon-skip: var(--omsa-ink);
  --omsa-tryon-error: var(--omsa-red-ink);
  --omsa-tryon-radius: 20px;
  --omsa-tryon-radius-control: 999px;
  --omsa-tryon-shadow: var(--omsa-shadow-2);
  --omsa-tryon-font: var(--omsa-body);
  --omsa-tryon-font-display: var(--omsa-display);
}

/* ----------------------------------------------------- base + touch */
html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--omsa-body);
  color: var(--omsa-ink);
  background: var(--omsa-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a, button, .button, input, select, label, summary { touch-action: manipulation; }

h1, h2, h3, .entry-title, .product_title, .woocommerce-loop-product__title {
  font-family: var(--omsa-display);
  letter-spacing: -0.02em;
}
/* big energetic section headings */
.home h2, .entry-content > h2, .elementor-heading-title {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
.home h1, .hero h1 {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: .95 !important;
}

a { transition: color 140ms var(--omsa-ease); }
::selection { background: rgba(231,0,20,.18); }
img { max-width: 100%; height: auto; }
/* emoji images (core's emoji styles are removed in inc/performance.php): text-sized, inline */
img.emoji {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 .07em !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  vertical-align: -0.1em !important;
}

a:focus-visible, button:focus-visible, .button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(231,0,20,.45);
  outline-offset: 2px;
}

/* phones: 16px fields so iOS never zooms the page on focus */
@media (max-width: 992px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
  input[type="password"], input[type="url"], textarea, select { font-size: 16px !important; }
}

/* ----------------------------------------------------- page transitions (native-feeling navigation) */
/* Same-site navigations cross-fade quickly; the header and tab bar stay put; the tapped
   product photo morphs into the product page photo (named by app-shell.js). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
#masthead { view-transition-name: omsa-header; }
.omsa-tabbar { view-transition-name: omsa-tabbar; }
.omsa-vt-hero,
.single-product #commercegurus-pdp-gallery .cg-main-swiper .swiper-slide:first-child img { view-transition-name: omsa-product; }
.omsa-vt-leaving .single-product #commercegurus-pdp-gallery .cg-main-swiper .swiper-slide:first-child img { view-transition-name: none; }
::view-transition-group(omsa-product) { animation-duration: 340ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(omsa-product), ::view-transition-new(omsa-product) { height: 100%; object-fit: cover; }

/* ----------------------------------------------------- buttons (system) */
.single_add_to_cart_button, .elementor-button, .checkout-button, .wc-proceed-to-checkout .button,
.shop-now a, .hero .button, #place_order,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout {
  font-family: var(--omsa-display) !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  letter-spacing: .005em !important;
  text-transform: none !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--omsa-hot) !important;
  color: #fff !important;
  box-shadow: var(--omsa-glow) !important;
  transition: transform .14s var(--omsa-ease), box-shadow .26s var(--omsa-ease), opacity .2s !important;
}
.single_add_to_cart_button:hover, .elementor-button:hover, .checkout-button:hover, .shop-now a:hover, #place_order:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(231,0,20,.38) !important;
}
.single_add_to_cart_button:active, .checkout-button:active, #place_order:active,
.widget_shopping_cart a.checkout:active { transform: scale(.97) !important; }

/* secondary: quiet ink outline */
.woocommerce-mini-cart__buttons a.button:not(.checkout),
button[name="update_cart"], button[name="apply_coupon"], .call-back-feature button,
.woocommerce .woocommerce-message .button, .woocommerce .woocommerce-info .button {
  font-family: var(--omsa-display) !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  border: 1.5px solid var(--omsa-ink) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* ----------------------------------------------------- notices (cards, readable) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 12px 0 !important;
  padding: 14px 16px !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  border: 1px solid var(--omsa-line) !important;
  border-left: 4px solid var(--omsa-hot-2) !important;
  border-radius: 14px !important;
  box-shadow: var(--omsa-shadow-1) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--omsa-hot-2) !important; position: static !important; margin: 0 !important; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--omsa-ink) !important; font-weight: 700; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button {
  order: 2;
  margin-left: auto !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  float: none !important;
}
.woocommerce-error { border-left-color: var(--omsa-red-ink) !important; list-style: none !important; }
.woocommerce-error li { margin: 0 !important; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ----------------------------------------------------- header */
.site-header, #masthead, .header-main {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--omsa-line);
}
.main-navigation a, .menu > li > a, nav.primary-navigation a {
  font-family: var(--omsa-display);
  font-weight: 600;
}
/* desktop nav bar: ink instead of the parent's grey, red underline instead of amber */
.col-full-nav { background-color: var(--omsa-ink) !important; }
.menu-primary-menu-container > ul > li > a span::before { border-color: var(--omsa-hot-2) !important; }
.main-navigation ul.menu ul li.menu-item:not(.menu-item-image):not(.heading) > a:hover { color: var(--omsa-hot-2) !important; }

input[type="search"], input.search-field, form.woocommerce-product-search input {
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: 999px !important;
  background: var(--omsa-surface) !important;
  padding: 12px 18px !important;
}
input[type="search"]:focus, input.search-field:focus {
  border-color: var(--omsa-ink) !important;
  box-shadow: 0 0 0 4px rgba(17,19,23,.06) !important;
  outline: none;
}

/* header bag: a line bag with a smile, and a small red badge (only when not empty) */
.shoptimizer-cart a.cart-contents {
  position: relative !important;
  display: inline-grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  margin: -8px -6px -8px 0 !important;   /* bigger tap target, same spot as before */
  border-radius: 999px;
  transition: transform .3s var(--omsa-spring), background-color .15s;
}
.shoptimizer-cart a.cart-contents::before {
  content: "";
  width: 26px;
  height: 26px;
  background: var(--omsa-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.2h12.8a.9.9 0 0 1 .9.98l-.86 9.9a2 2 0 0 1-2 1.82H7.56a2 2 0 0 1-2-1.82l-.86-9.9a.9.9 0 0 1 .9-.98Z'/%3E%3Cpath d='M9 8.2V7a3 3 0 0 1 6 0v1.2M9.4 12.4a2.6 2.6 0 0 0 5.2 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.2h12.8a.9.9 0 0 1 .9.98l-.86 9.9a2 2 0 0 1-2 1.82H7.56a2 2 0 0 1-2-1.82l-.86-9.9a.9.9 0 0 1 .9-.98Z'/%3E%3Cpath d='M9 8.2V7a3 3 0 0 1 6 0v1.2M9.4 12.4a2.6 2.6 0 0 0 5.2 0'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--omsa-spring);
}
.shoptimizer-cart a.cart-contents:hover::before { transform: translateY(-1px) rotate(-6deg); }
.shoptimizer-cart a.cart-contents:active { transform: scale(.88); background: var(--omsa-fill); transition-duration: .07s; }
.shoptimizer-cart a.cart-contents .amount { display: none !important; }
.shoptimizer-cart a.cart-contents .count {
  position: absolute !important;
  top: 3px !important;
  left: auto !important;
  right: 0 !important;
  width: auto !important;
  min-width: 18px;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  box-sizing: border-box;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  background: var(--omsa-hot) !important;
  color: #fff !important;
  font: 800 10px/14px var(--omsa-display) !important;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(231,0,20,.35);
  text-align: center;
  transition: transform .3s var(--omsa-spring);
}
.shoptimizer-cart a.cart-contents .count::after, .shoptimizer-cart a.cart-contents .count::before { display: none !important; }
.shoptimizer-cart a.cart-contents .count.is-empty { transform: scale(0); }
.shoptimizer-cart a.cart-contents:hover .count { background: var(--omsa-hot) !important; color: #fff !important; }

/* announcement strip under the header ("THE HAND BEHIND THE ART") */
.header-widget-region {
  background: var(--omsa-ink) !important;
  color: #fff !important;
}
.header-widget-region .widget, .header-widget-region p { margin: 0 !important; }
.header-widget-region p, .header-widget-region strong {
  color: #fff !important;
  font-family: var(--omsa-display);
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}

@media (max-width: 992px) {
  /* Phone header, ink like the strip under it: menu + logo + bag on top, the search box
     always there below. Only the search is sticky: the header sticks 54px above the screen
     edge, so the top row scrolls away with the page and the search stays pinned with 8px of
     ink above it. */
  #masthead.site-header {
    position: sticky !important;
    top: -54px;
    z-index: 30;
    background: var(--omsa-ink) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0 !important;
  }
  #masthead .main-header {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 10px 10px !important;
    position: relative;
  }
  #masthead .site-branding {
    order: 1;
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px;
    height: 50px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
  }
  #masthead .main-header > .site-header-cart {
    order: 2;
    flex: none;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  #masthead .main-header > .secondary-navigation { display: none !important; }

  /* menu and bag: icon-only round buttons in soft glass, the same size either side of the logo */
  #masthead .site-branding button.menu-toggle {
    position: static !important;
    display: inline-grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 999px;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
    transform: none !important;
    transition: transform .3s var(--omsa-spring), background-color .15s;
  }
  #masthead .menu-toggle .bar { display: none !important; }
  #masthead .menu-toggle::before {
    content: "";
    width: 22px;
    height: 22px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h9'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* the word "Menu" stays for screen readers only */
  #masthead .menu-toggle .bar-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
  #masthead .menu-toggle:active { transform: scale(.88) !important; background: rgba(255,255,255,.16) !important; transition-duration: .07s; }

  /* logo centred on the screen (menu left, bag right), in the 50px top row */
  .site-header .custom-logo-link {
    position: absolute !important;
    top: 4px !important;
    left: 50% !important;
    display: flex !important;
    align-items: center;
    height: 50px;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }
  /* the logo shows as uploaded: it needs to read on ink (the red badge does; a black logo would not) */
  body .site-header .custom-logo-link img, body .site-header .custom-logo { height: 34px !important; max-height: none; width: auto !important; max-width: 50vw; object-fit: contain; }

  /* bag: white line icon in the same glass circle, the count badge on its shoulder */
  #masthead .shoptimizer-cart a.cart-contents { width: 44px !important; height: 44px !important; margin: 0 !important; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
  #masthead .shoptimizer-cart a.cart-contents::before { width: 24px; height: 24px; background: #fff; }
  #masthead .shoptimizer-cart a.cart-contents::after { display: none !important; }
  #masthead .shoptimizer-cart a.cart-contents .count { top: -3px !important; right: -3px !important; border-color: var(--omsa-ink) !important; }
  #masthead .shoptimizer-cart a.cart-contents:active { background: rgba(255,255,255,.16); }

  /* search: always visible, white pill with the brand gradient ring and a round go button */
  #masthead .main-header > .site-search {
    display: block !important;
    order: 3;
    flex: 1 0 100%;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }
  /* product pages: no search (the page is about one design), so the header just scrolls away */
  body.single-product #masthead.site-header { position: relative !important; top: auto; }
  body.single-product #masthead .main-header { padding-bottom: 6px !important; }

  /* account button right of the logo where the tab bar has the bag (inc/app-shell.php) */
  #masthead .main-header > .omsa-head-account {
    order: 2;
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .3s var(--omsa-spring), background-color .15s;
  }
  #masthead .omsa-head-account svg { width: 24px; height: 24px; }
  #masthead .omsa-head-account.is-in span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--omsa-hot);
    font: 900 15px/1 var(--omsa-display);
  }
  #masthead .omsa-head-account:active { transform: scale(.88); background: rgba(255,255,255,.16); transition-duration: .07s; }
  #masthead .main-header:has(> .omsa-head-account) > .site-header-cart { display: none !important; }

  .header-widget-region { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
  .header-widget-region .col-full { padding-top: 7px !important; padding-bottom: 7px !important; }
  /* the breadcrumb row is noise on a phone; the header and tab bar do the navigating */
  .archive-header .woocommerce-breadcrumb, .single-product .woocommerce-breadcrumb { display: none !important; }
  .archive-header { padding: 0 !important; margin: 0 !important; border: 0 !important; }
}

/* no header search on product pages */
body.single-product #masthead .main-header > .site-search { display: none !important; }

/* header search, any width: a white pill with a search glyph in front and a round red go
   button with an arrow. The brand ring and a soft halo come on while typing. */
#masthead .site-search .widget { margin: 0 !important; }
#masthead .site-search form.woocommerce-product-search { position: relative; margin: 0 !important; }
#masthead .site-search form.woocommerce-product-search::after { display: none !important; }
#masthead .site-search form.woocommerce-product-search::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  width: 20px;
  height: 20px;
  margin: -10px 0 0;
  background: var(--omsa-ink-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m20 20-4.4-4.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m20 20-4.4-4.4'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  transition: background-color .2s;
}
#masthead .site-search form:focus-within::before { background: var(--omsa-hot-2); }
#masthead .site-search input.search-field {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 60px 0 46px !important;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff) border-box !important;
  color: var(--omsa-ink) !important;
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: -.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 18px rgba(0,0,0,.18) !important;
  transition: box-shadow .2s var(--omsa-ease);
}
#masthead .site-search input.search-field::placeholder { color: #6b6f76; opacity: 1; transition: opacity .2s; }
#masthead .site-search input.search-field:focus::placeholder { opacity: .55; }
#masthead .site-search input.search-field:focus {
  background: linear-gradient(#fff, #fff) padding-box, var(--omsa-hot) border-box !important;
  box-shadow: 0 0 0 4px rgba(255,77,0,.28), 0 6px 18px rgba(0,0,0,.18) !important;
}
#masthead .site-search button[type="submit"] {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  display: flex !important;     /* flex, not grid: the hidden "Search" text would take a second row */
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--omsa-hot) !important;
  box-shadow: 0 4px 12px rgba(231,0,20,.35), inset 0 1px 0 rgba(255,255,255,.28) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  opacity: 1 !important;
  clip: auto !important;        /* Shoptimizer hides it like screen-reader text */
  clip-path: none !important;
  overflow: visible !important;
  transition: transform .3s var(--omsa-spring), box-shadow .2s;
}
#masthead .site-search button[type="submit"]::before {
  content: "";
  width: 20px;
  height: 20px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--omsa-spring);
}
/* with words in the box the arrow leans forward */
#masthead .site-search form:has(input.search-field:not(:placeholder-shown)) button[type="submit"]::before { transform: translateX(2px); }
#masthead .site-search button[type="submit"]:active { transform: scale(.88); transition-duration: .07s; }
/* clear button: a small grey round "x" (WebKit's own, restyled), left of the go button */
#masthead .site-search input.search-field::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0 6px 0 8px;
  border-radius: 50%;
  background: var(--omsa-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5f66' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 14px no-repeat;
  cursor: pointer;
}
/* searching: CommerceKit marks the box with its loader gif; the go button spins instead */
#masthead .site-search form:has(input[style*="loader"]) button[type="submit"]::before {
  -webkit-mask: none;
  mask: none;
  width: 16px;
  height: 16px;
  border: 2.4px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  background: none;
  animation: omsa-spin .7s linear infinite;
}
@keyframes omsa-spin { to { transform: rotate(360deg); } }

/* the header lifts off the page once it is pinned */
#masthead.site-header { transition: box-shadow .25s var(--omsa-ease); }
.omsa-scrolled #masthead.site-header { box-shadow: 0 12px 30px rgba(17,19,23,.26); }

/* open results or the Popular panel dim the page behind (a tap there closes them) */
#masthead::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(17,19,23,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--omsa-ease), visibility 0s linear .22s;
}
body:has(#masthead .commercekit-ajs-results[style*="display: block"]) #masthead::after,
body:has(#masthead .site-search form.is-hinting) #masthead::after { opacity: 1; visibility: visible; transition: opacity .22s var(--omsa-ease); }

/* live results (CommerceKit) and the Popular panel: one white sheet under the box,
   rows like the shop's cards */
#masthead .commercekit-ajs-results, #masthead .omsa-search-hints {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 9999;
  margin: 0 !important;
  min-height: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-radius: 20px !important;
  background: var(--omsa-paper);
  box-shadow: 0 22px 50px rgba(17,19,23,.30), 0 2px 8px rgba(17,19,23,.10);
  transform-origin: 50% 0;
  animation: omsa-sheet-in .24s var(--omsa-ease);
}
#masthead .commercekit-ajs-results::-webkit-scrollbar, #masthead .omsa-search-hints::-webkit-scrollbar { display: none; }
@keyframes omsa-sheet-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
#masthead .commercekit-ajs-suggestions { box-sizing: border-box; padding: 6px; border: 0 !important; background: none !important; }

#masthead .commercekit-ajs-suggestions > .autocomplete-suggestion {
  position: relative;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px;
  background: none;
  transition: background-color .15s;
}
#masthead .commercekit-ajs-suggestions > .autocomplete-suggestion:hover,
#masthead .commercekit-ajs-suggestions > .autocomplete-suggestion.active { background: var(--omsa-surface) !important; }
#masthead .commercekit-ajs-suggestions > .autocomplete-suggestion:active { background: var(--omsa-fill) !important; }
#masthead .commercekit-ajs-suggestions a.commercekit-ajs-product,
#masthead .commercekit-ajs-suggestions a.commercekit-ajs-post,
#masthead .omsa-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  color: var(--omsa-ink) !important;
  text-decoration: none !important;
}
/* products: rounded thumbnail, two-line title, heavy price */
#masthead .commercekit-ajs-product-image, #masthead .omsa-search-thumb {
  flex: none;
  width: 56px !important;
  max-width: none !important;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--omsa-surface);
}
#masthead .commercekit-ajs-product-image img, #masthead .omsa-search-thumb img { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; object-fit: cover; }
#masthead .commercekit-ajs-product-desc, #masthead .omsa-search-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0 !important; }
#masthead .commercekit-ajs-product-title, #masthead .omsa-search-row-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--omsa-ink);
  font: 600 14px/1.3 var(--omsa-body) !important;
}
#masthead .commercekit-ajs-results span.match-text { color: var(--omsa-hot-2); font-weight: 800; text-decoration: none; }
#masthead .commercekit-ajs-product-price, #masthead .omsa-search-row-price {
  color: var(--omsa-ink) !important;
  font: 900 15px/1.1 var(--omsa-display-x) !important;
  letter-spacing: -.01em;
}
#masthead .commercekit-ajs-product-price .omsa-from, #masthead .omsa-search-row-price .omsa-from { margin-right: 2px; color: var(--omsa-ink-soft); font: 600 12px var(--omsa-body); letter-spacing: 0; }
#masthead .commercekit-ajs-product-price ins, #masthead .omsa-search-row-price ins { color: var(--omsa-hot-2) !important; text-decoration: none; }
#masthead .commercekit-ajs-product-price del, #masthead .omsa-search-row-price del { margin-right: 4px; color: var(--omsa-ink-faint) !important; font-weight: 700; }
#masthead .commercekit-ajs-product-out-of-stock { margin-top: 0; border-radius: 999px; background: var(--omsa-fill); color: var(--omsa-ink-soft); font: 600 11px/1.6 var(--omsa-body); }

/* categories, tags, pages: an icon chip, the name, a quiet type pill */
#masthead .commercekit-ajs-post-title {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  color: var(--omsa-ink);
  font: 600 14px/1.3 var(--omsa-body) !important;
}
#masthead .commercekit-ajs-post-title::before {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  border-radius: 12px;
  background: #fff1ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e70014' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h8l4 4v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M9.5 12h5M9.5 15.5h5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
#masthead .commercekit-ajs-post-title:has(.cgkit-ajs-txt-pc)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e70014' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.8'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.8'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.8'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.8'/%3E%3C/svg%3E");
}
#masthead .commercekit-ajs-post-title:has(.cgkit-ajs-txt-pt)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e70014' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9.5 4 7.5 20M16.5 4l-2 16M4.5 9h15M4 15h15'/%3E%3C/svg%3E");
}
#masthead .commercekit-ajs-post-title span.post-type {
  flex: none;
  margin-left: auto;
  padding: 4px 10px !important;
  border-radius: 999px;
  background: var(--omsa-surface);
  color: var(--omsa-ink-soft) !important;
  font: 600 11.5px/1.2 var(--omsa-body) !important;
  letter-spacing: 0;
  text-transform: none !important;
}
#masthead .autocomplete-suggestion:hover .commercekit-ajs-post-title span.post-type { background: var(--omsa-paper); }
#masthead .commercekit-ajs-suggestions a.commercekit-ajs-post { padding-left: 0; }
/* a hairline between the products and the categories under them */
#masthead .autocomplete-suggestion:has(.commercekit-ajs-product) + .autocomplete-suggestion:has(.commercekit-ajs-post) { margin-top: 13px !important; }
#masthead .autocomplete-suggestion:has(.commercekit-ajs-product) + .autocomplete-suggestion:has(.commercekit-ajs-post)::before { content: ""; position: absolute; top: -7px; left: 10px; right: 10px; height: 1px; background: var(--omsa-line); }

/* "See all results (37)": an ink button pinned to the bottom of the sheet */
#masthead .commercekit-ajs-view-all-holder {
  position: sticky;
  bottom: 0;
  z-index: 2 !important;
  width: auto !important;
  margin: 2px -6px -6px;
  padding: 10px 6px 6px;
  background: linear-gradient(rgba(255,255,255,0), var(--omsa-paper) 14px);
}
#masthead .commercekit-ajs-view-all-holder > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 14px;
  background: var(--omsa-ink);
  color: #fff !important;
  font: 700 14.5px/1 var(--omsa-body);
  letter-spacing: 0;
  text-transform: none;
  transition: transform .15s var(--omsa-ease), background-color .15s;
}
#masthead .commercekit-ajs-view-all-holder > a::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
#masthead .commercekit-ajs-view-all-holder > a:hover { background: #2a2d33; }
#masthead .commercekit-ajs-view-all-holder > a:active { transform: scale(.98); }
/* the pages' own "See all" is a quiet link at the very end */
#masthead .commercekit-ajs-other-result ~ .commercekit-ajs-view-all-holder { position: static; margin: 0; padding: 2px 0 0; background: none; }
#masthead .commercekit-ajs-other-result ~ .commercekit-ajs-view-all-holder > a { height: 40px; background: none; color: var(--omsa-ink-soft) !important; font-size: 13.5px; }
#masthead .commercekit-ajs-other-result ~ .commercekit-ajs-view-all-holder > a:hover { background: var(--omsa-surface); }

/* "Pages" heading over the other results, and the Popular panel's headings */
#masthead .commercekit-ajs-other-result, #masthead .omsa-search-hints-title {
  height: auto !important;
  margin: 14px 0 4px;
  padding: 12px 10px 2px !important;
  border-top: 1px solid var(--omsa-line);
  background: none !important;
  color: var(--omsa-ink-faint) !important;
  font: 700 12.5px/1.2 var(--omsa-body) !important;
  letter-spacing: .01em;
  text-transform: none !important;
}
#masthead .commercekit-ajs-view-all-holder + .commercekit-ajs-other-result { margin-top: 4px; }
/* nothing found */
#masthead .commercekit-ajs-suggestions > .autocomplete-no-suggestion {
  padding: 26px 18px 22px;
  color: var(--omsa-ink-soft);
  font: 500 14.5px/1.4 var(--omsa-body);
  text-align: center;
}
#masthead .commercekit-ajs-suggestions > .autocomplete-no-suggestion::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--omsa-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ca1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M8.8 11h4.4'/%3E%3C/svg%3E") center / 22px no-repeat;
}
#masthead .commercekit-ajs-suggestions > .autocomplete-no-suggestion:empty { display: none; }
#masthead .commercekit-ajs-suggestions > .autocomplete-suggestion + .autocomplete-no-suggestion { display: none; }

/* Popular panel (box empty): vibe chips, then the trending tees */
#masthead .omsa-search-hints { display: none; right: 0; box-sizing: border-box; max-height: min(560px, calc(100dvh - 150px)); padding: 6px 6px 8px; }
#masthead form.is-hinting .omsa-search-hints { display: block; }
#masthead .omsa-search-hints-title:first-child { margin-top: 0; border-top: 0; padding-top: 10px !important; }
/* section glyphs: recent (clock), vibes (sparkle), trending (flame) */
#masthead .omsa-search-hints-title { display: flex; align-items: center; gap: 6px; }
#masthead .omsa-search-hints-title::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: var(--omsa-hot-2);
  -webkit-mask: var(--omsa-glyph) center / contain no-repeat;
  mask: var(--omsa-glyph) center / contain no-repeat;
}
#masthead .omsa-search-hints-title[data-glyph="vibe"] { --omsa-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c.5 4.6 2.9 7 7.5 7.5-4.6.5-7 2.9-7.5 7.5-.5-4.6-2.9-7-7.5-7.5 4.6-.5 7-2.9 7.5-7.5Z'/%3E%3Cpath d='M19 15.5c.2 1.8 1.2 2.8 3 3-1.8.2-2.8 1.2-3 3-.2-1.8-1.2-2.8-3-3 1.8-.2 2.8-1.2 3-3Z'/%3E%3C/svg%3E"); }
#masthead .omsa-search-hints-title[data-glyph="trend"] { --omsa-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.6 2.2c.6 3.1-.9 4.9-2.4 6.6-1.6 1.8-3.4 3.6-3.4 6.4A5.2 5.2 0 0 0 12 20.6a5.6 5.6 0 0 0 5.6-5.7c0-2.3-1-3.9-2-5.2-.2 1.4-.9 2.5-2 3 .5-3.7-.3-7.3-1-10.5Z'/%3E%3C/svg%3E"); }
#masthead .omsa-search-hints-title[data-glyph="recent"] { --omsa-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
#masthead .omsa-search-hints-title[data-glyph="recent"]::before { background: var(--omsa-ink-faint); }
#masthead .omsa-search-clear {
  margin: -6px -4px -6px auto;
  padding: 6px 8px !important;
  border: 0 !important;
  border-radius: 8px;
  background: none !important;
  color: var(--omsa-ink-soft) !important;
  font: 600 12.5px/1.2 var(--omsa-body) !important;
  cursor: pointer;
}
#masthead .omsa-search-clear:hover { background: var(--omsa-surface) !important; color: var(--omsa-ink) !important; }
/* recent searches: quiet pills, a clock in front */
#masthead .omsa-search-recent .omsa-search-chip { min-height: 36px; padding: 0 14px 0 10px; gap: 6px; background: none; box-shadow: inset 0 0 0 1px var(--omsa-line); }
#masthead .omsa-search-recent .omsa-search-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--omsa-ink-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m20 20-4.4-4.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m20 20-4.4-4.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
#masthead .omsa-search-recent .omsa-search-chip:hover { background: var(--omsa-surface); }
/* trending rows end in a quiet chevron */
#masthead .omsa-search-row::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0 6px 0 auto;
  background: var(--omsa-ink-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--omsa-ease);
}
#masthead .omsa-search-row:hover::after { transform: translateX(3px); background: var(--omsa-ink); }
#masthead .omsa-search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 6px 4px; }
#masthead .omsa-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px 0 5px;
  border-radius: 999px;
  background: var(--omsa-surface);
  color: var(--omsa-ink) !important;
  font: 600 13.5px/1 var(--omsa-body);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .15s, transform .15s var(--omsa-ease);
}
#masthead .omsa-search-chip:not(:has(.omsa-search-chip-icon)) { padding-left: 14px; }
#masthead .omsa-search-chip:hover { background: var(--omsa-fill); }
#masthead .omsa-search-chip:active { transform: scale(.96); }
#masthead .omsa-search-chip-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--omsa-paper); box-shadow: var(--omsa-shadow-1); }
#masthead .omsa-search-chip-icon svg { width: 22px; height: 22px; }
#masthead .omsa-search-row { border-radius: 14px; transition: background-color .15s; }
#masthead .omsa-search-row:hover { background: var(--omsa-surface); }
#masthead .omsa-search-row:active { background: var(--omsa-fill); }

@media (prefers-reduced-motion: reduce) {
  #masthead .commercekit-ajs-results, #masthead .omsa-search-hints { animation: none; }
}

/* ----------------------------------------------------- tab bar (phones)
   A floating glass capsule. The current tab sits on an ink pill (.omsa-tab-ink, added by
   app-shell.js) that slides to a tab the moment it is tapped, before the next page arrives;
   without the script the active tab carries the pill itself. --omsa-tabbar-h is the space the
   bar takes, gap included. */
.omsa-tabbar { display: none; }
@media (max-width: 992px) {
  :root { --omsa-tabbar-h: 74px; }
  .omsa-tabbar {
    position: fixed;
    left: 10px; right: 10px;
    bottom: calc(8px + var(--omsa-safe-b));
    z-index: 40;
    display: flex;
    align-items: stretch;
    height: 64px;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    box-shadow: 0 0 0 1px rgba(17,19,23,.06), 0 12px 32px rgba(17,19,23,.16), 0 2px 6px rgba(17,19,23,.06);
    transition: transform .34s var(--omsa-ease), opacity .2s;
  }
  body.omsa-has-tabbar { padding-bottom: calc(var(--omsa-tabbar-h) + var(--omsa-safe-b)); }
  .omsa-typing .omsa-tabbar, .drawer-open .omsa-tabbar, .mobile-toggled .omsa-tabbar { transform: translateY(calc(100% + 24px)); opacity: 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .omsa-tabbar { background: rgba(255,255,255,.97); }
}
.omsa-tab-ink {
  position: absolute;
  top: 6px; bottom: 6px; left: 0;
  width: var(--omsa-ink-w, 0);
  border-radius: 18px;
  background: var(--omsa-ink);
  box-shadow: 0 6px 16px rgba(17,19,23,.22);
  transform: translateX(var(--omsa-ink-x, 0));
  transition: transform .46s var(--omsa-spring), width .46s var(--omsa-spring), opacity .2s;
  pointer-events: none;
}
.omsa-tab-ink.is-still { transition: none; }
.omsa-tab-ink.is-off { opacity: 0; }
.omsa-tab {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 18px;
  color: var(--omsa-ink-soft) !important;
  text-decoration: none !important;
  font-family: var(--omsa-body);
  -webkit-tap-highlight-color: transparent;
  transition: color .25s var(--omsa-ease), background-color .25s;
}
.omsa-tab-icon { width: 24px; height: 24px; transition: transform .34s var(--omsa-spring); }
.omsa-tab-label { font-size: 10.5px; font-weight: 600; line-height: 1.1; letter-spacing: .01em; }
.omsa-tab.is-active { color: #fff !important; }
.omsa-tab.is-active .omsa-tab-icon { stroke-width: 2.1; }
.omsa-tab.is-active .omsa-tab-label { font-weight: 700; }
.omsa-tabbar:not(.has-ink) .omsa-tab.is-active { background: var(--omsa-ink); }
.omsa-tab:active .omsa-tab-icon { transform: scale(.84); transition-duration: .07s; }
.omsa-tab-slot:not([hidden]) { position: relative; z-index: 1; flex: 1 1 0; display: flex; justify-content: center; align-items: center; min-width: 0; }
.omsa-tab-count {
  position: absolute;
  top: 4px;
  left: calc(50% + 5px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, var(--omsa-hot-1), var(--omsa-hot-2));
  color: #fff;
  font: 800 10px/1 var(--omsa-display);
  box-sizing: content-box;
  box-shadow: 0 2px 6px rgba(231,0,20,.35);
}
.omsa-tab.is-active .omsa-tab-count { border-color: var(--omsa-ink); }
.omsa-tab-count[data-count="0"] { display: none; }
.omsa-tab-count.is-bump { animation: omsa-bump .5s var(--omsa-spring); }
@keyframes omsa-bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ============================================ PRODUCT GRID */
/* dense 2-up on phones, 4-up on desktop; never wider than the screen */
ul.products {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 0 16px !important;
  padding: 0 !important;
  box-sizing: border-box;
}
ul.products::before, ul.products::after { display: none !important; }
@media (min-width: 720px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
}
@media (min-width: 1100px) {
  ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}

ul.products li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 0 12px !important;
  background: var(--omsa-paper) !important;
  border: 0 !important;
  border-radius: var(--omsa-r) !important;
  box-shadow: var(--omsa-shadow-1) !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  text-align: left !important;
  transition: transform .38s var(--omsa-spring), box-shadow .22s var(--omsa-ease) !important;
}
@media (hover: hover) {
  ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--omsa-shadow-2) !important; }
  ul.products li.product:hover .woocommerce-image__wrapper img { transform: scale(1.04); }
}
/* touch: presses in at once (app-shell.js adds .is-pressed unless the finger is scrolling), springs back */
@media (hover: none) {
  ul.products li.product.is-pressed { transform: scale(.965) !important; transition-duration: .09s !important; transition-timing-function: ease-out !important; }
}

/* photo: 3:4 like fashion apps (the store's thumbnails are cut 3:4, so nothing is lost) */
ul.products li.product .woocommerce-image__wrapper {
  position: relative;
  margin: 0 !important;
  overflow: hidden;
  background: var(--omsa-fill);
}
ul.products li.product .woocommerce-image__wrapper img,
ul.products li.product > a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: var(--omsa-fill);
  transition: transform .35s var(--omsa-ease) !important;
}
/* skeleton shimmer until the lazy image arrives */
ul.products li.product img[data-lazy-src]:not(.lazyloaded) {
  background: linear-gradient(100deg, var(--omsa-fill) 40%, #f8f9fa 50%, var(--omsa-fill) 60%) 0 0 / 200% 100%;
  animation: omsa-shimmer 1.2s linear infinite;
}
@keyframes omsa-shimmer { to { background-position: -200% 0; } }

.woocommerce-card__header { position: relative; padding: 10px 12px 0 !important; flex: 1; display: flex; flex-direction: column; }
ul.products li.product .product__categories,
ul.products li.product .woocommerce-loop-category__title,
ul.products li.product .posted_in { display: none !important; }

.woocommerce-loop-product__title {
  font-family: var(--omsa-body) !important;
  font-size: 13px !important;
  line-height: 1.32 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--omsa-ink) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.64em !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.woocommerce-loop-product__title a { color: inherit !important; }

/* rating */
.star-rating { font-size: 11px !important; margin: 0 0 4px !important; }
.star-rating span::before, .star-rating::before { color: var(--omsa-amber) !important; }

/* price */
.price {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  color: var(--omsa-ink) !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.price ins { text-decoration: none !important; background: none !important; }
.price del { opacity: 1 !important; }
.price del .woocommerce-Price-amount { color: var(--omsa-ink-faint) !important; font-size: 12px !important; font-weight: 700 !important; }
.price .omsa-from {
  font-family: var(--omsa-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--omsa-ink-soft);
  align-self: center;
}
ul.products li.product .price { margin: auto 0 0 !important; padding: 0 40px 0 0 !important; min-height: 34px; align-items: center !important; }
ul.products li.product .price .woocommerce-Price-amount { font-size: 17px !important; color: var(--omsa-ink) !important; }
ul.products li.product .price ins .woocommerce-Price-amount { color: var(--omsa-hot-2) !important; }
.wc-stripe-bnpl-shop-message:empty { display: none; }
/* price row sits at the bottom of every card, stars or not (CommerceKit wraps the price) */
ul.products li.product .cgkit-as-variation-price { margin-top: auto; }

/* sale badge: hot pill top-left */
.onsale, span.onsale {
  background: var(--omsa-hot) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--omsa-display) !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  letter-spacing: .02em !important;
  padding: 5px 10px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  line-height: 1.3 !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  box-shadow: 0 4px 12px rgba(231,0,20,.35) !important;
  z-index: 3;
}

/* wishlist heart: frosted circle top-right (CommerceKit) */
ul.products li.product .commercekit-wishlist.mini {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  z-index: 4 !important;
  margin: 0 !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center;
  border-radius: 999px !important;
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(17,19,23,.12) !important;
}
ul.products li.product .commercekit-wishlist.mini a { display: grid; place-items: center; width: 100%; height: 100%; color: var(--omsa-ink) !important; }
/* CommerceKit draws the heart as a masked ::before; idle ink, saved red */
.commercekit-wishlist em.cg-wishlist::before { background-color: var(--omsa-ink) !important; }
.commercekit-wishlist em.cg-wishlist-t::before, .commercekit-wishlist.saved em::before,
.commercekit-wishlist a.commercekit-remove-wishlist em::before { background-color: var(--omsa-hot-2) !important; }

/* quick buy: a round ink bag button next to the price (adds simple products in place,
   opens the product page to choose a size for the rest) */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  position: absolute !important;
  right: 10px !important;
  bottom: 0 !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-ink) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: transform .16s var(--omsa-spring), background-color .2s !important;
}
ul.products li.product .button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a1.5 1.5 0 0 1-1.5 1.3H7.7a1.5 1.5 0 0 1-1.5-1.3Z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a1.5 1.5 0 0 1-1.5 1.3H7.7a1.5 1.5 0 0 1-1.5-1.3Z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.products li.product .button:hover { background: #000 !important; transform: scale(1.06); }
ul.products li.product .button:active { transform: scale(.9); }
ul.products li.product .button.loading { opacity: .6 !important; }
ul.products li.product .button.loading::after { display: none !important; }
ul.products li.product .button.added { background: var(--omsa-hot-2) !important; }
ul.products li.product .added_to_cart { display: none !important; } /* the bag badge and drawer say it */

/* ----------------------------------------------------- shop + category pages */
.woocommerce-products-header__title, .woocommerce-products-header h1, .page-title {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
/* Header of the shop, category and search pages, top to bottom: the category pills (like app
   tabs), then the title with a small sort pill beside it, then "146 designs". One grid on the
   page column puts Shoptimizer's separate pieces (title, header, pills, sort bar) in that order. */
body.woocommerce.archive .site-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 12px; align-items: center; }
body.woocommerce.archive .site-main > * { grid-column: 1 / -1; order: 3; min-width: 0; }
body.woocommerce.archive .site-main > .omsa-cats { order: 0; }
body.woocommerce.archive .site-main > .page-title { order: 1; grid-column: 1; }
body.woocommerce.archive .site-main > .shoptimizer-sorting:not(.sorting-end) { order: 1; grid-column: 2; }
body.woocommerce.archive .site-main > .woocommerce-products-header { order: 2; }
/* no title (the shop page): "298 designs" takes its place beside the sort pill */
body.woocommerce.archive .site-main:not(:has(> .page-title)) > .woocommerce-products-header { order: 1; grid-column: 1; margin: 0 !important; }
body.woocommerce.archive .site-main:not(:has(> .page-title)) .omsa-cat-count { margin: 0 !important; color: var(--omsa-ink); font: 800 17px/1.2 var(--omsa-display) !important; }
/* search: the title is hidden and "37 designs for “psy”" (in the header) takes its place */
body.woocommerce.archive.search .site-main > .woocommerce-products-header { order: 1; grid-column: 1; margin: 0 !important; }
.woocommerce-products-header { display: block !important; padding: 0 !important; margin: -10px 0 0 !important; background: none !important; text-align: left !important; }
.woocommerce-products-header:not(:has(> :not(.page-title))) { display: none !important; }
.woocommerce-products-header__title, .site-main > .page-title { margin: 0 !important; font-size: 28px !important; line-height: 1.1 !important; }
.omsa-cat-count { margin: 4px 0 0 !important; color: var(--omsa-ink-soft); font: 600 13.5px/1.3 var(--omsa-body); text-align: left !important; }
.term-description { margin-top: 6px; font-size: 14px; color: var(--omsa-ink-soft); }
/* sort: a small pill with a sort icon; the result count and top pager are not needed up here
   (the count is under the title, and the grid loads more as you scroll) */
.shoptimizer-sorting:not(.sorting-end) { display: flex !important; justify-content: flex-end; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.shoptimizer-sorting:not(.sorting-end) .woocommerce-result-count,
.shoptimizer-sorting:not(.sorting-end) .woocommerce-pagination { display: none !important; }
.shoptimizer-sorting:not(.sorting-end) .woocommerce-ordering { flex: none !important; width: auto !important; margin: 0 !important; float: none !important; }
.shoptimizer-sorting:not(.sorting-end) .woocommerce-ordering select {
  width: auto !important;
  max-width: 52vw;
  height: 40px;
  padding: 0 34px 0 38px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3.5 16.5 7 20l3.5-3.5M17 20V4M13.5 7.5 17 4l3.5 3.5'/%3E%3C/svg%3E") left 13px center / 17px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 15px no-repeat,
    var(--omsa-paper) !important;
  font: 700 14px/1 var(--omsa-body) !important;
  cursor: pointer;
}
.shoptimizer-sorting:not(.sorting-end) .woocommerce-ordering select:hover { border-color: var(--omsa-ink) !important; }
@media (max-width: 992px) {
  .woocommerce-products-header__title, .site-main > .page-title { font-size: 26px !important; }
  /* a category title gets its own row (long names would break mid-word beside the sort pill);
     "3 designs" and the sort pill share the row under it */
  body.woocommerce.archive .site-main > .page-title { grid-column: 1 / -1; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  body.woocommerce.archive:not(.search) .site-main:has(> .page-title) > .shoptimizer-sorting:not(.sorting-end) { order: 2; }
  body.woocommerce.archive:not(.search) .site-main:has(> .page-title) > .woocommerce-products-header { order: 2; grid-column: 1; margin: -4px 0 0 !important; }
  body.woocommerce.archive:not(.search) .site-main:has(> .page-title) > .woocommerce-products-header .omsa-cat-count { margin: 0 !important; }
}
.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 40px;
  padding: 0 34px 0 14px !important;
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: 999px !important;
  background: var(--omsa-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat !important;
  font-family: var(--omsa-body);
  font-weight: 600;
  color: var(--omsa-ink);
}
/* filters: a floating round button above the tab bar (phones) */
@media (max-width: 992px) {
  button.mobile-filter {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 16px !important;
    bottom: calc(var(--omsa-tabbar-h) + var(--omsa-safe-b) + 14px) !important;
    z-index: 39;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(17,19,23,.86) !important;
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    color: #fff !important;
    font-size: 0 !important;      /* the label stays for screen readers */
    line-height: 0 !important;
    box-shadow: 0 12px 30px rgba(17,19,23,.30), inset 0 0 0 1px rgba(255,255,255,.10) !important;
    transition: transform .34s var(--omsa-spring), opacity .2s !important;
    animation: omsa-fab-in .55s var(--omsa-spring) .35s backwards;
  }
  body:not(.omsa-has-tabbar) button.mobile-filter { bottom: calc(var(--omsa-safe-b) + 18px) !important; }
  button.mobile-filter svg { position: static !important; transform: none !important; inset: auto !important; width: 24px !important; height: 24px !important; margin: 0 !important; stroke: #fff; color: #fff; flex: none; }
  button.mobile-filter:active { transform: scale(.88); transition-duration: .08s !important; }
  .omsa-typing button.mobile-filter, .drawer-open button.mobile-filter, .mobile-toggled button.mobile-filter, .omsa-at-footer button.mobile-filter { opacity: 0; pointer-events: none; transform: scale(.6); }
}
@keyframes omsa-fab-in { from { opacity: 0; transform: translateY(24px) scale(.6); } to { opacity: 1; transform: none; } }

/* Shoptimizer opens its drawer only when the tap lands on the button itself, not its icon */
button.mobile-filter > * { pointer-events: none; }
/* how many filters are on, on the button's shoulder */
.omsa-fab-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--omsa-hot);
  color: #fff;
  font: 800 11px/1 var(--omsa-body);
  animation: omsa-badge-pop .4s var(--omsa-spring);
}
@keyframes omsa-badge-pop { from { transform: scale(0); } }

/* the grid while the next one is on its way (filters, sort, category pills) */
#main.omsa-swapping ul.products { opacity: .4; filter: saturate(.6); transition: opacity .2s, filter .2s; pointer-events: none; }
#main ul.products.omsa-in { animation: omsa-grid-in .35s var(--omsa-ease); }
@keyframes omsa-grid-in { from { opacity: .4; transform: translateY(6px); } }

/* filter & sort sheet (app-shell.js): rises from the bottom on phones, a side panel on desktop */
.omsa-fsheet { position: fixed; inset: 0; z-index: 9990; }
.omsa-fsheet[hidden] { display: none; }
.omsa-fsheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17,19,23,.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s var(--omsa-ease);
}
.omsa-fsheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 760px);
  max-height: min(86dvh, 760px);
  border-radius: 26px 26px 0 0;
  background: var(--omsa-paper);
  box-shadow: 0 -18px 50px rgba(17,19,23,.22);
  transform: translateY(104%);
  transition: transform .42s cubic-bezier(.2, .9, .25, 1);
  touch-action: pan-y;
}
.omsa-fsheet-panel.is-dragging { transition: none; }
.omsa-fsheet.is-open .omsa-fsheet-scrim { opacity: 1; }
.omsa-fsheet.is-open .omsa-fsheet-panel { transform: none; }
.omsa-sheet-open { overflow: hidden; }
.omsa-fsheet-grab { flex: none; width: 40px; height: 5px; margin: 9px auto 0; border-radius: 999px; background: var(--omsa-line); cursor: grab; }
.omsa-fsheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 6px 20px; cursor: grab; }
.omsa-fsheet-head h2 { margin: 0 !important; font: 900 22px/1.1 var(--omsa-display-x) !important; letter-spacing: -.01em; color: var(--omsa-ink); }
.omsa-fsheet-x {
  display: grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--omsa-surface) !important;
  color: var(--omsa-ink) !important;
  cursor: pointer;
  transition: transform .3s var(--omsa-spring);
}
.omsa-fsheet-x svg { width: 20px; height: 20px; }
.omsa-fsheet-x:active { transform: scale(.88); transition-duration: .07s; }
.omsa-fsheet-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 8px; -webkit-overflow-scrolling: touch; }
.omsa-fsec { padding: 16px 0 18px; border-top: 1px solid var(--omsa-line); }
.omsa-fsec:first-child { border-top: 0; padding-top: 8px; }
.omsa-fsec h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 12px !important;
  font: 800 15px/1.2 var(--omsa-display) !important;
  color: var(--omsa-ink);
  letter-spacing: 0;
  text-transform: none;
}
.omsa-frange-val { font: 700 14px/1 var(--omsa-body); color: var(--omsa-hot-2); font-variant-numeric: tabular-nums; }
.omsa-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.omsa-fchip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: 999px !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  font: 600 14px/1 var(--omsa-body) !important;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: transform .3s var(--omsa-spring), background-color .15s, border-color .15s, color .15s;
}
.omsa-fchip .omsa-cat-icon { width: 22px; height: 22px; margin: -4px 0 -4px -4px; }
.omsa-fchip.is-on { border-color: var(--omsa-ink) !important; background: var(--omsa-ink) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(17,19,23,.2); }
.omsa-fchip.is-on .omsa-cat-icon { filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
.omsa-fchip:active { transform: scale(.94); transition-duration: .07s; }
@media (hover: hover) { .omsa-fchip:not(.is-on):hover { border-color: var(--omsa-ink) !important; } }

/* price: two thumbs on one track, the chosen stretch in the brand gradient */
.omsa-frange { position: relative; height: 36px; margin: 0 4px; --a: 0%; --b: 100%; }
.omsa-frange::before, .omsa-frange::after { content: ""; position: absolute; top: 16px; height: 5px; border-radius: 999px; }
.omsa-frange::before { left: 0; right: 0; background: var(--omsa-fill); }
.omsa-frange::after { left: var(--a); right: calc(100% - var(--b)); background: var(--omsa-hot); }
.omsa-frange input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.omsa-frange input[type="range"]:focus { outline: none; }
.omsa-frange input[type="range"]::-webkit-slider-runnable-track { height: 36px; background: none; border: 0; }
.omsa-frange input[type="range"]::-moz-range-track { height: 36px; background: none; border: 0; }
.omsa-frange input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,19,23,.08), 0 4px 12px rgba(17,19,23,.22);
  pointer-events: auto;
  cursor: grab;
  transition: transform .25s var(--omsa-spring);
}
.omsa-frange input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,19,23,.08), 0 4px 12px rgba(17,19,23,.22);
  pointer-events: auto;
  cursor: grab;
}
.omsa-frange input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.omsa-frange input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,77,0,.35), 0 4px 12px rgba(17,19,23,.22); }

.omsa-fsheet-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + var(--omsa-safe-b));
  border-top: 1px solid var(--omsa-line);
  background: var(--omsa-paper);
}
.omsa-fsheet-clear {
  flex: none;
  min-height: 52px;
  padding: 0 14px !important;
  border: 0 !important;
  background: none !important;
  color: var(--omsa-ink) !important;
  font: 700 15px/1 var(--omsa-body) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.omsa-fsheet-go {
  flex: 1 1 auto;
  min-height: 54px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-hot) !important;
  box-shadow: var(--omsa-glow);
  color: #fff !important;
  font: 800 16px/1.1 var(--omsa-display) !important;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform .3s var(--omsa-spring), opacity .2s, box-shadow .2s;
}
.omsa-fsheet-go:active { transform: scale(.96); transition-duration: .07s; }
.omsa-fsheet-go.is-busy { opacity: .75; }
.omsa-fsheet-go:disabled { background: var(--omsa-fill) !important; color: var(--omsa-ink-soft) !important; box-shadow: none; font-size: 14px !important; cursor: default; }
@media (min-width: 993px) {
  .omsa-fsheet-panel {
    left: auto;
    top: 0;
    width: 440px;
    max-height: none;
    border-radius: 26px 0 0 26px;
    transform: translateX(104%);
  }
  .omsa-fsheet-grab { display: none; }
  .omsa-fsheet-head { padding: 22px 16px 10px 24px; cursor: default; }
  .omsa-fsheet-body { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .omsa-fsheet-panel, .omsa-fsheet-scrim, #main ul.products.omsa-in { transition: none; animation: none; }
}

/* category pills (inc/woocommerce.php) */
.omsa-cats { margin: 4px 0 0; }
.omsa-cats-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.omsa-cats-track::-webkit-scrollbar { display: none; }
@media (max-width: 992px) {
  .omsa-cats { margin-inline: calc(50% - 50vw); margin-top: 14px; }
  .omsa-cats-track { padding-inline: 16px; scroll-padding-inline: 16px; }
  /* the row fades at the edges, so it reads as "more this way" */
  .omsa-cats-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); }
}
.omsa-cat {
  flex: none;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 40px;
  scroll-snap-align: start;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--omsa-line);
  background: var(--omsa-paper);
  color: var(--omsa-ink) !important;
  font-family: var(--omsa-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color .15s, transform .12s var(--omsa-ease);
}
.omsa-cat:active { transform: scale(.95); }
.omsa-cat:has(.omsa-cat-icon) { gap: 7px; padding-left: 9px; }
.omsa-cat .omsa-cat-icon { width: 24px; height: 24px; margin: -4px 0; transition: transform .35s var(--omsa-spring); }
@media (hover: hover) { .omsa-cat:not(.is-active):hover { border-color: var(--omsa-ink); } .omsa-cat:hover .omsa-cat-icon { transform: rotate(-8deg) scale(1.08); } }
.omsa-cat.is-active .omsa-cat-icon { filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
.omsa-cat.is-active { background: var(--omsa-ink); border-color: var(--omsa-ink); color: #fff !important; box-shadow: 0 6px 16px rgba(17,19,23,.22); }

/* pagination (desktop / no infinite scroll) */
.woocommerce-pagination .page-numbers li .page-numbers {
  border-radius: 999px !important;
  min-width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  font-weight: 700;
}
.woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--omsa-ink) !important; color: #fff !important; }

/* ============================================ PRODUCT PAGE */
.single-product .site-content .col-full { background-color: transparent !important; }
.single-product div.product .product_title {
  font-family: var(--omsa-display-x);
  font-size: clamp(22px, 4.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 8px;
}
.single-product div.product .summary p.price, .single-product div.product .summary > .price,
.single-product div.product .summary .cgkit-as-variation-price .price {
  font-size: 26px !important;
  margin: 0 0 12px !important;
}
.single-product div.product .summary .price .woocommerce-Price-amount { color: var(--omsa-hot-2) !important; }
.single-product div.product .summary .price del .woocommerce-Price-amount { color: var(--omsa-ink-faint) !important; font-size: 16px !important; }
.single-product div.product .summary .price .omsa-from { font-size: 14px; }
.woocommerce-product-details__short-description { color: var(--omsa-ink-soft); font-size: 15px; line-height: 1.55; }

/* gallery: dots as a pill indicator */
.single-product .swiper-pagination-bullet { background: var(--omsa-ink) !important; opacity: .22 !important; transition: width .25s var(--omsa-ease), opacity .2s; }
.single-product .swiper-pagination-bullet-active { opacity: 1 !important; width: 18px !important; border-radius: 999px !important; }
/* arrows (desktop): round glass buttons that appear on hover */
.single-product .cg-main-swiper .swiper-button-next, .single-product .cg-main-swiper .swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  margin-top: -22px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 4px 14px rgba(17,19,23,.16);
  color: var(--omsa-ink) !important;
  opacity: 0;
  transition: opacity .2s, transform .3s var(--omsa-spring);
}
.single-product .cg-main-swiper:hover .swiper-button-next:not(.swiper-button-disabled),
.single-product .cg-main-swiper:hover .swiper-button-prev:not(.swiper-button-disabled),
.single-product .cg-main-swiper .swiper-button-next:focus-visible, .single-product .cg-main-swiper .swiper-button-prev:focus-visible { opacity: 1; }
.single-product .cg-main-swiper .swiper-button-next:hover, .single-product .cg-main-swiper .swiper-button-prev:hover { transform: scale(1.08); }
.single-product .cg-main-swiper .swiper-button-next::after, .single-product .cg-main-swiper .swiper-button-prev::after { font-size: 15px !important; font-weight: 800; color: var(--omsa-ink) !important; }
@media (hover: none) { .single-product .cg-main-swiper .swiper-button-next, .single-product .cg-main-swiper .swiper-button-prev { display: none !important; } }
/* photos of different sizes: every slide is a frame in the first photo's shape (set by
   inc/woocommerce.php) and each photo shows whole inside it, centred on the soft surface:
   nothing cropped, and swiping never changes the gallery height */
#commercegurus-pdp-gallery.omsa-gal-framed .cg-main-swiper .swiper-slide {
  aspect-ratio: var(--omsa-gal-ratio);
  height: auto !important;
  overflow: hidden;
  background: var(--omsa-surface);
}
#commercegurus-pdp-gallery.omsa-gal-framed .cg-main-swiper .swiper-slide > a,
#commercegurus-pdp-gallery.omsa-gal-framed .cg-main-swiper .swiper-slide > a > div {
  display: block;
  width: 100%;
  height: 100%;
}
#commercegurus-pdp-gallery.omsa-gal-framed .cg-main-swiper .swiper-slide img,
#commercegurus-pdp-gallery.omsa-gal-framed .cg-main-swiper .swiper-slide video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
}
#commercegurus-pdp-gallery .cg-thumb-swiper .swiper-slide img { aspect-ratio: 1; object-fit: cover; }

@media (max-width: 992px) {
  /* full-bleed gallery, the details on a white sheet beneath it */
  .single-product #commercegurus-pdp-gallery-wrapper, .single-product div.product div.images {
    margin-inline: calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-bottom: 0 !important;
  }
  .single-product #commercegurus-pdp-gallery .swiper-slide img { border-radius: 0 !important; }
  .single-product div.product .summary {
    margin-inline: calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 20px 16px 8px !important;
    background: var(--omsa-paper);
    border-radius: var(--omsa-r-lg) var(--omsa-r-lg) 0 0;
    box-sizing: border-box;
  }
  .single-product .shoptimizer-product-prevnext { display: none !important; }
}

/* options (CommerceKit swatches): style as a segmented control on a soft track, sizes as an
   even grid of chips that always fits the screen, "Clear" as a small link beside the label */
.single-product table.variations, .single-product table.variations tbody, .single-product table.variations tr,
.single-product table.variations th, .single-product table.variations td { display: block; width: 100%; padding: 0 !important; border: 0 !important; background: none !important; }
.single-product table.variations { margin: 4px 0 6px !important; }
.single-product table.variations tr { position: relative; margin-bottom: 16px; }
.single-product table.variations th.label { margin-bottom: 8px; padding-right: 70px !important; text-align: left; }
.single-product table.variations th.label label {
  font-family: var(--omsa-body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--omsa-ink) !important;
}
.single-product table.variations th.label label strong { font-weight: 800; }
.single-product .cgkit-chosen-attribute { font-weight: 600; color: var(--omsa-ink-soft); }
.single-product .cgkit-chosen-attribute.no-selection { font-weight: 500; color: var(--omsa-ink-faint); }
.single-product .cgkit-swatch-title { display: none !important; }
.single-product .cgkit-attribute-swatches-wrap { min-width: 0; margin: 0; padding: 0; border: 0; }
.single-product ul.cgkit-attribute-swatches {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.single-product ul.cgkit-attribute-swatches li.cgkit-attribute-swatch {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.single-product ul.cgkit-attribute-swatches button.swatch {
  width: 100% !important;
  height: 46px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 4px !important;
  overflow: hidden;
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: var(--omsa-r-sm) !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  font-family: var(--omsa-body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: none !important;
  outline-offset: 2px;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .2s, transform .12s var(--omsa-ease) !important;
}
.single-product ul.cgkit-attribute-swatches button.swatch .cross { display: none !important; }
.single-product ul.cgkit-attribute-swatches button.swatch:hover { border-color: var(--omsa-ink) !important; }
.single-product ul.cgkit-attribute-swatches button.swatch.cgkit-swatch-selected {
  background: var(--omsa-ink) !important;
  border-color: var(--omsa-ink) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(17,19,23,.2) !important;
}
.single-product ul.cgkit-attribute-swatches button.swatch.cgkit-swatch-disabled,
.single-product ul.cgkit-attribute-swatches button.swatch.cgkit-swatch-oos {
  color: var(--omsa-ink-faint) !important;
  background: var(--omsa-surface) linear-gradient(to top left, transparent calc(50% - .75px), var(--omsa-line) calc(50% - .75px), var(--omsa-line) calc(50% + .75px), transparent calc(50% + .75px)) !important;
}
/* every option that isn't a size (style, fit…): one segmented control */
.single-product ul.cgkit-attribute-swatches:not([data-attribute*="size"]) {
  gap: 3px !important;
  padding: 4px !important;
  border-radius: 16px;
  background: var(--omsa-surface);
}
.single-product ul.cgkit-attribute-swatches:not([data-attribute*="size"]) button.swatch {
  height: 42px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--omsa-ink-soft) !important;
  font-size: 13.5px !important;
}
.single-product ul.cgkit-attribute-swatches:not([data-attribute*="size"]) button.swatch:hover { color: var(--omsa-ink) !important; }
.single-product ul.cgkit-attribute-swatches:not([data-attribute*="size"]) button.swatch.cgkit-swatch-selected {
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  box-shadow: 0 1px 2px rgba(17,19,23,.08), 0 4px 12px rgba(17,19,23,.1) !important;
}
.single-product a.reset_variations {
  position: absolute;
  top: -2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  color: var(--omsa-ink-soft) !important;
  font: 600 13px/1.2 var(--omsa-body);
  text-decoration: none !important;
}
.single-product a.reset_variations::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7L4 8.5'/%3E%3Cpath d='M4 3.5v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7L4 8.5'/%3E%3Cpath d='M4 3.5v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.single-product a.reset_variations:hover { color: var(--omsa-ink) !important; }
.single-product .woocommerce-variation-price .price { font-size: 20px !important; }
.single-product .woocommerce-variation-availability .stock { font-size: 13px; font-weight: 600; color: var(--omsa-ok); margin: 4px 0 0; }

/* "pick a size first" nudge (buy bar / add to cart without a size) */
.omsa-attn td.value { animation: omsa-nudge .45s var(--omsa-ease); }
.omsa-attn th.label label { color: var(--omsa-red-ink) !important; }
.omsa-attn ul.cgkit-attribute-swatches button.swatch { border-color: rgba(231,0,20,.55) !important; }
@keyframes omsa-nudge { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* quantity + add to cart on one row: a − 1 + stepper pill beside the gradient button */
.single-product form.cart .woocommerce-variation-add-to-cart,
.single-product form.cart:not(.variations_form),
.single-product form.cart .commercekit-sticky-atc-intersector { display: flex !important; align-items: stretch; gap: 10px; flex-wrap: wrap; width: 100%; }
.single-product form.cart .commercekit-sticky-atc-intersector { flex-wrap: nowrap; }
.single-product form.cart .quantity {
  position: relative;
  display: flex !important;
  flex: none;
  align-items: center;
  width: 124px;
  height: 54px;
  margin: 0 !important;
  box-sizing: border-box;
  border: 1.5px solid var(--omsa-line);
  border-radius: 999px;
  background: var(--omsa-paper);
}
.single-product form.cart .quantity:focus-within { border-color: var(--omsa-ink); }
.single-product form.cart .quantity input.qty {
  order: 1;
  flex: 1;
  width: 100% !important;
  min-width: 0;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  outline: none;
  color: var(--omsa-ink);
  text-align: center;
  font: 800 17px/1 var(--omsa-display) !important;
  -moz-appearance: textfield;
}
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button, .single-product form.cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.single-product form.cart .quantity .quantity-nav { display: contents; }
.single-product form.cart .quantity .quantity-button {
  position: static !important;
  display: grid !important;
  place-items: center;
  flex: none;
  width: 40px !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--omsa-ink);
  font-size: 0 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.single-product form.cart .quantity .quantity-down { order: 0; border-radius: 999px 0 0 999px; }
.single-product form.cart .quantity .quantity-up { order: 2; border-radius: 0 999px 999px 0; }
.single-product form.cart .quantity .quantity-button::before, .single-product form.cart .quantity .quantity-button::after { display: none !important; }
.single-product form.cart .quantity .quantity-button::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  border: 0 !important;
  transform: none !important;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.single-product form.cart .quantity .quantity-up::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}
.single-product form.cart .quantity .quantity-button:active { background: var(--omsa-fill) !important; }
.single-product form.cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto !important;
  width: auto !important;
  min-height: 54px;
  margin: 0 !important;
  padding: 0 22px !important;
  float: none !important;
  border-radius: 999px !important;
  font: 800 17px/1 var(--omsa-display) !important;
  letter-spacing: -.005em;
}
.single-product form.cart .single_add_to_cart_button::before {
  content: "";
  flex: none;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.2h12.8a.9.9 0 0 1 .9.98l-.86 9.9a2 2 0 0 1-2 1.82H7.56a2 2 0 0 1-2-1.82l-.86-9.9a.9.9 0 0 1 .9-.98Z'/%3E%3Cpath d='M9 8.2V7a3 3 0 0 1 6 0v1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.2h12.8a.9.9 0 0 1 .9.98l-.86 9.9a2 2 0 0 1-2 1.82H7.56a2 2 0 0 1-2-1.82l-.86-9.9a.9.9 0 0 1 .9-.98Z'/%3E%3Cpath d='M9 8.2V7a3 3 0 0 1 6 0v1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.single-product form.cart .single_add_to_cart_button.loading::before { animation: omsa-bag-bob .6s ease-in-out infinite alternate; }
@keyframes omsa-bag-bob { to { transform: translateY(-3px); } }
.single_add_to_cart_button.disabled.wc-variation-is-unavailable { background: var(--omsa-ink-faint) !important; box-shadow: none !important; }
.single-product .single_add_to_cart_button.disabled { opacity: 1 !important; cursor: pointer; }
@media (max-width: 359px) {
  .single-product form.cart .quantity { width: 108px; }
  .single-product form.cart .quantity .quantity-button { width: 34px !important; }
  .single-product ul.cgkit-attribute-swatches:not([data-attribute*="size"]) button.swatch { font-size: 12.5px !important; }
}

/* wishlist + size guide: two soft pill buttons */
.single-product .summary .commercekit-wishlist a, .single-product .summary .commercekit-size-guide button,
.single-product .summary button[data-trigger="sizeGuide"] {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 13px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-surface) !important;
  color: var(--omsa-ink) !important;
  font: 700 14px/1 var(--omsa-body) !important;
  text-decoration: none !important;
  transition: transform .3s var(--omsa-spring), background-color .15s;
}
.single-product .summary .commercekit-wishlist a:hover, .single-product .summary .commercekit-size-guide button:hover { background: var(--omsa-fill) !important; }
.single-product .summary .commercekit-wishlist a:active, .single-product .summary .commercekit-size-guide button:active { transform: scale(.94); transition-duration: .07s; }
.single-product .summary .commercekit-size-guide .commercekit-sg-icon { display: inline-flex; margin: 0 !important; }
.single-product .summary .commercekit-size-guide .commercekit-sg-icon svg { width: 22px !important; height: 18px !important; }

/* perks under the buy button (the product widget area): an app-style list, each line with
   its own icon tile; the shipping headline gets the hot gradient tile */
.single-product .product-widget {
  margin: 16px 0 !important;
  padding: 0 !important;
  border: 1px solid var(--omsa-line);
  border-radius: 18px;
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1);
  overflow: hidden;
}
.single-product .product-widget .widget { margin: 0 !important; padding: 0 !important; background: none; border: 0 !important; }
.single-product .product-widget .textwidget { padding: 4px 14px !important; font-size: 14px; }
.single-product .product-widget .textwidget p,
.single-product .product-widget .textwidget li {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-top: 1px solid var(--omsa-line);
  color: var(--omsa-ink) !important;
  font: 600 14px/1.35 var(--omsa-body) !important;
  list-style: none !important;
}
.single-product .product-widget .textwidget > :first-child { border-top: 0; }
.single-product .product-widget .textwidget p:empty { display: none !important; }
.single-product .product-widget .textwidget p strong { font: 800 15px/1.3 var(--omsa-display) !important; color: var(--omsa-ink) !important; }
.single-product .product-widget .textwidget ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.single-product .product-widget .textwidget p::before,
.single-product .product-widget .textwidget li::before {
  content: "" !important;
  position: static !important;
  flex: none;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--omsa-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 20px no-repeat !important;
  -webkit-mask: none !important; /* Shoptimizer cuts list bullets to a check mark */
  mask: none !important;
}
.single-product .product-widget .textwidget p::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.6 5.2 3.6 8.5s-1.2 6.1-3.6 8.5c-2.4-2.4-3.6-5.2-3.6-8.5S9.6 5.9 12 3.5Z'/%3E%3C/svg%3E") center / 21px no-repeat, linear-gradient(135deg, var(--omsa-hot-1), var(--omsa-hot-2)) !important;
  box-shadow: 0 6px 14px rgba(231,0,20,.28);
}
.single-product .product-widget .textwidget li:nth-child(1)::before { background: var(--omsa-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 5 6v5.5c0 4.3 2.9 7.6 7 9 4.1-1.4 7-4.7 7-9V6l-7-2.5Z'/%3E%3Cpath d='m8.9 12.1 2.2 2.2 4.1-4.3'/%3E%3C/svg%3E") center / 21px no-repeat !important; }
.single-product .product-widget .textwidget li:nth-child(2)::before { background: var(--omsa-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 6.5h10.7v9.8H2.8zM13.5 9.8h3.8l3 3.1v3.4h-6.8'/%3E%3Ccircle cx='7' cy='17.6' r='1.7'/%3E%3Ccircle cx='16.8' cy='17.6' r='1.7'/%3E%3C/svg%3E") center / 22px no-repeat !important; }
.call-back-feature button { width: 100%; height: 46px; font-size: 14px !important; }

/* details: tabs on desktop, clean accordion headers on phones */
.woocommerce-tabs ul.tabs li a { font-family: var(--omsa-display); font-weight: 800; }
.woocommerce-tabs ul.tabs li.active a { color: var(--omsa-ink); }
.woocommerce-tabs ul.tabs li.active a::after, .woocommerce-tabs ul.tabs li a::after { background: var(--omsa-hot-2) !important; }
.single-product .product_meta .sku_wrapper { display: none !important; } /* "SKU: N/A" means nothing to a shopper */

/* categories and tags under the description (woocommerce/single-product/meta.php) */
.single-product .product_meta.omsa-meta {
  display: grid;
  gap: 18px;
  box-sizing: border-box;
  padding-top: 22px !important;
  padding-bottom: 26px !important;
  border: 0 !important;
  text-align: left !important;
  font-size: 14px;
}
@media (max-width: 992px) { .single-product .product_meta.omsa-meta { padding-inline: 16px !important; } }
.omsa-meta .omsa-meta-row { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.omsa-meta .omsa-meta-label { color: var(--omsa-ink) !important; font: 800 15px/1.2 var(--omsa-display); }
.omsa-meta .omsa-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.omsa-meta a { text-decoration: none !important; }
.omsa-meta .omsa-meta-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 16px 4px 6px;
  border-radius: 999px;
  background: var(--omsa-paper);
  box-shadow: inset 0 0 0 1.5px var(--omsa-line);
  color: var(--omsa-ink) !important;
  font: 700 14px/1.2 var(--omsa-body);
  transition: transform .3s var(--omsa-spring), box-shadow .15s;
}
.omsa-meta .omsa-meta-cat .omsa-cat-icon { width: 34px; height: 34px; flex: none; }
.omsa-meta .omsa-meta-cat:hover { box-shadow: inset 0 0 0 1.5px var(--omsa-ink); }
.omsa-meta .omsa-meta-cat:active { transform: scale(.95); transition-duration: .07s; }
.omsa-meta .omsa-meta-tag, .omsa-meta .omsa-meta-more {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-surface) !important;
  color: var(--omsa-ink-soft) !important;
  font: 500 13px/1.2 var(--omsa-body) !important;
  transition: background-color .15s, color .15s;
}
.omsa-meta .omsa-meta-tag:hover { background: var(--omsa-fill) !important; color: var(--omsa-ink) !important; }
.omsa-meta .omsa-meta-tag.is-extra { display: none; }
.omsa-meta .omsa-meta-tags.is-open .omsa-meta-tag.is-extra { display: inline-flex; }
.omsa-meta .omsa-meta-more { background: none !important; box-shadow: inset 0 0 0 1.5px var(--omsa-line); color: var(--omsa-ink) !important; font-weight: 700 !important; cursor: pointer; }
.omsa-meta .omsa-meta-more[hidden] { display: none !important; }

/* long description: a few lines, a fade, and "Show more" */
.single-product #tab-description.omsa-fold { position: relative; max-height: 300px; overflow: hidden; transition: max-height .45s var(--omsa-ease); }
.single-product #tab-description.omsa-fold::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  background: linear-gradient(rgba(255,255,255,0), var(--omsa-paper) 85%);
  pointer-events: none;
  transition: opacity .25s;
}
.single-product #tab-description.omsa-fold.is-open { max-height: 6000px; }
.single-product #tab-description.omsa-fold.is-open::after { opacity: 0; }
.omsa-fold-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  margin: 4px auto 8px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-paper) !important;
  box-shadow: inset 0 0 0 1.5px var(--omsa-ink);
  color: var(--omsa-ink) !important;
  font: 800 15px/1 var(--omsa-display) !important;
  cursor: pointer;
  transition: transform .3s var(--omsa-spring);
}
.omsa-fold-btn::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
  transition: transform .3s var(--omsa-spring), margin .3s;
}
.omsa-fold-btn[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.omsa-fold-btn:active { transform: scale(.96); transition-duration: .07s; }

/* photo counter over the gallery */
.omsa-gal-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17,19,23,.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font: 700 12px/1 var(--omsa-body);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  pointer-events: none;
}

/* product page top bar (inc/app-shell.php): phones only, in place of the header */
.omsa-pdp-bar { display: none; }
@media (max-width: 992px) {
  body.single-product #masthead { display: none !important; }
  body.single-product #content.site-content { padding-top: 0 !important; margin-top: 0 !important; }
  body.single-product .site-content > .col-full, body.single-product #primary, body.single-product #main { padding-top: 0 !important; margin-top: 0 !important; }
  .omsa-pdp-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 10px;
    height: calc(60px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 12px 0;
    box-sizing: border-box;
    pointer-events: none; /* only the buttons take taps, the photo stays swipeable around them */
    transition: background-color .25s var(--omsa-ease), box-shadow .25s var(--omsa-ease);
  }
  .omsa-pdp-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    backdrop-filter: saturate(1.8) blur(20px);
    box-shadow: 0 1px 0 rgba(17,19,23,.08);
    opacity: 0;
    transition: opacity .25s var(--omsa-ease);
  }
  .omsa-pdp-bar.is-solid::before { opacity: 1; }
  .omsa-pdp-btn {
    position: relative;
    flex: none;
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.95) !important;
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    backdrop-filter: saturate(1.6) blur(12px);
    box-shadow: 0 0 0 1px rgba(17,19,23,.06), 0 6px 18px rgba(17,19,23,.16);
    color: var(--omsa-ink) !important;
    text-decoration: none !important;
    pointer-events: auto;
    cursor: pointer;
    transition: transform .3s var(--omsa-spring), background-color .25s, box-shadow .25s;
  }
  .omsa-pdp-btn svg { width: 22px; height: 22px; }
  .omsa-pdp-btn .omsa-tab-icon { width: 22px; height: 22px; }
  .omsa-pdp-btn:active { transform: scale(.86); transition-duration: .07s; }
  .omsa-pdp-bar.is-solid .omsa-pdp-btn { background: transparent !important; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .omsa-pdp-bar.is-solid .omsa-pdp-btn:active { background: var(--omsa-fill) !important; }
  .omsa-pdp-back svg { width: 24px; height: 24px; margin-left: -2px; }
  .omsa-pdp-share[hidden] { display: none !important; }
  .omsa-pdp-share.is-done { background: var(--omsa-ok) !important; color: #fff !important; }
  .omsa-pdp-bar-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--omsa-ink);
    font: 800 16px/1.2 var(--omsa-display);
    letter-spacing: -.01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s var(--omsa-ease), transform .3s var(--omsa-ease);
  }
  .omsa-pdp-bar.is-solid .omsa-pdp-bar-title { opacity: 1; transform: none; }
  .omsa-pdp-bag .omsa-tab-count { top: -2px; left: auto; right: -3px; }
  /* the photos run under the bar; the dots go (the "1 / 2" counter says it), the details sheet
     rises over the photo's bottom edge */
  .single-product #commercegurus-pdp-gallery .cg-thumb-swiper { display: none !important; }
  .single-product #commercegurus-pdp-gallery-wrapper { margin-top: 0 !important; }
  /* WP Rocket holds the slider's script until the page is idle; until then the photos already
     swipe, as a native snapping row in the slider's own layout, so nothing moves when it starts
     (app-shell.js hands it the photo the shopper is on) */
  .single-product #commercegurus-pdp-gallery .cg-main-swiper:not(.swiper-container-initialized) > .swiper-wrapper {
    display: flex !important;
    gap: 0 !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .single-product #commercegurus-pdp-gallery .cg-main-swiper:not(.swiper-container-initialized) > .swiper-wrapper::-webkit-scrollbar { display: none; }
  .single-product #commercegurus-pdp-gallery .cg-main-swiper:not(.swiper-container-initialized) > .swiper-wrapper > .swiper-slide {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .single-product div.product .summary { position: relative; z-index: 2; margin-top: -24px !important; padding-top: 24px !important; border-radius: 26px 26px 0 0 !important; box-shadow: 0 -10px 30px rgba(17,19,23,.06); }
  .single-product div.product .summary::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 999px;
    background: var(--omsa-line);
  }
  .single-product .omsa-gal-count { bottom: 38px; right: 14px; }
}
@media (max-width: 992px) and (prefers-reduced-motion: reduce) {
  .omsa-pdp-bar-title { transform: none; }
}

/* "Questions? Request a call back": a quiet help row instead of a second big outlined button */
.single-product .summary .call-back-feature { margin: 4px 0 8px !important; }
.single-product .summary .call-back-feature button {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: auto !important;
  min-height: 56px;
  padding: 8px 40px 8px 14px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--omsa-surface) !important;
  box-shadow: none !important;
  color: var(--omsa-ink) !important;
  font: 700 14px/1.3 var(--omsa-body) !important;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: transform .3s var(--omsa-spring), background-color .15s;
}
.single-product .summary .call-back-feature button::before {
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--omsa-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5c0 4.1-3.6 7.5-8 7.5-1.3 0-2.5-.3-3.6-.8L4 19.5l1.2-3.7A7.2 7.2 0 0 1 4 11.5C4 7.4 7.6 4 12 4s8 3.4 8 7.5Z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: var(--omsa-shadow-1);
}
.single-product .summary .call-back-feature button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: solid var(--omsa-ink-faint);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.single-product .summary .call-back-feature button:hover { background: var(--omsa-fill) !important; }
.single-product .summary .call-back-feature button:active { transform: scale(.98); transition-duration: .07s; }

/* related / upsells: a swipeable row on phones */
.related.products > h2, .upsells.products > h2, section.related > h2 {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  font-size: 22px !important;
}
@media (max-width: 992px) {
  .related.products ul.products, .upsells.products ul.products {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: 44%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(50% - 50vw) !important;
    max-width: 100vw;
    padding: 2px 16px 8px !important;
    scroll-padding-inline: 16px;
  }
  .related.products ul.products::-webkit-scrollbar, .upsells.products ul.products::-webkit-scrollbar { display: none; }
  .related.products ul.products li.product, .upsells.products ul.products li.product {
    scroll-snap-align: start;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* buy bar (app-shell.js): price + one big button, there whenever the form's own button isn't */
.omsa-buybar { display: none; }
@media (max-width: 992px) {
  .omsa-buybar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + var(--omsa-safe-b));
    background: var(--omsa-glass);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid rgba(17,19,23,.08);
    transform: translateY(110%);
    transition: transform .3s var(--omsa-ease);
  }
  .omsa-buybar.is-on { transform: none; }
  .omsa-typing .omsa-buybar, .drawer-open .omsa-buybar, .mobile-toggled .omsa-buybar { transform: translateY(110%); }
  body.omsa-has-buybar { padding-bottom: calc(76px + var(--omsa-safe-b)); }
  .omsa-has-buybar .commercekit-sticky-add-to-cart { display: none !important; }
}
.omsa-buybar-info { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.omsa-buybar-price, .omsa-buybar-price .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--omsa-display-x);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.1;
  color: var(--omsa-hot-2);
  white-space: nowrap;
}
.omsa-buybar-price .woocommerce-Price-amount { color: var(--omsa-hot-2); }
.omsa-buybar-price del, .omsa-buybar-price .screen-reader-text { display: none; }
.omsa-buybar-price .omsa-from { font-size: 12px; color: var(--omsa-ink-soft); }
.omsa-buybar-meta {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--omsa-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.omsa-buybar.is-attn .omsa-buybar-meta { color: var(--omsa-red-ink); font-weight: 700; }
.omsa-buybar-btn {
  flex: 0 0 auto;
  min-width: 54%;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--omsa-hot);
  color: #fff;
  font-family: var(--omsa-display);
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--omsa-glow);
  cursor: pointer;
  transition: transform .14s var(--omsa-ease), opacity .2s;
}
.omsa-buybar-btn:active { transform: scale(.96); }
.omsa-buybar-btn.is-busy { opacity: .7; pointer-events: none; }

/* ============================================ CART DRAWER (Shoptimizer) */
#shoptimizerCartDrawer.shoptimizer-mini-cart-wrap { background: var(--omsa-paper); }
@media (max-width: 992px) {
  #shoptimizerCartDrawer.shoptimizer-mini-cart-wrap { width: min(92vw, 420px) !important; border-radius: var(--omsa-r-lg) 0 0 var(--omsa-r-lg); }
}
#shoptimizerCartDrawer .cart-drawer-heading {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
#shoptimizerCartDrawer .close-drawer { border-radius: 999px; background: var(--omsa-surface) !important; color: var(--omsa-ink) !important; }
#shoptimizerCartDrawer .cgkit-fsn-progress { background: var(--omsa-fill) !important; border-radius: 999px; height: 8px; overflow: hidden; }
#shoptimizerCartDrawer .cgkit-fsn-progress-fill { background: var(--omsa-hot) !important; border-radius: 999px; }
#shoptimizerCartDrawer .cgkit-fsn-message { font-size: 13px; }
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item {
  display: block;
  min-height: 100px;
  padding: 14px 40px 14px 88px !important;
  position: relative;
  border-bottom: 1px solid var(--omsa-line) !important;
  font-size: 14px;
  line-height: 1.35;
}
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item a:not(.remove) { font-weight: 600; color: var(--omsa-ink) !important; }
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item img {
  position: absolute !important;
  left: 0;
  top: 14px;
  width: 72px !important;
  height: 96px !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  object-fit: cover;
  border-radius: var(--omsa-r-sm);
  background: var(--omsa-fill);
}
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item a.remove {
  position: absolute !important;
  left: auto !important;
  right: 0;
  top: 12px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px;
  display: grid !important;
  place-items: center;
  background: var(--omsa-surface);
  color: var(--omsa-ink-soft) !important;
}
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item .quantity { display: block; margin-top: 6px; color: var(--omsa-ink-soft); font-size: 13px; }
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item .quantity .amount { color: var(--omsa-ink); font-weight: 800; font-family: var(--omsa-display); font-size: 15px; }
.widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item dl.variation { margin: 4px 0 0; font-size: 12.5px; color: var(--omsa-ink-soft); }
.widget_shopping_cart .woocommerce-mini-cart__total { font-size: 16px; }
.widget_shopping_cart .woocommerce-mini-cart__total strong, .widget_shopping_cart .woocommerce-mini-cart__total .amount { font-family: var(--omsa-display); font-weight: 900; }
.widget_shopping_cart .woocommerce-mini-cart__buttons { display: flex !important; flex-direction: column-reverse; gap: 10px; }
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button {
  width: 100% !important;
  height: 52px;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px !important;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:not(.checkout) { height: 46px; font-size: 14px !important; }

/* ============================================ CART PAGE */
/* step indicator: ink and red instead of the parent's green */
ul.checkout-bar::before, .woocommerce-checkout .checkout-bar li.active::after, ul.checkout-bar li.visited::after { background-color: var(--omsa-ink) !important; }
ul.checkout-bar li.active, ul.checkout-bar li.visited { color: var(--omsa-ink) !important; }
ul.checkout-bar li.active::before, ul.checkout-bar li.visited::before { background: var(--omsa-ink) !important; border-color: var(--omsa-ink) !important; }
ul.checkout-bar li.next::before { background: var(--omsa-fill) !important; color: var(--omsa-ink-faint) !important; border-color: var(--omsa-fill) !important; }

.woocommerce-cart table.cart, .woocommerce-checkout .shop_table {
  background: var(--omsa-paper);
  border: 1px solid var(--omsa-line) !important;
  border-radius: var(--omsa-r);
  overflow: hidden;
}
.woocommerce-cart table.cart img { border-radius: var(--omsa-r-sm); background: var(--omsa-fill); }
.woocommerce-cart table.cart .product-name a { color: var(--omsa-ink) !important; font-weight: 600; }
.woocommerce-cart table.cart td.actions .coupon { display: flex !important; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text {
  flex: 1;
  height: 46px;
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  background: var(--omsa-paper) !important;
}
.woocommerce-cart table.cart td.actions .coupon button { height: 46px; padding: 0 18px !important; white-space: nowrap; width: auto !important; }
button[name="update_cart"] { height: 44px; }
button[name="update_cart"]:disabled { opacity: .35 !important; }
.woocommerce-cart .quantity { border-radius: 999px; }

.cart_totals, .woocommerce-checkout #order_review {
  background: var(--omsa-paper);
  border: 1px solid var(--omsa-line);
  border-radius: var(--omsa-r);
  box-shadow: var(--omsa-shadow-1);
  padding: 10px 18px 18px;
}
.cart_totals h2 { font-family: var(--omsa-display-x) !important; font-weight: 900; font-size: 20px; }
.cart_totals table.shop_table { border: 0 !important; }
.cart_totals .order-total .amount, .woocommerce-checkout .order-total .amount { font-family: var(--omsa-display); font-weight: 900; font-size: 20px; }
.wc-proceed-to-checkout .checkout-button { height: 56px; display: flex !important; align-items: center; justify-content: center; }
@media (max-width: 992px) {
  /* checkout button always within thumb reach. Only the button is pinned: Stripe puts its
     Apple Pay / Google Pay buttons in the same block, and they stay in the page. */
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(10px + var(--omsa-safe-b));
    z-index: 41;
    width: auto !important;
    height: 52px;
    margin: 0 !important;
  }
  .woocommerce-cart.woocommerce-page::after {
    content: "";
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    height: calc(72px + var(--omsa-safe-b));
    background: var(--omsa-glass);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid rgba(17,19,23,.08);
    pointer-events: none;
  }
  .woocommerce-cart.woocommerce-page { padding-bottom: calc(80px + var(--omsa-safe-b)); }
  .omsa-typing .wc-proceed-to-checkout a.checkout-button, .omsa-typing.woocommerce-cart::after { display: none !important; }
}

/* ============================================ CHECKOUT */
.woocommerce-checkout h3, #order_review_heading {
  font-family: var(--omsa-display-x) !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
}
.woocommerce form .form-row label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--omsa-ink) !important;
  margin-bottom: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.woocommerce form .form-row .required { color: var(--omsa-red) !important; text-decoration: none; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 50px;
  padding: 12px 14px !important;
  border: 1.5px solid #dfe1e5 !important;
  border-radius: var(--omsa-r-sm) !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.woocommerce form .form-row textarea.input-text { min-height: 96px; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 50px !important; display: flex; align-items: center; }
.woocommerce-checkout .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.3 !important; color: var(--omsa-ink) !important; }
.woocommerce-checkout .select2-container .select2-selection__arrow { height: 48px !important; right: 8px !important; }
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus,
.woocommerce-checkout .select2-container--open .select2-selection--single {
  border-color: var(--omsa-ink) !important;
  box-shadow: 0 0 0 4px rgba(17,19,23,.07) !important;
  outline: none;
}
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--omsa-red-ink) !important; }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: #dfe1e5 !important; }
.woocommerce form .form-row input[type="checkbox"], .woocommerce-form__input-checkbox { accent-color: var(--omsa-ink); width: 18px; height: 18px; }

/* order summary: thumbnail, name that can breathe, totals in display type */
.woocommerce-checkout #order_review .shop_table { border: 0 !important; }
.woocommerce-checkout #order_review .shop_table td, .woocommerce-checkout #order_review .shop_table th { border-color: var(--omsa-line) !important; }
.woocommerce-checkout #order_review td.product-name { font-size: 13.5px; line-height: 1.35; font-weight: 600; }
.woocommerce-checkout #order_review .shop_table { table-layout: auto !important; }
.woocommerce-checkout #order_review td.product-name { width: 78%; }
.woocommerce-checkout #order_review .product-item-thumbnail { float: left !important; margin: 0 12px 0 0 !important; }
.woocommerce-checkout #order_review .cg-checkout-table-product-name { overflow: hidden; }
.woocommerce-checkout #order_review td.product-name img { width: 56px !important; height: 56px !important; object-fit: cover; border-radius: var(--omsa-r-xs); }
.woocommerce-checkout #order_review .product-quantity { color: var(--omsa-ink-soft); font-weight: 600; }
.woocommerce-checkout #order_review td.product-total { white-space: nowrap; font-weight: 700; }

/* payment methods as selectable cards */
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods > li {
  margin: 0 !important;
  padding: 14px 14px !important;
  list-style: none;
  border: 1.5px solid var(--omsa-line);
  border-radius: 14px;
  background: var(--omsa-paper);
}
.woocommerce-checkout #payment ul.payment_methods > li:has(input:checked) { border-color: var(--omsa-ink); box-shadow: 0 0 0 1px var(--omsa-ink); }
.woocommerce-checkout #payment ul.payment_methods > li > label { font-weight: 700; color: var(--omsa-ink); }
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] { accent-color: var(--omsa-ink); }
.woocommerce-checkout #payment div.payment_box { background: var(--omsa-surface) !important; border-radius: var(--omsa-r-sm); color: var(--omsa-ink-soft); }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment .place-order { padding: 16px 0 0 !important; }
#place_order { width: 100%; height: 56px; font-size: 17px !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text, .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--omsa-ink-soft); }

/* ----------------------------------------------------- footer: compact, app-like */
/* trust strip (home page only): a quiet light band, four short promises, a line icon in brand
   red on a white chip; no sub-lines. Words and icons come from inc/copy.php. */
body:not(.home) .below-content { display: none !important; }
.below-content { padding: 4px 16px 28px !important; background: var(--omsa-paper) !important; border: 0 !important; }
.below-content .col-full {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  margin: 0 !important;
  padding: 4px !important;
  width: auto !important;
  border-radius: 20px;
  background: var(--omsa-surface);
}
.below-content .col-full::before, .below-content .col-full::after { display: none !important; }
.below-content .widget {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 12px 10px !important;
  background: none !important;
  border: 0 !important;
}
.below-content .widget .textwidget { display: contents; }
.below-content .widget svg {
  position: static !important;
  order: -1;
  flex: none;
  box-sizing: border-box;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 9px;
  border-radius: 12px;
  background: var(--omsa-paper);
  box-shadow: 0 1px 2px rgba(17,19,23,.06), 0 4px 12px rgba(17,19,23,.05);
  color: var(--omsa-hot-2);
  stroke: currentColor !important;
}
.below-content .widget svg path, .below-content .widget svg rect, .below-content .widget svg circle { stroke-width: 1.8; }
.below-content .widget .widget-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--omsa-ink) !important;
  font: 700 13.5px/1.25 var(--omsa-body) !important;
  letter-spacing: -.005em !important;
  text-transform: none !important;
  text-align: left !important;
}
.below-content .widget p { display: none !important; }
/* hairlines between the four: a soft cross in the middle */
.below-content .widget:nth-child(odd)::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 0; width: 1px; background: rgba(17,19,23,.07); }
.below-content .widget:nth-child(n+3)::before { content: ""; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: rgba(17,19,23,.07); }

.site-footer, #colophon, .footer-widgets, footer.copyright {
  background: var(--omsa-ink) !important;
  color: #a9acb3;
}
.site-footer a, #colophon a, footer.copyright a { color: #e8e9ec !important; text-decoration: none; }
.site-footer a:hover { color: #fff !important; }
.site-footer h3, .site-footer .widget-title { color: #fff !important; font-family: var(--omsa-display); }
.site-footer li a::after { display: none !important; }

@media (max-width: 992px) {
  .site-footer { padding: 8px 0 4px !important; }
  .site-footer .col-full { display: block !important; padding: 0 16px !important; }
  .site-footer .widget { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-footer .widget-title { display: block; margin: 0 !important; padding: 0 !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
  .site-footer .widget:not(.omsa-foot-fold) .widget-title { padding: 18px 0 12px !important; }
  .site-footer ul { margin: 0 !important; padding: 0 !important; list-style: none; }

  /* folding link lists (app-shell.js turns the title into a button) */
  .omsa-foot-toggle {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    color: #fff;
    font: 700 15px/1.2 var(--omsa-body);
    cursor: pointer;
  }
  .omsa-foot-toggle::after {
    content: "";
    width: 18px;
    height: 18px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .3s var(--omsa-spring);
  }
  .omsa-foot-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
  .omsa-foot-fold .widget-title + * { display: none; }
  .omsa-foot-fold.is-open .widget-title + * { display: block; animation: omsa-fade-in .25s ease both; }
  .omsa-foot-fold.is-open .omsa-foot-toggle::after { transform: rotate(180deg); }
  .omsa-foot-fold li a { display: block; padding: 9px 0; font-size: 14.5px; color: #c9cbd1 !important; }
  .omsa-foot-fold.is-open ul { padding-bottom: 12px !important; }

  /* social: a row of round icons */
  .site-footer .widget:has(a[href*="instagram.com"]) ul { display: flex !important; flex-wrap: wrap; gap: 10px; padding-bottom: 18px !important; }
  .site-footer .widget:has(a[href*="instagram.com"]) .widget-title { font-size: 13px !important; color: #a9acb3 !important; }

  /* reviews quote */
  .site-footer .widget:has(.review) { padding: 18px 0 !important; border-bottom: 0; }
  .site-footer .widget:has(.review) .widget-title { padding: 0 0 10px !important; font-size: 13px !important; color: #a9acb3 !important; }
  .site-footer .widget:has(.review) img { max-height: 34px; width: auto; }
  .site-footer .review { font-size: 14px; line-height: 1.45; color: #e8e9ec; }
  .site-footer .review span { color: var(--omsa-amber); letter-spacing: 2px; }

}

/* copyright line (any width): minimal, one hairline above, small muted words, the payment
   marks as quiet outlined chips in one colour */
footer.copyright {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255,255,255,.08);
}
footer.copyright .col-full {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0;
  row-gap: 10px;
}
footer.copyright .col-full::before, footer.copyright .col-full::after { display: none !important; }
footer.copyright .widget { flex: none !important; width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }
footer.copyright p { margin: 0 !important; color: #8b8f97; font: 500 12.5px/1.5 var(--omsa-body); letter-spacing: .01em; text-align: inherit !important; }
footer.copyright .widget:has(.omsa-pay) ~ .widget p::before { content: "\00b7"; margin: 0 8px; color: #5b5f66; }
.omsa-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.omsa-pay-mark {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #c9cbd1;
}
.omsa-pay-mark svg { display: block; height: 13px; width: auto; }
.omsa-pay-mastercard svg { height: 16px; }
.omsa-pay-paypal { width: 58px; }
.omsa-pay-paypal svg { height: 14px; }
footer.copyright img { float: none !important; display: block; margin: 0 auto !important; max-height: 22px; width: auto; opacity: .9; }
@media (max-width: 992px) {
  /* phones: the payment marks, then the two lines, centred */
  footer.copyright { padding: 20px 16px 22px !important; }
  footer.copyright .col-full { flex-direction: column; padding: 0 !important; row-gap: 4px; text-align: center; }
  footer.copyright .widget:has(.omsa-pay) { order: -1; margin-bottom: 10px !important; }
  footer.copyright .widget:has(.omsa-pay) ~ .widget p::before { display: none; }
  footer.copyright .omsa-pay { justify-content: center; }
}
@media (min-width: 993px) {
  footer.copyright { padding: 22px 0 !important; }
  footer.copyright .col-full { box-sizing: border-box; max-width: min(1170px, calc(100% - 5.236em)) !important; margin-inline: auto !important; padding: 0 !important; }
  footer.copyright .widget:has(.omsa-pay) { order: 3; margin-left: auto !important; }
  footer.copyright .widget:has(.omsa-pay) ~ .widget { order: 2; }
}
/* social icons (any width) */
.site-footer .widget:has(a[href*="instagram.com"]) li { margin: 0 !important; }
.site-footer .widget:has(a[href*="instagram.com"]) a {
  position: relative;
  display: block !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 0 !important;
  transition: transform .3s var(--omsa-spring), background-color .15s;
}
/* pinned to the middle: the hidden link text would otherwise take a row and push the icon up */
.site-footer .widget:has(a[href*="instagram.com"]) a::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  background: #fff;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.site-footer .widget:has(a[href*="instagram.com"]) a:hover { background: rgba(255,255,255,.16); }
.site-footer .widget:has(a[href*="instagram.com"]) a:active { transform: scale(.88); transition-duration: .07s; }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="facebook.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 21v-7.5H17l.5-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.5V4.4c-.3 0-1.2-.1-2.2-.1-2.2 0-3.6 1.3-3.6 3.8v2.4H9v3h2.5V21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 21v-7.5H17l.5-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.5V4.4c-.3 0-1.2-.1-2.2-.1-2.2 0-3.6 1.3-3.6 3.8v2.4H9v3h2.5V21'/%3E%3C/svg%3E"); }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="x.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h4.5L20 20h-4.5Z'/%3E%3Cpath d='M20 4l-6.6 7.4M10.6 12.6 4 20'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h4.5L20 20h-4.5Z'/%3E%3Cpath d='M20 4l-6.6 7.4M10.6 12.6 4 20'/%3E%3C/svg%3E"); }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="instagram.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.8'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='3.8'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="pinterest.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M10.6 20.2 12.4 13M10.4 14.4c3.4 1 6-1.2 5.6-4.2-.4-2.6-3.4-3.6-5.6-2.6-1.7.8-2.3 2.8-1.4 4.2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M10.6 20.2 12.4 13M10.4 14.4c3.4 1 6-1.2 5.6-4.2-.4-2.6-3.4-3.6-5.6-2.6-1.7.8-2.3 2.8-1.4 4.2'/%3E%3C/svg%3E"); }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="youtube.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='4'/%3E%3Cpath d='M10.5 9.5v5l4.2-2.5Z' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='4'/%3E%3Cpath d='M10.5 9.5v5l4.2-2.5Z' fill='%23000'/%3E%3C/svg%3E"); }
:is(.site-footer, .col-full-nav .mobile-extra) a[href*="tiktok.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3.5v11.2a3.3 3.3 0 1 1-3.3-3.3'/%3E%3Cpath d='M13.5 3.5c.4 2.6 2.3 4.5 5 4.7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3.5v11.2a3.3 3.3 0 1 1-3.3-3.3'/%3E%3Cpath d='M13.5 3.5c.4 2.6 2.3 4.5 5 4.7'/%3E%3C/svg%3E"); }

/* ----------------------------------------------------- side menu (phones, Shoptimizer's off-canvas) */
/* Ink panel: logo, big shortcut rows, category tiles with pictures, help + social, and a
   pinned "Shop all" button. Extra parts come from inc/app-shell.php via app-shell.js. */
.omsa-drawer-x { display: none; }
/* desktop: .col-full-nav is the nav bar, so the phone copy of the menu and its icons never show */
@media (min-width: 993px) {
  .col-full-nav .shoptimizer-mobile-menu, .col-full-nav .omsa-tiles .omsa-cat-icon { display: none !important; }
}
@media (max-width: 992px) {
  :root { --omsa-drawer-w: min(90vw, 380px); }
  .col-full-nav {
    width: var(--omsa-drawer-w) !important;
    left: 0 !important;
    transform: translateX(-100%);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1) !important;
    background: var(--omsa-ink) !important;
    color: #fff;
    overscroll-behavior: contain;
    box-shadow: none;
  }
  /* the shadow only while open: closed, it would spill a grey band down the left edge */
  .mobile-toggled .col-full-nav { transform: none; box-shadow: 18px 0 50px rgba(0,0,0,.35); }
  .col-full-nav .shoptimizer-primary-navigation.col-full { max-width: none !important; min-height: 100%; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; }
  .col-full-nav .site-search { display: none !important; } /* the header has the search now */

  /* close: inside the panel, top right */
  button.close-drawer {
    left: calc(var(--omsa-drawer-w) - 54px) !important;
    right: auto !important;
    top: 12px !important;
    z-index: 104 !important;
    display: grid !important;
    place-items: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
  }
  button.close-drawer svg { width: 22px !important; height: 22px !important; }

  .omsa-drawer-x { display: block; }
  .omsa-drawer-head { position: sticky; top: 0; z-index: 3; padding: 22px 64px 14px 20px; background: var(--omsa-ink); }
  .omsa-drawer-head img { display: block; max-height: 30px; width: auto; }

  /* big shortcut rows */
  .omsa-drawer-rows { padding: 0 20px; }
  .omsa-drawer-row {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 40px 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .3s var(--omsa-spring);
  }
  .omsa-drawer-row::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    background: rgba(255,255,255,.9);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .3s var(--omsa-spring);
  }
  .omsa-drawer-row:active { transform: scale(.97); transition-duration: .07s; }
  .omsa-drawer-row:active::after { transform: translateX(4px); }
  .omsa-drawer-row-title { font-family: var(--omsa-display); font-size: 25px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
  .omsa-drawer-row-sub { font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.6); }

  /* "Shop by vibe": the menu's category links as two-up tiles */
  .omsa-drawer-title { margin: 22px 0 10px !important; font-family: var(--omsa-display); font-size: 18px; font-weight: 900; color: #fff; }
  .col-full-nav .main-navigation { padding: 0 20px !important; }
  .col-full-nav .primary-navigation { margin: 0 !important; padding: 0 !important; }
  .col-full-nav .shoptimizer-mobile-menu > ul > li > a, .col-full-nav .main-navigation ul.menu > li > a {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  /* the tiles replace the plain list (Shoptimizer prints the menu twice: desktop + mobile) */
  .col-full-nav .primary-navigation:has(.omsa-tiles) > .menu-primary-menu-container:not(.omsa-tiles) { display: none !important; }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles { display: block !important; }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles > ul { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 !important; padding: 0 !important; }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles > ul > li { margin: 0 !important; padding: 0 !important; border: 0 !important; width: auto !important; }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles > ul > li > a {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 60px;
    padding: 8px 40px 8px 11px !important;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    overflow: hidden;
    font-family: var(--omsa-display) !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    transition: transform .3s var(--omsa-spring), background-color .15s;
  }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles > ul > li > a:active { transform: scale(.95); background: rgba(255,255,255,.12); transition-duration: .07s; }
  .col-full-nav .shoptimizer-mobile-menu.omsa-tiles > ul > li > a span::before { display: none !important; }
  /* the tile's icon sits on the right edge, a white sticker outline so it reads on ink */
  .col-full-nav .omsa-tiles .omsa-cat-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    transform: rotate(-8deg);
    filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 4px 6px rgba(0,0,0,.35));
    transition: transform .4s var(--omsa-spring);
  }
  .col-full-nav .omsa-tiles li:nth-child(even) .omsa-cat-icon { transform: rotate(8deg); }
  .mobile-toggled .col-full-nav .omsa-tiles .omsa-cat-icon { animation: omsa-tile-in .5s var(--omsa-spring) .15s backwards; }
  .col-full-nav .omsa-tiles a:active .omsa-cat-icon { transform: rotate(0) scale(1.15); }
  @keyframes omsa-tile-in { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }

  /* help + social (the "mobile extra" widget) */
  .col-full-nav .mobile-extra { margin: 18px 0 0 !important; padding: 0 20px 8px !important; border: 0 !important; }
  .col-full-nav .mobile-extra h4, .col-full-nav .mobile-extra .widget-title {
    margin: 14px 0 4px !important;
    color: rgba(255,255,255,.5) !important;
    font: 700 12px/1.3 var(--omsa-body) !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
  }
  .col-full-nav .mobile-extra ul { margin: 0 !important; padding: 0 !important; list-style: none; }
  .col-full-nav .mobile-extra li { margin: 0 !important; padding: 0 !important; }
  .col-full-nav .mobile-extra a { display: block; padding: 9px 0; color: #fff !important; font-size: 15px !important; font-weight: 600; text-decoration: none !important; }
  .col-full-nav .mobile-extra ul:has(a[href*="instagram.com"], a[href*="tiktok.com"], a[href*="facebook.com"]) { display: flex; gap: 10px; padding-top: 4px !important; }
  .col-full-nav .mobile-extra ul:has(a[href*="instagram.com"], a[href*="tiktok.com"], a[href*="facebook.com"]) a {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    font-size: 0 !important;
    transition: transform .3s var(--omsa-spring);
  }
  .col-full-nav .mobile-extra ul:has(a[href*="instagram.com"], a[href*="tiktok.com"], a[href*="facebook.com"]) a::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    background: #fff;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
  }
  .col-full-nav .mobile-extra ul a:active { transform: scale(.88); transition-duration: .07s; }

  /* pinned "Shop all" button */
  .omsa-drawer-cta {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    padding: 18px 20px calc(16px + var(--omsa-safe-b));
    background: linear-gradient(rgba(17,19,23,0), var(--omsa-ink) 40%);
  }
  .omsa-drawer-all {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 999px;
    background: var(--omsa-hot);
    box-shadow: var(--omsa-glow);
    color: #fff !important;
    font-family: var(--omsa-display);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .3s var(--omsa-spring);
  }
  .omsa-drawer-all:active { transform: scale(.95); transition-duration: .07s; }
}

/* ============================================ HOME ("App home" template, inc/home.php) */
.omsa-home-area { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.omsa-home { padding: 0 0 8px; }

/* hero: the promise and one button; the three bestsellers fan out of the bottom edge */
.omsa-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 22px;
  margin: 18px 0 0;
  padding: 30px 22px 0;
  border-radius: var(--omsa-r-lg);
  background: radial-gradient(110% 70% at 80% 100%, #2b2e35 0%, rgba(43,46,53,0) 62%), var(--omsa-ink);
  color: #fff;
}
@media (max-width: 992px) {
  /* phones: the hero starts right under the announcement strip, edge to edge */
  .omsa-home-page #content.site-content { padding-top: 0 !important; }
  .omsa-hero { margin: 0 calc(50% - 50vw); padding: 26px 20px 0; border-radius: 0 0 28px 28px; }
}
.omsa-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.omsa-home .omsa-hero-title {
  margin: 0 0 12px;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(42px, 12vw, 76px) !important;
  line-height: .92 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}
.omsa-hero-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--omsa-hot); box-shadow: 0 0 0 3px rgba(255,77,0,.22); }
.omsa-hero-text { margin: 0 0 20px; max-width: 32ch; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.72); }
.omsa-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  background: var(--omsa-hot);
  box-shadow: var(--omsa-glow);
  color: #fff !important;
  font-family: var(--omsa-display);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .32s var(--omsa-spring);
}
.omsa-hero-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .32s var(--omsa-spring); }
.omsa-hero-cta:active { transform: scale(.95); transition-duration: .07s; }
@media (hover: hover) { .omsa-hero-cta:hover svg { transform: translateX(3px); } }
/* the button and, beside it, the store's rating (taps through to the reviews) */
.omsa-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.omsa-hero-proof {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,.66) !important;
  font-size: 12.5px;
  line-height: 1.2;
  text-decoration: none !important;
}
.omsa-hero-proof strong { color: #fff; font-weight: 800; }
.omsa-hero-proof .omsa-stars { background: rgba(255,255,255,.2); }
.omsa-home-page #omsa-reviews { scroll-margin-top: 96px; }
html:has(body.omsa-home-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.omsa-home-page) { scroll-behavior: auto; } }

.omsa-hero-fan { position: relative; height: 178px; margin-top: -4px; }
.omsa-fan-card {
  position: absolute;
  bottom: -34px;
  width: 42%;
  max-width: 230px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: #24272d;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: omsa-fan-in .7s var(--omsa-spring) backwards;
  transition: transform .4s var(--omsa-spring);
}
.omsa-fan-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.omsa-fan-0 { left: 2%; transform: rotate(-9deg) translateY(18px); animation-delay: .12s; }
.omsa-fan-1 { left: 29%; z-index: 2; transform: translateY(-6px); animation-delay: .04s; }
.omsa-fan-2 { right: 2%; transform: rotate(9deg) translateY(18px); animation-delay: .2s; }
.omsa-fan-card:active { transition-duration: .08s; }
.omsa-fan-1:active { transform: translateY(-6px) scale(.96); }
@keyframes omsa-fan-in { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 993px) {
  .omsa-hero { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 440px; padding: 0 0 0 56px; }
  .omsa-hero-copy { padding: 56px 0; }
  .omsa-hero-fan { height: 100%; min-height: 440px; }
  .omsa-fan-card { width: 40%; max-width: 270px; bottom: -48px; }
  .omsa-fan-0 { left: 3%; }
  .omsa-fan-1 { left: 30%; bottom: 0; }
  .omsa-fan-2 { right: 3%; }
}
@media (hover: hover) and (min-width: 993px) {
  .omsa-fan-0:hover { transform: rotate(-6deg) translateY(4px); }
  .omsa-fan-1:hover { transform: translateY(-18px); }
  .omsa-fan-2:hover { transform: rotate(6deg) translateY(4px); }
}

/* hero with a photo (Customize → Home page): full-bleed photo, words on a dark fade */
.omsa-hero--photo { display: grid; align-items: end; min-height: min(78svh, 640px); padding: 0; }
.omsa-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.omsa-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,19,23,0) 35%, rgba(17,19,23,.88) 100%); }
.omsa-hero--photo .omsa-hero-copy { padding: 24px 20px 28px; }
@media (min-width: 993px) {
  .omsa-hero--photo { grid-template-columns: 1fr; }
  .omsa-hero--photo .omsa-hero-copy { padding: 56px; }
}

/* try-on card slot (the widget fills it for the try-on group) */
.omsa-home-tryon { margin: 16px 0 0; }

/* sections */
.omsa-home-sec { margin: 28px 0 0; }
.omsa-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 12px; }
.omsa-sec-head h2 { margin: 0 !important; font-size: 23px !important; line-height: 1.1 !important; }
.omsa-sec-titles { min-width: 0; }
.omsa-sec-sub { margin: 4px 0 0 !important; color: var(--omsa-ink-soft); font-size: 14px; line-height: 1.35; }
@media (min-width: 993px) { .omsa-sec-head h2 { font-size: 30px !important; } .omsa-home-sec { margin-top: 44px; } }
.omsa-sec-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--omsa-ink) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}
.omsa-sec-more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* swipeable rows: full-bleed on phones, like the category pills */
.omsa-vibes-track, .omsa-rail, .omsa-rail-products ul.products {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.omsa-vibes-track::-webkit-scrollbar, .omsa-rail::-webkit-scrollbar, .omsa-rail-products ul.products::-webkit-scrollbar { display: none; }
@media (max-width: 992px) {
  .omsa-vibes-track, .omsa-rail, .omsa-rail-products ul.products {
    margin-inline: calc(50% - 50vw) !important;
    max-width: 100vw;
    padding-inline: 16px !important;
    scroll-padding-inline: 16px;
  }
}

/* category icons (inc/category-icons.php): sticker-style, a little tilted, like stickers on a laptop */
.omsa-cat-icon { display: block; flex: none; overflow: visible; }

/* "Shop by vibe": an "All designs" box, then one icon tile per category */
.omsa-vibes-track { display: flex; gap: 10px; padding-block: 4px 2px; }
.omsa-vibe {
  flex: none;
  width: 76px;
  scroll-snap-align: start;
  text-align: center;
  color: var(--omsa-ink) !important;
  text-decoration: none !important;
}
.omsa-vibe-img {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 7px;
  border-radius: 20px;
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1), inset 0 0 0 1px var(--omsa-line);
  transition: transform .34s var(--omsa-spring);
}
.omsa-vibe-img .omsa-cat-icon { width: 46px; height: 46px; transform: rotate(-6deg); transition: transform .4s var(--omsa-spring); }
.omsa-vibe:nth-child(even) .omsa-vibe-img .omsa-cat-icon { transform: rotate(6deg); }
.omsa-vibe-all .omsa-vibe-img {
  padding: 8px;
  background: none;
  box-shadow: inset 0 0 0 2px var(--omsa-ink);
  font-family: var(--omsa-display);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}
.omsa-vibe-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.omsa-vibe:active .omsa-vibe-img { transform: scale(.9); transition-duration: .07s; }
.omsa-vibe:active .omsa-cat-icon { transform: rotate(0) scale(1.12) !important; }
@media (min-width: 993px) {
  .omsa-vibes-track { gap: 18px; }
  .omsa-vibe { width: 96px; }
  .omsa-vibe-img { width: 92px; height: 92px; }
  .omsa-vibe-img .omsa-cat-icon { width: 58px; height: 58px; }
  .omsa-vibe-name { font-size: 14px; }
}
@media (hover: hover) {
  .omsa-vibe:hover .omsa-vibe-img { transform: translateY(-3px); }
  .omsa-vibe:hover .omsa-cat-icon { transform: rotate(0) scale(1.08) !important; }
}

/* bestsellers: 2 rows on phones and tablets, 2 rows of 4 on desktop */
.omsa-home .woocommerce { margin: 0 !important; }
@media (max-width: 1099px) { .omsa-best ul.products li.product:nth-child(n+7) { display: none !important; } }

/* new drops: one swipeable row of shop cards */
.omsa-rail-products ul.products {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  padding-block: 2px 10px !important;
}
.omsa-rail-products ul.products li.product { scroll-snap-align: start; width: auto !important; min-width: 0 !important; }
@media (min-width: 720px) { .omsa-rail-products ul.products { grid-auto-columns: 30%; } }
@media (min-width: 1100px) { .omsa-rail-products ul.products { grid-auto-columns: calc((100% - 48px) / 4.4); } }

/* reviews: an ink score card with the star breakdown, then photo-led review cards */
.omsa-stars {
  position: relative;
  display: inline-block;
  flex: none;
  width: 80px;
  height: 15px;
  background: var(--omsa-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3C/svg%3E") 0 0 / 16px 15px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3C/svg%3E") 0 0 / 16px 15px repeat-x;
}
.omsa-stars > span { position: absolute; inset: 0 auto 0 0; background: var(--omsa-amber); }
.omsa-rail { display: flex; gap: 12px; padding-block: 2px 10px; }

.omsa-rv-sum {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 22px;
  margin: 0 0 14px;
  padding: 18px 20px;
  overflow: hidden;
  border-radius: var(--omsa-r-lg);
  background: var(--omsa-ink);
  color: #fff;
  isolation: isolate;
}
/* a soft hot glow in the corner, like the hero */
.omsa-rv-sum::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  left: -20%;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(255,77,0,.28), rgba(231,0,20,0));
}
.omsa-rv-score { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.12); }
.omsa-rv-score strong { font: 900 46px/.9 var(--omsa-display-x); letter-spacing: -.03em; color: #fff; }
.omsa-rv-score .omsa-stars { background: rgba(255,255,255,.22); }
.omsa-rv-score > span:last-child { color: rgba(255,255,255,.66); font: 600 12.5px/1.2 var(--omsa-body); white-space: nowrap; }
.omsa-rv-bars { display: grid; gap: 5px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.omsa-rv-bars li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 28px; align-items: center; gap: 8px; margin: 0 !important; color: rgba(255,255,255,.72); font: 700 12px/1 var(--omsa-body); font-variant-numeric: tabular-nums; }
.omsa-rv-star { display: inline-flex; align-items: center; gap: 2px; }
.omsa-rv-star::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--omsa-amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.omsa-rv-track { position: relative; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.omsa-rv-track > span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #ffb340, var(--omsa-amber)); }
.omsa-rv-n { text-align: right; color: rgba(255,255,255,.5); }
@media (min-width: 720px) {
  .omsa-rv-sum { grid-template-columns: auto minmax(0, 1fr); padding: 22px 28px; gap: 18px 32px; }
  .omsa-rv-score { padding-right: 32px; }
}
/* desktop: the score card sits beside the heading, the cards run full width under both */
@media (min-width: 993px) {
  .omsa-reviews { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: end; column-gap: 32px; }
  .omsa-reviews > .omsa-sec-head { grid-column: 1; margin-bottom: 16px; }
  .omsa-reviews > .omsa-rv-sum { grid-column: 2; margin-bottom: 18px; }
  .omsa-reviews > .omsa-rail { grid-column: 1 / -1; }
}

.omsa-review {
  flex: 0 0 80%;
  min-width: 0; /* a long design name must not widen the card */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 8px 14px;
  border-radius: var(--omsa-r-lg);
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1), 0 0 0 1px rgba(17,19,23,.04);
}
@media (min-width: 720px) { .omsa-review { flex-basis: 42%; } }
@media (min-width: 1100px) { .omsa-review { flex-basis: calc((100% - 36px) / 3.3); } }
.omsa-review-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--omsa-fill);
}
.omsa-review-media img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s var(--omsa-ease); }
@media (hover: hover) { .omsa-review:hover .omsa-review-media img { transform: scale(1.04); } }
.omsa-review-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(17,19,23,.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 700 11.5px/1 var(--omsa-body);
}
.omsa-review-tag::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.8l1.4-2h4.6l1.4 2h1.8A2.5 2.5 0 0 1 20 8.5v8a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.3' r='3.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.8l1.4-2h4.6l1.4 2h1.8A2.5 2.5 0 0 1 20 8.5v8a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.3' r='3.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.omsa-review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 0; }
.omsa-review-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 6px;
  border-radius: 999px;
  background: rgba(15,157,88,.1);
  color: var(--omsa-ok);
  font: 700 11.5px/1 var(--omsa-body);
  white-space: nowrap;
}
.omsa-review-ok::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 5 6v5.5c0 4.3 2.9 7.6 7 9 4.1-1.4 7-4.7 7-9V6l-7-2.5Z'/%3E%3Cpath d='m8.9 12.1 2.2 2.2 4.1-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 5 6v5.5c0 4.3 2.9 7.6 7 9 4.1-1.4 7-4.7 7-9V6l-7-2.5Z'/%3E%3Cpath d='m8.9 12.1 2.2 2.2 4.1-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.omsa-review-text {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 8px;
  color: var(--omsa-ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.omsa-review-text::before { content: "\201C"; color: var(--omsa-hot-2); font: 900 1.05em/1 var(--omsa-display-x); margin-right: 1px; }
.omsa-review-by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 8px 0; border-top: 1px solid var(--omsa-line); }
.omsa-review-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--omsa-hot);
  color: #fff;
  font: 900 14px/1 var(--omsa-display);
}
.omsa-review-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.omsa-review-name { color: var(--omsa-ink); font: 700 13.5px/1.2 var(--omsa-body); }
.omsa-review-product {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--omsa-ink-soft) !important;
  font: 500 12.5px/1.2 var(--omsa-body);
  text-decoration: none !important;
}
.omsa-review-product:hover { color: var(--omsa-ink) !important; text-decoration: underline !important; }

/* last stop: everything else */
.omsa-home-more { margin: 30px 0 12px; text-align: center; }
.omsa-home-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  gap: 10px;
  background: var(--omsa-hot);
  box-shadow: var(--omsa-glow);
  color: #fff !important;
  font-family: var(--omsa-display);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .32s var(--omsa-spring);
}
.omsa-home-all::after {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.omsa-home-all:active { transform: scale(.95); transition-duration: .07s; }
@media (max-width: 992px) { .omsa-home-all { width: 100%; } }

/* ----------------------------------------------------- swipe page (Full-screen app template) */
body.omsa-app-page {
  margin: 0;
  background: var(--omsa-surface);
  overscroll-behavior-y: none;
}
.omsa-app { min-height: 100svh; }
.omsa-app > p:empty { display: none; }

/* placeholder printed by [omsa_tryon_feed]; the widget removes it when it mounts */
.omsa-feed-fallback {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
}
.omsa-feed-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--omsa-line);
  border-top-color: var(--omsa-hot-2);
  animation: omsa-spin .8s linear infinite;
}
/* only shows if the widget never loads (backend down, no JS) */
.omsa-feed-fallback .omsa-feed-shop {
  opacity: 0;
  animation: omsa-fade-in .3s ease 4s forwards;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--omsa-ink);
  color: #fff;
  font-family: var(--omsa-display);
  font-weight: 800;
  text-decoration: none;
}
@keyframes omsa-spin { to { transform: rotate(360deg); } }
@keyframes omsa-fade-in { to { opacity: 1; } }

/* ----------------------------------------------------- touch feedback: instant press, springy release */
.omsa-cat, .omsa-buybar-btn, .single_add_to_cart_button, .checkout-button, #place_order,
.single-product ul.cgkit-attribute-swatches button.swatch, .widget_shopping_cart .woocommerce-mini-cart__buttons a.button {
  transition-timing-function: var(--omsa-spring) !important;
  transition-duration: .32s !important;
}
.omsa-cat:active, .single-product ul.cgkit-attribute-swatches button.swatch:active { transform: scale(.93) !important; transition-duration: .07s !important; }
.omsa-buybar-btn:active, .single_add_to_cart_button:active, .checkout-button:active, #place_order:active,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:active { transform: scale(.95) !important; transition-duration: .07s !important; }
.commercekit-wishlist.omsa-pop { animation: omsa-pop .5s var(--omsa-spring); }
@keyframes omsa-pop { 0% { transform: scale(1); } 30% { transform: scale(.8); } 65% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* page-loading bar (app-shell.js), shown only if the next page takes a moment */
.omsa-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000;
  height: 3px;
  pointer-events: none;
  background: var(--omsa-hot);
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity .2s;
}
.omsa-progress.is-on { opacity: 1; animation: omsa-progress 6s cubic-bezier(.08, .6, .2, 1) forwards; }
@keyframes omsa-progress { 0% { transform: scaleX(0); } 12% { transform: scaleX(.4); } 100% { transform: scaleX(.94); } }

/* ----------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  * { transition: none !important; animation: none !important; }
  ul.products li.product:hover, ul.products li.product:hover .woocommerce-image__wrapper img, ul.products li.product.is-pressed { transform: none !important; }
  .omsa-feed-fallback .omsa-feed-shop { opacity: 1; }
}

/* ===================================================== desktop (993px and up) */
/* One ink block on top, like the phone header: the top line, logo + search + account, then
   the category bar with the illustrated icons and the bag (Shoptimizer keeps it there). */
@media (min-width: 993px) {
  .top-bar {
    background: #0b0c0f !important;
    box-shadow: 0 0 0 100vmax #0b0c0f;   /* full-bleed without touching the layout */
    clip-path: inset(0 -100vmax);
    font-size: 12.5px;
  }
  .top-bar, .top-bar p, .top-bar a, .top-bar .widget { color: #a9acb3 !important; }
  .top-bar a:hover { color: #fff !important; }

  .site-header, #masthead, #masthead .main-header {
    background: var(--omsa-ink) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0 !important;
  }
  #masthead .site-search input.search-field { height: 52px !important; font-size: 15.5px !important; }
  #masthead .site-search button[type="submit"] { top: 7px !important; right: 7px !important; }
  #masthead .site-search button[type="submit"]:hover { transform: scale(1.06); box-shadow: 0 6px 16px rgba(231,0,20,.45), inset 0 1px 0 rgba(255,255,255,.28) !important; }
  /* "/" jumps to the search (app-shell.js); the key shows until the box is in use */
  #masthead .site-search form.woocommerce-product-search::after {
    content: "/" !important;
    display: grid !important;
    place-items: center;
    position: absolute;
    top: 50%;
    right: 58px;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    border: 1px solid var(--omsa-line);
    border-radius: 7px;
    background: var(--omsa-surface);
    color: var(--omsa-ink-faint);
    font: 600 12px/1 var(--omsa-body);
    pointer-events: none;
    transition: opacity .15s;
  }
  #masthead .site-search form:focus-within::after, #masthead .site-search form:has(input.search-field:not(:placeholder-shown))::after { opacity: 0; }
  #masthead .secondary-navigation a { color: #fff !important; font-weight: 600 !important; }
  #masthead .secondary-navigation a:hover { color: #ffb199 !important; }
  #masthead .secondary-navigation .icon-wrapper, #masthead .secondary-navigation svg { color: currentColor !important; stroke: currentColor !important; opacity: 1 !important; }
  #masthead .secondary-navigation li, #masthead .secondary-navigation li::before, #masthead .secondary-navigation li::after { border-color: rgba(255,255,255,.14) !important; }

  .col-full-nav { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
  .col-full-nav .menu-primary-menu-container > ul > li > a:has(> .omsa-cat-icon) { display: inline-flex !important; align-items: center; gap: 8px; }
  .col-full-nav .menu-primary-menu-container > ul > li > a > .omsa-cat-icon {
    flex: none;
    width: 26px;
    height: 26px;
    transform: rotate(-6deg);
    filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
    transition: transform .35s var(--omsa-spring);
  }
  .col-full-nav .menu-primary-menu-container > ul > li:nth-child(even) > a > .omsa-cat-icon { transform: rotate(6deg); }
  .col-full-nav .menu-primary-menu-container > ul > li > a:hover > .omsa-cat-icon { transform: rotate(0) scale(1.18); }

  .col-full-nav .shoptimizer-cart a.cart-contents { margin: 0 !important; }
  .col-full-nav .shoptimizer-cart a.cart-contents::before { background: #fff; }
  .col-full-nav .shoptimizer-cart a.cart-contents:hover { background: rgba(255,255,255,.1); }
  .col-full-nav .shoptimizer-cart a.cart-contents .count { border-color: var(--omsa-ink) !important; }
  .header-widget-region { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

  /* footer: quiet sentence-case column labels, social icons in a row */
  .site-footer .widget-title {
    display: block;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #8b8f97 !important;
    font: 600 13px/1.3 var(--omsa-body) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  .site-footer ul { margin: 0 !important; padding: 0 !important; list-style: none; }
  .site-footer li a { display: inline-block; padding: 5px 0; font-size: 15px; }
  .site-footer .widget:has(a[href*="instagram.com"]) ul { display: flex !important; flex-wrap: wrap; gap: 10px; max-width: 340px; }
  .site-footer .widget:has(a[href*="instagram.com"]) ul { gap: 7px; }
  .site-footer .widget:has(a[href*="instagram.com"]) li a { width: 36px; height: 36px; padding: 0; }
  .site-footer .widget:has(.review) img { max-height: 36px; width: auto; }
  .site-footer .review span { color: var(--omsa-amber); letter-spacing: 2px; }

  /* shop: pills wrap instead of running off the edge; sidebar in the house style */
  .omsa-cats-track { flex-wrap: wrap; overflow: visible !important; }
  #secondary .widget-title, #secondary .widgettitle {
    margin-bottom: 12px !important;
    color: var(--omsa-ink) !important;
    font: 800 16px/1.2 var(--omsa-display) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  #secondary .widget { border-color: var(--omsa-line) !important; }
  #secondary .product-categories a, #secondary .widget a { color: var(--omsa-ink-soft) !important; }
  #secondary .product-categories a:hover, #secondary .widget a:hover { color: var(--omsa-ink) !important; }
  /* page numbers only under the grid (the top copy wraps on small laptops) */
  .shoptimizer-sorting:not(.sorting-end) .woocommerce-pagination { display: none !important; }
  .price_slider_wrapper .ui-slider .ui-slider-range, .price_slider_wrapper .ui-slider .ui-slider-handle { background: var(--omsa-hot-2) !important; }

  /* product page: the call-back button on its own line, the meta row in the page column */
  .single-product .summary .call-back-feature { position: static !important; flex: 1 0 100%; width: 100% !important; margin: 12px 0 0 !important; }
  /* (the parent makes this row full-bleed with negative margins; pad it to the page column instead) */
  .single-product .related-wrapper > .product_meta { box-sizing: border-box; padding-inline: max(20px, calc(50vw - 585px)) !important; }
}
/* review count badge on the product tabs: ink, not the parent's amber */
.woocommerce-tabs ul.tabs li a span { background: var(--omsa-ink) !important; color: #fff !important; }

/* ----------------------------------------------------- shop grid: more designs load at the end (app-shell.js) */
.omsa-infinite-on .shoptimizer-sorting.sorting-end,
.omsa-infinite-on .shoptimizer-sorting:not(.sorting-end) .woocommerce-pagination { display: none !important; }
/* sort and result count only above the grid; below it, just the page numbers */
.shoptimizer-sorting.sorting-end .woocommerce-ordering,
.shoptimizer-sorting.sorting-end .woocommerce-result-count { display: none !important; }
/* text for screen readers only ("Sorted by popularity" after the result count) stays unseen */
.screen-reader-text:not(:focus) { height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
/* search results: Shoptimizer floats the column right at every width, so on phones it grew to
   its content (wider than the screen) and hung off the left edge */
@media (max-width: 992px) {
  .search-results .content-area { float: none !important; width: 100% !important; }
}
/* "37 designs for “psy”" in place of the page title (inc/woocommerce.php) */
.search .woocommerce-products-header__title { display: none !important; }
.search .woocommerce-products-header { display: block !important; height: auto !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.omsa-search-head { margin: 0 !important; color: var(--omsa-ink-soft); font: 500 15px/1.35 var(--omsa-body); overflow-wrap: anywhere; }
.omsa-search-head strong { color: var(--omsa-ink); font: 900 20px/1 var(--omsa-display-x); letter-spacing: -.01em; }
@media (min-width: 993px) { .omsa-search-head { font-size: 17px; } .omsa-search-head strong { font-size: 26px; } }
.omsa-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 1px;
  padding: 0 16px;
  color: var(--omsa-ink-soft);
  font: 600 14px/1.3 var(--omsa-body);
}
.omsa-more[data-state="loading"], .omsa-more[data-state="end"], .omsa-more[data-state="error"] { padding: 22px 16px 30px; }
.omsa-more-spin {
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--omsa-line);
  border-top-color: var(--omsa-hot-2);
  border-radius: 50%;
  animation: omsa-spin .7s linear infinite;
}
.omsa-more-btn {
  min-height: 44px;
  padding: 0 20px !important;
  border: 1.5px solid var(--omsa-line) !important;
  border-radius: 999px !important;
  background: var(--omsa-paper) !important;
  color: var(--omsa-ink) !important;
  font: 700 14px/1 var(--omsa-body) !important;
}
.omsa-more[data-state="end"] span::before { content: "\2726  "; color: var(--omsa-hot-2); }

@media (min-width: 993px) {
  /* Only the search row is sticky: logo + search + account stay, slimmer; the category bar
     scrolls away (Shoptimizer would stick it instead). */
  #masthead.site-header { position: sticky !important; top: 0; z-index: 30; }
  #masthead .omsa-head-account { display: none !important; } /* "My account" is in the header menu here */
  #masthead .main-header { padding-top: 16px !important; padding-bottom: 16px !important; transition: padding .25s var(--omsa-ease); }
  .omsa-scrolled #masthead .main-header { padding-top: 10px !important; padding-bottom: 10px !important; }
  .admin-bar #masthead.site-header { top: 32px; }
  .col-full-nav, .col-full-nav.is_stuck { position: relative !important; top: auto !important; }
  .col-full-nav .logo-mark, .is_stuck .logo-mark { display: none !important; }
  .is_stuck .primary-navigation.with-logo .menu-primary-menu-container { margin-left: 0 !important; }
  body .site-header .custom-logo-link img { height: 44px !important; width: auto !important; transition: height .25s var(--omsa-ease); }
  body.omsa-scrolled .site-header .custom-logo-link img { height: 38px !important; }

  /* trust strip: one row of four, lined up with the page content (Shoptimizer's 1170px column) */
  .below-content { padding: 8px 0 40px !important; }
  .below-content .col-full { grid-template-columns: repeat(4, 1fr); box-sizing: border-box; max-width: min(1170px, calc(100% - 5.236em)) !important; margin-inline: auto !important; padding: 6px !important; border-radius: 22px; }
  .below-content .widget { justify-content: center; gap: 12px; padding: 16px 14px !important; }
  .below-content .widget:nth-child(n)::before { display: none !important; }
  .below-content .widget:nth-child(n)::after { display: none; }
  .below-content .widget + .widget::after { content: ""; display: block; position: absolute; left: 0; right: auto; top: 18px; bottom: 18px; width: 1px; background: rgba(17,19,23,.07); }
  .below-content .widget svg { width: 42px !important; height: 42px !important; padding: 10px; }
  .below-content .widget .widget-title { font-size: 15px !important; }
}

/* ===================================================== My account: app-like dashboard
   Profile card on ink, the latest order, the try-on photo card (filled by the try-on widget,
   try-on group only) and the account pages as tiles (woocommerce/myaccount/dashboard.php).
   Other account pages: the menu as pills on phones, a sticky side card on desktop. */
.omsa-account .entry-header .entry-title { font: 900 30px/1.1 var(--omsa-display-x) !important; letter-spacing: -.015em; }
@media (max-width: 992px) { .omsa-account .entry-header { margin: 18px 0 14px !important; padding: 0 !important; } }
.omsa-account-home .entry-header { display: none !important; }
.omsa-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty { display: none; }
.omsa-account-home .woocommerce-MyAccount-content { display: grid; gap: 14px; padding-top: 16px; }
.omsa-account-home .woocommerce-MyAccount-content > p:empty { display: none; }

/* profile card: ink like the header, a soft red glow, quick stats underneath */
.omsa-acc-hero {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--omsa-r-lg);
  background: radial-gradient(120% 100% at 100% 0%, rgba(255,77,0,.3), rgba(255,77,0,0) 55%), var(--omsa-ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(17,19,23,.18);
}
.omsa-acc-hero-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.omsa-acc-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--omsa-hot-1), var(--omsa-hot-2));
  box-shadow: 0 0 0 3px rgba(255,255,255,.1), var(--omsa-glow);
  color: #fff;
  font: 900 23px/1 var(--omsa-display-x);
}
.omsa-acc-hello { min-width: 0; }
.omsa-acc-hello h2 { margin: 0 !important; padding: 0 !important; overflow: hidden; color: #fff !important; font: 900 22px/1.15 var(--omsa-display-x) !important; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.omsa-acc-hello p { margin: 3px 0 0 !important; overflow: hidden; color: rgba(255,255,255,.6); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.omsa-acc-logout {
  align-self: flex-start;
  margin-left: auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff !important;
  font: 700 12.5px/1 var(--omsa-body);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .15s;
}
.omsa-acc-logout:hover { background: rgba(255,255,255,.18); }
.omsa-acc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.omsa-acc-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 16px;
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color .15s;
}
.omsa-acc-stat + .omsa-acc-stat::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: rgba(255,255,255,.1); }
a.omsa-acc-stat:hover { background: rgba(255,255,255,.07); }
.omsa-acc-stat strong { overflow: hidden; font: 900 19px/1 var(--omsa-display-x); letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.omsa-acc-stat span { overflow: hidden; color: rgba(255,255,255,.58); font: 600 11.5px/1.2 var(--omsa-body); white-space: nowrap; text-overflow: ellipsis; }

/* shared: a line icon in brand red on a soft warm chip; turns hot on hover */
.omsa-acc-chip {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,77,0,.12), rgba(231,0,20,.08));
  color: var(--omsa-hot-2);
  transition: background .25s var(--omsa-ease), color .25s var(--omsa-ease), transform .34s var(--omsa-spring), box-shadow .25s;
}
.omsa-acc-chip svg { width: 22px; height: 22px; }
.omsa-acc-chip.is-hot, a:hover > .omsa-acc-chip {
  background: linear-gradient(135deg, var(--omsa-hot-1), var(--omsa-hot-2));
  color: #fff;
  box-shadow: 0 6px 14px rgba(231,0,20,.28);
}

/* cards and tiles: white, hairline, lift on hover, press on tap */
.omsa-acc-order, .omsa-acc-tile, .omsa-acc-help {
  border: 1px solid var(--omsa-line);
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1);
  color: var(--omsa-ink) !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: transform .34s var(--omsa-spring), box-shadow .25s var(--omsa-ease), border-color .25s;
}
@media (hover: hover) {
  .omsa-acc-order:hover, .omsa-acc-tile:hover, .omsa-acc-help:hover { border-color: transparent; box-shadow: var(--omsa-shadow-2); transform: translateY(-2px); }
}
.omsa-acc-order:active, .omsa-acc-help:active { transform: scale(.98); transition-duration: .07s; }
.omsa-acc-tile:active { transform: scale(.96); transition-duration: .07s; }

.omsa-acc-order {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
}
.omsa-acc-order:not(.is-empty)::after, .omsa-acc-help::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 2px;
  border: solid var(--omsa-ink-faint);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.omsa-acc-order-pics { display: flex; flex: none; padding-left: 12px; }
.omsa-acc-order-pics .omsa-acc-order-pic, .omsa-acc-order-pics img {
  width: 48px !important;
  height: 48px !important;
  margin-left: -12px;
  border: 2px solid var(--omsa-paper);
  border-radius: 13px;
  background: var(--omsa-surface);
  object-fit: cover;
}
.omsa-acc-order-more { display: grid; place-items: center; box-sizing: border-box; font: 800 13px/1 var(--omsa-body); color: var(--omsa-ink-soft); }
.omsa-acc-order-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.omsa-acc-kicker { color: var(--omsa-ink-soft); font: 600 12px/1.2 var(--omsa-body); }
.omsa-acc-order-text strong { max-width: 100%; overflow: hidden; font: 800 16px/1.2 var(--omsa-display); white-space: nowrap; text-overflow: ellipsis; }
.omsa-acc-order-sub { color: var(--omsa-ink-soft); font: 500 13px/1.3 var(--omsa-body); }
.omsa-acc-status { padding: 3px 9px; border-radius: 999px; background: var(--omsa-fill); color: var(--omsa-ink-soft); font: 700 12px/1.3 var(--omsa-body); }
.omsa-acc-status.is-processing { background: #fff3e0; color: #a35200; }
.omsa-acc-status.is-completed { background: #e6f5ec; color: #0b7a43; }
.omsa-acc-status.is-cancelled, .omsa-acc-status.is-failed, .omsa-acc-status.is-refunded { background: #fdeced; color: var(--omsa-red-ink); }
.omsa-acc-order-total { margin-left: auto; font: 900 17px/1 var(--omsa-display-x); white-space: nowrap; }
.omsa-acc-order.is-empty { background: linear-gradient(120deg, #fff6f1, var(--omsa-paper) 60%); }
.omsa-acc-order .omsa-acc-order-text, .omsa-acc-help .omsa-acc-order-text { flex: 1; }
.omsa-acc-cta {
  flex: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--omsa-hot-1), var(--omsa-hot-2));
  box-shadow: 0 6px 14px rgba(231,0,20,.26);
  color: #fff;
  font: 800 13.5px/1 var(--omsa-display);
}

.omsa-acc-tryon[hidden] { display: none !important; }

.omsa-acc-section { margin: 8px 2px -4px !important; padding: 0 !important; color: var(--omsa-ink) !important; font: 800 17px/1.2 var(--omsa-display) !important; letter-spacing: -.005em; text-transform: none !important; }
.omsa-acc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.omsa-acc-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 20px;
}
.omsa-acc-tile .omsa-acc-chip { margin-bottom: 14px; }
.omsa-acc-tile-label { overflow: hidden; font: 800 16px/1.2 var(--omsa-display); letter-spacing: -.005em; white-space: nowrap; text-overflow: ellipsis; }
.omsa-acc-tile-hint { margin-top: 3px; color: var(--omsa-ink-soft); font-size: 12.5px; line-height: 1.35; }

.omsa-acc-help { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; }
.omsa-acc-help .omsa-acc-order-text strong { font-size: 15px; }

/* menu: pills on phones (hidden on the dashboard, where the tiles are the menu) */
.woocommerce-MyAccount-navigation ul li a::before { float: none !important; top: 0 !important; flex: none; }
@media (max-width: 992px) {
  .omsa-account-home .woocommerce-MyAccount-navigation { display: none !important; }
  .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; margin: 0 -16px 18px !important; }
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    margin: 0 !important;
    padding: 2px 16px 6px !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation ul li { flex: none; border: 0 !important; }
  .woocommerce-MyAccount-navigation ul li a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px 0 12px !important;
    box-sizing: border-box;
    border: 1px solid var(--omsa-line);
    border-radius: 999px;
    background: var(--omsa-paper);
    color: var(--omsa-ink) !important;
    font: 600 14px/1 var(--omsa-body) !important;
    white-space: nowrap;
  }
  .woocommerce-MyAccount-navigation ul li a::before { width: 18px !important; height: 18px !important; opacity: .7 !important; background: currentColor !important; }
  .woocommerce-MyAccount-navigation ul li.is-active a { border-color: var(--omsa-ink); background: var(--omsa-ink); color: #fff !important; }
  .woocommerce-MyAccount-navigation ul li.is-active a::before { opacity: 1 !important; }
  .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
}

/* account pages' own content: tables, addresses, forms and buttons in the store's style */
.woocommerce-MyAccount-content table.shop_table {
  overflow: hidden;
  border: 1px solid var(--omsa-line) !important;
  border-collapse: separate !important;
  border-radius: 18px;
  background: var(--omsa-paper);
}
.woocommerce-MyAccount-content table.shop_table th { font: 700 13px/1.3 var(--omsa-body) !important; color: var(--omsa-ink-soft); text-transform: none !important; letter-spacing: 0 !important; }
.woocommerce-MyAccount-content .woocommerce-button, .woocommerce-MyAccount-content a.button, .woocommerce-MyAccount-content button.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: var(--omsa-ink) !important;
  color: #fff !important;
  font: 700 14px/1 var(--omsa-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.woocommerce-MyAccount-content .woocommerce-Address, .woocommerce-MyAccount-content form.edit-account, .woocommerce-MyAccount-content form:has(.woocommerce-address-fields) {
  padding: 18px;
  border: 1px solid var(--omsa-line);
  border-radius: 20px;
  background: var(--omsa-paper);
}
.woocommerce-MyAccount-content .woocommerce-Address-title h2, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-MyAccount-content legend {
  font: 800 18px/1.25 var(--omsa-display) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.woocommerce-MyAccount-content .woocommerce-Address address { font-style: normal; color: var(--omsa-ink-soft); line-height: 1.55; }
.woocommerce-MyAccount-content .woocommerce-Message, .woocommerce-MyAccount-content .woocommerce-info { border-radius: 16px; }

/* logged out: log in and create account as two cards */
.omsa-account #customer_login { display: grid; gap: 16px; }
.omsa-account #customer_login::before, .omsa-account #customer_login::after { display: none !important; }
.omsa-account #customer_login > .u-column1, .omsa-account #customer_login > .u-column2 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 22px 18px !important;
  border: 1px solid var(--omsa-line);
  border-radius: var(--omsa-r-lg);
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1);
}
.omsa-account #customer_login h2 { margin: 0 0 14px !important; font: 900 24px/1.15 var(--omsa-display-x) !important; letter-spacing: -.01em; text-transform: none !important; }
.omsa-account #customer_login form { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.omsa-account #customer_login label { font: 600 14px/1.3 var(--omsa-body); color: var(--omsa-ink); }
.omsa-account #customer_login .required { color: var(--omsa-hot-2); }
.omsa-account #customer_login button[type="submit"] {
  width: 100%;
  min-height: 50px;
  margin: 12px 0 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--omsa-ink) !important;
  color: #fff !important;
  font: 800 16px/1 var(--omsa-display) !important;
  text-transform: none !important;
}
.omsa-account #customer_login button.woocommerce-form-login__submit[type="submit"] { background: linear-gradient(90deg, var(--omsa-hot-1), var(--omsa-hot-2)) !important; box-shadow: var(--omsa-glow); }
.omsa-account #customer_login .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin: 4px 0 0; }
.omsa-account #customer_login .lost_password { margin: 14px 0 0 !important; text-align: center; }
.omsa-account #customer_login .lost_password a { color: var(--omsa-ink-soft) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.omsa-account #customer_login .woocommerce-privacy-policy-text p, .omsa-account #customer_login .u-column2 form > p:not(.form-row) { color: var(--omsa-ink-soft); font-size: 13px; line-height: 1.5; }
/* social sign-in (Nextend): full-width rounded buttons under a hairline */
.omsa-account #customer_login .nsl-container { padding-top: 18px; border-top: 1px solid var(--omsa-line); }
.omsa-account #customer_login div[style*="padding:20px 0"] { padding: 18px 0 0 !important; }
.omsa-account #customer_login .nsl-container-buttons { display: grid !important; gap: 10px; }
.omsa-account #customer_login .nsl-container-buttons a { display: block !important; margin: 0 !important; }
.omsa-account #customer_login .nsl-button { display: flex !important; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px !important; box-shadow: none !important; }
.omsa-account #customer_login .nsl-button-google { border: 1px solid var(--omsa-line) !important; }
.omsa-account #customer_login .nsl-button-label-container { font: 700 15px/1 var(--omsa-body) !important; }

/* logged out, the welcome screen (inc/account.php, app-shell.js): an ink card that says what an
   account is for, a "Log in / Create account" switch and one form at a time in a single card,
   social sign-in first and the email form after "or". Without JavaScript the switch stays
   hidden and both forms show, one under the other (the rules above). */
.omsa-auth .entry-header { display: none !important; }
.omsa-auth-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 16px 0 14px;
  padding: 20px 18px 18px;
  border-radius: var(--omsa-r-lg);
  background: radial-gradient(120% 100% at 100% 0%, rgba(255,77,0,.34), rgba(255,77,0,0) 55%), var(--omsa-ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(17,19,23,.18);
}
.omsa-auth-copy { position: relative; z-index: 1; }
.omsa-auth-proof, .omsa-auth-title, .omsa-auth-sub { max-width: calc(100% - 112px); }
.omsa-auth-proof { display: flex; align-items: center; gap: 7px; margin: 0 0 9px !important; color: rgba(255,255,255,.66); font: 600 12.5px/1.2 var(--omsa-body); white-space: nowrap; }
.omsa-auth-proof strong { color: #fff; font-weight: 800; }
.omsa-auth-proof .omsa-stars { width: 64px; height: 12px; background: rgba(255,255,255,.22); -webkit-mask-size: 12.8px 12px; mask-size: 12.8px 12px; }
.omsa-auth-title { margin: 0 !important; padding: 0 !important; color: #fff !important; font: 900 26px/1.06 var(--omsa-display-x) !important; letter-spacing: -.02em; text-transform: none !important; }
.omsa-auth-sub { margin: 7px 0 0 !important; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.45; }
.omsa-auth-perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0 !important; padding: 0 !important; list-style: none !important; }
.omsa-auth-perks li { display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; padding: 5px 11px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.9); font: 600 12.5px/1.2 var(--omsa-body); }
.omsa-auth-perk-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--omsa-hot-1), var(--omsa-hot-2)); color: #fff; }
.omsa-auth-perk-icon svg { width: 13px; height: 13px; stroke-width: 2.2; }
@media (max-width: 992px) {
  /* phones: the perks as three small tiles in one row, so the form starts higher */
  .omsa-auth-sub { display: none; }
  .omsa-auth-title { font-size: 25px !important; }
  .omsa-auth-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px !important; }
  .omsa-auth-perks li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 10px 11px; border-radius: 14px; font-size: 12px; line-height: 1.25; }
}
/* three bestsellers fanned in the corner, like the home page hero */
.omsa-auth-fan { position: absolute; top: 16px; right: 12px; width: 108px; height: 92px; pointer-events: none; }
.omsa-auth-fan-card {
  position: absolute;
  bottom: 0;
  width: 52px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: #24272d;
  box-shadow: 0 10px 22px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: omsa-fan-in .7s var(--omsa-spring) backwards;
}
.omsa-auth-fan-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.omsa-auth-fan-0 { left: 0; transform: rotate(-10deg); animation-delay: .12s; }
.omsa-auth-fan-1 { left: 27px; bottom: 12px; z-index: 2; width: 56px; animation-delay: .04s; }
.omsa-auth-fan-2 { right: 0; transform: rotate(10deg); animation-delay: .2s; }

.omsa-auth-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
  background: var(--omsa-fill);
}
.omsa-auth-switch[hidden] { display: none !important; }
.omsa-auth-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--omsa-paper);
  box-shadow: 0 2px 10px rgba(17,19,23,.12);
}
.omsa-auth-switch.is-ready::before { transition: transform .4s var(--omsa-spring); }
.omsa-auth-switch[data-tab="create"]::before { transform: translateX(100%); }
.omsa-auth-switch button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--omsa-ink-soft) !important;
  font: 800 15px/1 var(--omsa-display) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: color .2s;
}
.omsa-auth-switch button[aria-selected="true"] { color: var(--omsa-ink) !important; }

/* one card, one form */
.omsa-account #customer_login.omsa-auth-on {
  display: block;
  padding: 20px 18px 22px;
  border: 1px solid var(--omsa-line);
  border-radius: var(--omsa-r-lg);
  background: var(--omsa-paper);
  box-shadow: var(--omsa-shadow-1);
}
.omsa-account #customer_login.omsa-auth-on > .u-column1, .omsa-account #customer_login.omsa-auth-on > .u-column2 { padding: 0 !important; border: 0; border-radius: 0; background: none; box-shadow: none; }
.omsa-account #customer_login.omsa-auth-on > [hidden] { display: none !important; }
.omsa-account #customer_login.omsa-auth-on > :not([hidden]) { animation: omsa-auth-in .32s var(--omsa-ease); }
@keyframes omsa-auth-in { from { opacity: 0; transform: translateY(6px); } }
.omsa-account #customer_login.omsa-auth-on h2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.omsa-auth-on form { display: flex; flex-direction: column; }
.omsa-account #customer_login.omsa-auth-on form > div:has(> .nsl-container) { order: -1; padding: 0 !important; }
.omsa-account #customer_login.omsa-auth-on .nsl-container { padding-top: 0; border-top: 0; }
.omsa-auth-on form > div:has(> .nsl-container)::after {
  content: "or";
  display: block;
  margin: 18px 0 6px;
  background: linear-gradient(var(--omsa-line), var(--omsa-line)) left center / calc(50% - 22px) 1px no-repeat, linear-gradient(var(--omsa-line), var(--omsa-line)) right center / calc(50% - 22px) 1px no-repeat;
  color: var(--omsa-ink-faint);
  font: 600 13px/1 var(--omsa-body);
  text-align: center;
}
.omsa-account #customer_login.omsa-auth-on .woocommerce-form-login > .lost_password { order: 1; margin: -4px 0 8px !important; text-align: right; }
.omsa-auth-on .woocommerce-form-login > p.form-row:not(.woocommerce-form-row) { order: 2; }
.omsa-auth #customer_login .form-row { margin: 0 0 12px !important; padding: 0 !important; }
.omsa-auth #customer_login label { margin-bottom: 6px; color: var(--omsa-ink-soft); font: 600 13px/1.3 var(--omsa-body); }
.omsa-auth #customer_login .required { display: none; }
.omsa-auth #customer_login .input-text {
  min-height: 52px;
  border-color: transparent !important;
  border-radius: 14px !important;
  background: var(--omsa-surface) !important;
}
.omsa-auth #customer_login .input-text:hover { border-color: #dfe1e5 !important; }
.omsa-auth #customer_login .input-text:focus { border-color: var(--omsa-ink) !important; background: var(--omsa-paper) !important; }
.omsa-auth #customer_login .lost_password a { color: var(--omsa-ink) !important; font: 700 13px/1.3 var(--omsa-body); text-decoration: none; }
.omsa-auth #customer_login .lost_password a:hover { text-decoration: underline; }
/* "Keep me logged in": a round-cornered ink check */
.omsa-auth #customer_login .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 0 4px; color: var(--omsa-ink); font: 600 14px/1.3 var(--omsa-body); cursor: pointer; }
.omsa-auth #customer_login .woocommerce-form-login__rememberme input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  border: 1.5px solid #cfd2d6;
  border-radius: 7px;
  background: var(--omsa-paper);
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.omsa-auth #customer_login .woocommerce-form-login__rememberme input::after {
  content: "";
  width: 10px;
  height: 5px;
  margin-top: -3px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .25s var(--omsa-spring);
}
.omsa-auth #customer_login .woocommerce-form-login__rememberme input:checked { border-color: var(--omsa-ink); background: var(--omsa-ink); }
.omsa-auth #customer_login .woocommerce-form-login__rememberme input:checked::after { transform: rotate(-45deg) scale(1); }
.omsa-auth #customer_login button[type="submit"] {
  min-height: 54px;
  background: linear-gradient(90deg, var(--omsa-hot-1), var(--omsa-hot-2)) !important;
  box-shadow: var(--omsa-glow);
  transition: transform .2s var(--omsa-spring), box-shadow .2s;
}
.omsa-auth #customer_login button[type="submit"]:active { transform: scale(.97); transition-duration: .07s; }
.omsa-auth #customer_login .u-column2 form > p:not(.form-row) { margin: -2px 0 10px !important; }
.omsa-auth #customer_login .woocommerce-privacy-policy-text p { margin: 0 0 4px !important; color: var(--omsa-ink-faint); font-size: 12px; line-height: 1.5; }
.omsa-auth #customer_login .woocommerce-privacy-policy-text a { color: var(--omsa-ink-soft) !important; font-weight: 600; text-decoration: underline; }
.omsa-account #customer_login.omsa-auth-on .nsl-button { min-height: 50px; transition: transform .2s var(--omsa-spring), box-shadow .2s; }
.omsa-account #customer_login.omsa-auth-on .nsl-button:active { transform: scale(.97); transition-duration: .07s; }
@media (hover: hover) {
  .omsa-account #customer_login.omsa-auth-on .nsl-button:hover { box-shadow: 0 6px 16px rgba(17,19,23,.12) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .omsa-account #customer_login.omsa-auth-on > :not([hidden]), .omsa-auth-fan-card { animation: none; }
  .omsa-auth-switch.is-ready::before { transition: none; }
}
@media (min-width: 993px) {
  /* the ink card on the left as a full-height brand panel, the switch and the form beside it */
  .omsa-auth .entry-content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    grid-template-rows: repeat(6, auto) 1fr;
    column-gap: 48px;
    max-width: 1080px;
    margin: 24px auto 8px;
  }
  .omsa-auth .entry-content > .woocommerce > * { grid-column: 2; }
  .omsa-auth .entry-content > .woocommerce > .omsa-auth-hero {
    grid-column: 1;
    grid-row: 1 / 8;
    min-height: 580px;
    margin: 0;
    padding: 48px 44px;
    border-radius: 28px;
  }
  .omsa-auth .entry-content > .woocommerce > .omsa-auth-switch { margin-top: 28px; }
  .omsa-auth-proof, .omsa-auth-title, .omsa-auth-sub { max-width: 440px; }
  .omsa-auth-proof { margin-bottom: 16px !important; font-size: 14px; }
  .omsa-auth-proof .omsa-stars { width: 80px; height: 15px; -webkit-mask-size: 16px 15px; mask-size: 16px 15px; }
  .omsa-auth-title { font-size: 48px !important; line-height: 1 !important; letter-spacing: -.03em; }
  .omsa-auth-sub { margin-top: 12px !important; font-size: 17px; }
  .omsa-auth-perks { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px !important; }
  .omsa-auth-perks li { gap: 12px; padding: 7px 16px 7px 7px; font-size: 15px; }
  .omsa-auth-perk-icon { width: 30px; height: 30px; }
  .omsa-auth-perk-icon svg { width: 16px; height: 16px; }
  .omsa-auth-fan { top: auto; right: 36px; bottom: -36px; width: 360px; height: 250px; }
  .omsa-auth-fan-card { width: 150px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
  .omsa-auth-fan-0 { left: 0; bottom: 0; }
  .omsa-auth-fan-1 { left: 100px; bottom: 26px; width: 164px; }
  .omsa-auth-fan-2 { right: 0; bottom: 0; }
  .omsa-account #customer_login.omsa-auth-on { padding: 28px 28px 30px; }
}

@media (min-width: 993px) {
  .omsa-account #customer_login:not(.omsa-auth-on) { grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 8px auto 0; align-items: start; }
  .omsa-account #customer_login > .u-column1, .omsa-account #customer_login > .u-column2 { padding: 32px !important; }

  /* menu as a sticky side card, the page beside it */
  .logged-in.omsa-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
  .logged-in.omsa-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
  .logged-in.omsa-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none !important; }
  .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 110px;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px;
    border: 1px solid var(--omsa-line);
    border-radius: 20px;
    background: var(--omsa-paper);
    box-shadow: var(--omsa-shadow-1);
  }
  .woocommerce-MyAccount-navigation ul { margin: 0 !important; }
  .woocommerce-MyAccount-navigation ul li { border: 0 !important; }
  .woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 11px 12px !important;
    border-radius: 12px;
    color: var(--omsa-ink-soft) !important;
    font: 600 15px/1.2 var(--omsa-body) !important;
    transition: background-color .15s, color .15s;
  }
  .woocommerce-MyAccount-navigation ul li a::before { width: 20px !important; height: 20px !important; background: currentColor !important; opacity: .8 !important; }
  .woocommerce-MyAccount-navigation ul li a:hover { background: var(--omsa-surface); color: var(--omsa-ink) !important; }
  .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--omsa-ink); color: #fff !important; }
  .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--omsa-line) !important; }
  .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
  .omsa-account-home .woocommerce-MyAccount-content { gap: 16px; }
  .omsa-acc-hero { padding: 24px; gap: 20px; }
  .omsa-acc-hero-top { gap: 18px; }
  .omsa-acc-avatar { width: 64px; height: 64px; font-size: 28px; }
  .omsa-acc-hello h2 { font-size: 26px !important; }
  .omsa-acc-stat { padding: 14px 18px; }
  .omsa-acc-stat strong { font-size: 22px; }
  .omsa-acc-stat span { font-size: 12.5px; }
  .omsa-acc-section { font-size: 19px !important; }
  .omsa-acc-tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .omsa-acc-tile { padding: 18px; }
  .omsa-acc-tile .omsa-acc-chip { margin-bottom: 18px; }
}
