:root {
  --sm-teal: #1B8FD8;
  --sm-teal-dark: #0c6eab;
  --sm-blue: #1B8FD8;
  --sm-navy: #0B3A5A;
  --sm-ink: #0f172a;
  --sm-muted: #64748b;
  --sm-bg: #f4f8fb;
  --sm-surface: #fff;
  --sm-line: #d9e6f0;
  --sm-gold: #e8a317;
  --sm-coral: #ea580c;
  --sm-kids: #fff4e5;
  --sm-ok: #1f8a4c;
  --sm-radius: 16px;
  --sm-max: 1240px;
  --sm-shadow: 0 12px 32px rgba(11, 58, 90, .08);
  --sm-touch: 44px;
  --sm-ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sharmon-store {
  margin: 0;
  background: var(--sm-bg);
  color: var(--sm-ink);
  line-height: 1.7;
  padding-bottom: 72px;
}

a { color: var(--sm-teal-dark); text-decoration: none; }
a:hover { color: var(--sm-teal); }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sm-blue) 50%, white);
  outline-offset: 2px;
}

.sm-wrap { width: min(100% - 24px, var(--sm-max)); margin-inline: auto; }
.sm-main { min-height: 50vh; }
.page-header { display: none; }

body.elementor-page .elementor-location-header {
  z-index: 1000 !important;
  position: relative;
}
body.elementor-page .elementor-location-header .mega.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  background: #fff !important;
  z-index: 1001 !important;
}

.sm-icon { width: 22px; height: 22px; display: block; }
.sm-icon-btn {
  min-width: var(--sm-touch);
  min-height: var(--sm-touch);
  border: 0;
  background: transparent;
  color: var(--sm-navy);
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  border-radius: 12px;
}
.sm-icon-btn:hover,
.sm-icon-btn:active { background: #eef5f6; }

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--sm-touch);
  padding: 0 20px;
  border-radius: 999px;
  background: var(--sm-teal);
  color: #fff !important;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: background .18s var(--sm-ease), transform .18s var(--sm-ease);
}
.sm-btn:hover { background: var(--sm-teal-dark); }
.sm-btn:active { transform: scale(.98); }
.sm-btn.ghost {
  background: transparent;
  color: var(--sm-navy) !important;
  border: 1px solid var(--sm-line);
}
.sm-btn.ghost:hover { background: #fff; }

.sm-announce {
  background: var(--sm-navy);
  color: #e8f4f6;
  font-size: 13px;
}
.sm-announce-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.sm-announce a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.sm-announce .sm-icon { width: 16px; height: 16px; }

.sm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 0 var(--sm-line);
}
.sm-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}
.sm-logo img { height: 48px; width: auto; }
.sm-search {
  display: none;
  align-items: center;
  background: var(--sm-bg);
  border: 1px solid var(--sm-line);
  border-radius: 999px;
  overflow: hidden;
}
.sm-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  min-height: 44px;
}
.sm-search button {
  border: 0;
  background: var(--sm-teal);
  color: #fff;
  width: 48px;
  min-height: 44px;
  cursor: pointer;
}
.sm-header-actions { display: flex; align-items: center; gap: 2px; }
.sm-action-label { display: none; font-size: 12px; font-weight: 700; }
.sm-cart-count {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--sm-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: grid;
  place-items: center;
}

.sm-megabar {
  display: none;
  position: relative;
  background: #fff;
  border-top: 1px solid var(--sm-line);
}
.sm-megabar-inner { display: flex; align-items: stretch; gap: 8px; min-height: 52px; }
.sm-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--sm-navy);
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  min-height: 52px;
}
.sm-mega-trigger .sm-chevron { width: 16px; height: 16px; }
.sm-mega-links { display: flex; align-items: center; gap: 4px; overflow: auto; }
.sm-mega-links a {
  white-space: nowrap;
  padding: 10px 14px;
  color: var(--sm-navy);
  font-weight: 700;
  border-radius: 10px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.sm-mega-links a:hover { background: var(--sm-bg); color: var(--sm-teal); }

.sm-mega-desktop {
  display: none;
  position: absolute;
  right: 0;
  left: 0;
  background: #fff;
  box-shadow: var(--sm-shadow);
  border-top: 1px solid var(--sm-line);
  min-height: 360px;
  grid-template-columns: 280px 1fr;
  z-index: 30;
}
.sm-megabar.is-mega-open .sm-mega-desktop { display: grid; }
.sm-mega-rail {
  background: #f7fbfb;
  border-left: 1px solid var(--sm-line);
  overflow: auto;
  max-height: 70vh;
}
.sm-mega-parent {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: right;
  color: var(--sm-ink);
  font-weight: 700;
}
.sm-mega-parent .sm-chevron { margin-right: auto; width: 16px; height: 16px; opacity: .4; }
.sm-mega-parent.is-active,
.sm-mega-parent:hover { background: #fff; color: var(--sm-teal); }
.sm-mega-panels { padding: 20px; overflow: auto; max-height: 70vh; }
.sm-mega-panel { display: none; }
.sm-mega-panel.is-active { display: block; }
.sm-mega-all {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--sm-navy);
  font-size: 16px;
}
.sm-mega-children {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.sm-mega-children a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  min-height: 44px;
  border-radius: 12px;
  color: var(--sm-ink);
  background: var(--sm-bg);
}
.sm-mega-children a:hover { background: #e7f4f5; color: var(--sm-teal-dark); }
.sm-mega-children em { margin-right: auto; font-style: normal; color: var(--sm-muted); font-size: 12px; }

.sm-cat-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f4f5;
  color: var(--sm-teal);
  flex: 0 0 auto;
}
.sm-cat-ico .sm-icon { width: 18px; height: 18px; }

[hidden] { display: none !important; }
.sm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 52, 58, .45);
  z-index: 50;
}
.sm-drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(100%, 420px);
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sm-shadow);
}
.sm-drawer-cart { right: auto; left: 0; }
.sm-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sm-line);
}
.sm-drawer-body, .sm-mini-cart-body { overflow: auto; padding: 12px 16px 24px; flex: 1; }
.sm-mega-mobile .sm-mega-rail { max-height: none; border: 0; background: transparent; }
.sm-mega-mobile .sm-mega-panels { padding: 0 0 24px; max-height: none; }
.sm-mega-mobile .sm-mega-panel { display: none; padding: 0 8px 12px; }
.sm-mega-mobile .sm-mega-panel.is-active { display: block; }

.sm-search-overlay {
  position: fixed;
  inset: 0 auto auto 0;
  right: 0;
  background: #fff;
  z-index: 70;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: var(--sm-shadow);
}
.sm-search-lg { display: flex; flex: 1; }

.sm-bottom {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--sm-line);
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
.sm-bottom a,
.sm-bottom button {
  display: grid;
  justify-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--sm-navy);
  font-size: 11px;
  font-weight: 700;
  min-height: 56px;
  position: relative;
  cursor: pointer;
}
.sm-bottom .sm-cart-count { top: 2px; left: 50%; transform: translateX(-18px); }

.sm-hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(27, 143, 216, .18), transparent 60%),
    linear-gradient(180deg, #fff, var(--sm-bg));
  padding: 28px 0 12px;
}
.sm-hero-grid { display: grid; gap: 20px; }
.sm-kicker {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f4f5;
  color: var(--sm-teal-dark);
  font-weight: 800;
  font-size: 12px;
}
.sm-hero h1 {
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.25;
  margin: 10px 0 12px;
}
.sm-hero-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sm-hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-tile {
  background: #fff;
  border-radius: var(--sm-radius);
  padding: 16px;
  box-shadow: var(--sm-shadow);
  display: grid;
  gap: 6px;
  color: var(--sm-ink);
  min-height: 118px;
}
.sm-tile strong { font-size: 15px; }
.sm-tile span:last-child { color: var(--sm-muted); font-size: 13px; }
.sm-tile-socks { border-top: 4px solid var(--sm-gold); }
.sm-tile-home { border-top: 4px solid var(--sm-teal); }
.sm-tile-digital { border-top: 4px solid var(--sm-blue); }
.sm-tile-parts { border-top: 4px solid var(--sm-navy); }

.sm-section { padding: 32px 0; }
.sm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sm-section-head h2 { margin: 0; font-size: 22px; }
.sm-muted { background: #fff; }
.sm-lead { margin-top: -8px; color: var(--sm-muted); }
.sm-kids { background: linear-gradient(180deg, var(--sm-kids), var(--sm-bg)); }

.sm-cats-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(108px, 1fr);
  gap: 10px;
  overflow: auto;
  padding-bottom: 8px;
}
.sm-cat-chip {
  background: #fff;
  border-radius: 16px;
  padding: 12px 8px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--sm-ink);
  min-height: 96px;
  box-shadow: 0 1px 0 var(--sm-line);
}
.sm-cat-chip span:last-child { font-size: 12px; font-weight: 700; }

.sm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.sm-card {
  background: #fff;
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
  display: flex;
  flex-direction: column;
}
.sm-card-media { position: relative; background: #f6f8f8; aspect-ratio: 1; }
.sm-card-media img { width: 100%; height: 100%; object-fit: contain; }
.sm-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--sm-coral);
  color: #fff;
}
.sm-badge.out { background: #6b7280; left: 8px; right: auto; }
.sm-card-body { padding: 12px; display: grid; gap: 8px; flex: 1; }
.sm-card-title { font-size: 14px; margin: 0; line-height: 1.5; }
.sm-card-title a { color: var(--sm-ink); }
.sm-card-price { color: var(--sm-teal-dark); font-weight: 800; }
.sm-card-act .button,
.sm-card-act .sm-btn-cart {
  width: 100%;
  min-height: var(--sm-touch);
  border-radius: 12px;
  background: var(--sm-navy);
  color: #fff !important;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.sm-empty, .sm-empty-card {
  background: #fff;
  border-radius: var(--sm-radius);
  padding: 20px;
  color: var(--sm-muted);
}

.sm-trust { padding: 8px 0 32px; }
.sm-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sm-trust-grid div {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 4px;
  box-shadow: var(--sm-shadow);
}
.sm-trust-grid strong { font-size: 14px; }
.sm-trust-grid span { color: var(--sm-muted); font-size: 13px; }

.sm-news { display: grid; gap: 12px; }
.sm-news-card {
  background: #fff;
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
}
.sm-news-card img { width: 100%; height: 160px; object-fit: cover; }
.sm-news-card h3, .sm-news-card p { padding: 0 14px; }
.sm-news-card h3 { margin: 12px 0 0; font-size: 16px; color: var(--sm-ink); }
.sm-news-card p { color: var(--sm-muted); padding-bottom: 16px; }

.sm-footer {
  background: var(--sm-navy);
  color: #d5e4e7;
  padding: 40px 0 88px;
}
.sm-footer a { color: #fff; }
.sm-footer h3 { color: #fff; margin-top: 0; }
.sm-footer-grid { display: grid; gap: 24px; }
.sm-footer ul { list-style: none; margin: 0; padding: 0; }
.sm-footer li { margin: 8px 0; }
.sm-copy { border-top: 1px solid #2a4a50; padding: 14px 0; font-size: 13px; }
.sm-copy .sm-wrap { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.sm-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sm-mini-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.sm-mini-item img { width: 64px; height: 64px; object-fit: contain; background: var(--sm-bg); border-radius: 10px; }
.sm-mini-item span { display: block; color: var(--sm-muted); font-size: 13px; }
.sm-mini-total { display: flex; justify-content: space-between; padding: 12px 0; font-weight: 800; }
.sm-mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.sm-woo ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sm-woo ul.products li.product {
  background: #fff;
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
  padding: 0 0 12px;
}
.sm-woo ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6f8f8; }
.sm-woo ul.products li.product .woocommerce-loop-product__title { font-size: 14px; padding: 0 12px; }
.sm-woo ul.products li.product .price { padding: 0 12px; color: var(--sm-teal-dark); font-weight: 800; }
.sm-woo ul.products li.product .button {
  margin: 8px 12px 0;
  width: calc(100% - 24px);
  min-height: var(--sm-touch);
  border-radius: 12px;
  background: var(--sm-navy);
  color: #fff;
  display: grid;
  place-items: center;
}
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-info, .woocommerce-error {
  border-radius: 12px;
  padding: 12px 16px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-account input,
.woocommerce-checkout input,
.woocommerce-cart input {
  min-height: 44px;
  border: 1px solid var(--sm-line);
  border-radius: 12px;
  padding: 10px 12px;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  background: var(--sm-teal);
  color: #fff;
  border-radius: 999px;
  min-height: var(--sm-touch);
  font-weight: 800;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--sm-navy);
}
.woocommerce-account .woocommerce { background: #fff; border-radius: 16px; padding: 16px; }
.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .woocommerce-account .u-columns { grid-template-columns: 1fr 1fr; }
}
.woocommerce div.product { background: #fff; border-radius: 16px; padding: 12px; }
.woocommerce div.product .product_title { font-size: 22px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--sm-muted); }

body.admin-bar .sm-header { top: 32px; }
body.admin-bar .sm-bottom { bottom: 0; }

@media (min-width: 768px) {
  body.sharmon-store { padding-bottom: 0; }
  .sm-bottom, .sm-open-cats, .sm-search-toggle { display: none; }
  .sm-search { display: flex; }
  .sm-megabar { display: block; }
  .sm-header-main { grid-template-columns: auto 1fr auto; gap: 20px; }
  .sm-action-label { display: block; }
  .sm-icon-btn { min-width: 64px; }
  .sm-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 24px 0; }
  .sm-grid, .sm-woo ul.products { grid-template-columns: repeat(4, 1fr); }
  .sm-trust-grid, .sm-news, .sm-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .sm-footer { padding-bottom: 24px; }
  .sm-cats-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); overflow: visible; }
}

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