/* ==========================================================================
   Stationery World — storefront design layer (v4.0)
   Loaded after style.css. Styles the new header, homepage, footer and product
   cards. Older rules in style.css still style the product page, shop sidebar,
   bulk order page, chat, account pages and festival themes.
   ========================================================================== */

:root {
  --sw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Tokens live on body so festival themes (body[data-sw-festival]) recolour them. */
body.sx {
  --sx-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sx-primary: var(--sw-festival-primary, #163b70);
  --sx-accent: var(--sw-festival-accent, #e33b45);
  --sx-ink: #1b2232;
  --sx-text: #3b4456;
  --sx-muted: #6b7385;
  --sx-line: #e6e9ef;
  --sx-soft: #f6f7fb;
  --sx-soft2: #edf2fa;
  --sx-wrap: 1320px;
  --sx-gutter: clamp(16px, 3vw, 32px);
  --sx-radius: 12px;
  --sx-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .06);
  --sx-shadow-lg: 0 18px 44px rgba(16, 24, 40, .14);
  color: var(--sx-text);
  font-size: 15px;
  line-height: 1.55;
  background-color: #fff;
}

body.sx h1, body.sx h2, body.sx h3, body.sx h4,
body.sx .woocommerce h1, body.sx .woocommerce h2, body.sx .woocommerce h3,
body.sx .sw-home .sw-hero-slide h1,
body.sx .sw-btn, body.sx .sw-kicker {
  font-family: var(--sx-head) !important;
}
body.sx h1, body.sx h2, body.sx h3 { color: var(--sx-ink); }

.sx-wrap {
  width: 100%;
  max-width: var(--sx-wrap);
  margin: 0 auto;
  padding-left: var(--sx-gutter);
  padding-right: var(--sx-gutter);
  box-sizing: border-box;
}
.sx-anchor { display: block; height: 0; }
.sx .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sx-icon { flex: 0 0 auto; display: block; }
body.sx a:focus-visible, body.sx button:focus-visible, body.sx input:focus-visible {
  outline: 2px solid var(--sx-primary);
  outline-offset: 2px;
}

/* Skip link */
.sx-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100100;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--sx-ink) !important;
  font-weight: 600; box-shadow: var(--sx-shadow-lg); text-decoration: none !important;
}
.sx-skip:focus { top: 12px; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.sx-topbar {
  position: relative;
  z-index: 1002;
  background: var(--sx-primary);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.3;
}
.sx-topbar-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 36px;
}
.sx-topbar a { color: #fff !important; text-decoration: none !important; }
.sx-topbar a:hover { text-decoration: underline !important; }
.sx-topbar-left { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; opacity: .95; }
.sx-topbar-left a { font-weight: 600; }
.sx-topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }

.sx-ticker { position: relative; height: 18px; min-width: 0; width: min(520px, 44vw); overflow: hidden; text-align: center; font-weight: 500; }
.sx-ticker-item {
  position: absolute; inset: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.sx-ticker-item.is-active { opacity: 1; transform: none; }

/* Festival theme button lives in the top bar now */
body.sx .sx-topbar .sw-festival-widget {
  position: relative !important; right: auto !important; bottom: auto !important;
  width: auto !important; max-width: none !important; flex: 0 0 auto !important; margin: 0 !important;
  z-index: 1003 !important;
}
body.sx .sx-topbar .sw-festival-toggle {
  width: auto !important; min-width: 0 !important; max-width: none !important;
  height: 26px !important; min-height: 26px !important; padding: 0 11px !important;
  gap: 6px !important; border: 1px solid rgba(255, 255, 255, .28) !important; border-radius: 999px !important;
  background: rgba(255, 255, 255, .12) !important; color: #fff !important; box-shadow: none !important;
  font: 600 12px/1 var(--sw-font) !important; transform: none !important;
}
body.sx .sx-topbar .sw-festival-toggle:hover { background: rgba(255, 255, 255, .22) !important; }
body.sx .sx-topbar .sw-festival-chevron { font-size: 13px !important; display: inline !important; }
body.sx .sx-topbar .sw-festival-panel {
  position: absolute !important; top: calc(100% + 10px) !important; right: 0 !important; bottom: auto !important;
  color: var(--sx-ink); text-align: left; white-space: normal;
}
body.sx .sx-topbar .sw-festival-panel a { color: inherit !important; }

/* ==========================================================================
   Header
   ========================================================================== */
.sx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--sx-line);
  transition: box-shadow .2s ease;
}
.sx-header.is-scrolled { box-shadow: 0 6px 20px rgba(16, 24, 40, .08); }
body.admin-bar .sx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sx-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .sx-header { top: 0; } }

.sx-header-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo search actions";
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

/* Logo */
.sx-logo {
  grid-area: logo;
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 0; color: var(--sx-ink) !important; text-decoration: none !important;
}
.sx-logo-img { display: block; width: auto; max-width: 210px; max-height: 52px; object-fit: contain; }
.sx-logo-mark {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--sx-accent); color: #fff;
  font: 800 24px/1 var(--sx-head);
  box-shadow: inset 0 -4px 0 rgba(255, 212, 71, .95);
}
.sx-logo-text { font: 700 22px/1 var(--sx-head); letter-spacing: -.02em; color: var(--sx-primary); white-space: nowrap; }
.sx-logo-text b { font-weight: 700; color: var(--sx-accent); margin-left: 2px; }

/* Burger (tablet / phone only) */
body.sx .sx-burger {
  grid-area: burger;
  display: none; place-items: center;
  width: 42px; height: 42px; margin: 0 0 0 -8px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--sx-ink);
  cursor: pointer; box-shadow: none;
}
body.sx .sx-burger:hover { background: var(--sx-soft); color: var(--sx-primary); }

/* Search */
.sx-search {
  grid-area: search;
  position: relative;
  justify-self: center;
  display: flex; align-items: center;
  width: 100%; max-width: 640px; height: 48px; margin: 0;
  border: 1.5px solid var(--sx-line); border-radius: 999px;
  background: var(--sx-soft);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.sx-search:focus-within, .sx-search.is-open {
  border-color: var(--sx-primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 59, 112, .08);
}
body.sx .sx-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: 100% !important; margin: 0 !important;
  padding: 0 8px 0 22px !important; border: 0 !important; border-radius: 999px 0 0 999px !important;
  background: transparent !important; box-shadow: none !important; outline: none !important;
  color: var(--sx-ink) !important; font: 400 14.5px/1 var(--sw-font) !important;
}
body.sx .sx-search input[type="search"]::placeholder { color: #8a92a3; }
body.sx .sx-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
body.sx .sx-search-btn {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; margin: 0 4px 0 0; padding: 0;
  border: 0; border-radius: 50%; background: var(--sx-primary); color: #fff;
  cursor: pointer; box-shadow: none; transition: transform .15s ease, filter .15s ease;
}
body.sx .sx-search-btn:hover { filter: brightness(1.12); transform: scale(1.04); background: var(--sx-primary); color: #fff; }

.sx-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  padding: 16px 18px 18px; border: 1px solid var(--sx-line); border-radius: 16px;
  background: #fff; box-shadow: var(--sx-shadow-lg);
}
.sx-suggest[hidden] { display: none; }
.sx-suggest-title { display: block; margin: 0 0 10px; font: 600 12px/1 var(--sw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border: 1px solid var(--sx-line); border-radius: 999px;
  background: var(--sx-soft); color: var(--sx-text) !important;
  font-size: 13px; font-weight: 500; text-decoration: none !important;
  transition: border-color .15s, color .15s, background .15s;
}
.sx-chip .sx-icon { color: var(--sx-muted); }
.sx-chip:hover { border-color: var(--sx-primary); background: #fff; color: var(--sx-primary) !important; }

/* Account / wishlist / cart */
.sx-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }
.sx-action {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 60px; padding: 6px 8px; border-radius: 10px;
  color: var(--sx-ink) !important; text-decoration: none !important;
  font-size: 12px; font-weight: 500; line-height: 1;
  transition: background .15s, color .15s;
}
.sx-action:hover { background: var(--sx-soft); color: var(--sx-primary) !important; }
.sx-action-icon { position: relative; display: block; }
body.sx .sx-action .sw-cart-count,
body.sx .sx-action .sw-wishlist-count {
  position: absolute; top: -7px; right: -11px; left: auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border: 2px solid #fff; border-radius: 999px;
  background: var(--sx-accent); color: #fff;
  font: 700 10px/1 var(--sw-font);
}
body.sx .sx-action .sw-cart-count[data-count="0"] { display: none !important; }

/* ==========================================================================
   Category menu + mega panels (desktop)
   ========================================================================== */
.sx-nav { position: relative; border-top: 1px solid var(--sx-line); background: #fff; }
/* Centred when it fits; scrolls from the first item when it does not (never cut off on the left). */
.sx-menu {
  display: flex; justify-content: flex-start; align-items: stretch;
  width: fit-content; max-width: 100%; margin: 0 auto; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.sx-menu::-webkit-scrollbar { display: none; }
.sx-menu-item { position: static; margin: 0; }
.sx-menu-link {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  height: 48px; padding: 0 15px;
  color: var(--sx-ink) !important; text-decoration: none !important; white-space: nowrap;
  font: 500 13px/1 var(--sx-head) !important; letter-spacing: .045em; text-transform: uppercase;
  transition: color .15s;
}
.sx-menu-link .sx-icon { color: var(--sx-muted); transition: transform .2s ease; }
.sx-menu-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 2.5px;
  border-radius: 2px 2px 0 0; background: var(--sx-accent);
  transform: scaleX(0); transition: transform .2s ease;
}
.sx-menu-item:hover > .sx-menu-link,
.sx-menu-item:focus-within > .sx-menu-link,
.sx-menu-item.is-open > .sx-menu-link { color: var(--sx-primary) !important; }
.sx-menu-item:hover > .sx-menu-link::after,
.sx-menu-item:focus-within > .sx-menu-link::after,
.sx-menu-item.is-open > .sx-menu-link::after { transform: scaleX(1); }
@media (max-width: 1400px) {
  .sx-menu-link { padding: 0 11px; font-size: 12.5px !important; letter-spacing: .03em; }
  .sx-menu-link::after { left: 11px; right: 11px; }
  .sx-menu-link .sx-icon { display: none; }
}
@media (max-width: 1180px) {
  .sx-menu-link { padding: 0 8px; font-size: 12px !important; letter-spacing: .02em; }
  .sx-menu-link::after { left: 8px; right: 8px; }
}
.sx-menu-item:hover > .sx-menu-link .sx-icon,
.sx-menu-item.is-open > .sx-menu-link .sx-icon { transform: rotate(180deg); }

.sx-mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
  max-height: min(72vh, 620px); overflow-y: auto;
  padding: 28px 0 32px;
  border-top: 1px solid var(--sx-line); background: #fff; box-shadow: 0 24px 40px rgba(16, 24, 40, .12);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.sx-menu-item.has-mega:hover > .sx-mega,
.sx-menu-item.has-mega:focus-within > .sx-mega,
.sx-menu-item.has-mega.is-open > .sx-mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .18s ease .06s, transform .18s ease .06s, visibility 0s;
}
.sx-menu-item.has-mega.is-closed > .sx-mega { opacity: 0; visibility: hidden; pointer-events: none; }

.sx-mega-in { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); gap: 44px; }
.sx-mega-title {
  display: block; margin: 0 0 14px;
  font: 600 12px/1.2 var(--sw-font); letter-spacing: .09em; text-transform: uppercase; color: var(--sx-muted);
}
.sx-mega-cats ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.sx-mega-cats li { margin: 0; break-inside: avoid; }
.sx-mega-cats li a {
  display: block; padding: 6px 0;
  color: var(--sx-text) !important; font-size: 14px; line-height: 1.35; text-decoration: none !important;
  transition: color .15s, transform .15s;
}
.sx-mega-cats li a:hover { color: var(--sx-primary) !important; transform: translateX(3px); }
.sx-mega-all {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--sx-primary) !important; font-size: 13.5px; font-weight: 600; text-decoration: none !important;
}
.sx-mega-all:hover { text-decoration: underline !important; }
.sx-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sx-mega-product { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--sx-ink) !important; text-decoration: none !important; }
.sx-mega-img {
  display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-soft); color: var(--sx-muted);
}
.sx-mega-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; transition: transform .25s ease; }
.sx-mega-product:hover .sx-mega-img img { transform: scale(1.05); }
.sx-mega-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 13px; line-height: 1.4; font-weight: 500;
}
.sx-mega-price { font-size: 13.5px; font-weight: 700; color: var(--sx-primary); }
.sx-mega-price del { font-weight: 400; color: var(--sx-muted); margin-right: 4px; }
.sx-mega-price ins { text-decoration: none; background: none; }

/* ==========================================================================
   Drawer (tablet / phone menu)
   ========================================================================== */
html.sx-lock, html.sx-lock body { overflow: hidden; }
.sx-drawer { position: fixed; inset: 0; z-index: 100050; }
.sx-drawer[hidden] { display: none; }
.sx-drawer-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .25s ease; }
.sx-drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  width: min(86vw, 360px); overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: var(--sx-shadow-lg);
  transform: translateX(-100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.sx-drawer.is-open .sx-drawer-overlay { opacity: 1; }
.sx-drawer.is-open .sx-drawer-panel { transform: none; }
.sx-drawer-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--sx-line); background: #fff;
}
.sx-logo-sm .sx-logo-img { max-height: 38px; max-width: 170px; }
.sx-logo-sm .sx-logo-mark { width: 34px; height: 34px; font-size: 19px; border-radius: 9px; }
.sx-logo-sm .sx-logo-text { font-size: 18px; }
body.sx .sx-drawer-close {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: var(--sx-soft); color: var(--sx-ink); cursor: pointer; box-shadow: none;
}
body.sx .sx-drawer-close:hover { background: var(--sx-soft2); color: var(--sx-ink); }
.sx-drawer-account {
  display: flex; align-items: center; gap: 10px; margin: 14px 16px 4px; padding: 12px 14px;
  border-radius: 12px; background: var(--sx-soft2); color: var(--sx-primary) !important;
  font-size: 14.5px; font-weight: 600; text-decoration: none !important;
}
.sx-drawer-label {
  display: block; padding: 18px 16px 8px;
  font: 600 11.5px/1 var(--sw-font); letter-spacing: .09em; text-transform: uppercase; color: var(--sx-muted);
}
.sx-drawer-menu, .sx-drawer-sub, .sx-drawer-links { margin: 0; padding: 0; list-style: none; }
.sx-drawer-item { border-bottom: 1px solid var(--sx-line); }
.sx-drawer-item:first-child { border-top: 1px solid var(--sx-line); }
.sx-drawer-row { display: flex; align-items: stretch; }
.sx-drawer-row > a {
  flex: 1 1 auto; padding: 14px 16px;
  color: var(--sx-ink) !important; font-size: 15px; font-weight: 500; text-decoration: none !important;
}
body.sx .sx-drawer-toggle {
  display: grid; place-items: center; flex: 0 0 52px; width: 52px; padding: 0; margin: 0;
  border: 0; border-left: 1px solid var(--sx-line); border-radius: 0;
  background: transparent; color: var(--sx-muted); cursor: pointer; box-shadow: none;
}
body.sx .sx-drawer-toggle:hover { background: var(--sx-soft); color: var(--sx-ink); }
.sx-drawer-toggle .sx-icon { transition: transform .2s ease; }
.sx-drawer-toggle[aria-expanded="true"] .sx-icon { transform: rotate(180deg); }
.sx-drawer-sub { padding: 4px 0 10px; background: var(--sx-soft); }
.sx-drawer-sub[hidden] { display: none; }
.sx-drawer-sub a { display: block; padding: 9px 16px 9px 28px; color: var(--sx-text) !important; font-size: 14px; text-decoration: none !important; }
.sx-drawer-sub li:first-child a { font-weight: 600; color: var(--sx-primary) !important; }
.sx-drawer-links a {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  color: var(--sx-ink) !important; font-size: 14.5px; text-decoration: none !important;
}
.sx-drawer-links .sx-icon { color: var(--sx-muted); }

/* ==========================================================================
   Header: tablet and phone
   ========================================================================== */
@media (max-width: 1024px) {
  .sx-nav { display: none; }
  body.sx .sx-burger { display: grid; }
  .sx-header-in {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "burger logo actions" "search search search";
    gap: 6px 10px;
    min-height: 0; padding-top: 8px; padding-bottom: 10px;
  }
  .sx-logo { justify-self: start; }
  .sx-logo-img { max-height: 42px; max-width: 170px; }
  .sx-search { max-width: none; height: 44px; }
  .sx-action { min-width: 44px; padding: 6px; }
  .sx-action-label { display: none; }
  .sx-topbar-left { display: none; }
  .sx-topbar-in { grid-template-columns: minmax(0, 1fr) auto; }
  .sx-ticker { width: auto; text-align: left; }
}
@media (max-width: 767px) {
  .sx-topbar { font-size: 12px; }
  .sx-topbar-in { min-height: 32px; gap: 10px; }
  .sx-topbar-right > a { display: none; }
  .sx-ticker { text-align: center; }
  body.sx .sx-topbar .sw-festival-toggle {
    width: 26px !important; padding: 0 !important; justify-content: center !important;
    font-size: 0 !important; gap: 0 !important;
  }
  body.sx .sx-topbar .sw-festival-toggle > span:first-child { font-size: 13px !important; }
  body.sx .sx-topbar .sw-festival-chevron { display: none !important; }
  body.sx .sx-topbar .sw-festival-panel {
    position: fixed !important; top: 44px !important; right: 10px !important; left: auto !important;
    width: min(330px, calc(100vw - 20px)) !important; max-height: calc(100dvh - 120px) !important;
  }
  .sx-logo-text { font-size: 19px; }
  .sx-logo-mark { width: 36px; height: 36px; font-size: 20px; border-radius: 10px; }
  /* the bottom bar already has Account and Wishlist */
  .sx-action-account, .sx-action-wishlist { display: none; }
  .sx-search { height: 42px; }
  body.sx .sx-search input[type="search"] { font-size: 16px !important; padding-left: 16px !important; } /* 16px stops iOS zoom */
  body.sx .sx-search-btn { width: 36px; height: 36px; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */
body.sx .sw-home.sx-home { padding-bottom: 0 !important; }
body.sx .sw-home .sw-hero-carousel { margin: 0 calc(50% - 50vw) !important; box-shadow: none !important; }
@media (max-width: 767px) {
  body.sx .sw-home .sw-hero-carousel { margin: 0 calc(50% - 50vw) !important; }
  /* phones swipe the banners; the arrows covered the text */
  body.sx .sw-home .sw-hero-carousel .sw-carousel-arrow { display: none !important; }
}

.sx-section { margin: 0; padding: clamp(36px, 5vw, 60px) 0; }
.sx-section + .sx-section:not(.sx-section-soft):not(.sx-trust-section) { padding-top: 0; }
.sx-section-tight { padding-top: 0; }
.sx-section-soft { background: var(--sx-soft); }

.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.sx-head-center { flex-direction: column; align-items: center; text-align: center; }
body.sx .sx-title {
  margin: 0; color: var(--sx-ink);
  font: 600 clamp(22px, 2.3vw, 30px)/1.2 var(--sx-head) !important; letter-spacing: -.015em;
}
.sx-head-center .sx-title::after, .sx-title-center::after {
  content: ""; display: block; width: 46px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: var(--sx-accent);
}
.sx-title-center { text-align: center; margin-bottom: 28px !important; }
.sx-sub { margin: 8px 0 0; color: var(--sx-muted); font-size: 14.5px; }
.sx-head-center .sx-sub { margin-top: 10px; }
.sx-link {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 8px 2px; color: var(--sx-primary) !important;
  font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none !important;
}
.sx-link .sx-icon { transition: transform .2s ease; }
.sx-link:hover .sx-icon { transform: translateX(3px); }
.sx-eyebrow { display: block; margin: 0 0 8px; color: var(--sx-accent); font: 700 12px/1 var(--sw-font); letter-spacing: .12em; text-transform: uppercase; }

/* Buttons */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px; border-radius: 999px;
  font: 600 14px/1 var(--sx-head); text-decoration: none !important; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.sx-btn-outline { border: 1.5px solid var(--sx-primary); background: transparent; color: var(--sx-primary) !important; }
.sx-btn-outline:hover { background: var(--sx-primary); color: #fff !important; }

/* Shop by category */
.sx-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 20px; }
.sx-cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 132px; color: var(--sx-ink) !important; text-decoration: none !important;
}
.sx-cat-img {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--sx-line); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--sx-soft2) 100%);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sx-cat-img img { width: 100%; height: 100%; padding: 16%; box-sizing: border-box; object-fit: contain; transition: transform .3s ease; }
.sx-cat-emoji { font-size: 40px; line-height: 1; }
.sx-cat:hover .sx-cat-img { border-color: var(--sx-primary); box-shadow: 0 10px 24px rgba(22, 59, 112, .14); transform: translateY(-3px); }
.sx-cat:hover .sx-cat-img img { transform: scale(1.06); }
.sx-cat-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  text-align: center; font: 600 12.5px/1.35 var(--sx-head); letter-spacing: .03em; text-transform: uppercase;
}
.sx-cat:hover .sx-cat-name { color: var(--sx-primary); }

/* Promo cards */
.sx-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sx-promo {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  min-height: 230px; padding: 30px 0 30px 34px; overflow: hidden; border-radius: 20px;
  text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease;
}
.sx-promo:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow-lg); }
.sx-promo-blue { background: linear-gradient(125deg, #eaf1fc 0%, #d5e3f7 100%); }
.sx-promo-warm { background: linear-gradient(125deg, #fff5e2 0%, #ffe0c2 100%); }
.sx-promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.sx-promo-kicker { color: var(--sx-accent); font: 700 12px/1 var(--sw-font); letter-spacing: .1em; text-transform: uppercase; }
.sx-promo-title { margin: 10px 0 20px; color: var(--sx-ink); font: 600 clamp(19px, 1.9vw, 25px)/1.25 var(--sx-head); }
.sx-promo-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: var(--sx-primary); color: #fff; font: 600 13.5px/1 var(--sx-head);
}
.sx-promo:hover .sx-promo-btn .sx-icon { transform: translateX(3px); }
.sx-promo-btn .sx-icon { transition: transform .2s ease; }
.sx-promo-media { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; min-height: 170px; color: var(--sx-primary); }
.sx-promo-media > .sx-icon { opacity: .3; }
.sx-promo-media img {
  width: 54%; aspect-ratio: 1 / 1; padding: 10px; box-sizing: border-box; object-fit: contain;
  border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
  transition: transform .3s ease;
}
.sx-promo-media img:first-child { transform: rotate(-6deg) translateX(16px); }
.sx-promo-media img + img { transform: rotate(6deg) translate(-16px, 20px); }
.sx-promo-media img:only-child { width: 64%; transform: rotate(-4deg); }
.sx-promo:hover .sx-promo-media img:first-child { transform: rotate(-3deg) translateX(16px) scale(1.03); }
.sx-promo:hover .sx-promo-media img + img { transform: rotate(3deg) translate(-16px, 14px) scale(1.03); }

/* Exclusive collections */
.sx-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sx-collections-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-collections-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-collection {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--sx-line); border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--sx-soft2) 100%);
  text-decoration: none !important;
}
.sx-collection img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 14% 12% 26%; box-sizing: border-box;
  object-fit: contain; transition: transform .35s ease;
}
.sx-collection:hover img { transform: scale(1.06); }
.sx-collection-label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-radius: 12px; background: #fff; color: var(--sx-ink);
  font: 600 14px/1.25 var(--sx-head); letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .1); transition: background .2s, color .2s;
}
.sx-collection:hover .sx-collection-label { background: var(--sx-primary); color: #fff; }

/* Wholesale enquiry block */
.sx-wholesale { padding-bottom: clamp(36px, 5vw, 60px); }
body.sx .sx-wholesale .sw-wholesale-section {
  max-width: none; margin: 0; padding: clamp(24px, 4vw, 48px);
  border: 1px solid #dde5f1; border-radius: 22px;
  background: linear-gradient(135deg, #f4f7fd 0%, #e8eef9 100%);
}
body.sx .sw-wholesale-info h2 { font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--sx-head) !important; color: var(--sx-ink); }
body.sx .sw-wholesale-form-wrap { border-radius: 16px; border-color: var(--sx-line); box-shadow: var(--sx-shadow); }
body.sx .sw-form-row input, body.sx .sw-form-row select, body.sx .sw-form-row textarea {
  min-height: 46px; border: 1px solid #d5dce8; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
body.sx .sw-form-row textarea { min-height: 110px; }
body.sx .sw-form-row input:focus, body.sx .sw-form-row select:focus, body.sx .sw-form-row textarea:focus {
  border-color: var(--sx-primary); box-shadow: 0 0 0 4px rgba(22, 59, 112, .1); outline: none;
}
body.sx .sw-btn-submit { min-height: 48px; border-radius: 10px; background: var(--sx-primary) !important; font-weight: 600; }

/* About */
.sx-about {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px); border: 1px solid var(--sx-line); border-radius: 22px; background: #fff;
}
.sx-about-mark {
  display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 20px;
  background: linear-gradient(140deg, var(--sx-primary) 0%, #2d62ad 100%);
}
.sx-about-mark .sx-logo-mark { width: 110px; height: 110px; border-radius: 28px; font-size: 64px; box-shadow: inset 0 -9px 0 rgba(255, 212, 71, .95), 0 18px 36px rgba(0, 0, 0, .2); }
.sx-about-copy p { max-width: 700px; margin: 14px 0 24px; color: var(--sx-text); font-size: 15.5px; line-height: 1.75; }

/* Why shop with us */
.sx-trust-section { background: var(--sx-soft); }
.sx-trust { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sx-trust li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0;
  padding: 24px 16px; border: 1px solid var(--sx-line); border-radius: 16px; background: #fff; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.sx-trust li:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow); }
.sx-trust-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: var(--sx-soft2); color: var(--sx-primary); }
.sx-trust b { color: var(--sx-ink); font: 600 15px/1.3 var(--sx-head); }
.sx-trust span:not(.sx-trust-icon) { color: var(--sx-muted); font-size: 13px; line-height: 1.45; }

/* ==========================================================================
   Product cards (homepage rows and shop / category pages)
   ========================================================================== */
body.sx .sx-products ul.products {
  display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
body.sx .woocommerce ul.products li.product {
  position: relative; display: flex !important; flex-direction: column;
  width: auto !important; margin: 0 !important; padding: 0 0 14px !important; overflow: hidden;
  border: 1px solid var(--sx-line) !important; border-radius: 14px !important;
  background: #fff !important; box-shadow: none !important; text-align: left;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body.sx .woocommerce ul.products li.product:hover {
  transform: translateY(-3px); border-color: #d6dce7 !important; box-shadow: 0 14px 30px rgba(16, 24, 40, .1) !important;
}
body.sx .woocommerce ul.products li.product .astra-shop-thumbnail-wrap { position: relative; margin: 0; overflow: hidden; }
body.sx .woocommerce ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1 1 auto; padding: 0; }
body.sx .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
body.sx .woocommerce ul.products li.product a,
body.sx .woocommerce ul.products li.product a:hover { text-decoration: none !important; }
body.sx .woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--sx-primary) !important; }
body.sx .woocommerce ul.products li.product a img {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; margin: 0 0 12px !important;
  padding: 14px; box-sizing: border-box; object-fit: contain;
  border: 0 !important; border-bottom: 1px solid var(--sx-line) !important; border-radius: 0 !important;
  background: var(--sx-soft) !important; transition: transform .35s ease;
}
body.sx .woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
body.sx .woocommerce ul.products li.product .ast-woo-product-category {
  display: block; margin: 0 0 4px; padding: 0 14px; color: var(--sx-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
body.sx .woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: 2.8em; margin: 0 0 8px !important; padding: 0 14px !important;
  color: var(--sx-ink) !important; font: 500 14px/1.4 var(--sw-font) !important;
}
body.sx .woocommerce ul.products li.product .star-rating { margin: 0 14px 6px; font-size: 11.5px; }
body.sx .woocommerce ul.products li.product .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  margin: 0 0 14px !important; padding: 0 14px;
  color: var(--sx-ink) !important; font: 700 16px/1.3 var(--sw-font) !important;
}
body.sx .woocommerce ul.products li.product .price:has(+ .sw-discount-badge) { margin-bottom: 2px !important; }
body.sx .woocommerce ul.products li.product .price ins { order: 1; background: none; text-decoration: none; color: inherit; }
body.sx .woocommerce ul.products li.product .price del { order: 2; color: var(--sx-muted); font-size: 13px; font-weight: 400; opacity: 1; }
body.sx .woocommerce ul.products li.product .sw-discount-badge { display: block; margin: 0 0 14px; padding: 0 14px; color: #138a4b; font-size: 12.5px; font-weight: 700; }
body.sx .woocommerce ul.products li.product .button,
body.sx .woocommerce ul.products li.product .added_to_cart {
  display: flex !important; align-items: center; justify-content: center;
  width: calc(100% - 28px) !important; min-height: 40px; margin: auto 14px 0 !important; padding: 9px 10px !important; /* auto top margin lines buttons up along the row */
  border: 1.5px solid var(--sx-primary) !important; border-radius: 10px !important;
  background: #fff !important; color: var(--sx-primary) !important; box-shadow: none !important;
  font: 600 13px/1.2 var(--sx-head) !important; letter-spacing: .02em; text-transform: none !important;
  text-align: center; white-space: normal; text-decoration: none !important;
  transition: background .15s, color .15s;
}
body.sx .woocommerce ul.products li.product .button:hover { background: var(--sx-primary) !important; color: #fff !important; }
body.sx .woocommerce ul.products li.product .button.loading { opacity: .7; }
body.sx .woocommerce ul.products li.product .added_to_cart {
  margin-top: 8px !important; min-height: 34px; border-color: transparent !important; background: var(--sx-soft2) !important; font-size: 12.5px !important;
}
body.sx .woocommerce ul.products li.product span.onsale {
  position: absolute !important; top: 10px !important; left: 10px !important; right: auto !important; z-index: 3;
  min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 5px 9px !important;
  border-radius: 999px !important; background: var(--sx-accent) !important; color: #fff !important;
  font: 700 11px/1 var(--sw-font) !important;
}
body.sx .woocommerce ul.products li.product .sw-wishlist-loop { position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0; }
body.sx .woocommerce ul.products li.product .sw-wishlist-button {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--sx-line); border-radius: 50%; background: #fff; color: var(--sx-accent);
  font-size: 17px; line-height: 1; box-shadow: 0 2px 8px rgba(16, 24, 40, .1); cursor: pointer;
}
body.sx .woocommerce ul.products li.product .sw-wishlist-button.is-active { border-color: var(--sx-accent); background: var(--sx-accent); color: #fff; }

/* Shop / category page: lighter grid border to match the cards */
body.sx .woocommerce .sw-shop-main ul.products { border-top: 0 !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.sx-footer { margin: 0; background: var(--sx-soft); color: var(--sx-text); border-top: 1px solid var(--sx-line); }
.sx-footer a { text-decoration: none !important; }

.sx-news { background: var(--sx-primary); color: #fff; }
.sx-news-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; padding-bottom: 28px; }
.sx-news-copy { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sx-news-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
body.sx .sx-news h2 { margin: 0; color: #fff; font: 600 20px/1.25 var(--sx-head) !important; }
.sx-news p { margin: 4px 0 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.sx-news-form { display: flex; width: min(100%, 470px); padding: 5px; border-radius: 999px; background: #fff; }
body.sx .sx-news-form input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 44px !important; margin: 0 !important; padding: 0 18px !important;
  border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important;
  color: var(--sx-ink) !important; font: 400 15px/1 var(--sw-font) !important; outline: none !important;
}
body.sx .sx-news-form button {
  flex: 0 0 auto; height: 44px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--sx-accent); color: #fff; box-shadow: none; cursor: pointer;
  font: 600 14px/1 var(--sx-head) !important; transition: filter .15s;
}
body.sx .sx-news-form button:hover { filter: brightness(1.08); background: var(--sx-accent); color: #fff; }
.sx-news-msg { flex: 1 0 100%; margin: -6px 0 0; font-size: 14px; font-weight: 600; text-align: right; }
.sx-news-msg.is-ok { color: #c7f5d8; }
.sx-news-msg.is-error { color: #ffd4d4; }
.sx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sx-footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding-top: 52px; padding-bottom: 40px;
}
.sx-footer-logo .sx-logo-img { max-height: 50px; }
.sx-footer-about > p { max-width: 380px; margin: 16px 0 18px; color: var(--sx-muted); font-size: 14px; line-height: 1.7; }
.sx-footer-contact { margin: 0; padding: 0; list-style: none; }
.sx-footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.sx-footer-contact .sx-icon { margin-top: 1px; color: var(--sx-primary); }
.sx-footer-contact a { color: var(--sx-text) !important; overflow-wrap: anywhere; }
.sx-footer-contact a:hover { color: var(--sx-primary) !important; }
body.sx .sx-footer-col h3 { margin: 4px 0 18px; color: var(--sx-ink); font: 600 14px/1.2 var(--sx-head) !important; letter-spacing: .07em; text-transform: uppercase; }
.sx-footer-col ul { margin: 0; padding: 0; list-style: none; }
.sx-footer-col li { margin: 0 0 11px; }
.sx-footer-col a { color: var(--sx-text) !important; font-size: 14px; transition: color .15s, padding .15s; }
.sx-footer-col a:hover { color: var(--sx-primary) !important; padding-left: 3px; }

.sx-footer-bottom { border-top: 1px solid var(--sx-line); background: #fff; }
.sx-footer-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; color: var(--sx-muted); font-size: 13px; }
.sx-socials { display: flex; gap: 8px; }
.sx-socials a {
  display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--sx-line); border-radius: 50%;
  color: var(--sx-text) !important; transition: background .15s, color .15s, border-color .15s;
}
.sx-socials a:hover { border-color: var(--sx-primary); background: var(--sx-primary); color: #fff !important; }

/* ==========================================================================
   Responsive: homepage + footer
   ========================================================================== */
@media (max-width: 1200px) {
  body.sx .sx-products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  body.sx .sx-products ul.products li.product:nth-child(n + 9) { display: none !important; }
}
@media (max-width: 1100px) {
  .sx-trust { display: flex; flex-wrap: wrap; justify-content: center; }
  .sx-trust li { flex: 0 0 calc((100% - 32px) / 3); box-sizing: border-box; }
}
@media (max-width: 1024px) {
  .sx-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .sx-footer-about { grid-column: 1 / -1; }
  .sx-collections { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sx-collection { aspect-ratio: 4 / 3; }
  .sx-collection img { padding: 10% 22% 24%; }
}
@media (max-width: 900px) {
  body.sx .sx-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.sx .sx-products ul.products li.product:nth-child(n + 7) { display: none !important; }
  .sx-promos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sx-about { grid-template-columns: minmax(0, 1fr); }
  .sx-about-mark { display: none; }
}
@media (max-width: 767px) {
  body.sx { font-size: 14.5px; }
  .sx-section { padding: 32px 0; }
  .sx-head { margin-bottom: 16px; }
  .sx-sub { font-size: 13.5px; }

  /* categories: one swipeable row */
  .sx-cats {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px;
    margin: 0 calc(-1 * var(--sx-gutter)); padding: 2px var(--sx-gutter) 8px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--sx-gutter); scrollbar-width: none;
  }
  .sx-cats::-webkit-scrollbar { display: none; }
  .sx-cat { flex: 0 0 84px; width: 84px; gap: 8px; scroll-snap-align: start; }
  .sx-cat-name { font-size: 11px; letter-spacing: .02em; }
  .sx-cat-emoji { font-size: 30px; }

  .sx-promo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 176px; padding: 22px 0 22px 20px; border-radius: 16px; }
  .sx-promo-title { margin: 8px 0 14px; font-size: 17px; }
  .sx-promo-btn { padding: 9px 14px; font-size: 12.5px; }
  .sx-promo-media { min-height: 130px; }

  /* product rows: swipeable, about two cards per screen */
  body.sx .sx-products ul.products {
    display: flex !important; gap: 12px !important;
    margin: 0 calc(-1 * var(--sx-gutter)) !important; padding: 2px var(--sx-gutter) 12px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sx-gutter); scrollbar-width: none;
  }
  body.sx .sx-products ul.products::-webkit-scrollbar { display: none; }
  body.sx .sx-products ul.products li.product { flex: 0 0 46%; scroll-snap-align: start; }
  body.sx .sx-products ul.products li.product:nth-child(n) { display: flex !important; }
  body.sx .woocommerce ul.products li.product:hover { transform: none; }

  body.sx .woocommerce ul.products li.product { padding-bottom: 10px !important; border-radius: 12px !important; }
  body.sx .woocommerce ul.products li.product a img { padding: 10px; margin-bottom: 10px !important; }
  body.sx .woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 10px !important; font-size: 13px !important; }
  body.sx .woocommerce ul.products li.product .price { padding: 0 10px; font-size: 14.5px !important; }
  body.sx .woocommerce ul.products li.product .sw-discount-badge { padding: 0 10px; }
  body.sx .woocommerce ul.products li.product .ast-woo-product-category { padding: 0 10px; }
  body.sx .woocommerce ul.products li.product .button,
  body.sx .woocommerce ul.products li.product .added_to_cart { width: calc(100% - 20px) !important; margin-left: 10px !important; margin-right: 10px !important; min-height: 38px; font-size: 12px !important; }
  body.sx .woocommerce ul.products li.product .sw-wishlist-button { width: 30px; height: 30px; font-size: 15px; }

  .sx-collections { gap: 12px; }
  .sx-collection { aspect-ratio: 1 / 1; border-radius: 14px; }
  .sx-collection img { padding: 10% 14% 30%; }
  .sx-collection-label { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; font-size: 12px; }
  .sx-collection-label .sx-icon { display: none; }

  .sx-about { padding: 22px 18px; border-radius: 16px; }
  .sx-about-copy p { font-size: 14.5px; }

  .sx-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sx-trust li { flex: none; padding: 18px 10px; border-radius: 14px; }
  .sx-trust li:last-child { grid-column: 1 / -1; }
  .sx-trust-icon { width: 48px; height: 48px; }
  .sx-trust b { font-size: 14px; }
  .sx-trust span:not(.sx-trust-icon) { font-size: 12.5px; }

  .sx-news-in { flex-direction: column; align-items: stretch; padding-top: 24px; padding-bottom: 24px; }
  .sx-news-form { width: 100%; }
  body.sx .sx-news-form input[type="email"] { font-size: 16px !important; }
  body.sx .sx-news-form button { padding: 0 18px; }
  .sx-news-msg { text-align: left; margin: 0; }
  body.sx .sx-news h2 { font-size: 18px !important; }

  .sx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 36px; padding-bottom: 28px; }
  .sx-footer-col:last-child { grid-column: 1 / -1; }
  .sx-footer-bottom-in { flex-direction: column; justify-content: center; text-align: center; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .sx-ticker-item, .sx-mega, .sx-drawer-panel, .sx-drawer-overlay, .sx-cat-img, .sx-cat-img img,
  .sx-promo, .sx-promo-media img, .sx-collection img, .sx-trust li, .sx-header,
  body.sx .woocommerce ul.products li.product, body.sx .woocommerce ul.products li.product a img {
    transition: none !important;
  }
  body.sx .woocommerce ul.products li.product:hover, .sx-promo:hover, .sx-trust li:hover, .sx-cat:hover .sx-cat-img { transform: none !important; }
}
