:root {
  --logo-scale: 0.5; /* Default scale, adjust this value to control the shrinking size */

  /* New tokens for this page */
  --apw-teal: #18B19C;
  --apw-ink-900: #e7ecf2;
  --apw-ink-700: #a8b0bb;
  --apw-metal: #d7dee7;
  --apw-bg-deep: #0b0e13;
  --apw-panel: rgba(255,255,255,0.08);
  --apw-panel-2: rgba(255,255,255,0.04);
  --apw-ring: rgba(127,212,255,0.6);
  --apw-glass-b: rgba(255,255,255,0.14);
  --apw-glass-sheen: rgba(255,255,255,0.07);
  --apw-radius-lg: 20px;
  --apw-radius-md: 14px;
  --apw-shadow: 0 10px 28px rgba(0,0,0,.28);
  --apw-shadow-lg: 0 16px 42px rgba(0,0,0,.34);
}

/* ===== FULL-BLEED PAGE FIX ===== */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #0b0e13; /* keep your dark base */
  overflow-x: hidden;   /* prevent side scroll */
}

main, .apw-theme, section {
  width: 100vw;           /* full viewport width */
  max-width: 100vw;
  box-sizing: border-box; /* padding doesn't shrink it */
  margin: 0;
  padding: 0;
}

/* ===================== KEEP: LOADING (unchanged) ===================== */
/* ===== SPLASH / LOADING OVERLAY ===== */
#loading{
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 1;
  transition: opacity .6s ease;
}

#loading.hide{
  opacity: 0;
  pointer-events: none;
}

.loading-logo{
  width: 100px;
  will-change: transform;
  /* animation applied dynamically via .fly class */
}

/* spin then fly: we’ll set --fly-x / --fly-y from JS */
.loading-logo.fly{
  animation:
    splashSpin 1.2s ease-in-out 0s 1,
    flyToLogo 0.9s cubic-bezier(.2,.7,.2,1) 1.2s 1 forwards;
}

@keyframes splashSpin{
  from{ transform: translate(0,0) scale(1) rotate(0deg); }
  to  { transform: translate(0,0) scale(1) rotate(360deg); }
}

@keyframes flyToLogo{
  to{ transform: translate(var(--fly-x, 0px), var(--fly-y, -45vh)) scale(var(--logo-scale, .5)); }
}

/* ===== FORCE-CENTER THE LOGO (manual nudge ready) ===== */
:root{
  --logo-nudge-x: 0px; /* tweak this to slide logo left(-) / right(+) */
}

header { position: fixed; left: 0; right: 0; z-index: 2000; }

/* make navbar a positioning context */
.navbar{
  position: relative !important;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 16px;
}

/* hard center: independent of cart/menu widths */
.logo-link{
  position: absolute !important;
  left: 50%;
  transform: translateX(calc(-50% + var(--logo-nudge-x)));
  display: inline-flex;
  align-items: center;
  z-index: 2100;          /* stays above background */
  pointer-events: auto;   /* clickable */
}

/* keep cart on left and clickable */
#header-cart-btn{
  grid-column: 1;
  justify-self: start;
  position: relative;
  width: 36px; height: 36px; display: grid; place-items: center;
  z-index: 2100;
}
#header-cart-btn .cart-icon{ width:22px; height:22px; display:block; }

/* badge: smaller + higher so it doesn't cover icon */
#header-cart-btn .cart-count{
  position: absolute;
  top: -7px; right: -7px;      /* raise & tuck */
  min-width: 14px; height: 14px; line-height: 14px;
  font-size: 10px; padding: 0 4px; border-radius: 999px;
  background: var(--apw-teal,#18B19C); color:#fff; font-weight:700; text-align:center;
  box-shadow: 0 0 0 2px #fff;
}

/* keep hamburger on right and always clickable */
#menu-toggle{
  grid-column: 3;
  justify-self: end;
  position: relative;
  background: none; border: 0; cursor: pointer;
  z-index: 2100;
}

/* menu sheet sits under the header controls, over the page */
:root{ --header-h: 84px; }                 /* adjust if your header is taller */
#nav-menu{
  position: fixed; top: var(--header-h); left: 0; right: 0;
  z-index: 2050;                           /* below cart/menu (2100) */
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
#nav-menu.active{ opacity:1; transform:none; pointer-events:auto; }

/* content offset so header doesn’t cover the top */
.apw-theme{ padding-top: var(--header-h); }


/* ---------- Generic full-bleed sections ---------- */
.section {
  position: relative;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.section.fullscreen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.text-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.title {
  font-size: var(--title-size, 5em);
  margin: 0;
  text-shadow:
    0 0 24px rgba(0,0,0,1),
    0 0 24px rgba(0,0,0,1);
}

.subtitle {
  font-size: var(--subtitle-size, 2.5em);
  margin: 0;
  text-shadow:
    0 0 24px rgba(0,0,0,1),
    0 0 24px rgba(0,0,0,1),
    0 0 24px rgba(0,0,0,1);
}

@media (max-width: 768px) {
  .section.fullscreen { height: 60vh; }
  .title    { font-size: var(--title-size-mobile, 2.5em); }
  .subtitle { font-size: var(--subtitle-size-mobile, 1.5em); }
}

/* ---------- Black divider section ---------- */
.section.black-divider {
  width: 100%;
  height: 43vh;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: #000;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section.black-divider h2 {
  font-size: var(--black-divider-heading-size, 3em);
  font-family: 'Arial', sans-serif;
  color: #fff;
  margin-bottom: 20px;
}

.section.black-divider p {
  font-size: var(--black-divider-paragraph-size, 1.5em);
  font-family: 'Georgia', serif;
  color: #ddd;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .section.black-divider {
    height: 60vh;
    padding: 10px;
  }
  .section.black-divider h2 { font-size: 2em; }
  .section.black-divider p  { font-size: 1em; }
}

/* ===================== HEADER CART: compact rounded + correct badge ===================== */
/* Only styles for the cart; header structure remains yours */
.cart-button{
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.cart-icon-wrapper{
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: box-shadow .2s ease, transform .08s ease, background .2s ease;
}

.cart-icon-wrapper:hover{
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.cart-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Badge stays pinned to the icon wrapper (not the viewport) */
.cart-count{
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--apw-teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff; /* white ring to separate from background */
}

/* Small screens: keep cart tappable but not huge */
@media (max-width: 480px){
  .cart-icon-wrapper{ width: 34px; height: 34px; }
  .cart-icon{ width: 20px; height: 20px; }
  .cart-count{ top: -3px; right: -3px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; }
}

/* ===================== AP CUSTOM WATCHES – THEME WRAPPER ===================== */
.apw-theme{
  position: relative;
  background:
    radial-gradient(1200px 800px at 70% -10%, #15202b 0%, transparent 50%),
    radial-gradient(900px 700px at -10% 100%, #10151c 0%, transparent 55%),
    linear-gradient(180deg, #0a0d12, #0c1016 40%, #0a0d12);
  color: var(--apw-ink-900);
  padding-top: 84px; /* breathing room under fixed header */
}

/* ===================== PRODUCT GRID – LUX LIQUID GLASS ===================== */
.other-products{
  background: transparent;
  padding: clamp(28px, 5vw, 64px) 16px;
}

.other-products > h2{
  margin: 0 auto clamp(12px, 2.2vw, 18px);
  max-width: 1200px;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  background: linear-gradient(90deg, var(--apw-ink-900), var(--apw-metal));
  -webkit-background-clip:text; background-clip:text; color: transparent;
  text-shadow: 0 6px 28px rgba(127,212,255,.12);
}

.product-card-container{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: clamp(14px, 2.6vw, 24px);
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px){
  .product-card-container{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px){
  .product-card-container{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .product-card-container{ grid-template-columns: 1fr; }
}

.product-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
  border: 1px solid var(--apw-glass-b);
  border-radius: var(--apw-radius-lg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--apw-shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .2s ease;
}

.product-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--apw-shadow-lg);
  border-color: rgba(255,255,255,0.22);
  filter: saturate(105%);
}

/* product image */
.product-image-link{ display:block; }
.product-image{
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display:block;
  background: radial-gradient(100% 60% at 50% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
}

/* badges */
.badges{
  display:flex; flex-wrap:wrap; gap:6px;
  padding: 10px 14px 0 14px;
}
.badge{
  font-size: 12px;
  color: #0d1116;
  background: linear-gradient(180deg, #f4f8fb, #e9eef5);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 5px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

/* title + price */
.product-title{
  margin: 10px 14px 4px;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}
.product-title a{ color: var(--apw-ink-900); text-decoration: none; }
.product-title a:hover{ text-decoration: underline; }

.product-price{
  margin: 0 14px 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--apw-metal);
}

/* actions */
.product-actions{
  display:flex; gap:10px; align-items:center;
  padding: 0 14px 14px;
}

.view-details-btn,
.add-to-cart-btn,
.buy-now-btn{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .25s ease, filter .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

/* primary (add), secondary (buy), tertiary (view) — adjust per your JS hooks */
.add-to-cart-btn{
  color: #061018;
  background: linear-gradient(180deg, #9fe1ff, #6ecbff 60%, #5fbff3);
  box-shadow: 0 10px 24px rgba(83,183,255,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.add-to-cart-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(83,183,255,.45), inset 0 1px 0 rgba(255,255,255,.55);
  filter: saturate(110%);
}

.buy-now-btn{
  background: linear-gradient(180deg, #ffffff, #eceff4);
  color: #0d1116;
  box-shadow: 0 8px 18px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6);
}
.buy-now-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.7);
}

.view-details-btn{
  background: transparent;
  color: var(--apw-ink-900);
  border-color: rgba(255,255,255,0.25);
}
.view-details-btn:hover{
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* ===================== PRODUCT MODAL ===================== */
.modal-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
  display: none;
}
.modal-overlay[aria-hidden="false"]{ display:block; }

.modal{
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 680px);
  max-height: 86vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
  border: 1px solid var(--apw-glass-b);
  border-radius: var(--apw-radius-lg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--apw-shadow-lg);
  z-index: 1000;
}
.modal[hidden]{ display:none !important; }

.cart-modal-header,
.modal .modal-content{
  padding: 16px;
  color: var(--apw-ink-900);
}

.cart-modal-header{
  display:flex; align-items:center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.close-btn{
  background: transparent; border: 0; color: var(--apw-ink-900);
  font-size: 26px; line-height: 1; cursor: pointer;
}

.cart-modal-content{
  padding: 16px;
  max-height: 48vh;
  overflow: auto;
  color: var(--apw-ink-700);
}

.cart-modal-footer{
  padding: 14px 16px 18px;
  display:flex; gap: 12px; align-items:center; justify-content:flex-end;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: var(--apw-ink-900);
}
.cart-subtotal-text{ opacity:.9; }
.cart-subtotal-amount{ font-weight: 800; margin: 0 10px; }

.checkout-btn{
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  color: #061018;
  background: linear-gradient(180deg, #9fe1ff, #6ecbff 60%, #5fbff3);
  box-shadow: 0 10px 24px rgba(83,183,255,.28), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .12s ease, box-shadow .25s ease, filter .25s ease;
}
.checkout-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(83,183,255,.45), inset 0 1px 0 rgba(255,255,255,.55);
  filter: saturate(110%);
}

/* ===================== CUSTOMIZATION INFO ===================== */
.custom-watch-info{
  max-width: 1200px;
  margin: clamp(24px, 5vw, 64px) auto;
  padding: clamp(16px, 3.5vw, 36px);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(16px, 3.5vw, 28px);
  align-items: center;
  background: linear-gradient(180deg, var(--apw-panel), var(--apw-panel-2));
  border: 1px solid var(--apw-glass-b);
  border-radius: var(--apw-radius-lg);
  box-shadow: var(--apw-shadow);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  position: relative;
  overflow: hidden;
}
.custom-watch-info::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, var(--apw-glass-sheen), transparent 40%, rgba(255,255,255,0.04) 60%, transparent 85%),
    radial-gradient(600px 220px at 12% -15%, rgba(127,212,255,0.10), transparent 60%);
  pointer-events:none; mix-blend-mode: screen;
}

.custom-watch-img{
  width:100%; height:auto; border-radius: calc(var(--apw-radius-lg) - 8px);
  border: 1px solid rgba(255,255,255,0.22);
  background: radial-gradient(100% 80% at 50% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,0.18);
}

.custom-watch-content h2{
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.2rem + .9vw, 1.9rem);
  background: linear-gradient(90deg, var(--apw-ink-900), var(--apw-metal));
  -webkit-background-clip:text; background-clip:text; color: transparent;
}
.custom-watch-content p{ color: var(--apw-ink-700); margin:.35rem 0; }
.custom-watch-content ul{
  margin:.5rem 0 0; padding-left: 1.1rem; color: var(--apw-ink-900);
}
.custom-watch-content .learn-more-btn{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:12px; padding:10px 16px; border-radius:999px;
  text-decoration:none; border:1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, #9fe1ff, #6ecbff 60%, #5fbff3);
  color:#061018; font-weight:700;
  box-shadow: 0 10px 24px rgba(83,183,255,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

@media (max-width: 860px){
  .custom-watch-info{ grid-template-columns: 1fr; }
}

/* ===================== CONTACT FORM ===================== */
.contact-form-section{
  position: relative;
  margin: clamp(20px, 4vw, 56px) auto;
  padding: clamp(16px, 3.5vw, 40px);
  max-width: 820px;
  border-radius: var(--apw-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  box-shadow: var(--apw-shadow);
  border: 1px solid var(--apw-glass-b);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  overflow: hidden;
}
.contact-form-section::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, var(--apw-glass-sheen), transparent 40%, rgba(255,255,255,0.04) 60%, transparent 85%),
    radial-gradient(600px 220px at 10% -10%, rgba(127,212,255,0.10), transparent 60%);
  pointer-events:none; mix-blend-mode: screen;
}
.contact-form-section::after{
  content:"";
  position:absolute; inset:1px;
  border-radius: calc(var(--apw-radius-lg) - 1px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 24px 48px rgba(0,0,0,.35);
  pointer-events:none;
}

.contact-form-header{
  display:flex; align-items:flex-start; gap:14px; margin-bottom: 18px;
}
.contact-form-icon{
  width:56px; height:56px; object-fit:contain;
  filter: drop-shadow(0 4px 12px rgba(127,212,255,.3));
  border-radius: 12px;
}
.contact-form-header h2{
  margin:0 0 6px 0; font-weight: 700;
  font-size: clamp(1.15rem, 1.2rem + .8vw, 1.8rem);
  background: linear-gradient(90deg, var(--apw-ink-900), var(--apw-metal));
  -webkit-background-clip:text; background-clip:text; color: transparent;
}
.contact-form-header p{ margin:0; color: var(--apw-ink-700); }

/* Form grid */
#custom-watch-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px clamp(14px, 3vw, 24px);
  margin-top: 14px;
}
.form-group{ display:flex; flex-direction:column; gap:8px; }
.form-group:nth-child(3),
.form-group:nth-child(4){ grid-column: 1 / -1; }

label{
  font-size:.9rem; color: var(--apw-metal); letter-spacing:.2px;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  appearance:none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--apw-radius-md);
  padding: 14px 14px;
  color: var(--apw-ink-900);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 18px rgba(0,0,0,.28);
  transition: border-color .25s ease, box-shadow .25s ease, transform .08s ease;
}
textarea{ min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder{ color: #95a2b2; opacity:.85; }

input:hover, textarea:hover{
  border-color: rgba(127,212,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 22px rgba(0,0,0,.34), 0 0 0 1px rgba(127,212,255,.18) inset;
}
input:focus, textarea:focus{
  outline:none; border-color: var(--apw-ring);
  box-shadow: 0 0 0 2px rgba(127,212,255,.28), 0 12px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

/* Submit */
.submit-btn{
  grid-column: 1 / -1; justify-self: start;
  border: 0; border-radius: 999px; padding: 12px 22px;
  font-weight: 700; letter-spacing:.3px; cursor: pointer;
  color: #061018;
  background: linear-gradient(180deg, #9fe1ff, #6ecbff 60%, #5fbff3);
  box-shadow: 0 10px 28px rgba(83,183,255,.35), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .12s ease, box-shadow .25s ease, filter .25s ease;
}
.submit-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(83,183,255,.45), inset 0 1px 0 rgba(255,255,255,.55);
  filter: saturate(110%);
}

#form-status{
  grid-column: 1 / -1; margin-top: -6px; font-size:.95rem; color: var(--apw-ink-700);
}

/* Honeypot */
.hidden-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Responsive form stack */
@media (max-width: 720px){
  #custom-watch-form{ grid-template-columns: 1fr; }
  .contact-form-icon{ width:48px; height:48px; }
}

/* ===================== ACCESSIBILITY / REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce){
  .apw-theme *{ transition: none !important; animation: none !important; }
}

/* ====================== CART MODAL ====================== */

/* Prevent background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Modal Overlay (hidden by default; doesn't steal clicks) */
#cart-modal-overlay.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1050;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
#cart-modal-overlay.modal-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

/* Hidden by default */
#cart-modal { right:-100%; }
#cart-modal.modal { right:-100%; }          /* if you keep the class */

/* Visible when active */
#cart-modal.active { right:0; }
#cart-modal.modal.active { right:0; }


/* ====================== CART (OVERLAY + SIDE DRAWER) ====================== */

/* Prevent background scroll when cart is open */
body.modal-open { overflow: hidden; }

/* Overlay: hidden by default; clickable when active */
#cart-modal-overlay.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 2150;                           /* below cart (2200), above page */
  transition: opacity .3s ease, visibility 0s linear .3s;
}
#cart-modal-overlay.modal-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .3s ease;
}

/* ---------- Side Cart Drawer ---------- */
/* Requires: <div id="cart-modal" class="side-cart"> */
:root { --header-h: 84px; }                /* match your header height */

.side-cart {
  position: fixed;
  top: var(--header-h, 84px);
  right: -100%;
  height: calc(100vh - var(--header-h, 84px));
  width: min(420px, 92vw);                 /* default width on tablets/desktop */
  background: #fff;
  color: #0d1116;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 40px rgba(0,0,0,.35);
  border-left: 1px solid #e5e7eb;
  transition: right .3s ease;
}
.side-cart.active { right: 0; }

/* ~1/3 screen on wide displays */
@media (min-width: 1100px) {
  .side-cart { width: 33.333vw; max-width: 560px; }
}

/* Fullscreen on small phones */
@media (max-width: 600px) {
  .side-cart {
    top: 0;
    height: 100vh;
    width: 100vw;
  }
}

/* ---------- Header / Content / Footer ---------- */
.side-cart .cart-modal-header,
.side-cart .cart-modal-content,
.side-cart .cart-modal-footer {
  padding: 20px;
}

.side-cart .cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}
.side-cart .cart-modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}
.side-cart #cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  color: #111827;
  line-height: 1;
}

/* Scrollable items area */
.side-cart .cart-modal-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #374151;
}

/* Footer with subtotal + checkout */
.side-cart .cart-modal-footer {
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.side-cart .cart-subtotal-text {
  font-size: 1rem;
  font-weight: 700;
  color: #6b7280;
}
.side-cart .cart-subtotal-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #374151;
  margin-left: 8px;
}
.side-cart .checkout-btn {
  margin-left: auto;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .25s ease, background-color .2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  max-width: 50%;
}
.side-cart .checkout-btn:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

/* ---------- Cart Item Rows ---------- */
.side-cart .cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}
.side-cart .cart-item:last-child { border-bottom: none; }

.side-cart .cart-item-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.side-cart .cart-item-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0; /* enable ellipsis */
}

.side-cart .cart-item-name {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-cart .cart-item-quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  padding: 6px;
  border-radius: 8px;
  height: 36px;
  background: #fff;
}
.side-cart .quantity-btn {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
}
.side-cart .quantity-value {
  width: 28px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.side-cart .cart-item-price {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.side-cart .remove-item-btn {
  font-size: .85rem;
  font-weight: 800;
  color: #111827;
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  align-self: center;
  height: 36px;
  display: flex;
  align-items: center;
}

/* Optional: terms checkbox row (if you use it) */
.side-cart .terms-checkbox-container {
  margin: 10px 0;
  font-size: 14px;
  align-self: flex-start;
}
.side-cart .terms-checkbox-container input[type="checkbox"] { margin-right: 6px; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 600px) {
  .side-cart .cart-item { flex-wrap: wrap; justify-content: flex-start; }
  .side-cart .cart-item-thumbnail {
    width: 64px; height: 64px; margin-bottom: 8px;
  }
  .side-cart .cart-item-name { font-size: .95rem; }
  .side-cart .cart-item-price { font-size: .95rem; margin-top: 4px; }
  .side-cart .cart-item-quantity { margin-top: 8px; }
  .side-cart .checkout-btn { max-width: 100%; }
  .side-cart .cart-modal-footer { flex-wrap: wrap; gap: 10px; }
}

/* ===================== LUXE ICE-BLUE LINK SYSTEM ===================== */

/* Base link style (default state) */
a, 
.link {
  color: #67C1FF; /* icy blue */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Hover & focus states */
a:hover,
a:focus,
.link:hover,
.link:focus {
  color: #F4E5C2; /* champagne glow */
  text-shadow: 0 0 6px rgba(244, 229, 194, 0.4);
}

/* Visited state stays consistent (no purple) */
a:visited {
  color: #67C1FF;
}

/* Footer-specific hover to make it feel illuminated */
.site-footer a:hover {
  color: #F4E5C2;
  text-shadow: 0 0 6px rgba(244, 229, 194, 0.35);
}

/* Optional: make link buttons or CTAs pop */
.button-link {
  display: inline-block;
  padding: 8px 14px;
  color: #0b0e13;
  background: linear-gradient(135deg, #67C1FF, #1A5F8E);
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.button-link:hover {
  background: linear-gradient(135deg, #F4E5C2, #C2A671);
  color: #0b0e13;
  box-shadow: 0 4px 20px rgba(244, 229, 194, 0.35);
}


/* Footer Styles */
.site-footer {
    background-color: #414141; /* Dark grey background */
    color: #fff; /* White text */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative; /* To ensure footer-bottom can align correctly */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Navigation, Social Media, and Info */
.footer-nav,
.footer-social,
.footer-info {
    flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
    min-width: 200px;
}

.footer-nav h3,
.footer-social h3,
.footer-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-social ul li a {
    color: #ccc; /* Light grey links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
    color: #C2A671; /* Green hover color */
}

/* Footer Info Section */
.footer-info {
    font-size: 0.9rem;
    color: #ccc; /* Light grey text */
    line-height: 1.6; /* Better readability */
}

.footer-info p {
    margin: 10px 0; /* Add spacing between lines */
}

.footer-info a {
    color: #C2A671; /* Replace with your brand's specific green color code */
    text-decoration: none; /* Optional: removes underline from the link */
}

.footer-info a:hover {
    color: #C2A671; /* Darker green for hover, adjust as needed */
    text-decoration: underline; /* Optional: adds underline on hover for better usability */
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb; /* Lighter grey for bottom text */
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem; /* Slightly larger for clarity */
    font-weight: bold; /* Make Reel Free stand out */
    color: #fff;
}

.footer-brand {
    font-weight: 700; /* Bold */
    color: #fff;
}

.footer-year {
    font-weight: 500; /* Medium */
    color: #ccc;
}

.footer-rights {
    font-weight: 300; /* Light */
    color: #bbb;
}

.footer-divider {
    margin: 0 0.3rem;
    color: #999;
}

/* Media Query for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
        text-align: center;
    }

    .footer-nav,
    .footer-social,
    .footer-info {
        flex: 1 1 100%; /* Each section takes full width */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .footer-bottom {
        margin-top: 20px; /* Adjust margin for smaller screens */
    }
}

/* ===========================
   Footer Chatbot Launcher
   =========================== */

   .footer-chat {
    /* mobile: flows under contact email */
    margin-top: 14px;
  }
  
  .rf-chatnote {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9fd8cf; /* subtle teal tint under dark footer */
  }
  
  /* The pill button with two words: Help • Chat */
  .rf-chatbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    background: #18B19C;         /* brand teal */
    color: #0c2b27;               /* ink on teal */
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .rf-chatbtn:hover { transform: translateY(-1px); }
  .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
  .rf-chatbtn:focus-visible { outline: 3px solid #67C1FF; outline-offset: 2px; }
  
  .rf-chatbtn-help { opacity: 0.95; }
  .rf-chatbtn-dot  { opacity: 0.75; }
  .rf-chatbtn-chat {
    background: #ffffff;
    color: #09443c;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 800;
  }
  
  /* Desktop positioning: attach to bottom-right corner of the footer */
  @media (min-width: 768px) {
    .site-footer {
      position: relative; /* already present, ensures absolute positioning is relative */
    }
    .footer-chat {
      position: absolute;
      right: 18px;
      bottom: 18px;
      margin-top: 0; /* override mobile spacing */
      text-align: right;
    }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rf-chatbtn { transition: none !important; }
  }
  