::selection {
  color: #ffffff;
  background: #3b82f6;
}

:root {
  --primary: #123458;
  --secondary: #171717;
  --bg-secondary: #123458;
  --btn-primary-bg: #e69e08;
  --btn-primary-bg-hover: #f1a40a;
  --btn-secondary-bg: #90a955;
  --secondary-hover: #000000;
  --text-white: #ffffff;
  --skeleton-bg: #d9d9d9;
  --container-bg: #f6f6f6;
  --bg-white: #ffffff;
  --text-black: #000000;
  --text-white: #ffffff;
  --primary-color: #123458;
  --secondary-color: #ffffff;
}

body {
  background-color: #e3e6e6;
}

/* Kill the tiny horizontal overflow (sub-pixel-wide elements spilling a
   fraction past the viewport) that shows a horizontal scrollbar and makes the
   page look "torn" on mobile. `clip` (not `hidden`) is used on purpose: unlike
   `hidden` it does NOT create a scroll container, so the pinned
   `position: sticky` announcement bar keeps sticking to the viewport. */
html,
body {
  overflow-x: clip;
}
.custom-bullet {
  width: 11px !important;
  height: 11px !important;
  border-radius: 9999px !important;
  border: 2px solid #9ca3af !important;
  background: transparent !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.custom-bullet-active {
  background: #000000 !important;
  border-color: #000000 !important;
  transform: scale(1.1);
}

.swiper-pagination {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 25px !important;
}

.glass-effect {
  background: rgba(20, 20, 20, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media screen and (min-width: 769px) {
  .custom-bullet,
  .custom-bullet-active {
    display: none !important;
  }
}

/* ── Shared Cart / Checkout module (.ooulet-cx) inside Atlas ──
   Styling only: Atlas owns a position:fixed header and a white CTA colour, and
   both need compensating for in the shared module. No cart markup or behaviour
   is involved. */

/* Atlas's header is position:fixed — an 80px top bar plus the nav row under it
   on lg+ — and each Atlas section offsets itself for that (e.g. the banner
   swiper's `lg:top-[120px]`). The shared module has no offset of its own, so its
   first card sat under the header. `body` in the selector keeps this ahead of
   cart.css's own `.ooulet-cx .cart-root` padding regardless of load order.
   Below lg the mobile bar is only 56px and the header's own search block
   already pushes past it, so no offset is needed there. */
@media screen and (min-width: 1024px) {
  body .ooulet-cx .cart-root {
    padding-top: 140px;
  }
}

/* "Proceed to checkout" came out white-on-white: the shared module paints its
   primary CTA `background: var(--accent)` (→ --cta-color) with a hard-coded
   white label, and Atlas's --cta-color used to resolve to #ffffff. The colour
   itself is fixed at its source (themes/config/atlas.ts now declares
   `cta: '#e69e08'`), so the only thing left is the label: read the auto-contrast
   --on-cta-color that both buildThemeDefaultsCss and buildBrandingCss emit
   alongside the CTA colour, instead of always white.

   No !important and no hard-coded colour here on purpose — branding must keep
   working: whatever ctaColor a store sets, branding overrides --cta-color and
   --on-cta-color together, so the button recolours and its label stays readable.
   `body` in the selector only wins source order against checkout.css's
   `.ooulet-cx .ck-btn-primary { color: #fff }`. */
body .ooulet-cx .ck-btn-primary,
body .ooulet-cx .ck-btn-primary:hover {
  color: var(--on-cta-color, #fff);
}
