/* =========================================================
   Rater Alo: Night Amber storefront
   Breakpoints: phone < 768 | tablet 768-1023 | desktop >= 1024 | wide >= 1280
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/hind-siliguri-bengali-400-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/hind-siliguri-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/hind-siliguri-bengali-500-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/hind-siliguri-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/hind-siliguri-bengali-600-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/hind-siliguri-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/anek-bangla-bengali-600-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/anek-bangla-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/anek-bangla-bengali-700-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/anek-bangla-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --rl-bg: #F2F4F7;
  --rl-surface: #FFFFFF;
  --rl-soft: #F7F9FC;
  --rl-ink: #121A2A;
  --rl-navy: #0E1B30;
  --rl-navy-2: #172A47;
  --rl-muted: #5A6577;
  --rl-line: #E0E4EB;
  --rl-accent: #E8A02A;
  --rl-accent-hi: #F1B44A;
  --rl-accent-lo: #FBEFD9;
  --rl-wa: #1FA855;
  --rl-on-navy: #E9EDF4;
  --rl-on-navy-dim: #A7B2C4;
  --rl-font: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --rl-display: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
  --rl-r-sm: 6px;
  --rl-r-md: 10px;
  --rl-gutter: 12px;
  --rl-wrap: 1280px;
  --rl-tabbar: 60px;
  --rl-safe-b: env(safe-area-inset-bottom, 0px);
  --rl-safe-l: env(safe-area-inset-left, 0px);
  --rl-safe-r: env(safe-area-inset-right, 0px);
  --rl-shadow: 0 6px 18px rgba(14, 27, 48, .10);

  /* Astra's palette, mapped to ours so cart/checkout/account match. */
  --ast-global-color-0: #0E1B30;
  --ast-global-color-1: #172A47;
  --ast-global-color-2: #121A2A;
  --ast-global-color-3: #3A4558;
  --ast-global-color-4: #F2F4F7;
  --ast-global-color-5: #FFFFFF;
  --ast-global-color-6: #E0E4EB;
  --ast-global-color-7: #121A2A;
  --ast-global-color-8: #121A2A;
}
@media (min-width: 768px) { :root { --rl-gutter: 20px; } }
@media (min-width: 1024px) { :root { --rl-gutter: 24px; --rl-tabbar: 0px; } }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; }
body.rl {
  background: var(--rl-bg);
  color: var(--rl-ink);
  font-family: var(--rl-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(232, 160, 42, .18);
  overflow-x: hidden;
}
body.rl h1, body.rl h2, body.rl h3, body.rl h4, body.rl h5, body.rl h6,
body.rl .entry-title, body.rl .product_title {
  font-family: var(--rl-display);
  color: var(--rl-ink);
  line-height: 1.15;
  font-weight: 700;
}
body.rl a { color: var(--rl-navy); }
body.rl :focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }
.rl-lock, .rl-lock body { overflow: hidden; }
.rl svg.rl-icon { width: 22px; height: 22px; flex: none; display: block; }
.rl-wrap {
  width: 100%;
  max-width: var(--rl-wrap);
  margin-inline: auto;
  padding-left: calc(var(--rl-gutter) + var(--rl-safe-l));
  padding-right: calc(var(--rl-gutter) + var(--rl-safe-r));
}
@media (max-width: 1023.98px) { .rl-only-d { display: none !important; } }
@media (min-width: 1024px) { .rl-only-m { display: none !important; } }

/* Our templates run full width; Astra's container steps aside. */
.rl-canvas .site-content > .ast-container,
.rl-canvas.ast-separate-container .site-content > .ast-container {
  max-width: none; padding: 0; display: block; margin: 0;
}
.rl-canvas #content { padding: 0; }
.rl.ast-separate-container, .rl.ast-plain-container, .rl .site-content { background: var(--rl-bg); }

/* ---------- Buttons ---------- */
.rl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: var(--rl-r-sm);
  background: var(--rl-accent); color: var(--rl-ink) !important;
  font-family: var(--rl-display); font-weight: 700; font-size: 15px; line-height: 1.1;
  text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}
.rl-btn:hover { background: var(--rl-accent-hi); }
.rl-btn:active { transform: translateY(1px); }
.rl-btn svg.rl-icon { width: 18px; height: 18px; }
.rl-btn--navy { background: var(--rl-navy); color: #fff !important; }
.rl-btn--navy:hover { background: var(--rl-navy-2); }
.rl-btn--ghost { background: var(--rl-surface); border-color: var(--rl-line); color: var(--rl-ink) !important; }
.rl-btn--ghost:hover { background: var(--rl-soft); border-color: #C9D0DB; }
.rl-btn--wa { background: var(--rl-wa); color: #fff !important; }
.rl-btn--wa:hover { background: #1A944A; }
.rl-btn--line { background: transparent; border-color: rgba(233, 237, 244, .35); color: var(--rl-on-navy) !important; }
.rl-btn--line:hover { background: rgba(233, 237, 244, .08); }
.rl-iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--rl-r-sm); background: transparent; color: inherit; cursor: pointer;
}
.rl-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px;
  border: 1px solid var(--rl-line); border-radius: 999px; background: var(--rl-surface);
  font-size: 13px; color: var(--rl-ink); text-decoration: none !important; white-space: nowrap;
}
.rl-chip.is-active { border-color: var(--rl-accent); background: var(--rl-accent-lo); }

/* WooCommerce + Astra buttons, re-colored to the accent. */
.rl .woocommerce a.button, .rl .woocommerce button.button, .rl .woocommerce input.button,
.rl .woocommerce #respond input#submit, .rl .woocommerce a.button.alt, .rl .woocommerce button.button.alt,
.rl a.checkout-button, .rl #place_order, .rl .ast-button, .rl .wc-block-components-button:not(.is-link),
.rl .woocommerce-message .button, .rl .wp-element-button {
  background: var(--rl-accent) !important; color: var(--rl-ink) !important; border: 0 !important;
  border-radius: var(--rl-r-sm) !important; font-family: var(--rl-display) !important; font-weight: 700 !important;
}
.rl .woocommerce a.button:hover, .rl .woocommerce button.button:hover, .rl #place_order:hover,
.rl a.checkout-button:hover { background: var(--rl-accent-hi) !important; }

/* Inputs: 16px so iPhone Safari never zooms on focus. */
.rl input[type="text"], .rl input[type="search"], .rl input[type="email"], .rl input[type="tel"],
.rl input[type="number"], .rl input[type="password"], .rl select, .rl textarea {
  font-size: 16px; font-family: var(--rl-font); color: var(--rl-ink);
  border: 1px solid var(--rl-line); border-radius: var(--rl-r-sm); background: var(--rl-surface);
  -webkit-appearance: none; appearance: none;
}
.rl select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6577' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}

/* ---------- Header ---------- */
.rl-header { position: relative; z-index: 50; background: var(--rl-navy); color: var(--rl-on-navy); }
.rl-notice { background: #0A1424; font-size: 13px; color: var(--rl-on-navy-dim); }
.rl-notice__in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
.rl-notice p { margin: 0; text-align: center; line-height: 1.4; }
.rl-notice__phone { display: none; min-height: 32px; align-items: center; gap: 6px; color: var(--rl-accent) !important; text-decoration: none !important; font-weight: 600; white-space: nowrap; }
.rl-notice__phone svg.rl-icon { width: 15px; height: 15px; }
@media (min-width: 768px) {
  .rl-notice__in { justify-content: space-between; }
  .rl-notice p { text-align: left; }
  .rl-notice__phone { display: inline-flex; }
}

.rl-bar__in { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.rl-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; min-width: 0; }
.rl-logo__img { max-height: 44px; width: auto; }
.rl-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rl-r-sm); background: var(--rl-accent); color: var(--rl-navy); flex: none; }
.rl-logo__mark svg.rl-icon { width: 24px; height: 24px; }
.rl-logo__text { display: flex; flex-direction: column; font-family: var(--rl-display); font-weight: 700; font-size: 22px; line-height: 1; white-space: nowrap; }
.rl-logo__text small { margin-top: 4px; font-family: var(--rl-font); font-weight: 400; font-size: 11.5px; color: var(--rl-on-navy-dim); }
.rl-bar .rl-logo { margin-right: auto; }
@media (max-width: 399.98px) { .rl-logo__text small { display: none; } .rl-logo__text { font-size: 20px; } }

.rl-search { position: relative; display: flex; width: 100%; }
.rl-search input[type="search"] {
  flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 52px 0 14px;
  border: 0; border-radius: var(--rl-r-sm); background: #fff; box-shadow: none;
}
.rl-search input::placeholder { color: #8A94A6; }
.rl-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rl-search button {
  position: absolute; right: 3px; top: 3px; bottom: 3px; width: 44px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 5px;
  background: var(--rl-accent); color: var(--rl-navy); cursor: pointer;
}
.rl-search button svg.rl-icon { width: 20px; height: 20px; }
.rl-bar__msearch { padding-bottom: 12px; }

.rl-actions { display: flex; align-items: center; gap: 4px; }
.rl-action {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px;
  border-radius: var(--rl-r-sm); color: var(--rl-on-navy) !important; text-decoration: none !important;
  font-size: 14px; white-space: nowrap;
}
.rl-action:hover { background: rgba(255, 255, 255, .06); }
.rl-action__ico { position: relative; display: inline-flex; }
.rl-cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--rl-accent); color: var(--rl-navy); font: 700 11.5px/1 var(--rl-display);
  box-shadow: 0 0 0 2px var(--rl-navy);
}
.rl-cart-count[data-count="0"] { display: none; }

@media (min-width: 1024px) {
  .rl-bar__in { min-height: 76px; gap: 24px; }
  .rl-bar .rl-logo { margin-right: 0; }
  .rl-bar__search { flex: 1; max-width: 620px; margin-inline: auto; }
  .rl-search input[type="search"] { height: 46px; }
  .rl-logo__mark { width: 42px; height: 42px; }
  .rl-logo__text { font-size: 24px; }
}

/* Category rail (desktop) */
.rl-catnav { background: var(--rl-surface); border-bottom: 1px solid var(--rl-line); }
.rl-catnav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rl-catnav__list::-webkit-scrollbar { display: none; }
.rl-catnav__list > li > a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px;
  color: var(--rl-ink) !important; text-decoration: none !important; font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.rl-catnav__list > li > a:hover { color: var(--rl-navy) !important; border-bottom-color: var(--rl-line); }
.rl-catnav__list > li.current-menu-item > a { border-bottom-color: var(--rl-accent); }
.rl-catnav__all > a { background: var(--rl-accent-lo); border-radius: var(--rl-r-sm) var(--rl-r-sm) 0 0; font-weight: 600 !important; }
.rl-catnav__all svg.rl-icon { width: 18px; height: 18px; }
.rl-catnav .sub-menu { display: none; }

/* Drawer (mobile/tablet) */
.rl-drawer { position: fixed; inset: 0; z-index: 1000; }
.rl-drawer[hidden] { display: none; }
.rl-drawer__scrim { position: absolute; inset: 0; background: rgba(10, 20, 36, .55); opacity: 0; transition: opacity .25s ease; }
.rl-drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px);
  display: flex; flex-direction: column; background: var(--rl-surface);
  padding-left: var(--rl-safe-l); padding-bottom: var(--rl-safe-b);
  transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; overscroll-behavior: contain;
}
.rl-drawer.is-open .rl-drawer__scrim { opacity: 1; }
.rl-drawer.is-open .rl-drawer__panel { transform: none; }
.rl-drawer__head {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 8px 10px 16px; background: var(--rl-navy); color: #fff; z-index: 1;
}
.rl-drawer__head strong { font-family: var(--rl-display); font-size: 18px; }
.rl-drawer__cats, .rl-drawer__links { list-style: none; margin: 0; padding: 6px 0; }
.rl-drawer__cats a, .rl-drawer__links a {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px;
  color: var(--rl-ink) !important; text-decoration: none !important; font-weight: 500;
}
.rl-drawer__cats a:active, .rl-drawer__links a:active { background: var(--rl-soft); }
.rl-drawer__cats li + li { border-top: 1px solid var(--rl-line); }
.rl-drawer__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rl-accent-lo); color: var(--rl-navy); flex: none; }
.rl-drawer__ico svg.rl-icon { width: 20px; height: 20px; }
.rl-drawer__chev { margin-left: auto; color: var(--rl-muted); width: 18px !important; height: 18px !important; }
.rl-drawer__links { margin-top: auto; border-top: 8px solid var(--rl-bg); }
.rl-drawer__links a { min-height: 46px; color: var(--rl-muted) !important; }
.rl-drawer__links svg.rl-icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.rl-hero { padding-top: var(--rl-gutter); }
.rl-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 1024px) {
  .rl-hero__grid { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 16px; }
}
.rl-slider { position: relative; min-width: 0; border-radius: var(--rl-r-md); overflow: hidden; background: var(--rl-navy); }
.rl-slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.rl-slider__track::-webkit-scrollbar { display: none; }
.rl-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  min-height: 210px; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 40%, rgba(232, 160, 42, .22), transparent 55%),
    linear-gradient(135deg, #0E1B30 0%, #172A47 100%);
  color: #fff;
}
@media (min-width: 768px) { .rl-slide { aspect-ratio: 21 / 9; } }
@media (min-width: 1024px) { .rl-slide { aspect-ratio: auto; height: 100%; min-height: 380px; } }
.rl-slide__pic, .rl-slide__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rl-slide--img .rl-slide__copy { background: linear-gradient(90deg, rgba(10, 20, 36, .78) 0%, rgba(10, 20, 36, .35) 60%, transparent 100%); }
.rl-slide__art { position: absolute; right: -4%; bottom: -6%; width: 52%; max-width: 420px; opacity: .95; }
.rl-slide__copy {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
  padding: 20px 46% 34px 20px;
}
.rl-slide__title {
  margin: 0; font-family: var(--rl-display); font-weight: 700; color: #fff;
  font-size: clamp(19px, 5vw, 38px); line-height: 1.12; max-width: 16ch;
}
.rl-slide__text { margin: 0; color: var(--rl-on-navy-dim); font-size: clamp(13px, 2.6vw, 17px); line-height: 1.45; max-width: 36ch; }
.rl-slide__copy .rl-btn { margin-top: 4px; min-height: 40px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 479.98px) {
  .rl-slide__copy { padding: 16px 40% 30px 16px; gap: 8px; }
  .rl-slide__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rl-slide__art { width: 50%; right: -6%; }
}
@media (min-width: 768px) { .rl-slide__copy { padding: 32px 44% 44px 40px; gap: 14px; } .rl-slide__copy .rl-btn { min-height: 46px; padding: 10px 22px; font-size: 16px; } }
@media (min-width: 1024px) { .rl-slide__copy { padding: 40px 44% 52px 48px; } }
.rl-slide__hit { position: absolute; inset: 0; z-index: 1; }

.rl-slider__nav {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0;
  display: none; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--rl-navy); cursor: pointer;
}
.rl-slider__nav--prev { left: 12px; }
.rl-slider__nav--next { right: 12px; }
@media (hover: hover) and (min-width: 768px) { .rl-slider__nav { display: grid; opacity: 0; transition: opacity .2s; } .rl-slider:hover .rl-slider__nav { opacity: 1; } }
.rl-slider__dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.rl-slider__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rl-slider__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .2s, background-color .2s; }
.rl-slider__dots button[aria-selected="true"]::before { width: 20px; background: var(--rl-accent); }

.rl-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 1024px) { .rl-promos { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 16px; } }
.rl-promo {
  position: relative; display: block; overflow: hidden; min-height: 112px;
  border-radius: var(--rl-r-md); background: var(--rl-surface); border: 1px solid var(--rl-line);
  color: var(--rl-ink) !important; text-decoration: none !important;
}
@media (min-width: 768px) { .rl-promo { min-height: 150px; } }
.rl-promo--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rl-promo__art { position: absolute; right: -8px; bottom: -10px; width: 46%; max-width: 150px; }
.rl-promo__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; padding: 14px 44% 14px 14px; height: 100%; }
.rl-promo__copy strong { font-family: var(--rl-display); font-size: 16px; line-height: 1.15; }
.rl-promo__copy > span { font-size: 12.5px; color: var(--rl-muted); line-height: 1.35; }
.rl-promo__copy em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-weight: 600; font-size: 13px; color: var(--rl-navy); }
.rl-promo__copy em svg.rl-icon { width: 15px; height: 15px; }
.rl-promo--img .rl-promo__copy { background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,0)); }
@media (min-width: 768px) { .rl-promo__copy { padding: 20px 44% 20px 20px; } .rl-promo__copy strong { font-size: 20px; } .rl-promo__copy > span { font-size: 14px; } }
@media (max-width: 379.98px) { .rl-promo__copy > span { display: none; } }

/* Line-art illustrations (placeholders for product photos and banners). */
.rl-art { display: block; width: 100%; height: auto; }
.rl-art .f { fill: #E9EDF4; stroke: #0E1B30; stroke-width: 3; }
.rl-art .b { fill: #0E1B30; }
.rl-art .l { fill: #172A47; }
.rl-art .g { fill: #E8A02A; }
.rl-art .hi { fill: #fff; opacity: .85; }
.rl-art .w { fill: none; stroke: #0E1B30; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.rl-art .sh { fill: #0E1B30; opacity: .08; }
.rl-slide .rl-art .f { fill: #22385B; stroke: #3B5680; }
.rl-slide .rl-art .b { fill: #2E4A73; }
.rl-slide .rl-art .l { fill: #0A1424; }
.rl-slide .rl-art .w { stroke: #E8A02A; }
.rl-slide .rl-art .sh { fill: #000814; opacity: .35; }

/* ---------- Sections ---------- */
.rl-sec, .rl-cats, .rl-trust, .rl-help { padding-top: 22px; }
.rl-home { padding-bottom: 32px; }
@media (min-width: 1024px) { .rl-sec, .rl-cats, .rl-trust, .rl-help { padding-top: 34px; } .rl-home { padding-bottom: 48px; } }
.rl-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rl-sec__head h2 { margin: 0; font-size: 19px; position: relative; padding-left: 12px; }
.rl-sec__head h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 4px; background: var(--rl-accent); }
@media (min-width: 768px) { .rl-sec__head h2 { font-size: 23px; } .rl-sec__head { margin-bottom: 16px; } }
.rl-more { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; font-weight: 600; font-size: 14px; color: var(--rl-navy) !important; text-decoration: none !important; white-space: nowrap; }
.rl-more svg.rl-icon { width: 16px; height: 16px; }

/* Category chips */
.rl-cats__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82px; gap: 8px;
  margin: 0 calc(-1 * var(--rl-gutter)); padding: 2px var(--rl-gutter) 6px; list-style: none;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-padding-inline: var(--rl-gutter);
}
.rl-cats__list::-webkit-scrollbar { display: none; }
.rl-cats__list li { scroll-snap-align: start; }
.rl-cats__list a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%;
  padding: 12px 4px 10px; border-radius: var(--rl-r-md); background: var(--rl-surface); border: 1px solid var(--rl-line);
  color: var(--rl-ink) !important; text-decoration: none !important; text-align: center;
}
.rl-cats__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--rl-accent-lo); color: var(--rl-navy); overflow: hidden; }
.rl-cats__ico svg.rl-icon { width: 26px; height: 26px; }
.rl-cats__ico img { width: 100%; height: 100%; object-fit: cover; }
.rl-cats__name { font-size: 12.5px; font-weight: 500; line-height: 1.25; }
@media (min-width: 768px) { .rl-cats__list { grid-auto-columns: 104px; gap: 12px; } .rl-cats__ico { width: 58px; height: 58px; } .rl-cats__name { font-size: 14px; } }
@media (min-width: 1024px) {
  .rl-cats__list { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .rl-cats__list a { transition: border-color .15s, transform .15s; }
  .rl-cats__list a:hover { border-color: var(--rl-accent); transform: translateY(-2px); }
}

/* Trust strip */
.rl-trust__list {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none;
  background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); overflow: hidden;
}
.rl-trust__list li { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 12px; color: var(--rl-muted); line-height: 1.35; }
.rl-trust__list li:nth-child(odd) { border-right: 1px solid var(--rl-line); }
.rl-trust__list li:nth-child(-n+2) { border-bottom: 1px solid var(--rl-line); }
.rl-trust__list strong { display: block; font-family: var(--rl-display); font-size: 14px; color: var(--rl-ink); margin-bottom: 1px; }
.rl-trust__list svg.rl-icon { width: 28px; height: 28px; color: var(--rl-accent); }
@media (min-width: 1024px) {
  .rl-trust__list { grid-template-columns: repeat(4, 1fr); }
  .rl-trust__list li { padding: 18px 20px; font-size: 13.5px; border: 0 !important; }
  .rl-trust__list li + li { border-left: 1px solid var(--rl-line) !important; }
  .rl-trust__list strong { font-size: 16px; }
  .rl-trust__list svg.rl-icon { width: 34px; height: 34px; }
}

/* Product rails: swipe on phone/tablet, grid on desktop */
.rl-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 2.15); gap: 10px;
  margin: 0 calc(-1 * var(--rl-gutter)); padding: 2px var(--rl-gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--rl-gutter);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.rl-rail::-webkit-scrollbar { display: none; }
/* Scrollers are positioning contexts so nothing inside them can widen the page. */
.rl-rail, .rl-cats__list, .rl-slider__track, .rl-catnav__list { position: relative; }
.rl-rail__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 600px) { .rl-rail { grid-auto-columns: calc((100% - 24px) / 3.2); gap: 12px; } }
@media (min-width: 768px) { .rl-rail { grid-auto-columns: calc((100% - 36px) / 3.4); } }
@media (min-width: 1024px) {
  .rl-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .rl-rail__item:nth-child(n+9) { display: none; }
}
@media (min-width: 1280px) {
  .rl-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rl-rail__item:nth-child(n+9) { display: block; }
}

/* ---------- Product tile ---------- */
.rl-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
@media (hover: hover) { .rl-card:hover { box-shadow: var(--rl-shadow); border-color: #D3D9E3; } }
.rl-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--rl-soft); overflow: hidden; }
.rl-card__media img, .rl .rl-card__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; padding: 6%; margin: 0 !important; transition: transform .25s ease; }
@media (hover: hover) { .rl-card:hover .rl-card__media img { transform: scale(1.04); } }
.rl-card__art { position: absolute; inset: 14% 12% 10%; width: 76%; }
.rl-card__badge {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: var(--rl-r-sm);
  background: var(--rl-accent); color: var(--rl-navy); font: 700 12px/1.3 var(--rl-display);
}
.rl-card__flag {
  position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: var(--rl-r-sm);
  background: var(--rl-navy); color: #fff; font: 600 11px/1.3 var(--rl-display);
}
.rl-card__out { position: absolute; inset: auto 0 0 0; padding: 5px; background: rgba(14, 27, 48, .82); color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; }
.rl-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 10px 10px 12px; }
.rl-card__title { margin: 0 !important; font-family: var(--rl-font) !important; font-weight: 500 !important; font-size: 14px !important; line-height: 1.35 !important; min-height: 2.7em; }
.rl-card__title a {
  color: var(--rl-ink) !important; text-decoration: none !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rl-card__price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-family: var(--rl-display); line-height: 1.2; }
.rl-card__price .price, .rl-card__price > .woocommerce-Price-amount, .rl-card__price ins { font-size: 17px; font-weight: 700; color: var(--rl-ink); text-decoration: none; background: none; }
.rl-card__price del { order: 2; font-size: 13px; font-weight: 600; color: #8A94A6; }
.rl-card__price del .woocommerce-Price-amount { color: #8A94A6; }
.rl-card__price ins { order: 1; }
.rl-card__price .screen-reader-text { position: absolute !important; }
.rl-card__cta { width: 100%; min-height: 40px; padding: 8px 10px; font-size: 14px; margin-top: 2px; }
.rl-card__cta svg.rl-icon { width: 17px; height: 17px; }
.rl-card__cta.loading { opacity: .65; pointer-events: none; }
.rl-card__cta.added::after { display: none !important; }
.rl-card .added_to_cart { display: none !important; }
@media (max-width: 379.98px) {
  .rl-card__body { padding: 8px 8px 10px; }
  .rl-card__cta svg.rl-icon { display: none; }
  .rl-card__cta { font-size: 13px; padding: 8px 6px; }
}
@media (min-width: 768px) {
  .rl-card__body { padding: 12px 12px 14px; gap: 8px; }
  .rl-card__title { font-size: 15px !important; }
  .rl-card__price .price, .rl-card__price > .woocommerce-Price-amount, .rl-card__price ins { font-size: 18px; }
  .rl-card__cta { min-height: 42px; }
}

/* ---------- Help / package band ---------- */
.rl-help__box {
  display: grid; gap: 4px; align-items: center; overflow: hidden;
  border-radius: var(--rl-r-md); background: linear-gradient(120deg, #0E1B30, #172A47); color: var(--rl-on-navy);
}
.rl-help__art { width: 120px; margin: 18px auto -4px; }
.rl-help__art .rl-art .f { fill: #22385B; stroke: #3B5680; }
.rl-help__art .rl-art .w { stroke: #E8A02A; }
.rl-help__art .rl-art .sh { fill: #000814; opacity: .35; }
.rl-help__copy { padding: 8px 18px 22px; text-align: center; }
body.rl .rl-help__copy h2 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.rl-help__copy p { margin: 0 auto 16px; color: var(--rl-on-navy-dim); max-width: 56ch; }
.rl-help__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rl-help__ctas .rl-btn { flex: 1 1 200px; max-width: 280px; }
@media (min-width: 768px) {
  .rl-help__box { grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 36px; }
  .rl-help__art { width: 100%; margin: 0; }
  .rl-help__copy { padding: 0; text-align: left; }
  body.rl .rl-help__copy h2 { font-size: 26px; }
  .rl-help__copy p { margin-left: 0; }
  .rl-help__ctas { justify-content: flex-start; }
  .rl-help__ctas .rl-btn { flex: 0 0 auto; }
}

/* ---------- Shop / category / search ---------- */
.rl-shop { padding: 12px 0 36px; }
.rl-crumbs { font-size: 13px; color: var(--rl-muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.rl-crumbs a { color: var(--rl-muted) !important; text-decoration: none !important; }
.rl-crumb-sep { margin: 0 4px; color: #B4BCC9; }
.rl-shop__head h1 { margin: 0 0 4px; font-size: 22px; }
.rl-shop__head .term-description, .rl-shop__head .page-description { color: var(--rl-muted); max-width: 70ch; font-size: 14px; }
.rl-shop__head .term-description p { margin: 0 0 6px; }
@media (min-width: 768px) { .rl-shop { padding-top: 18px; } .rl-shop__head h1 { font-size: 28px; } }
.rl-shop__layout { margin-top: 12px; }
@media (min-width: 1024px) { .rl-shop__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 18px; } }

.rl-filters { background: var(--rl-surface); }
.rl-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 16px; border-bottom: 1px solid var(--rl-line); }
.rl-filters__head strong { font-family: var(--rl-display); font-size: 18px; }
.rl-filters__body { padding: 4px 16px 16px; }
.rl-filter { padding: 14px 0; }
.rl-filter + .rl-filter { border-top: 1px solid var(--rl-line); }
.rl-filter h2 { margin: 0 0 10px; font-size: 15px; }
.rl-filter__cats { list-style: none; margin: 0; padding: 0; }
.rl-filter__cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 8px; margin: 0 -8px;
  border-radius: var(--rl-r-sm); color: var(--rl-ink) !important; text-decoration: none !important; font-size: 14.5px;
}
.rl-filter__cats a:hover { background: var(--rl-soft); }
.rl-filter__cats a svg.rl-icon { width: 16px; height: 16px; }
.rl-filter__cats em { font-style: normal; font-size: 12px; color: var(--rl-muted); background: var(--rl-bg); border-radius: 99px; padding: 1px 8px; }
.rl-filter__cats .is-active a { background: var(--rl-accent-lo); font-weight: 600; }
.rl-price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.rl-price input { width: 100%; height: 42px; margin: 0; padding: 0 10px; }
.rl-price__to { font-size: 13px; color: var(--rl-muted); }
.rl-price .rl-btn { grid-column: 1 / -1; min-height: 40px; }
.rl-price__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rl-filters__clear { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--rl-navy) !important; }

@media (max-width: 1023.98px) {
  .rl-filters {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; max-height: 86vh; max-height: 86dvh;
    display: flex; flex-direction: column; border-radius: 16px 16px 0 0;
    padding-bottom: var(--rl-safe-b); transform: translateY(105%); transition: transform .26s ease; visibility: hidden;
  }
  .rl-filters.is-open { transform: none; visibility: visible; }
  .rl-filters__body { overflow-y: auto; overscroll-behavior: contain; }
  .rl-filters__head { position: relative; }
  .rl-filters__head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--rl-line); }
  .rl-filters__scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 36, .55); }
  .rl-filters__scrim[hidden] { display: none; }
}
@media (min-width: 1024px) {
  .rl-filters { position: sticky; top: 16px; border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); }
  .rl-filters__head .rl-iconbtn { display: none; }
  .rl-filters__head { padding: 14px 16px; }
  .rl-filters__scrim { display: none !important; }
}

.rl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.rl-toolbar__filter { min-height: 42px; padding: 8px 14px; }
.rl-toolbar__filter svg.rl-icon { width: 18px; height: 18px; }
.rl-toolbar__count { flex: 1 1 auto; min-width: 0; font-size: 13.5px; color: var(--rl-muted); }
.rl-toolbar__count .woocommerce-result-count { margin: 0 !important; float: none !important; }
.rl-toolbar__sort { display: flex; gap: 8px; align-items: center; }
.rl-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.rl-toolbar select { height: 42px; margin: 0; padding-left: 12px; min-width: 0; max-width: 100%; }
@media (max-width: 767.98px) {
  .rl-toolbar__count { order: 3; flex-basis: 100%; }
  .rl-toolbar__sort { flex: 1; }
  .rl-toolbar__sort .woocommerce-ordering, .rl-toolbar__sort select { width: 100%; }
}

/* WooCommerce product grids (shop, related, cross-sells) use our tile */
.rl .woocommerce ul.products, .rl ul.products, .rl .woocommerce-page ul.products {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin: 0 0 20px !important; padding: 0 !important; list-style: none;
}
.rl ul.products::before, .rl ul.products::after { display: none !important; content: none !important; }
.rl ul.products li.product, .rl .woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; clear: none !important;
  text-align: left; display: block;
}
@media (min-width: 600px) { .rl ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { .rl ul.products { gap: 16px; } .rl-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .rl-shop ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rl.single-product ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rl .woocommerce-pagination { margin: 8px 0 0; text-align: center; }
.rl .woocommerce-pagination ul.page-numbers { display: inline-flex !important; flex-wrap: wrap; gap: 6px; border: 0 !important; margin: 0; }
.rl .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.rl .woocommerce-pagination .page-numbers a, .rl .woocommerce-pagination .page-numbers span {
  display: grid !important; place-items: center; min-width: 42px; height: 42px; padding: 0 10px !important;
  border: 1px solid var(--rl-line) !important; border-radius: var(--rl-r-sm); background: var(--rl-surface); color: var(--rl-ink) !important;
  font-weight: 600; text-decoration: none !important;
}
.rl .woocommerce-pagination .page-numbers span.current { background: var(--rl-navy) !important; color: #fff !important; border-color: var(--rl-navy) !important; }

.rl-empty { text-align: center; padding: 28px 16px 36px; background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); }
.rl-empty .rl-art { width: 140px; margin: 0 auto 6px; }
.rl-empty h2 { margin: 0 0 6px; font-size: 20px; }
.rl-empty p { margin: 0 auto 16px; color: var(--rl-muted); max-width: 48ch; }
.rl-empty__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Single product ---------- */
.rl.single-product .site-content { padding-top: 12px; }
.rl.single-product div.product .product_title { font-size: 22px; margin-bottom: 8px; }
@media (min-width: 768px) { .rl.single-product div.product .product_title { font-size: 28px; } }
.rl.single-product div.product p.price, .rl.single-product div.product span.price {
  font-family: var(--rl-display); font-weight: 700; font-size: 26px; color: var(--rl-ink) !important;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.rl.single-product div.product p.price del { font-size: 17px; color: #8A94A6; order: 2; }
.rl.single-product div.product p.price ins { text-decoration: none; order: 1; }
.rl.single-product .woocommerce-product-details__short-description { color: var(--rl-muted); }
.rl.single-product form.cart { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 12px !important; }
.rl.single-product form.cart .quantity { margin: 0 !important; }
.rl.single-product form.cart .quantity input.qty { height: 48px; width: 72px; font-size: 16px; }
.rl.single-product form.cart .single_add_to_cart_button { flex: 1 1 160px; min-height: 48px; margin: 0 !important; font-size: 16px !important; }
.rl.single-product form.cart .rl-buy-now { flex: 1 1 160px; min-height: 48px; font-size: 16px; }
.rl.single-product form.variations_form.cart { display: block !important; }
.rl.single-product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.rl-pdp-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.rl-pdp-alt .rl-btn { min-height: 46px; }
@media (max-width: 379.98px) { .rl-pdp-alt { grid-template-columns: 1fr; } }
.rl-pdp-trust { list-style: none; margin: 0 0 16px !important; padding: 12px 14px !important; display: grid; gap: 8px; background: var(--rl-soft); border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); }
.rl-pdp-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0 !important; }
.rl-pdp-trust svg.rl-icon { width: 20px; height: 20px; color: var(--rl-accent); }
.rl.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.rl.single-product .related > h2, .rl.single-product .upsells > h2 { font-size: 20px; margin-bottom: 14px; }
.rl.single-product .woocommerce-product-gallery { background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-r-md); overflow: hidden; }

/* Cart / checkout / account: keep Astra's layout, align the look. */
.rl.woocommerce-cart .site-content, .rl.woocommerce-checkout .site-content, .rl.woocommerce-account .site-content { padding-top: 12px; }
.rl .woocommerce-checkout #payment, .rl .woocommerce-checkout-review-order { border-radius: var(--rl-r-md); }
.rl.woocommerce-checkout .form-row input.input-text, .rl.woocommerce-checkout .form-row textarea, .rl.woocommerce-checkout .select2-container .select2-selection { min-height: 46px; font-size: 16px; }
.rl .select2-container .select2-selection--single { height: 46px; display: flex; align-items: center; border-color: var(--rl-line); border-radius: var(--rl-r-sm); }
.rl #place_order { width: 100%; min-height: 52px; font-size: 18px !important; }
.rl .woocommerce-message, .rl .woocommerce-info, .rl .woocommerce-error { border-radius: var(--rl-r-md); border-top-color: var(--rl-accent); }
.rl .woocommerce-message::before, .rl .woocommerce-info::before { color: var(--rl-accent); }

/* ---------- Footer ---------- */
.rl-footer { margin-top: 0; background: var(--rl-navy); color: var(--rl-on-navy-dim); font-size: 14px; }
.rl-footer__grid { display: grid; gap: 26px; padding-top: 32px; padding-bottom: 26px; }
body.rl .rl-footer h2 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.rl-footer ul { list-style: none; margin: 0; padding: 0; }
.rl-footer li { margin: 0 0 4px; }
.rl-footer a { color: var(--rl-on-navy) !important; text-decoration: none !important; }
.rl-footer a:hover { color: var(--rl-accent) !important; }
.rl-footer__col ul a { display: inline-flex; min-height: 34px; align-items: center; }
.rl-footer__brand p { margin: 12px 0 14px; max-width: 42ch; line-height: 1.6; }
.rl-logo--light .rl-logo__text { font-size: 22px; }
.rl-social { display: flex; gap: 8px; }
.rl-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.rl-social svg.rl-icon { width: 20px; height: 20px; }
.rl-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; line-height: 1.5; }
.rl-footer__contact svg.rl-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--rl-accent); }
.rl-footer__pay { border-top: 1px solid rgba(233, 237, 244, .1); }
.rl-footer__pay-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.rl-footer__pay .rl-chip { background: rgba(255, 255, 255, .06); border-color: rgba(233, 237, 244, .14); color: var(--rl-on-navy); }
.rl-footer__bottom { background: #0A1424; font-size: 13px; }
.rl-footer__bottom p { margin: 0; padding: 14px 0; text-align: center; }
.rl-footer__grid { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.rl-footer__brand, .rl-footer__contact { grid-column: 1 / -1; }
@media (min-width: 600px) { .rl-footer__contact { grid-column: auto; } .rl-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) {
  .rl-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
  .rl-footer__brand { grid-column: auto; }
}

/* ---------- Floating contact buttons ---------- */
.rl-float {
  position: fixed; z-index: 900; display: flex; flex-direction: column; gap: 10px;
  right: calc(12px + var(--rl-safe-r));
  bottom: calc(var(--rl-tabbar) + 14px + var(--rl-safe-b));
}
.rl-float__btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  color: #fff !important; box-shadow: 0 6px 16px rgba(14, 27, 48, .25); transition: transform .15s ease;
}
.rl-float__btn:active { transform: scale(.94); }
.rl-float__btn svg.rl-icon { width: 26px; height: 26px; }
.rl-float__btn--wa { background: var(--rl-wa); }
.rl-float__btn--call { background: var(--rl-navy); }
.rl-float__btn--call svg.rl-icon { width: 22px; height: 22px; }
.rl-float__btn--ms { background: #0A7CFF; }
@media (max-width: 767.98px) { .rl-float { gap: 8px; } .rl-float__btn { width: 46px; height: 46px; } .rl-float__btn svg.rl-icon { width: 24px; height: 24px; } }
@media (min-width: 1024px) { .rl-float { right: 24px; bottom: 24px; } .rl-float__btn { width: 54px; height: 54px; } }
/* Keep floating buttons off checkout so they never cover "Place order". */
.rl.woocommerce-checkout .rl-float { display: none; }

/* ---------- Mobile tab bar ---------- */
.rl-tabbar { display: none; }
@media (max-width: 1023.98px) {
  body.rl { padding-bottom: calc(var(--rl-tabbar) + var(--rl-safe-b)); }
  .rl-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(var(--rl-tabbar) + var(--rl-safe-b)); padding: 0 var(--rl-safe-r) var(--rl-safe-b) var(--rl-safe-l);
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rl-line);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  }
  .rl-tabbar > a, .rl-tabbar > button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: var(--rl-tabbar); padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--rl-muted) !important; text-decoration: none !important; font: 500 11.5px/1 var(--rl-font);
  }
  .rl-tabbar svg.rl-icon { width: 23px; height: 23px; }
  .rl-tabbar .is-active { color: var(--rl-navy) !important; font-weight: 700; }
  .rl-tabbar .is-active svg.rl-icon { color: var(--rl-accent); }
  .rl-tabbar .rl-cart-count { box-shadow: 0 0 0 2px #fff; }
}

/* ---------- Toast ---------- */
.rl-toast {
  position: fixed; left: 50%; z-index: 1100; transform: translate(-50%, 20px); opacity: 0;
  bottom: calc(var(--rl-tabbar) + 16px + var(--rl-safe-b));
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--rl-r-md);
  background: var(--rl-navy); color: #fff; box-shadow: var(--rl-shadow); transition: opacity .2s, transform .2s;
  width: max-content; max-width: calc(100vw - 32px); font-weight: 500;
}
.rl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rl-toast[hidden] { display: none; }
.rl-toast a { color: var(--rl-accent) !important; font-weight: 700; white-space: nowrap; }
@media (min-width: 1024px) { .rl-toast { bottom: 28px; } }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- TranslatePress language switcher: keep clear of the bottom bar and contact buttons ---------- */
.rl .trp-floating-switcher { right: auto !important; left: calc(12px + var(--rl-safe-l)) !important; z-index: 890 !important; }
@media (max-width: 1023.98px) {
  .rl .trp-floating-switcher { bottom: calc(var(--rl-tabbar) + 14px + var(--rl-safe-b)) !important; }
  .rl .trp-floating-switcher, .rl .trp-floating-switcher .trp-language-switcher-inner { border-radius: 8px !important; }
}
@media (min-width: 1024px) { .rl .trp-floating-switcher { left: 24px !important; } }
