:root {
  --apx-primary: #0B3D5C;
  --apx-secondary: #1A6B9A;
  --apx-accent: #E8A838;
  --apx-ink: #0d2433;
  --apx-muted: #5a7386;
  --apx-line: rgba(11, 61, 92, 0.1);
  --apx-surface: rgba(255, 255, 255, 0.78);
  --apx-surface-solid: #ffffff;
  --apx-radius: 18px;
  --apx-radius-sm: 12px;
  --apx-shadow: 0 18px 40px rgba(8, 38, 54, 0.1);
  --apx-shadow-soft: 0 8px 24px rgba(8, 38, 54, 0.06);
  --apx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --apx-header-h: 70px;
  --apx-font-display: "Manrope", system-ui, sans-serif;
  --apx-font-body: "Manrope", system-ui, sans-serif;
  --apx-hero-weight: 700;
  --apx-hero-tracking: -0.03em;
  --apx-hero-line: 1.08;
}

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

html { scroll-behavior: smooth; }

body.apx-site {
  margin: 0;
  font-family: var(--apx-font-body);
  color: var(--apx-ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(26, 107, 154, 0.16), transparent 55%),
    radial-gradient(720px 380px at 96% 4%, rgba(232, 168, 56, 0.14), transparent 50%),
    radial-gradient(600px 300px at 50% 100%, rgba(11, 61, 92, 0.05), transparent 60%),
    linear-gradient(180deg, #eef4f8 0%, #f6f9fb 42%, #eef3f7 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

/* ——— Header ——— */
.apx-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--apx-ease), box-shadow 0.3s var(--apx-ease), border-color 0.3s ease;
}

.apx-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--apx-line);
  box-shadow: 0 8px 28px rgba(8, 38, 54, 0.06);
}

.apx-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  min-height: var(--apx-header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apx-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--apx-primary);
  font-family: var(--apx-font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.25s var(--apx-ease);
}
.apx-brand-text {
  white-space: nowrap;
}
.apx-brand:hover { transform: translateY(-1px); color: var(--apx-primary); }
.apx-brand img {
  height: 38px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(11, 61, 92, 0.12);
}
.apx-brand--has-logo img {
  height: auto;
  max-height: 44px;
  max-width: min(180px, 42vw);
  object-fit: contain;
  border-radius: 8px;
}

.apx-nav {
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
}
.apx-nav a {
  color: var(--apx-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.apx-nav a:hover {
  color: var(--apx-primary);
  background: rgba(11, 61, 92, 0.06);
}

.apx-search {
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--apx-line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  min-width: 200px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apx-search:focus-within {
  border-color: rgba(26, 107, 154, 0.45);
  box-shadow: 0 0 0 4px rgba(26, 107, 154, 0.12);
}
.apx-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font: inherit;
  color: var(--apx-ink);
}
.apx-search i { color: var(--apx-muted); }

.apx-header-actions { display: flex; align-items: center; gap: 0.55rem; }
.apx-icon-link,
.apx-cart {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--apx-primary);
  text-decoration: none;
  position: relative;
  font-size: 1.15rem;
  border-radius: 12px;
  background: rgba(11, 61, 92, 0.04);
  transition: background 0.2s ease, transform 0.2s var(--apx-ease);
}
.apx-icon-link:hover,
.apx-cart:hover {
  background: rgba(11, 61, 92, 0.1);
  transform: translateY(-1px);
  color: var(--apx-primary);
}
.apx-cart em,
.apx-wish em {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--apx-accent);
  color: #1a1408;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  min-width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(232, 168, 56, 0.4);
  animation: apxPop 0.35s var(--apx-ease);
}

.apx-nav-toggle {
  border: 0;
  background: rgba(11, 61, 92, 0.06);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.35rem;
  color: var(--apx-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apx-offcanvas {
  background: #fff !important;
  color: #0d2433 !important;
}
.apx-offcanvas .offcanvas-header,
.apx-offcanvas .offcanvas-title,
.apx-offcanvas .offcanvas-body,
.apx-offcanvas .offcanvas-body a,
.apx-offcanvas .form-control {
  color: #0d2433 !important;
  -webkit-text-fill-color: #0d2433 !important;
  opacity: 1 !important;
}
.apx-offcanvas .offcanvas-body a {
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.75rem 0.9rem !important;
  transition: background 0.2s ease;
}
.apx-offcanvas .offcanvas-body a:hover {
  background: rgba(11, 61, 92, 0.06);
  color: #0B3D5C !important;
  -webkit-text-fill-color: #0B3D5C !important;
}

.apx-main { min-height: 55vh; }

.apx-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

/* ——— Hero ——— */
.apx-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--apx-primary) 0%, var(--apx-secondary) 55%, #2a8bb8 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem clamp(3.2rem, 7vw, 5rem);
  isolation: isolate;
}
.apx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 168, 56, 0.28), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.1), transparent 35%);
  pointer-events: none;
  z-index: 0;
}
.apx-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: apxFloat 9s ease-in-out infinite;
  z-index: 0;
}
.apx-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}
.apx-hero h1 {
  font-family: var(--apx-font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.45rem);
  font-weight: var(--apx-hero-weight);
  line-height: var(--apx-hero-line);
  letter-spacing: var(--apx-hero-tracking);
  margin: 0;
  max-width: 16ch;
  animation: apxRise 0.8s var(--apx-ease) both;
}
.apx-hero p {
  max-width: 40ch;
  opacity: 0.92;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  animation: apxRise 0.8s var(--apx-ease) 0.1s both;
}
.apx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  animation: apxRise 0.8s var(--apx-ease) 0.18s both;
}
.apx-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  animation: apxRise 0.7s var(--apx-ease) both;
}

.apx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #dff3f1, #e8f5e9);
  color: #0d6b5c;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.4rem;
}

/* ——— Sections ——— */
.apx-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 2.25rem 0 1.15rem;
}
.apx-section-title h2 {
  font-family: var(--apx-font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0;
  color: var(--apx-primary);
  letter-spacing: -0.02em;
}
.apx-section-title a {
  color: var(--apx-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.apx-section-title a:hover {
  color: var(--apx-primary);
  transform: translateX(3px);
}

/* ——— Catalog grid ——— */
.apx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.05rem;
}

.apx-card {
  background: var(--apx-surface);
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  box-shadow: var(--apx-shadow-soft);
  transition: transform 0.35s var(--apx-ease), box-shadow 0.35s var(--apx-ease), border-color 0.25s ease;
  opacity: 0;
  animation: apxRise 0.55s var(--apx-ease) both;
}
.apx-card:nth-child(1) { animation-delay: 0.04s; }
.apx-card:nth-child(2) { animation-delay: 0.08s; }
.apx-card:nth-child(3) { animation-delay: 0.12s; }
.apx-card:nth-child(4) { animation-delay: 0.16s; }
.apx-card:nth-child(5) { animation-delay: 0.2s; }
.apx-card:nth-child(6) { animation-delay: 0.24s; }
.apx-card:nth-child(7) { animation-delay: 0.28s; }
.apx-card:nth-child(8) { animation-delay: 0.32s; }
.apx-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--apx-shadow);
  border-color: rgba(26, 107, 154, 0.22);
  color: inherit;
}
.apx-card:active { transform: translateY(-2px); }
.apx-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d5e4ee, #e8f0f5);
}
.apx-card img,
.apx-card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--apx-ease);
}
.apx-card:hover img,
.apx-card:hover .apx-card-media img {
  transform: scale(1.06);
}
.apx-card-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.apx-card-body strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.apx-card-body .small {
  margin-top: auto;
  padding-top: 0.35rem;
  font-weight: 600;
  color: var(--apx-secondary) !important;
}
.apx-price {
  color: var(--apx-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ws-wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding: 0.45rem 1.05rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 36, 51, 0.14);
  border-color: color-mix(in srgb, var(--ws-text, #0d2433) 18%, transparent);
  background: #fff;
  background: color-mix(in srgb, var(--ws-surface, #fff) 92%, var(--apx-accent, #e8a838) 8%);
  color: var(--ws-text, var(--apx-ink, #0d2433));
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  text-decoration: none;
}
.ws-wish-btn:hover {
  color: var(--ws-text, var(--apx-ink, #0d2433));
  transform: translateY(-1px);
}
.ws-wish-btn-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 168, 56, 0.18);
  background: color-mix(in srgb, var(--apx-accent, #e8a838) 22%, #fff);
  color: var(--apx-accent, #c47b12);
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.ws-wish-btn.is-saved {
  border-color: rgba(225, 29, 72, 0.35);
}
.ws-wish-btn.is-saved .ws-wish-btn-icon {
  background: #e11d48;
  color: #fff;
}
.ws-wish-link {
  display: inline-flex;
  align-items: center;
  margin: 0.55rem 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ws-link, var(--apx-secondary, #1a6b9a));
}
.ws-wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.ws-wish-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--ws-radius, 16px);
  background: var(--ws-surface, #fff);
  color: var(--ws-text, inherit);
  border: 1px solid color-mix(in srgb, var(--ws-text, #111) 10%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.ws-wish-media {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: calc(var(--ws-radius, 16px) * 0.7);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ws-wish-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ws-wish-card strong {
  display: block;
  color: var(--ws-text, inherit);
}
.ws-wish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  align-items: center;
  margin-top: 0.45rem;
}
.ws-wish-actions .apx-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}
.ws-wish-remove {
  border: 0;
  background: none;
  padding: 0;
  color: #b42318;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.apx-price s {
  color: var(--apx-muted);
  font-weight: 500;
  margin-right: 0.35rem;
  font-size: 0.9em;
}

.apx-chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.apx-chip-row::-webkit-scrollbar { display: none; }
.apx-chip {
  text-decoration: none;
  color: var(--apx-primary);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--apx-line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.apx-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--apx-shadow-soft);
  color: var(--apx-primary);
}
.apx-chip.is-on {
  background: var(--apx-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(11, 61, 92, 0.22);
}

/* ——— Buttons ——— */
.apx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f0b84a, var(--apx-accent));
  color: #1a1408;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 168, 56, 0.28);
  transition: transform 0.25s var(--apx-ease), box-shadow 0.25s ease, filter 0.2s ease;
}
.apx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232, 168, 56, 0.36);
  color: #1a1408;
  filter: brightness(1.03);
}
.apx-btn:active { transform: translateY(0); }
.apx-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: none;
}
.apx-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  filter: none;
}
.apx-btn-ghost {
  background: rgba(11, 61, 92, 0.06);
  color: var(--apx-primary);
  box-shadow: none;
}
.apx-btn-ghost:hover {
  background: rgba(11, 61, 92, 0.12);
  color: var(--apx-primary);
  box-shadow: none;
  filter: none;
}

/* ——— Panels / forms ——— */
.apx-panel {
  background: var(--apx-surface-solid);
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--apx-shadow-soft);
  animation: apxRise 0.55s var(--apx-ease) both;
}
.apx-site .form-control,
.apx-site .form-select {
  border-radius: 12px;
  border-color: var(--apx-line);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apx-site .form-control:focus,
.apx-site .form-select:focus {
  border-color: rgba(26, 107, 154, 0.5);
  box-shadow: 0 0 0 4px rgba(26, 107, 154, 0.12);
}
.apx-site .form-label {
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--apx-ink);
  margin-bottom: 0.35rem;
}
.apx-site .alert {
  border: 0;
  border-radius: var(--apx-radius-sm);
  animation: apxRise 0.4s var(--apx-ease) both;
}

/* ——— Product detail ——— */
.apx-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
  animation: apxRise 0.55s var(--apx-ease) both;
}
.apx-product-media {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.apx-product-hero {
  border-radius: calc(var(--apx-radius) + 4px);
  overflow: hidden;
  background: linear-gradient(145deg, #d5e4ee, #e8f0f5);
  box-shadow: var(--apx-shadow);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.35rem, 2vw, 0.75rem);
  min-height: 0;
}
.apx-product-media--cinema .apx-product-hero {
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 640px);
  padding: 0;
  border-radius: calc(var(--apx-radius) + 8px);
  background: #fff;
  box-shadow:
    0 20px 48px rgba(11, 61, 92, 0.12),
    0 0 0 1px rgba(11, 61, 92, 0.06);
}
.apx-product-hero img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--apx-ease), opacity 0.35s ease;
}
.apx-product-media--cinema .apx-product-hero img {
  filter: none;
}
.apx-product-hero img.is-fading { opacity: 0.35; }
.apx-product-hero:hover img { transform: scale(1.02); }
.apx-product-gallery {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.15rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.apx-product-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid rgba(11, 61, 92, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--apx-ease);
}
.apx-product-thumb:hover { transform: translateY(-2px); }
.apx-product-thumb.is-active {
  border-color: var(--apx-accent);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.32);
}
.apx-product-gallery .apx-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}
.apx-product-info h1 {
  font-family: var(--apx-font-display);
  color: var(--apx-primary);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
}
.apx-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}
.apx-qty {
  max-width: 96px;
  border-radius: 999px !important;
  text-align: center;
}

/* ——— Cart ——— */
.apx-cart-list {
  display: grid;
  gap: 0.85rem;
}
.apx-cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--apx-shadow-soft);
  animation: apxRise 0.45s var(--apx-ease) both;
}
.apx-cart-meta { display: grid; gap: 0.55rem; }
.apx-cart-meta strong { font-size: 1rem; }
.apx-cart-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, rgba(11, 61, 92, 0.06), rgba(26, 107, 154, 0.08));
  border-radius: var(--apx-radius);
  border: 1px solid var(--apx-line);
}
.apx-cart-total strong { font-size: 1.15rem; color: var(--apx-primary); }

.apx-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--apx-line);
  border-radius: var(--apx-radius);
}
.apx-empty i {
  font-size: 2.4rem;
  color: var(--apx-secondary);
  opacity: 0.7;
}

/* ——— Banners ——— */
.apx-banners:not(.tp-swiper-banner) { display: grid; gap: 1rem; margin-bottom: 0.5rem; }
.apx-home-banners {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.apx-banner-mosaic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Top carousel: full banner artwork (no crop) */
.apx-banner-mosaic-row--carousel .apx-banner-slide.has-image {
  min-height: 0;
  border: 0;
  box-shadow: none;
  animation: none;
  background: var(--apx-surface, #f4f7fa);
}

.apx-banner-mosaic-row--carousel .apx-banner-slide.has-image img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain;
  object-position: center;
}
.apx-banner-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .apx-banner-row-split {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  }
}
.apx-banner-tile {
  position: relative;
  display: block;
  border-radius: var(--apx-radius-lg, 14px);
  overflow: hidden;
  border: 1px solid var(--apx-line);
  box-shadow: var(--apx-shadow-soft);
  background: #f4f7fa;
  text-decoration: none;
  color: inherit;
  height: 100%;
  min-height: 160px;
}
.apx-banner-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--apx-ease);
}
.apx-banner-tile:hover img {
  transform: scale(1.02);
}
.apx-banner-tile--feature { min-height: 200px; }
.apx-banner-tile--side { min-height: 160px; }
.apx-banner-tile--strip { min-height: 140px; }
@media (min-width: 768px) {
  .apx-banner-tile--feature { min-height: 220px; }
  .apx-banner-tile--side { min-height: 220px; }
  .apx-banner-tile--strip { min-height: 160px; }
}
.apx-banner-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(8, 38, 54, 0.82));
  color: #fff;
}
.apx-banner-tile-copy strong {
  display: block;
  font-family: var(--apx-font-display);
  font-size: 1.1rem;
  line-height: 1.2;
}
.apx-banner-tile-copy span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}
.apx-banner-tile-cta {
  display: inline-block;
  margin-top: 0.45rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.apx-banner-slide-link {
  display: block;
  line-height: 0;
}
.apx-banner-slide {
  border-radius: var(--apx-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--apx-line);
  box-shadow: var(--apx-shadow-soft);
  animation: apxRise 0.55s var(--apx-ease) both;
  position: relative;
}
.apx-banner-slide img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.apx-banner-slide.is-promo {
  background:
    radial-gradient(420px 180px at 95% 20%, rgba(232, 168, 56, 0.22), transparent 55%),
    linear-gradient(115deg, #0B3D5C 0%, #1A6B9A 55%, #2a8bb8 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 16px 36px rgba(11, 61, 92, 0.22);
}
.apx-banner-copy {
  padding: 1.35rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}
.apx-banner-slide.is-promo .apx-banner-copy {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 42rem;
}
.apx-banner-copy strong {
  font-family: var(--apx-font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--apx-primary);
  line-height: 1.2;
}
.apx-banner-slide.is-promo .apx-banner-copy strong { color: #fff; }
.apx-banner-copy p {
  margin: 0;
  color: var(--apx-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.apx-banner-slide.is-promo .apx-banner-copy p { color: rgba(255, 255, 255, 0.88); }
.apx-banner-copy .apx-btn { margin-top: 0.45rem; }
.apx-banner-slide.has-image .apx-banner-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 38, 54, 0.78));
  color: #fff;
}
.apx-banner-slide.has-image .apx-banner-copy strong,
.apx-banner-slide.has-image .apx-banner-copy p { color: #fff; }

.apx-page-banners {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.apx-page-banner {
  display: block;
  border-radius: var(--apx-radius-lg, 14px);
  overflow: hidden;
  border: 1px solid var(--apx-line);
  box-shadow: var(--apx-shadow-soft);
  background: #f4f7fa;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.apx-page-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.apx-page-banner-copy {
  padding: 0.85rem 1rem 1rem;
  display: grid;
  gap: 0.25rem;
}
.apx-page-banner-copy strong {
  font-family: var(--apx-font-display);
  font-size: 1.05rem;
  color: var(--apx-primary);
}

/* ——— Ads ——— */
.apx-ad-slot { margin: 1.25rem 0; }
.apx-ad-slot-home_top,
.apx-ad-slot-home_bottom {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}
.apx-ad-track {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.apx-ad {
  position: relative;
  display: block;
  border-radius: var(--apx-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--apx-shadow-soft);
  border: 1px solid var(--apx-line);
  background: #0a3550;
  transition: transform 0.35s var(--apx-ease), box-shadow 0.35s var(--apx-ease);
}
.apx-ad:hover {
  transform: translateY(-4px);
  box-shadow: var(--apx-shadow);
  color: inherit;
}
.apx-ad img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 0.55s var(--apx-ease);
}
.apx-ad:hover img { transform: scale(1.04); }
.apx-ad-chip {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  color: var(--apx-primary);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.apx-ad-fallback {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 1.5rem;
  background: linear-gradient(120deg, var(--apx-primary), var(--apx-secondary));
}
.apx-ad-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.apx-ad-popup[hidden] { display: none !important; }
.apx-ad-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 38, 54, 0.55);
  backdrop-filter: blur(4px);
}
.apx-ad-popup-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: apxPop 0.4s var(--apx-ease);
}
.apx-ad-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--apx-primary);
}
.apx-ad-popup-link { display: block; text-decoration: none; color: inherit; }
.apx-ad-popup-link img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.apx-ad-label {
  display: block;
  padding: 0.9rem 1.1rem 1.15rem;
  font-weight: 700;
  color: var(--apx-primary);
}

/* ——— Footer ——— */
.apx-footer {
  margin-top: 2.5rem;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(232, 168, 56, 0.12), transparent 50%),
    linear-gradient(180deg, #0a3550, #072636);
  color: #d7e6ef;
  padding: 3rem 1.25rem 0;
  position: relative;
  overflow: visible;
}
.apx-footer .tp-footer-cine-base--on {
  margin-top: 1.75rem;
  background:
    radial-gradient(ellipse 100% 70% at 50% 100%, rgba(0, 0, 0, 0.45), transparent 60%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}
.apx-footer-inner {
  max-width: 1180px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.apx-footer-inner > div {
  min-width: 0;
}
@media (max-width: 767px) {
  .apx-footer-inner {
    margin-bottom: 1.35rem;
    padding-left: max(0.25rem, env(safe-area-inset-left));
    padding-right: max(0.25rem, env(safe-area-inset-right));
  }
  .apx-footer-brand {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  }
  .apx-footer-inner > div:first-child p,
  .apx-footer-inner > div:first-child .small {
    font-size: 0.7rem;
    line-height: 1.45;
    margin-bottom: 0.35rem !important;
  }
  .apx-footer-inner strong {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }
  .apx-footer a {
    font-size: 0.72rem;
    margin-top: 0.32rem;
    word-break: break-word;
  }
  .apx-social {
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .apx-social a {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}
.apx-footer a {
  display: block;
  color: #b9cedb;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.apx-footer a:hover {
  color: #fff;
  transform: translateX(3px);
}
.apx-footer-brand {
  font-family: var(--apx-font-display);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.apx-social { display: flex; gap: 0.65rem; margin-top: 0.5rem; }
.apx-social a {
  width: 40px;
  height: 40px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  color: var(--apx-accent);
  transition: background 0.2s ease, transform 0.2s ease;
}
.apx-social a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  color: var(--apx-accent);
}
.apx-footer-copy {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}
.apx-footer-copy.tp-footer-cine-copy {
  border-top: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 1.1rem;
}

/* ——— Page hero ——— */
.apx-page-hero {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.5rem;
  background:
    radial-gradient(520px 220px at 90% 0%, rgba(232, 168, 56, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(11, 61, 92, 0.06), transparent);
  border-bottom: 1px solid var(--apx-line);
}
.apx-page-hero h1 {
  font-family: var(--apx-font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--apx-primary);
  margin: 0 0 0.65rem;
  line-height: 1.12;
}
.apx-page-hero-sub {
  margin: 0;
  max-width: 42ch;
  color: var(--apx-muted);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}
.apx-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-top: 1.75rem;
}
.apx-page-body {
  color: var(--apx-ink);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 500;
}
.apx-page-body p { margin: 0 0 1rem; }

/* ——— Story ——— */
.apx-story {
  margin-top: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background:
    radial-gradient(500px 240px at 90% 20%, rgba(232, 168, 56, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(11, 61, 92, 0.04), rgba(255, 255, 255, 0.35));
  border-top: 1px solid var(--apx-line);
  border-bottom: 1px solid var(--apx-line);
}
.apx-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.apx-story-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apx-secondary);
}
.apx-story-copy h2 {
  font-family: var(--apx-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--apx-primary);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.apx-story-lead {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--apx-ink);
  margin: 0 0 0.85rem;
  max-width: 36ch;
}
.apx-story-body {
  color: var(--apx-muted);
  line-height: 1.65;
  max-width: 48ch;
}
.apx-story-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.apx-story-tile {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius);
  padding: 1.1rem 1rem;
  box-shadow: var(--apx-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.3s var(--apx-ease), box-shadow 0.3s ease;
}
.apx-story-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--apx-shadow);
}
.apx-story-tile i {
  font-size: 1.25rem;
  color: var(--apx-secondary);
  margin-bottom: 0.35rem;
}
.apx-story-tile strong { font-size: 0.95rem; color: var(--apx-ink); }
.apx-story-tile span { font-size: 0.8rem; color: var(--apx-muted); font-weight: 600; }

/* ——— Features ——— */
.apx-features { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
.apx-section-title-center {
  justify-content: center;
  text-align: center;
  margin-bottom: 1.5rem;
}
.apx-section-title-center h2 { width: 100%; }
.apx-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.apx-feature {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius);
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow: var(--apx-shadow-soft);
  transition: transform 0.3s var(--apx-ease), box-shadow 0.3s ease;
}
.apx-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--apx-shadow);
}
.apx-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(26, 107, 154, 0.12), rgba(232, 168, 56, 0.16));
  color: var(--apx-primary);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.apx-feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.apx-feature-link:hover {
  color: inherit;
}
.apx-feature-logo {
  display: block;
  height: 52px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.85rem;
}
.apx-feature strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--apx-ink);
}
.apx-feature p {
  margin: 0;
  color: var(--apx-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

/* ——— CTA band ——— */
.apx-cta-band {
  margin: 2rem 0 0;
  padding: clamp(2rem, 5vw, 3rem) 0;
  background:
    radial-gradient(480px 200px at 15% 50%, rgba(232, 168, 56, 0.2), transparent 55%),
    linear-gradient(110deg, var(--apx-primary), var(--apx-secondary));
  color: #fff;
}
.apx-cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0;
  padding-bottom: 0;
}
.apx-cta-band h2 {
  font-family: var(--apx-font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.apx-cta-band p {
  margin: 0;
  opacity: 0.9;
  max-width: 42ch;
}

/* ——— Reveal helpers ——— */
.apx-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--apx-ease), transform 0.6s var(--apx-ease);
}
.apx-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Mobile bottom bar ——— */
.apx-mobile-bar {
  display: none;
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 45;
  width: auto;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--apx-line);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(8, 38, 54, 0.16);
  padding: 0.4rem 0.35rem;
  gap: 0.15rem;
}
.apx-mobile-bar a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  text-decoration: none;
  color: #3d5160;
  -webkit-text-fill-color: #3d5160;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  padding: 0.45rem 0.15rem;
  border-radius: 12px;
  opacity: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.apx-mobile-bar a i {
  font-size: 1.15rem;
  color: inherit;
  -webkit-text-fill-color: inherit;
  opacity: 1;
}
.apx-mobile-bar a:hover,
.apx-mobile-bar a.is-on {
  color: #0B3D5C;
  -webkit-text-fill-color: #0B3D5C;
  background: rgba(11, 61, 92, 0.08);
}

/* ——— Animations ——— */
@keyframes apxRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes apxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes apxPop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .apx-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .apx-product { grid-template-columns: 1fr; }
  .apx-product-media { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  body.apx-site,
  body.ws-site {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }
  html {
    overflow-x: hidden;
  }
  .apx-brand-text { font-size: 1.05rem; }
  .apx-hero { padding: 3rem 1.1rem 3.2rem; }
  .apx-hero h1 { max-width: 12ch; }
  .apx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .apx-card { border-radius: 14px; }
  .apx-card-body { padding: 0.75rem 0.8rem 0.9rem; }
  .apx-card-body strong { font-size: 0.88rem; }
  .apx-mobile-bar {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .apx-brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(42vw, 10rem);
  }
  .apx-header-inner {
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    overflow: hidden;
  }
  .apx-brand {
    flex: 0 0 auto;
    min-width: 40px;
    overflow: hidden;
    font-size: 1.05rem;
  }
  .apx-brand--has-logo img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
  }
  .apx-header-inner:has(.ws-branch-picker) .apx-brand--has-logo .apx-brand-text {
    display: none;
  }
  .apx-header-actions {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
    justify-content: flex-end;
  }
  .ws-branch-picker {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin: 0;
  }
  .ws-branch-picker select {
    width: 100%;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .apx-icon-link,
  .apx-cart,
  .apx-nav-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
  .apx-wrap { padding-bottom: 2rem; }
  .apx-cart-row { grid-template-columns: 1fr; }
  .apx-section-title { align-items: center; }
  .apx-cta-band-inner { flex-direction: column; align-items: flex-start; }
  .apx-story-inner { grid-template-columns: 1fr; }
  .apx-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apx-page-grid { grid-template-columns: 1fr; }
  .apx-header-inner {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    gap: 0.5rem;
  }
  .apx-header-actions .apx-btn span:not(.visually-hidden) {
    display: none;
  }
  .apx-wrap {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .apx-panel .form-control,
  .apx-panel .form-select {
    font-size: 16px;
  }
  #bkSlots .btn {
    min-width: 4.25rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  body.apx-site,
  body.ws-site {
    overflow-x: hidden;
  }
  .apx-grid {
    grid-template-columns: 1fr;
  }
  .apx-feature-grid {
    grid-template-columns: 1fr;
  }
  .apx-hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
  .apx-checkout-grid,
  .apx-cart-layout {
    grid-template-columns: 1fr !important;
  }
  .ws-shop-sidebar .ws-shop-sidebar-block:first-child {
    position: static;
  }
  .apx-mobile-bar {
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
  }
}

.apx-hero-slideshow {
  background: linear-gradient(135deg, var(--apx-primary) 0%, var(--apx-secondary) 55%, #2a8bb8 100%);
}
.apx-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.apx-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.apx-hero-slide.is-active { opacity: 1; }
.apx-hero-slideshow::before,
.apx-hero-slideshow::after { z-index: 1; }
.apx-hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.apx-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.apx-hero-dot.is-active {
  background: #E8A838;
  transform: scale(1.2);
}

.apx-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: #E8A838;
  margin: 0.25rem 0 0.35rem;
  line-height: 1;
}
.apx-stars-sm { font-size: 0.82rem; }
.apx-stars-md { font-size: 1.05rem; margin-bottom: 0.65rem; }
.apx-stars-meta {
  margin-left: 0.35rem;
  color: #5a7386;
  font-size: 0.78rem;
  font-weight: 600;
}
.apx-card .apx-stars-meta { color: var(--apx-muted, inherit); opacity: 1; }

.apx-feedbacks {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(26,107,154,0.08), transparent 60%),
    #f7fafc;
}
.apx-feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.apx-feedback-card {
  background: #fff;
  border: 1px solid rgba(11,61,92,0.08);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 22px rgba(8,38,54,0.05);
}
.apx-feedback-title { display: block; margin: 0.35rem 0 0.25rem; color: #0B3D5C; }
.apx-feedback-card p {
  margin: 0;
  color: #3d5566;
  font-size: 0.92rem;
  line-height: 1.45;
}
.apx-feedback-by {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #5a7386;
  font-weight: 600;
}
.apx-feedback-reply {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(11,61,92,0.12);
  font-size: 0.82rem;
  color: #0B3D5C;
}
.apx-feedback-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(11,61,92,0.08);
  box-shadow: 0 10px 28px rgba(8,38,54,0.06);
}
.apx-feedback-form-title {
  font-family: var(--apx-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.85rem;
  color: #0B3D5C;
}
.apx-rate-input { margin-bottom: 0.75rem; }
.apx-rate-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5a7386;
  margin-bottom: 0.35rem;
}
.apx-rate-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.15rem;
}
.apx-rate-stars input { display: none; }
.apx-rate-stars label {
  cursor: pointer;
  color: #c5d3de;
  font-size: 1.35rem;
  transition: color .15s ease, transform .15s ease;
}
.apx-rate-stars label:hover,
.apx-rate-stars label:hover ~ label,
.apx-rate-stars input:checked ~ label {
  color: #E8A838;
}
.apx-rate-stars label:hover { transform: scale(1.08); }

@media (max-width: 768px) {
  .apx-feedback-grid { grid-template-columns: 1fr; }
}

.apx-social-login { margin-top: 1.25rem; }
.apx-social-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b8798;
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}
.apx-social-divider::before,
.apx-social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(11, 61, 92, 0.12);
}
.apx-social-btns { display: grid; gap: 0.55rem; }
.apx-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(11, 61, 92, 0.14);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  text-decoration: none !important;
  color: #0B3D5C !important;
  font-weight: 700;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.apx-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 61, 92, 0.08);
  border-color: rgba(11, 61, 92, 0.28);
}
.apx-social-btn-google i { color: #ea4335; }
.apx-social-btn-facebook i { color: #1877f2; }
.apx-social-btn.is-setup { opacity: 0.85; }
.apx-social-hint { text-align: center; }
.apx-auth-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.1rem 3.5rem;
}
.apx-auth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 61, 92, 0.1);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: 0 18px 40px rgba(11, 61, 92, 0.08);
  animation: apxRise 0.45s ease both;
  min-width: 0;
  max-width: 100%;
}
.apx-auth-card .alert {
  max-width: 100%;
  overflow-wrap: break-word;
}
.tp-reset-link-wrap {
  max-width: 100%;
  margin-bottom: 0.5rem;
}
.tp-reset-link-wrap a {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.8rem;
  line-height: 1.45;
}
.apx-auth-card h1 {
  font-family: var(--apx-font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  color: var(--apx-primary);
  margin: 0 0 0.35rem;
}
.apx-account-meta {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #35566b;
}
.apx-account-meta i {
  margin-right: 0.45rem;
  color: var(--apx-accent, #E8A838);
}
.apx-account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 160px;
}
.apx-account-name {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--apx-primary);
}

.ws-map-frame {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(11, 61, 92, 0.06);
}
.ws-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ws-store-map-label {
  font-size: 0.95rem;
  color: #5a6570;
}

/* Home product showcase tabs */
.ws-product-showcase {
  padding: 2rem 0 2.5rem;
}
.ws-shop-page .ws-product-showcase--block {
  margin-top: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(11, 61, 92, 0.1);
}
.ws-showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(11, 61, 92, 0.12);
}
.ws-showcase-tab {
  background: none;
  border: 0;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  color: var(--apx-muted, #5a6570);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.ws-showcase-tab:hover {
  color: var(--apx-ink, #0d2433);
}
.ws-showcase-tab.is-on {
  color: var(--apx-ink, #0d2433);
  border-bottom-color: var(--apx-accent, #e8a838);
}
.ws-showcase-panel {
  display: none;
}
.ws-showcase-panel.is-on {
  display: block;
}
.ws-showcase-head h2 {
  font-size: 1.15rem;
}
.ws-product-showcase .ws-showcase-head-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ws-product-showcase .ws-showcase-head {
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.ws-showcase-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
@media (min-width: 1100px) {
  .ws-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  }
}
/* Featured / top / on-sale tabs: horizontal scroll row (all breakpoints) */
.ws-showcase-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.65rem;
  scrollbar-width: thin;
  margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.ws-showcase-rail .ws-shop-card {
  flex: 0 0 clamp(200px, 42vw, 268px);
  scroll-snap-align: start;
  min-width: 0;
  max-width: none;
}
@media (max-width: 480px) {
  .ws-showcase-rail .ws-shop-card {
    flex-basis: min(78vw, 280px);
  }
}
@media (max-width: 640px) {
  .ws-showcase-tabs {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .ws-showcase-tab {
    text-align: left;
    border: 1px solid rgba(11, 61, 92, 0.1);
    border-radius: 8px;
    margin-bottom: 0.35rem;
  }
  .ws-showcase-tab.is-on {
    border-color: var(--apx-primary, #0b3d5c);
    background: rgba(11, 61, 92, 0.04);
  }
}

/* Shop catalog layout */
.ws-shop-page {
  padding-bottom: 2.5rem;
}
.ws-shop-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #5a6570;
  margin-bottom: 1rem;
}
.ws-shop-crumbs a {
  color: inherit;
  text-decoration: none;
}
.ws-shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 991px) {
  .ws-shop-layout {
    grid-template-columns: 1fr;
  }
}
.ws-shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ws-shop-sidebar-block {
  background: #fff;
  border: 1px solid rgba(11, 61, 92, 0.1);
  border-radius: 12px;
  padding: 1rem;
}
.ws-shop-sidebar .ws-shop-sidebar-block:first-child {
  position: sticky;
  top: 5.5rem;
  z-index: 2;
}
.ws-shop-sidebar-title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--apx-accent, #e8a838);
  display: inline-block;
  min-width: 4rem;
}
.ws-filter-group {
  margin-bottom: 1rem;
}
.ws-filter-group:last-of-type {
  margin-bottom: 0.5rem;
}
.ws-filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #2a3f4d;
}
.ws-filter-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ws-filter-check {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
}
.ws-filter-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.ws-filter-check span:first-of-type {
  flex: 1;
}
.ws-filter-more {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--apx-secondary, #1a6b9a);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.25rem;
}
.ws-filter-submit {
  width: 100%;
  margin-top: 0.35rem;
}
.ws-price-range input[type="range"] {
  width: 100%;
  margin: 0.25rem 0;
  accent-color: var(--apx-accent, #e8a838);
}
.ws-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ws-latest-item {
  display: flex;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.ws-latest-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(11, 61, 92, 0.08);
  flex-shrink: 0;
}
.ws-latest-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.ws-latest-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2a3f4d;
}
.ws-shop-price--compact {
  margin-top: 0;
  font-size: 0.78rem;
}
.ws-shop-price--compact .ws-shop-price-amt {
  font-size: 0.95em;
}
.ws-shop-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 70vh;
  overflow: auto;
}
.ws-shop-cat-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.35rem;
  font-size: 0.88rem;
  color: #2a3f4d;
  text-decoration: none;
  border-radius: 6px;
}
.ws-shop-cat-list a:hover,
.ws-shop-cat-list a.is-on {
  background: rgba(11, 61, 92, 0.06);
  color: var(--apx-primary, #0b3d5c);
  font-weight: 600;
}
.ws-shop-cat-count {
  color: #8a96a3;
  font-weight: 400;
}
.ws-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ws-shop-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--apx-primary, #0b3d5c);
}
.ws-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.ws-shop-search-wrap {
  position: relative;
  flex: 1 1 200px;
  min-width: 180px;
}
.ws-shop-filters .form-select {
  width: auto;
  min-width: 140px;
}
.ws-shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.ws-shop-card .ws-shop-name {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--apx-ink, #1a4d7a);
}
.ws-shop-cat {
  font-size: 0.75rem;
  color: var(--apx-muted, #8a96a3);
}
.ws-shop-card-media {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  isolation: isolate;
}
.ws-shop-card-media::after {
  display: none;
}
.ws-shop-card-media-stage {
  display: none;
}
.ws-shop-card .ws-shop-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform 0.55s var(--apx-ease);
}
.ws-shop-card:hover .ws-shop-card-media img {
  transform: scale(1.04);
}
.ws-shop-card.apx-card {
  border-radius: calc(var(--apx-radius) + 3px);
  box-shadow: 0 10px 36px rgba(11, 61, 92, 0.09);
}
.ws-shop-card.apx-card:hover {
  box-shadow: 0 18px 48px rgba(11, 61, 92, 0.14);
}
.ws-shop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 12;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.ws-shop-badge--sale {
  background: #c62828;
  color: #fff;
}

/* Variant dimension pickers (color / storage / size) */
.apx-dim-pick--swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.apx-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--apx-swatch, #ccc);
  border: 1px solid rgba(11, 61, 92, 0.2);
  flex-shrink: 0;
}
.apx-dim-pick.active .apx-swatch-dot {
  box-shadow: 0 0 0 2px var(--apx-accent);
}
.ws-shop-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.15;
  color: var(--apx-ink, #0b3d5c);
  font-weight: 800;
  margin-top: 0.25rem;
}
.ws-shop-price .ws-shop-price-kicker,
.ws-shop-price .ws-shop-price-amt {
  color: inherit;
  font-weight: 800;
}
.ws-shop-price .ws-shop-price-amt {
  font-size: 1.02em;
  letter-spacing: -0.02em;
}
.ws-shop-price .ws-shop-price-was {
  color: var(--apx-muted, #8a96a3) !important;
  font-weight: 500;
  font-size: 0.85em;
  margin-bottom: 0.15rem;
}
.ws-shop-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.apx-search {
  position: relative;
}
.ws-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1200;
  background: #fff;
  border: 1px solid rgba(11, 61, 92, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(11, 61, 92, 0.12);
  max-height: 320px;
  overflow: auto;
}
.ws-search-suggest a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: #2a3f4d;
  border-bottom: 1px solid rgba(11, 61, 92, 0.06);
}
.ws-search-suggest a:hover {
  background: rgba(11, 61, 92, 0.04);
}
.ws-search-suggest img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.ws-search-suggest strong {
  display: block;
  font-size: 0.88rem;
}
.ws-search-suggest span {
  font-size: 0.8rem;
  color: #c62828;
  font-weight: 600;
}

