/* AxcessMarket-inspired tenant storefront theme */

/* Global box-sizing for every storefront page — without this, any
   width:100% button/input overflows its container by its own padding
   (the cause of buttons spilling off the right edge on mobile). */
body.ax-storefront *,
body.ax-storefront *::before,
body.ax-storefront *::after { box-sizing: border-box; }

:root {
  /* De-purpled: these held a violet accent the brand doesn't own.
     Kept the token names for compatibility; values are now navy-family. */
  --ax-purple: #0A2472;
  --ax-purple-dark: #061840;
  --ax-purple-light: #e0e7ff;
  --ax-purple-soft: #eef2ff;
  --ax-topbar: var(--commerce-navy, #0A2472);
  --ax-topbar-deep: #061840;
  --ax-green: #16a34a;
  --ax-green-dark: #15803d;
  --ax-bg: #f4f5f7;
  --ax-white: #ffffff;
  --ax-text: #1e293b;
  --ax-muted: #64748b;
  --ax-border: #e2e8f0;
  --ax-radius: 12px;
  --ax-radius-lg: 16px;
  --ax-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --ax-max: 1320px;
  --ax-brand: var(--shop-brand, #0A2472);
  --ax-brand-dark: var(--shop-brand-dark, #061840);
}

body.ax-storefront {
  background: var(--ax-bg);
  color: var(--ax-text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Top utility bar — commercial navy strip ─── */
.ax-topbar {
  position: relative;
  background: linear-gradient(
    95deg,
    var(--ax-topbar-deep, #061840) 0%,
    var(--commerce-navy, #0A2472) 42%,
    #12358a 100%
  );
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ax-topbar-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--commerce-coral, #E63946) 18%,
    #ff6b6b 50%,
    var(--commerce-coral, #E63946) 82%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.ax-topbar-inner {
  max-width: var(--ax-max);
  margin: 0 auto;
  padding: 0.22rem 1rem;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ax-topbar-left,
.ax-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
}

.ax-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.ax-topbar-badge i {
  color: #7dd3fc;
  font-size: 0.62rem;
}

.ax-topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.ax-topbar-contact:hover {
  color: #fff;
}

.ax-topbar-contact i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  transition: color 0.15s, transform 0.2s;
}

.ax-topbar-contact:hover i {
  color: #fde68a;
  transform: scale(1.08);
}

.ax-topbar-contact--wa i {
  color: #4ade80;
}

.ax-topbar-contact--wa:hover i {
  color: #86efac;
}

.ax-topbar-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}

.ax-topbar-link:hover {
  color: #fff;
}

.ax-topbar-link--strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.ax-topbar-link--muted {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
}

.ax-topbar-link--muted:hover {
  color: rgba(255, 255, 255, 0.9);
}

.ax-topbar-link i {
  margin-right: 0.25rem;
  opacity: 0.8;
  font-size: 0.66rem;
}

.ax-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--commerce-coral, #E63946), var(--commerce-coral-dark, #c72535));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 6px rgba(230, 57, 70, 0.3);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}

.ax-topbar-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.45);
  filter: brightness(1.05);
}

.ax-topbar-cta i {
  font-size: 0.6rem;
  opacity: 0.95;
}

.ax-topbar-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--commerce-navy, #0A2472);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}

.ax-topbar-pill:hover {
  background: #f8fafc;
  color: var(--commerce-navy, #0A2472);
  transform: translateY(-1px);
}

.ax-topbar i { margin-right: 0; }

.ax-topbar-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 0.1rem;
  flex-shrink: 0;
}

.ax-topbar-welcome {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.72rem;
  white-space: nowrap;
}

.ax-topbar-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--commerce-navy, #0A2472);
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.ax-topbar-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.ax-topbar-logout-form button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.ax-topbar-logout-form button:hover {
  color: #fff;
}

.ax-topbar-logout-form button i {
  margin-right: 0.3rem;
  font-size: 0.72rem;
}

.ax-topbar-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ─── Main header ─── */
.ax-header {
  background: var(--ax-white);
  border-bottom: 1px solid var(--ax-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.ax-header-inner {
  max-width: var(--ax-max);
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.ax-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ax-text);
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}

.ax-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ax-brand), var(--ax-brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.ax-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-logo span { color: var(--ax-brand); }

.ax-search {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--ax-border);
  border-radius: var(--ax-radius);
  overflow: hidden;
  background: #f8fafc;
  min-width: 0;
}

.ax-search select {
  border: none;
  border-right: 1px solid var(--ax-border);
  background: #f1f5f9;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  color: var(--ax-text);
  max-width: 140px;
  cursor: pointer;
}

.ax-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  min-width: 0;
  color: var(--ax-text, #0f172a);
  caret-color: var(--commerce-navy, #0A2472);
  cursor: text;
}

.ax-search input:focus { outline: none; }
.ax-search:focus-within { box-shadow: 0 0 0 3px rgba(10, 36, 114, 0.28); }

.ax-search-btn {
  background: var(--ax-brand);
  color: #fff;
  border: none;
  padding: 0 1.15rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.ax-search-btn:hover { background: var(--ax-brand-dark); }

.ax-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Prominent header pills (dashboard, login) */
.ax-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  line-height: 1.2;
}

.ax-header-pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.ax-header-pill--primary {
  background: linear-gradient(135deg, var(--commerce-navy, #0A2472), #12358a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 36, 114, 0.28);
}

.ax-header-pill--primary:hover {
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 36, 114, 0.35);
}

.ax-header-pill--outline {
  background: #fff;
  border-color: var(--ax-border);
  color: var(--commerce-navy, #0A2472);
}

.ax-header-pill--outline:hover {
  border-color: var(--commerce-navy, #0A2472);
  background: #f8fafc;
  color: var(--commerce-navy, #0A2472);
}

.ax-header-pill--ghost {
  background: #f8fafc;
  border-color: var(--ax-border);
  color: var(--ax-text);
}

.ax-header-pill--ghost:hover {
  background: #fff;
  color: var(--commerce-navy, #0A2472);
}

.ax-action-trigger--compact {
  padding: 0.35rem 0.45rem 0.35rem 0.35rem;
}

.ax-action-trigger--icon {
  padding: 0.35rem;
}

.ax-action-trigger--icon .ax-action-icon {
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
}

.ax-action-menu-item--mobile-only {
  display: none;
}

/* Account + cart action blocks */
.ax-action-dropdown {
  position: relative;
}

.ax-action-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ax-text);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ax-action-trigger:hover,
.ax-action-dropdown.is-open .ax-action-trigger {
  background: #f8fafc;
  border-color: var(--ax-border);
}

.ax-action-trigger--link:hover {
  text-decoration: none;
}

.ax-action-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ax-action-icon--account {
  background: #f8fafc;
  border: 1px solid var(--ax-border);
  color: var(--ax-brand);
}

.ax-action-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

.ax-action-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ax-muted);
  line-height: 1.2;
}

.ax-action-copy strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ax-text);
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.ax-action-chevron {
  font-size: 0.62rem;
  color: var(--ax-muted);
  margin-left: 0.1rem;
  transition: transform 0.15s;
}

.ax-action-dropdown.is-open .ax-action-chevron {
  transform: rotate(180deg);
}

.ax-action-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--ax-border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  padding: 0.4rem;
  z-index: 120;
}

.ax-action-menu a,
.ax-action-menu-signout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ax-text);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.ax-action-menu a:hover,
.ax-action-menu-signout:hover {
  background: #f8fafc;
  color: var(--ax-brand);
}

.ax-action-menu a i,
.ax-action-menu-signout i {
  width: 1rem;
  color: var(--ax-muted);
}

.ax-action-menu-muted {
  color: var(--ax-muted) !important;
  font-weight: 500 !important;
}

.ax-action-menu-divider {
  height: 1px;
  background: var(--ax-border);
  margin: 0.35rem 0.5rem;
}

.ax-action-menu-form {
  margin: 0;
}

.ax-action-menu-signout {
  color: #dc2626 !important;
}

.ax-action-menu-signout:hover {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.ax-cart-block {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ax-text);
  transition: background 0.15s, border-color 0.15s;
}

.ax-cart-block:hover {
  background: #fff5f5;
  border-color: #fecaca;
  color: var(--ax-text);
}

.ax-cart-icon-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 1px solid #fecdd3;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ax-cart-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.45);
  display: none;
  z-index: 2;
}

.ax-cart-badge.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ax-cart-copy strong {
  color: #e11d48;
}

.ax-mobile-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #fff;
  display: none;
}

.ax-mobile-cart-badge.is-visible {
  display: block;
}

.ax-drawer-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

/* Legacy cart badge class (older templates) */
.ax-cart-block .cart-count {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.45);
  display: none;
  z-index: 2;
}

.ax-cart-block .cart-count.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ax-mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ax-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ax-text);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ─── Navigation ─── */
.ax-nav {
  background: var(--ax-white);
  border-bottom: 1px solid var(--ax-border);
}

.ax-nav-inner {
  max-width: var(--ax-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
}

.ax-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ax-brand);
  color: #fff;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  margin: 0.5rem 0.75rem 0.5rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.ax-nav-link {
  padding: 0.85rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ax-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.ax-nav-link:hover,
.ax-nav-link.active {
  color: var(--ax-brand);
  border-bottom-color: var(--ax-brand);
}

.ax-nav-link--dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(10, 36, 114, 0.08), rgba(10, 36, 114, 0.04));
  border: 1px solid rgba(10, 36, 114, 0.12);
  border-bottom: 1px solid rgba(10, 36, 114, 0.12);
  color: var(--commerce-navy, #0A2472);
  font-weight: 800;
}

.ax-nav-link--dashboard i {
  font-size: 0.82rem;
}

.ax-nav-link--dashboard:hover,
.ax-nav-link--dashboard.active {
  background: linear-gradient(135deg, var(--commerce-navy, #0A2472), #12358a);
  color: #fff;
  border-color: transparent;
  border-bottom-color: transparent;
}

/* ─── Mobile drawer ─── */
.ax-mobile-drawer {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--ax-border);
  padding: 0.75rem 1rem 1rem;
}

.ax-mobile-drawer.open { display: block; }

.ax-mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--ax-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.ax-mobile-drawer a:hover { background: var(--ax-purple-soft); }

.ax-drawer-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-muted);
  padding: 0.5rem 0.85rem 0.25rem;
  margin-top: 0.35rem;
}

.ax-drawer-signout {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ax-text);
  cursor: pointer;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 0.25rem;
}

.ax-drawer-signout:hover { background: #fef2f2 !important; color: #dc2626 !important; }

/* ─── Hero 3-column ─── */
.ax-hero-section {
  max-width: var(--ax-max);
  margin: 1rem auto;
  padding: 0 1rem;
}

.ax-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 1rem;
  align-items: stretch;
  min-height: 380px;
}

.ax-cat-sidebar {
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  padding: 0.5rem 0;
  overflow: hidden;
  box-shadow: var(--ax-shadow);
}

.ax-cat-sidebar h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ax-muted);
  padding: 0.65rem 1rem 0.5rem;
  font-weight: 700;
}

.ax-cat-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  color: var(--ax-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ax-cat-list a:hover {
  background: var(--ax-purple-soft);
  color: var(--ax-brand);
}

.ax-cat-list a i {
  width: 18px;
  color: var(--ax-brand);
  opacity: 0.85;
  font-size: 0.9rem;
}

/* Hero slider */
.ax-hero-slider {
  position: relative;
  border-radius: var(--ax-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
  box-shadow: var(--ax-shadow);
  min-height: 380px;
}

.ax-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.ax-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.ax-slide-badge {
  display: inline-block;
  background: var(--ax-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.ax-slide h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.ax-slide p {
  color: #4c1d95;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.ax-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ax-brand);
  color: #fff;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.ax-btn-primary:hover {
  background: var(--ax-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ax-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ax-slide-visual img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(91, 33, 182, 0.25));
}

.ax-slide-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--ax-brand);
}

.ax-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.ax-slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(109, 40, 217, 0.35);
  cursor: pointer;
  padding: 0;
}

.ax-slider-dots button.active {
  background: var(--ax-brand);
  width: 24px;
  border-radius: 999px;
}

/* Promo stack */
.ax-promo-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ax-promo-card {
  flex: 1;
  border-radius: var(--ax-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  box-shadow: var(--ax-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.ax-promo-card:hover { transform: translateY(-2px); }

.ax-promo-card--green {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
}

.ax-promo-card--deal {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
}

.ax-promo-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ax-text);
  margin-bottom: 0.35rem;
}

.ax-promo-card p {
  font-size: 0.78rem;
  color: var(--ax-muted);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.ax-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ax-green);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  width: fit-content;
}

.ax-btn-green:hover { background: var(--ax-green-dark); color: #fff; }

.ax-deal-badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.ax-deal-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.ax-deal-product img,
.ax-deal-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ax-muted);
}

.ax-deal-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ax-brand);
}

.ax-countdown {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--ax-muted);
}

.ax-countdown span {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  color: var(--ax-text);
}

/* ─── Features bar ─── */
.ax-features {
  max-width: var(--ax-max);
  margin: 1.25rem auto;
  padding: 0 1rem;
}

.ax-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--ax-shadow);
}

.ax-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ax-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ax-purple-light);
  color: var(--ax-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ax-feature strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ax-text);
}

.ax-feature span {
  font-size: 0.75rem;
  color: var(--ax-muted);
}

/* ─── Section headers ─── */
.ax-section {
  max-width: var(--ax-max);
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.ax-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ax-section-head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ax-text);
}

.ax-see-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ax-brand);
  text-decoration: none;
}

.ax-see-all:hover { text-decoration: underline; }

/* ─── Category grid ─── */
.ax-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.ax-cat-tile {
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  padding: 1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: var(--ax-text);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--ax-shadow);
}

.ax-cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
  color: var(--ax-brand);
}

.ax-cat-tile-img {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ax-purple-soft), #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--ax-brand);
  overflow: hidden;
}

.ax-cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-cat-tile span {
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
}

/* ─── Main + sidebar layout ─── */
.ax-main-layout {
  max-width: var(--ax-max);
  margin: 0 auto 2rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.25rem;
  align-items: start;
}

.ax-products-panel {
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  padding: 1.25rem;
  box-shadow: var(--ax-shadow);
}

.ax-top-rated {
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  padding: 1.15rem;
  box-shadow: var(--ax-shadow);
  position: sticky;
  top: 1rem;
}

.ax-top-rated h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--ax-border);
}

.ax-rated-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.ax-rated-item:last-child { border-bottom: none; }

.ax-rated-item:hover .ax-rated-title { color: var(--ax-brand); }

.ax-rated-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f8fafc;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ax-muted);
}

.ax-rated-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-rated-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ax-text);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  transition: color 0.15s;
}

.ax-stars {
  color: #f59e0b;
  font-size: 0.65rem;
  margin-bottom: 0.2rem;
}

.ax-rated-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ax-brand);
}

/* Product cards on home — reuse + polish */
.ax-products-panel .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ax-products-panel .product-card {
  background: #fff;
  border: 1px solid var(--ax-border);
  border-radius: var(--ax-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ax-products-panel .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.1);
}

.ax-products-panel .product-image {
  aspect-ratio: 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ax-products-panel .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.ax-products-panel .product-info { padding: 0.85rem; }

.ax-products-panel .product-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ax-text);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.ax-products-panel .product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ax-brand);
  margin-bottom: 0.5rem;
}

.ax-products-panel .btn-add-to-cart {
  width: 100%;
  background: var(--ax-brand);
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.35rem;
}

.ax-products-panel .btn-add-to-cart:hover { background: var(--ax-brand-dark); }

.ax-products-panel .btn-view {
  display: block;
  text-align: center;
  padding: 0.45rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ax-muted);
  text-decoration: none;
}

/* ─── Footer trust strip ─── */
.ax-trust-strip {
  background: var(--ax-white);
  border-top: 1px solid var(--ax-border);
  padding: 1.25rem 1rem;
}

.ax-trust-strip-inner {
  max-width: var(--ax-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ax-trust-strip span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ax-muted);
}

.ax-trust-strip i {
  color: var(--ax-brand);
  margin-right: 0.4rem;
}

/* ─── Footer ─── */
.ax-footer {
  background: var(--ax-topbar);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 1rem 1.5rem;
}

.ax-footer-grid {
  max-width: var(--ax-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.ax-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.ax-footer p,
.ax-footer li {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.ax-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.ax-footer a:hover { color: #fff; }

.ax-footer-bottom {
  max-width: var(--ax-max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp float */
.ax-storefront .whatsapp-float {
  background: var(--ax-green);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .ax-hero-grid { grid-template-columns: 200px 1fr 220px; }
  .ax-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .ax-products-panel .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .ax-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ax-cat-sidebar { display: none; }
  .ax-hero-slider { min-height: 300px; }
  .ax-slide { grid-template-columns: 1fr; padding: 1.5rem; text-align: center; }
  .ax-slide p { margin-left: auto; margin-right: auto; }
  .ax-slide-visual { display: none; }
  .ax-promo-stack { flex-direction: row; }
  .ax-promo-card { flex: 1; }
  .ax-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ax-main-layout { grid-template-columns: 1fr; }
  .ax-top-rated { position: static; }
  .ax-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ax-products-panel .product-grid { grid-template-columns: repeat(2, 1fr); }
  .ax-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .ax-header-inner {
    gap: 0.75rem;
  }

  .ax-header-actions {
    gap: 0.4rem;
  }

  .ax-header-pill--hide-xs {
    display: none;
  }

  .ax-action-copy--hide-sm {
    display: none;
  }

  .ax-action-chevron--hide-sm {
    display: none;
  }

  .ax-nav-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  .ax-nav-inner::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .ax-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .ax-logo {
    font-size: 1.1rem;
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ax-search { display: none; }

  .ax-header-actions {
    gap: 0.5rem;
  }

  /* Declutter the mobile header: the account dropdown and secondary
     (ghost) pills fold into the hamburger drawer. Keep ONE primary
     action — Login for guests, Dashboard when signed in — as an icon. */
  .ax-header-actions .ax-action-dropdown,
  .ax-header-actions .ax-header-pill--ghost {
    display: none;
  }

  .ax-header-actions .ax-header-pill {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .ax-header-pill__label {
    display: none;
  }

  .ax-cart-copy { display: none; }

  .ax-cart-block {
    padding: 0.25rem;
  }

  .ax-cart-block { padding: 0; }

  .ax-cart-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .ax-action-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .ax-action-trigger--compact,
  .ax-action-trigger--icon {
    padding: 0.25rem;
  }

  .ax-action-menu-item--mobile-only {
    display: flex;
  }

  /* Menu button: a filled navy circle to match the coral cart circle */
  .ax-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--commerce-navy, #0A2472), #12358a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 36, 114, 0.28);
  }

  /* Cart icon already carries the count — drop the duplicate on the menu */
  .ax-mobile-cart-badge { display: none !important; }

  .ax-topbar {
    font-size: 0.68rem;
  }

  .ax-topbar-inner {
    padding: 0.2rem 0.85rem;
    min-height: 28px;
    justify-content: center;
  }

  .ax-topbar-left {
    display: none;
  }

  .ax-topbar-right .ax-topbar-link,
  .ax-topbar-right .ax-topbar-pill,
  .ax-topbar-right form,
  .ax-topbar-right .ax-topbar-divider,
  .ax-topbar-welcome {
    display: none;
  }

  .ax-topbar-right .ax-topbar-cta {
    display: inline-flex;
  }

  .ax-topbar-right .ax-topbar-link[href*="/for-sellers"] {
    display: inline;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .ax-nav-inner .ax-nav-link {
    display: none;
  }

  .ax-nav-inner .ax-nav-link--dashboard,
  .ax-browse-btn {
    display: inline-flex;
    flex-shrink: 0;
  }

  .ax-nav-link--dashboard {
    margin-left: 0;
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
  }

  .ax-promo-stack { flex-direction: column; }
  .ax-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ax-features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; padding: 1rem; }
  .ax-feature { gap: 0.6rem; }
  .ax-feature-icon { width: 42px; height: 42px; font-size: 1rem; }
  .ax-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
}

/* ─── Cart page ─── */
.ax-page-wrap {
  max-width: var(--ax-max);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.ax-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ax-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ax-cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}

.ax-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: var(--ax-radius);
  margin-bottom: 0.75rem;
  align-items: center;
  box-shadow: var(--ax-shadow);
}

.ax-cart-thumb {
  width: 80px;
  height: 80px;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ax-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ax-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ax-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.ax-cart-summary {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: var(--ax-radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
  box-shadow: var(--ax-shadow);
}

.ax-checkout-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  background: var(--ax-brand);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 0.75rem;
}

.ax-checkout-btn:hover { background: var(--ax-brand-dark); color: #fff; }

/* ─── Product detail ─── */
.ax-pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.ax-pdp-gallery {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: var(--ax-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ax-shadow);
}

.ax-pdp-gallery img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.ax-pdp-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ax-brand);
}

.ax-pdp-panel {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: var(--ax-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ax-shadow);
}

.ax-tag-pill {
  font-size: 0.72rem;
  background: var(--ax-purple-soft);
  color: var(--ax-brand);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}

.ax-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--ax-white);
  border-radius: var(--ax-radius-lg);
  border: 1px solid var(--ax-border);
  color: var(--ax-muted);
}

.ax-empty i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
  display: block;
}

.ax-empty h3 { margin: 0 0 0.35rem; color: var(--ax-text); }

@media (max-width: 768px) {
  .ax-cart-layout { grid-template-columns: 1fr; }
  .ax-pdp-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   Storefront polish — sticky category nav, branded footer
   attribution, and phone-grade single-column product grids.
   ════════════════════════════════════════════════════════════ */

/* Sticky category nav — keeps browsing within reach (premium feel) */
.ax-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(10, 36, 114, 0.05);
}
/* Keep the header (and its account dropdown) above the sticky nav */
.ax-header {
  position: relative;
  z-index: 210;
}

/* Branded platform attribution under the shop's own copyright */
.ax-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.ax-footer-shopline { margin: 0; }
.ax-footer-platform {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.ax-footer-platform__copy {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.ax-footer-platform__legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
}
.ax-footer-platform__legal a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.15s; }
.ax-footer-platform__legal a:hover { color: #fff; }
.ax-footer-platform__legal span { color: rgba(255, 255, 255, 0.3); }
.ax-footer-platform__brand { margin: 0; }
.ax-footer-platform__brand a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.ax-footer-platform__brand a:hover { color: #fff; }

/* Phones: one product per row across home grids (matches marketplace) */
@media (max-width: 520px) {
  .ax-products-panel .product-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .ax-footer-grid { grid-template-columns: 1fr; }
  .ax-trust-strip-inner { gap: 1rem 1.5rem; }
  .ax-trust-strip span { font-size: 0.78rem; }
}

/* ─── Floating WhatsApp button (FAB) — no longer overlaps content ─── */
.ax-wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 56px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--ax-green, #25d366);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s, box-shadow 0.2s;
}
.ax-wa-float i { font-size: 1.55rem; line-height: 1; }
.ax-wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.ax-wa-float__label { white-space: nowrap; }

/* Phones: collapse to a clean circle so it never sits over text/buttons */
@media (max-width: 640px) {
  .ax-wa-float {
    gap: 0;
    padding: 0;
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .ax-wa-float i { font-size: 1.6rem; }
  .ax-wa-float__label { display: none; }
}

/* Leave room at the page foot so the FAB clears the footer attribution */
body.ax-storefront { scroll-padding-bottom: 90px; }
.ax-footer { padding-bottom: 5rem; }

/* Storefront-wide guard: never allow sideways scroll on phones.
   `clip` (not `hidden`) keeps position:sticky working for the nav/toolbar. */
@media (max-width: 768px) {
  #site-content { overflow-x: clip; }
}
