/* =========================
   ROOT VARIABLES
========================= */
:root {
  --tenant-primary:   #0c0c0c;
  --tenant-secondary: #ffffff;
  --tenant-tertiary:  #f5f5f5;
  --footer-bg:        #0c0c0c;
  --nav-bg:           #1a1a1a;

  --bg-color:    #ffffff;
  --border-color:#e6e6e6;
  --muted-color: #777777;

  --accent:             #2a6be0; /* fallback — Okie blue */
  --section-hero-bg:    #111;
  --section-light-bg:   #f8f6f1;
  --section-dark-bg:    #111;
  --section-cta-bg:     #1a1a2e;
  --section-action-bg:  #6c81e6;
  --btn-color:          var(--accent);
  --btn-text:           #ffffff;
  --header-title-color: var(--tenant-secondary);
  --products-bg:        var(--tenant-tertiary);
  --grid-header-bg:     var(--tenant-tertiary);
  --grid-header-color:  var(--tenant-secondary);
  --logo-fill:          currentColor;
  --tagline-color:      var(--tenant-secondary);
  --description-color: var(--tenant-secondary);
  --funds-text-color:    var(--tenant-secondary);
  --progress-fill-color:  var(--tenant-primary);
  --progress-label-color: var(--tenant-secondary);
  --poweredby:   10px;

  --header-height:       70px;
  --announcement-height: 40px;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  /* `overflow-x: hidden` on html/body breaks `position: sticky` for
     descendants in Safari (it makes body a scroll container, and sticky
     children stick to that container instead of the viewport).
     `overflow-x: clip` prevents horizontal scroll the same way without
     creating a scroll container. */
  overflow-x: clip;
}

body {
  background-color: var(--products-bg);
  padding-top: var(--header-height); /* matches header height */
  margin: 0;
  /* Falls back to the normal stack when a tenant hasn't uploaded a custom
     font — --tenant-font-family is only ever defined (in header.php) when
     one has. */
  font-family: var(--tenant-font-family, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  letter-spacing: var(--tenant-letter-spacing, normal);
  color: var(--body-text-color, #111);
  scroll-behavior: smooth;
}

/* Browsers give form controls their own platform font instead of inheriting
   from body — without this, --tenant-font-family/--tenant-letter-spacing
   would skip every button, input, select, and textarea on the site. */
button, input, select, textarea {
  font-family: inherit;
  letter-spacing: inherit;
}

/* Sticky footer — flex lives here, NOT on body (body has fixed-pos siblings that break it) */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header-height));
}

.main-content {
  flex: 1 0 auto;
}

/* Announcement bar shifts header down */
body.has-announcement { padding-top: calc(var(--header-height) + var(--announcement-height)); }
body.has-announcement .site-header { top: var(--announcement-height); }

.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--announcement-height);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
}

.announcement-dismiss {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  font-size: 15px;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.announcement-dismiss:hover { opacity: 1; }

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--header-bg-color, var(--tenant-primary));
  color: var(--header-title-color, var(--tenant-secondary));
  z-index: 10000;
  gap: 16px;
}

/* =========================
   BRAND
========================= */
.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  line-height: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
}

/* Inlined SVG logos — size and color them like an img */
.brand-logo-svg {
  height: 48px;
  width: auto;
  display: block;
  fill: var(--logo-fill);
  color: var(--logo-fill);
}
.brand-logo-svg path,
.brand-logo-svg rect,
.brand-logo-svg circle,
.brand-logo-svg polygon,
.brand-logo-svg ellipse {
  fill: var(--logo-fill);
}

@media (max-width: 900px) {
  .brand-logo-img,
  .brand-logo-svg {
    height: 38px;
    max-width: var(--logo-mobile-max-width, 105px);
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .brand-logo-img,
  .brand-logo-svg {
    height: 36px;
    max-width: var(--logo-mobile-max-width, 86px);
  }
}

.powered-by-block {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  opacity: 0.75;
  text-decoration: none;
  color: var(--header-title-color, var(--tenant-secondary));
  transition: opacity 0.2s;
  white-space: nowrap;
  font-size: var(--poweredby);
  line-height: 1;
}

.powered-by-block:hover {
  opacity: 1;
  color: var(--accent);
}

.power-icon {
  display: flex;
  align-items: center;
}

.power-icon svg {
  display: block;
  flex-shrink: 0;
  height: var(--poweredby);
  width: var(--poweredby);
}

/* =========================
   CAMPAIGN TITLE (header center)
   Desktop: left-aligned close to logo
   Mobile : truly centered via absolute positioning trick
========================= */
.campaign-center {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 18px;
  min-width: 0;
}

.campaign-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: none;
  color: var(--header-title-color, var(--tenant-secondary));
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 900px) {
  /* Extra room for the title to stack onto a 2nd line — see
     fitCampaignTitle() in app.js. Every rule that reads --header-height
     (content padding, drawers, scroll-margins) picks this up automatically. */
  :root {
    --header-height: 92px;
  }

  /* True screen-center: absolute with left:50% + translateX(-50%)
     This centers the title on the viewport regardless of brand/button widths */
  .campaign-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-left: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Can't be wider than screen minus brand (~110px) and buttons (~100px) each side */
    max-width: calc(100vw - 230px);
  }
  .campaign-title {
    pointer-events: auto;
    font-size: 22px; /* JS shrinks this further only if it still can't fit on 2 lines — fitCampaignTitle() in app.js */
    letter-spacing: 0.3px;
    text-align: center;
    white-space: normal; /* allow stacking onto a 2nd line instead of shrinking to illegibility or overflowing into the buttons */
    line-height: 1.15;
    max-width: 100%;
    display: block;
  }
}

/* =========================
   HEADER RIGHT RAIL
========================= */
.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* =========================
   DESKTOP NAV
========================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--header-title-color, var(--tenant-secondary));
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
  font-family: inherit;
}

.nav-link:hover,
.nav-link:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  outline: none;
}

.nav-link--active {
  opacity: 1;
  background: rgba(255,255,255,0.15);
  font-weight: 600;
}

/* Dropdown chevron */
.dropdown-chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item.open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown container */
.nav-item {
  position: relative;
}

/* Dropdown panel — dark/tenant-themed to match the cart drawer & mobile nav,
   instead of looking like a generic white menu pasted on top of the page. */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--nav-bg);
  color: var(--tenant-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
  padding: 8px;
  z-index: 10001;
  animation: dropdownIn 0.15s ease;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-item.open .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--tenant-secondary);
  opacity: 0.85;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.12s, opacity 0.12s;
}

.dropdown-link:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  color: var(--tenant-secondary);
  opacity: 1;
}

.dropdown-link--all {
  font-weight: 600;
  opacity: 1;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px 7px 0 0;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.dropdown-group {
  margin-top: 4px;
}

.dropdown-group-label {
  display: block;
  padding: 6px 12px 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--tenant-secondary);
  opacity: 0.55;
}

/* Collapsible tenant toggle button */
.dropdown-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 12px;
  background: none;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--tenant-secondary);
  opacity: 0.7;
  cursor: pointer;
  transition: background 0.12s, opacity 0.12s;
  text-align: left;
  font-family: inherit;
}

.dropdown-group-toggle:hover {
  background: rgba(255,255,255,0.1);
  opacity: 1;
}

.dropdown-group-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
  opacity: 1;
}

.dropdown-group-chevron {
  width: 6px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.dropdown-group-toggle[aria-expanded="true"] .dropdown-group-chevron {
  transform: rotate(90deg);
  opacity: 0.8;
}

.dropdown-group-campaigns {
  padding-left: 4px;
}

/* Top-level "Okie Gear" / "Active Campaigns" groups */
.dropdown-group--top {
  margin-top: 2px;
}

.dropdown-group-toggle--top {
  font-size: 13px;
  letter-spacing: 0.4px;
}

/* Body shown when a top-level group is expanded */
.dropdown-group-body {
  padding-left: 4px;
}

/* Nested tenant groups inside an expanded top-level group */
.dropdown-group--nested {
  margin-top: 2px;
}

.dropdown-group-toggle--nested {
  padding-left: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  opacity: 1;
}

.dropdown-group--nested .dropdown-group-campaigns {
  padding-left: 14px;
}

.dropdown-link--campaign {
  padding-left: 20px;
  font-size: 13px;
  opacity: 0.85;
}

/* "All <Tenant>" link shown above a tenant's campaign list */
.dropdown-link--all-tenant {
  font-weight: 600;
  opacity: 1;
}

/* =========================
   LANGUAGE TOGGLE
========================= */
.lang-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: var(--tenant-secondary, #fff);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.lang-toggle-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Desktop instance sits directly in the header bar, so it follows the
   header's own text color — the mobile instance lives in the mobile nav
   drawer (a separate dark surface) and keeps the base rule above. */
.lang-toggle-btn--desktop {
  color: var(--header-title-color, var(--tenant-secondary));
}

.lang-toggle-btn--mobile {
  align-self: flex-start;
  margin-bottom: 8px;
}

/* =========================
   CART BUTTON
========================= */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: rgba(255,255,255,0.12);
}

.cart-icon {
  width: 22px;
  height: 22px;
  display: block;
  stroke: var(--header-title-color, var(--tenant-secondary));
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* When the cart drawer is open, swap the cart icon for a close (X) icon —
   same idea as the hamburger turning into an X for the mobile nav. */
.cart-close-icon {
  display: none;
  font-size: 19px;
  line-height: 1;
  color: var(--header-title-color, var(--tenant-secondary));
}

.cart-btn.open .cart-icon,
.cart-btn.open .cart-badge {
  display: none;
}

.cart-btn.open .cart-close-icon {
  display: block;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--header-title-color, var(--tenant-secondary));
  color: var(--header-bg-color, var(--tenant-primary));
  font-size: 9px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255,255,255,0.12);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--header-title-color, var(--tenant-secondary));
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Animated X when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   OVERLAY
========================= */
#overlay {
  position: fixed;
  inset: 0;
  background: var(--tenant-tertiary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9997;
}

#overlay.active {
  opacity: 0.6;
  pointer-events: auto;
}

/* =========================
   CART DRAWER
========================= */
#cart-drawer {
  position: fixed;
  top: 75px;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: calc(100dvh - 75px);
  background: var(--nav-bg);
  color: var(--tenant-secondary);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  font-family: var(--tenant-font-family, system-ui, sans-serif);
  overscroll-behavior: contain;
}

#cart-drawer.active {
  transform: translateX(0);
}

@media (max-width: 600px) {
  #cart-drawer {
    top: var(--header-height);
    height: calc(100dvh - var(--header-height));
    max-width: 100%;
    z-index: 10002;
  }
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 0;
  overscroll-behavior: contain;
}

.cart-body::-webkit-scrollbar {
  width: 6px;
}

.cart-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.cart-footer {
  overflow: hidden;
  touch-action: none;
  flex-shrink: 0;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--nav-bg);
}

/* =========================
   TENANT BLOCK (top level)
========================= */
.cart-tenant {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.cart-tenant:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-tenant-header {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--cart-tenant-bg, var(--accent, #2a6be0));
  margin: 0 -6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 7px;
  text-transform: uppercase;
}

/* =========================
   CAMPAIGN BLOCK
========================= */
.cart-campaign {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}

.cart-campaign:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-campaign-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.cart-campaign-subtotal {
  font-size: 11px;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
}

.cart-campaign-link {
  color: inherit;
  text-decoration: none;
}

.cart-campaign-link:hover {
  text-decoration: underline;
}

/* =========================
   DESIGN LEVEL
========================= */
.cart-design-header {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.cart-item-divider {
  opacity: 0.4;
  font-weight: 400;
  margin: 0 3px;
}

/* =========================
   TREE STRUCTURE
========================= */
.cart-garment {
  margin-left: 10px;
  padding: 4px 0 0;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.cart-garment::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.cart-garment-header {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 6px;
}

/* =========================
   VARIANT LEVEL
========================= */
.cart-variant {
  margin-left: 15px;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.06);

  display: grid;
  grid-template-columns: 36px 1fr 52px 68px 32px;
  column-gap: 8px;
  align-items: center;  /* top-align so label wrapping doesn't misalign controls */

  padding: 6px 0;
}

.cart-variant-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
}

.cart-variant-thumb-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
}

.cart-variant::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.cart-variant-label {
  font-size: 13px;
  opacity: 0.9;
  /* allow color names to wrap rather than truncate */
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

/* =========================
   VARIANT CONTROLS
========================= */
.cart-variant input[type="number"] {
  width: 52px;
  padding: 5px 4px;
  border-radius: 6px;
  border: none;
  text-align: center;
  font-size: 12px;
  margin-top: 1px;
}

.cart-variant-price {
  text-align: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.cart-variant button {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  justify-self: end;
}

.cart-variant button:hover {
  background: rgba(255,255,255,0.2);
}

/* =========================
   PURCHASE ROW / QTY
========================= */
.purchase-row {
  padding: 5px 0;
  background-color: var(--tenant-primary);
  display: flex;
  gap: 12px;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  width: 110px;
  border: none;
  transform: scale(0.95);
  overflow: hidden;
}

.qty-control input {
  width: 100px;
  height: 5px;
  border: none;
  text-align: center;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.qty-control input:focus {
  outline: none;
}

/* Hide number spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-minus,
.qty-plus {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.qty-minus:hover,
.qty-plus:hover {
  color: var(--tenant-tertiary);
}

.add-btn {
  flex: 1;
}

/* =========================
   SHIPPING ADDRESS FORM
========================= */
.cart-shipping-form {
  margin-bottom: 14px;
}

.cart-shipping-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 0 0 8px;
}

.cart-shipping-form input,
.cart-shipping-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--tenant-secondary);
  font-size: 14px;
}

.cart-shipping-form input::placeholder {
  color: var(--tenant-secondary);
  opacity: 0.5;
}

.cart-shipping-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 8px;
}

.cart-shipping-row input,
.cart-shipping-row select {
  margin-bottom: 8px;
}

.cart-shipping-form .btn-secondary {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.12);
  color: var(--tenant-secondary);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.cart-shipping-form .btn-secondary:hover {
  opacity: 0.85;
}

.cart-shipping-status {
  font-size: 12px;
  margin: 8px 0 0;
  opacity: 0.8;
  min-height: 16px;
}

.cart-shipping-status.error { color: #ff8a8a; }
.cart-shipping-status.ok    { color: #8aff9e; }

.cart-shipping-form.collapsed .cart-shipping-fields {
  display: none;
}

.cart-shipping-form.collapsed {
  margin-bottom: 4px;
}

.cart-shipping-edit-link {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  opacity: 0.75;
}

.cart-shipping-edit-link:hover {
  opacity: 1;
}

.checkout-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================
   SUMMARY
========================= */
.cart-summary {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 6px 0;
  font-variant-numeric: tabular-nums;
}

.cart-summary.total {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.cart-summary-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.cart-summary-chevron {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.cart-summary-toggle[aria-expanded="true"] .cart-summary-chevron {
  transform: rotate(180deg);
}

.cart-summary-details {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   CHECKOUT BUTTON
========================= */
.checkout-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--tenant-primary);
  color: var(--tenant-secondary);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.checkout-btn:hover {
  opacity: 0.9;
}

/* =========================
   MOBILE NAV
========================= */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  background: var(--nav-bg);
  color: var(--tenant-secondary);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 32px;
}

.mobile-nav-link {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tenant-secondary);
  text-decoration: none;
  opacity: 0.85;
  transition: background 0.12s, opacity 0.12s;
  margin-bottom: 2px;
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,0.1);
  opacity: 1;
  text-decoration: none;
}

.mobile-nav-link--active {
  background: rgba(255,255,255,0.12);
  opacity: 1;
  font-weight: 600;
}

.mobile-nav-link--campaign {
  font-size: 13.5px;
  padding-left: 20px;
  opacity: 0.7;
}

.mobile-nav-link--campaign:hover {
  opacity: 1;
}

.mobile-nav-section {
  margin: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
}

/* Collapsible toggle buttons (Shop, tenant groups) — same hierarchy as plain links */
.mobile-nav-link--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-nav-link--toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
  opacity: 1;
  color: var(--tenant-secondary);
}

.mobile-nav-shop-body {
  margin-top: 2px;
}

/* Sub-items (All Products, tenant names) — consistent hierarchy with each other */
.mobile-nav-link--sub {
  font-size: 14px;
  padding-left: 22px;
  opacity: 0.75;
}

.mobile-nav-link--sub:hover {
  opacity: 1;
}

.mobile-nav-tenant-group {
  margin-top: 2px;
}

.mobile-tenant-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-nav-link--toggle[aria-expanded="true"] .mobile-tenant-chevron {
  transform: rotate(180deg);
}

.mobile-nav-campaigns {
  padding-left: 8px;
}

/* Nested tenant groups inside an expanded "Okie Gear" / "Active Campaigns" group */
.mobile-nav-tenant-group--nested {
  margin-top: 2px;
}

.mobile-nav-tenant-group--nested > .mobile-nav-link--toggle {
  font-size: 13.5px;
  padding-left: 20px;
  font-weight: 600;
  opacity: 0.85;
}

.mobile-nav-tenant-group--nested > .mobile-nav-link--toggle:hover {
  opacity: 1;
}

/* "All <Tenant>" link shown above a tenant's campaign list */
.mobile-nav-link--all-tenant {
  font-weight: 600;
  opacity: 0.85;
}

.mobile-nav-link--all-tenant:hover {
  opacity: 1;
}

/* =========================
   CONTENT
========================= */
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* When a campaign hero precedes the content, tighten the gap between them */
.campaign-hero + .content {
  padding-top: 4px;
}

/* =========================
   CAMPAIGN HERO
========================= */
.campaign-hero {
  padding: 16px 0 0;
}
.campaign-hero--dark {
  background: #0c0c0c;
  padding: 20px 0;
  margin-bottom: 8px;
}
.campaign-hero--dark .campaign-tagline {
  color: var(--tagline-color, #6c81e6);
}
.campaign-hero--dark .campaign-description {
  color: var(--description-color, rgba(255,255,255,0.8));
}
.campaign-hero--dark .campaign-description a {
  color: #8fb4ff;
  text-decoration: underline;
}
.campaign-hero--dark .campaign-funds-callout {
  background: rgba(255,255,255,0.08);
  color: var(--funds-text-color, rgba(255,255,255,0.9));
  border-color: rgba(255,255,255,0.15);
}
.campaign-hero--dark .campaign-progress-bar {
  background: rgba(255,255,255,0.15);
}
.campaign-hero--dark .campaign-progress-fill {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--progress-fill-color, #4f63c8) 75%, #000),
    var(--progress-fill-color, #6c81e6));
}
.campaign-hero--dark .campaign-progress-label {
  color: var(--progress-label-color);
}
.campaign-hero--dark .campaign-progress-label strong {
  color: var(--progress-label-color);
}
.campaign-hero--dark .campaign-progress-pct {
  color: var(--progress-label-color);
}
.campaign-hero-inner {
  /* Match .content's box model exactly (max-width + horizontal padding)
     so the hero text lines up with the grid/sub-option titles below,
     regardless of viewport width. */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.campaign-hero-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.campaign-tagline {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--tagline-color);
}
.campaign-tagline--static {
  margin-bottom: 14px;
}

/* Accordion: tagline (or a generic "Campaign details" label when there's
   no tagline) as the clickable summary, with a centered chevron below the
   heading text to indicate it expands. Used whenever there's extra info
   (description, funds, progress, deadline) to reveal. */
.campaign-tagline-toggle {
  margin: 0;
}
.campaign-tagline-toggle > summary.campaign-tagline {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.campaign-tagline-toggle > summary.campaign-tagline::-webkit-details-marker {
  display: none;
}
.campaign-tagline-toggle > summary.campaign-tagline::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.campaign-tagline-toggle[open] > summary.campaign-tagline::after {
  transform: rotate(-135deg);
}
.campaign-tagline-toggle > summary.campaign-tagline:hover {
  opacity: 0.85;
}
.campaign-tagline-body {
  margin-top: 16px;
}
.campaign-description {
  color: var(--description-color);
  opacity: 0.85;
  margin: 0 0 16px;
  white-space: pre-line;
  line-height: 1.6;
  font-size: 1.05rem;
  text-align: left;
}
.campaign-description a {
  color: var(--tenant-primary, #1a1a2e);
  text-decoration: underline;
}
.campaign-funds-callout {
  display: inline-block;
  /* Tenant-aware: fall back to the warm yellow on tenants that don't
     define an accent color, but lean on --accent where available so the
     callout doesn't clash with darker/saturated tenant themes. */
  background: color-mix(in srgb, var(--accent, #ffc107) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #ffc107) 45%, #fff);
  color: var(--funds-text-color, #5c4400);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

/* =========================
   CAMPAIGN HERO — text + status card layout
   Mobile: stacked, status card full width below the text.
   Desktop: two columns, status card fills the empty space to the
   right of the (shorter) text column.
========================= */
.campaign-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.campaign-hero-main {
  min-width: 0;
}
.campaign-hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 20px;
}

.campaign-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.campaign-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--tenant-primary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tenant-primary) 35%, transparent);
  color: var(--tenant-secondary);
  border-radius: 999px;
  padding: 7px 14px;
}
.campaign-deadline-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--tenant-primary);
}

.campaign-progress {
  margin: 0 0 14px;
}
.campaign-hero-stats .campaign-progress:last-child {
  margin-bottom: 0;
}
.campaign-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-bottom: 8px;
}
.campaign-progress-fill {
  height: 100%;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--progress-fill-color) 75%, white),
    var(--progress-fill-color));
  transition: width 0.6s ease;
}
.campaign-progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--progress-label-color);
  opacity: 0.85;
}
.campaign-progress-pct {
  font-weight: 700;
  opacity: 0.7;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .campaign-hero {
    padding: 36px 20px;
  }
  .campaign-tagline {
    font-size: 1.4rem;
  }
}

@media (min-width: 900px) {
  .campaign-hero-grid {
    display: grid;
    /* Text column flexes with the page, but its content is capped (via
       .campaign-hero-main's max-width) at a comfortable reading width.
       The stats card gets a stable, comfortable width of its own rather
       than whatever's "left over" — which could shrink to nothing. */
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 40px;
    align-items: start;
  }
  .campaign-hero-main {
    max-width: 700px;
  }
}

/* Desktop: left-align the hero text block (and everything inside it —
   description, progress, etc.), with the expand toggle's chevron
   right-aligned on the same line as the tagline instead of centered
   below it. Mobile keeps the centered layout with the chevron below. */
@media (min-width: 721px) {
  .campaign-hero-text {
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .campaign-tagline-toggle > summary.campaign-tagline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
}

/* =========================
   CAMPAIGN SORT BAR
========================= */
.campaign-products-wrap {
  position: relative;
}

.campaign-sort-bar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.sort-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  /* Derived from the tenant's text color so it stays legible on both
     light and dark --tenant-tertiary backgrounds (the sticky grid header
     as well as the hero overlay). */
  background: color-mix(in srgb, var(--grid-header-color) 12%, transparent);
  backdrop-filter: blur(4px);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--grid-header-color);
  opacity: 0.7;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s, opacity 0.15s;
}
.sort-toggle:hover,
.sort-toggle.open {
  background: color-mix(in srgb, var(--grid-header-color) 22%, transparent);
  opacity: 1;
}
.sort-chevron {
  transition: transform 0.2s;
  opacity: 0.6;
}
.sort-toggle.open .sort-chevron {
  transform: rotate(180deg);
}
.sort-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 200;
  background: #fff;
  /* Slightly stronger border + shadow than a typical dropdown so the panel
     reads as a distinct surface even when it opens over a light
     --tenant-tertiary sticky grid header. */
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  overflow: hidden;
  min-width: 170px;
}
.sort-panel[hidden] { display: none; }
.sort-option {
  display: block;
  width: 100%;
  padding: 9px 14px;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.sort-option:hover {
  background: #f5f5f5;
  color: var(--accent);
}
.sort-option.active {
  font-weight: 700;
  color: var(--accent);
  background: #f0f4ff;
}
.sort-option:focus-visible,
.sort-category-toggle:focus-visible,
.sort-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  z-index: 1;
}

/* Sort panel accordion categories (Design / Price / Garment) */
.sort-category + .sort-category {
  border-top: 1px solid #eee;
}
.sort-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.12s, color 0.12s;
}
.sort-category-toggle:hover {
  background: #f5f5f5;
  color: var(--accent);
}
.sort-category-toggle::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.5;
  flex-shrink: 0;
}
.sort-category-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}
.sort-subpanel[hidden] { display: none; }
.sort-subpanel .sort-option {
  padding: 8px 14px 8px 28px;
  font-size: 0.78rem;
}
.sort-subpanel .sort-option.active {
  background: var(--tenant-primary, var(--accent));
  color: #fff;
}

/* Persistent first row: design/section title on the left, sort control
   inline on the right, on the same line */
.grid-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--grid-header-color) 18%, transparent);
  margin-bottom: -12px;
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--products-bg);
}
body.has-announcement .grid-header {
  top: calc(var(--header-height) + var(--announcement-height));
}
.grid-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grid-header-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.15s ease;
}
.grid-section-title.is-fading {
  opacity: 0;
}

/* Invisible scroll anchor marking where each design/garment group starts.
   The sticky .grid-header is the only visible title/sort bar — these
   anchors just let updateScrollspy() figure out which group is mostly in
   view and update the sticky title accordingly. */
.grid-group-anchor {
  grid-column: 1 / -1;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* =========================
   GRID
========================= */
.grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 32px;
  margin-top: 0;
  grid-template-columns: 1fr;          /* mobile: 1 col */
  justify-content: center;
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.product-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.gallery-slide img {
  width: 100%;
  display: block;
}

.product-media {
  aspect-ratio: 1/1;
  background: #f7f7f7;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0;
}

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info h3 {
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #111111;
}

.product-info h3 .product-garment {
  font-weight: 500;
  color: #111111;
}

.product-divider {
  color: #111111;
  font-weight: 400;
  margin: 0 4px;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--tenant-primary);
}

.product-card form {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card select,
.product-card input[type="number"],
.product-card input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 10px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  transition: border 0.2s ease;
}

.product-card select:focus,
.product-card input:focus {
  outline: none;
  border-color: var(--tenant-primary);
}

.product-card .add-btn {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: var(--add-to-cart-bg, var(--tenant-primary));
  color: var(--add-to-cart-text, var(--tenant-secondary));
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-card .add-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.product-card .add-btn:disabled {
  background: var(--add-to-cart-bg, var(--tenant-primary));
  color: var(--add-to-cart-text, var(--tenant-secondary));
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.product-card .add-btn:disabled:hover {
  opacity: 1;
  transform: none;
}

/* campaign-title styles live near :root — see top of file */

/* =========================
   TENANT HOME — CAMPAIGN CARDS
========================= */
/* Campaign cards on the tenant home page — narrower grid than the
   product grid (.grid) so cards run smaller, more like a gallery. */
.campaign-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 20px;
  margin-top: 0;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}
@media (min-width: 600px) {
  .campaign-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .campaign-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .campaign-grid { grid-template-columns: repeat(5, 1fr); }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.empty-state h2 {
  margin: 0 0 8px;
}
.empty-state p {
  color: var(--tenant-secondary, #666);
  opacity: 0.8;
  margin: 0 0 20px;
}
.empty-state .button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--tenant-primary);
  color: var(--tenant-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
.campaign-card:hover,
.campaign-card:hover * {
  text-decoration: none;
}
.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.campaign-card-thumbs {
  position: relative;
  aspect-ratio: 1/1;
  background: #f7f7f7;
  overflow: hidden;
}
.campaign-card-thumb {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.campaign-card-thumb.is-active {
  opacity: 1;
}
.campaign-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.campaign-card:hover .campaign-card-thumb.is-active img {
  transform: scale(1.05);
}
.campaign-card-thumb--placeholder {
  position: static;
  opacity: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e2e2e2);
}

.campaign-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}
.campaign-card-body h3 {
  margin: 0;
  font-size: clamp(0.7rem, 3.2vw, 0.92rem);
  font-weight: 800;
  line-height: 1.25;
  color: #111;
}
.campaign-card-tagline {
  margin: 0;
  font-size: clamp(0.6rem, 2.4vw, 0.72rem);
  font-weight: 500;
  color: #555;
  line-height: 1.3;
}
.campaign-card-body .button {
  margin-top: auto;
  align-self: center;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tenant-primary);
  color: var(--tenant-secondary);
  font-weight: 700;
  font-size: clamp(0.65rem, 2.6vw, 0.75rem);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.campaign-card:hover .campaign-card-body .button {
  opacity: 0.88;
}

/* =========================
   VARIANT FIELDS
========================= */
.variant-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}

.variant-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.variant-field label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.single-variant-display {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
}

/* =========================
   COLOR SWATCHES
========================= */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.active {
  border-color: var(--tenant-tertiary);
  transform: scale(1.01);
  border-width: 1px;
}

/* =========================
   SIZE BUTTONS
========================= */
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-btn {
  font-size: .875rem;
  min-width: 0;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: color 0.15s ease;
}

.size-btn:hover {
  color: var(--tenant-primary);
}

.size-btn.active {
  color: var(--tenant-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   RECEIPT
========================= */
.receipt-container {
  max-width: 720px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.receipt-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.receipt-header h1 {
  margin: 0;
}

.receipt-logo {
  width: 160px;
  margin-bottom: 15px;
}

.receipt-meta {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
}

.receipt-items {
  border-top: 1px solid #eee;
}

.receipt-campaign {
  font-weight: bold;
  font-size: 16px;
  margin-top: 20px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

.receipt-campaign:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.receipt-campaign span {
  font-weight: 600;
}

.receipt-design {
  margin-left: 15px;
  margin-top: 10px;
  font-weight: 600;
  color: #444;
}

.receipt-product {
  margin-left: 30px;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #222;
}

.product-left {
  color: #333;
}

.product-right {
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.qty {
  margin-left: 6px;
  color: #777;
  font-size: 13px;
}

.item-title {
  font-weight: 600;
}

.item-variant {
  font-size: 13px;
  color: #777;
}

.item-qty {
  font-size: 13px;
}

.receipt-summary {
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.receipt-summary div {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.receipt-summary .total {
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.receipt-actions {
  margin-top: 25px;
  justify-content: space-between;
  display: flex;
  gap: 10px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .lang-toggle-btn--desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* campaign-center mobile styles live near :root — see top of file */
}

/* =========================
   PAGE LAYOUT BASE  (mobile-first)
========================= */
/* .main-content flex rule lives near :root — see top of file */

/* Smooth entrance for page sections */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section,
.page-hero {
  animation: fadeUp 0.45s ease both;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  /* mobile: tighter side padding */
  padding: 0 16px;
}

.container--narrow {
  max-width: 720px;
}

.center { text-align: center; }

.section {
  padding: 64px 0;
}

.section--light {
  background: var(--section-light-bg);
}

.section--dark {
  background: var(--section-dark-bg);
  color: #fff;
}

.section--dark .section-title { color: #fff; }
.section--dark .section-sub   { color: rgba(255,255,255,0.7); }

.section--light .benefit-icon { background: var(--accent); color: #111; }
.section--light .benefit strong { color: #111; }
.section--light .benefit p      { color: #666; }

.section--cta {
  background: var(--section-cta-bg);
  color: #fff;
  padding: 56px 0;
}

.section--cta h2 { color: #fff; margin-bottom: 10px; }
.section--cta p  { color: rgba(255,255,255,0.8); margin-bottom: 0; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #111;
}

.section-sub {
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* =========================
   HERO (HOME)
========================= */
.hero {
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: linear-gradient(135deg, #0c0c0c 60%, #1a1200 100%);
  color: #fff;
  min-height: 480px;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero-inner {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--btn-color, var(--accent));
  color: var(--btn-text, #fff);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-hero-primary:hover { opacity: 0.88; }

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-graphic {
  flex-shrink: 0;
}

.hero-image {
  display: block;
  max-width: 320px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
}

.hero-badge {
  background: var(--btn-color, var(--accent));
  color: var(--btn-text, #fff);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-badge-label {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.hero-badge-sub {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================
   PAGE HERO (INNER PAGES)
========================= */
.page-hero {
  background: #111;
  color: #fff;
  padding: 52px 0;
}

.page-hero--shop {
  background: linear-gradient(135deg, #0c0c0c 60%, #1a1200 100%);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-jump-actions {
  margin-top: 22px;
}

.btn-hero-secondary--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-hero-secondary--accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 0.88;
}

/* =========================
   STEPS (HOW IT WORKS)
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #111;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* =========================
   AUDIENCE CARDS
========================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.audience-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.audience-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--accent);
}

.audience-icon svg {
  width: 100%;
  height: 100%;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}

/* =========================
   BENEFITS LIST
========================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #111;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

/* =========================
   WHAT YOU COULD RAISE
========================= */
.raise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.raise-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.raise-items {
  font-size: 0.95rem;
  font-weight: 700;
  color: #777;
  margin-bottom: 18px;
}

.raise-products {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--accent);
}

.product-icon {
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.raise-divider {
  width: 40px;
  height: 1px;
  background: #ddd;
  margin: 0 auto 14px;
}

.raise-amount {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.raise-card-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}

.raise-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: #888;
}

.section--dark .raise-note {
  color: rgba(255,255,255,0.6);
}

/* =========================
   SEE IT IN ACTION
========================= */
.action-screenshot {
  margin: 40px auto 0;
  max-width: 720px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.action-screenshot img {
  display: block;
  width: 100%;
}

/* Side-by-side device previews */
/* Eyebrow + heading — white on periwinkle, left-aligned, brand typography */
.section.action-section .section-eyebrow {
  color: #fff;
}
.action-section-title {
  letter-spacing: 0.6px;
  color: #fff;
}
.section.action-section .action-caption,
.section.action-section .action-caption a {
  color: #fff;
}

/* Action section — tight vertical rhythm, brand periwinkle background */
.section.action-section {
  padding: 32px 0 28px;
  background: var(--section-action-bg);
}

.action-previews {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  position: relative;
  overflow: visible;
}

/* Shared preview shell — unified shadow language */
.action-preview {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.10),
    0 24px 64px rgba(0,0,0,0.14);
}

@keyframes frame-settle {
  0%   { transform: perspective(1100px) rotateY(-14deg); }
  35%  { transform: perspective(1100px) rotateY(8deg); }
  65%  { transform: perspective(1100px) rotateY(-4deg); }
  82%  { transform: perspective(1100px) rotateY(2deg); }
  100% { transform: perspective(1100px) rotateY(0deg); }
}
@keyframes frame-settle-mobile {
  0%   { transform: perspective(900px) rotateY(10deg); }
  35%  { transform: perspective(900px) rotateY(-6deg); }
  65%  { transform: perspective(900px) rotateY(3deg); }
  82%  { transform: perspective(900px) rotateY(-1deg); }
  100% { transform: perspective(900px) rotateY(0deg); }
}

.action-preview--desktop {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.10);
  position: relative;
  z-index: 1;
  transform-origin: center center;
}
.action-preview--desktop.is-settling {
  animation: frame-settle 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.action-preview--mobile {
  width: 200px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 8px;
  background: #fff;
  margin-left: -52px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.13),
    0 28px 72px rgba(0,0,0,0.18);
}
.action-preview--mobile.is-settling {
  animation: frame-settle-mobile 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.action-preview-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: #e8e8e8;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.action-preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.action-preview-dot:nth-child(1) { background: #ff5f57; }
.action-preview-dot:nth-child(2) { background: #febc2e; }
.action-preview-dot:nth-child(3) { background: #28c840; }

/* Iframe containers */
.action-iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.action-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  pointer-events: none;
}
.action-iframe-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  display: none;
}
.action-iframe-link.is-active {
  display: block;
}

/* Store frames — stack on top of each other, only active one visible */
.action-store-frame {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.action-store-frame.is-active {
  opacity: 1;
}
.action-store-frame--desktop { width: 1280px; height: 900px; }
.action-store-frame--mobile  { width: 390px;  height: 900px; }

/* Swiper dots */
.action-store-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.action-store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.action-store-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}
.section--light .action-store-dot        { background: rgba(0,0,0,0.2); }
.section--light .action-store-dot.is-active { background: rgba(0,0,0,0.6); }

@media (max-width: 600px) {
  .action-previews {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
  }
  .action-preview--desktop { width: 100%; }
  .action-preview--mobile  { width: 180px; margin-left: 0; }
}

.action-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.section--light .action-screenshot {
  border: 1px solid #e8e4dc;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.section--light .action-caption {
  color: #888;
}

/* =========================
   TIMELINE (FUNDRAISE PAGE)
========================= */
.timeline {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0dbd0;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid #f8f6f1;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.timeline-math {
  margin-top: 12px;
}

.timeline-math p {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  line-height: 1.5;
}

/* =========================
   FAQ (FUNDRAISE PAGE)
========================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  max-width: 720px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: #111;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
}

details[open] .faq-question::after { content: '−'; }

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.faq-answer p { margin: 0; }
.faq-answer a { color: var(--tenant-primary, #1a1a2e); }

/* =========================
   APPLY FORM (SHARED)
========================= */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.req { color: #c0392b; }

.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 11px 14px;
  border: 1px solid #d8d3c8;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207,168,74,0.12);
}

.btn-submit {
  background: var(--tenant-primary, #111);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn-submit:hover { opacity: 0.85; }

.form-note {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

.form-hint {
  font-size: 0.8rem;
  color: #999;
  margin: 6px 0 0;
}

.apply-form input[type="file"] {
  padding: 8px 10px;
  background: #fafaf7;
  cursor: pointer;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: #f8f6f1;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 24px;
}

.contact-info-card--alt {
  background: #111;
  border-color: #222;
  color: #fff;
}

.contact-info-card--alt h3 { color: #fff; }
.contact-info-card--alt p  { color: rgba(255,255,255,0.7); }

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-details strong {
  display: block;
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 2px;
}

.contact-details a { color: var(--tenant-primary, #111); }

/* =========================
   ALERTS (SHARED)
========================= */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.alert-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.alert-error {
  background: #fdecea;
  border: 1px solid #f5a9a3;
  color: #c0392b;
}

/* =========================
   CAMPAIGN CARDS (SHOP)
========================= */
.campaign-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid #d8d3c8;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: #111;
}

.filter-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.campaign-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.campaign-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.campaign-card-v2 {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e4dc;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.campaign-card-link:hover .campaign-card-v2 {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.cc-header {
  background: var(--card-primary, #111);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cc-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.cc-logo-placeholder {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.cc-org {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cc-org-name {
  color: var(--card-secondary, #fff);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}

.cc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

.cc-badge--open {
  background: var(--accent);
  color: #111;
}

.cc-badge--closing {
  background: #e74c3c;
  color: #fff;
}

.cc-body {
  padding: 20px;
  flex: 1;
}

.cc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cc-desc {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.cc-footer {
  padding: 14px 20px;
  border-top: 1px solid #f0ece4;
}

.cc-shop-link {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--accent);
}

/* =========================
   PRODUCT CTA LABEL
========================= */
.product-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-top: 6px;
}

/* =========================
   EMPTY STATE
========================= */
.empty-state {
  text-align: center;
  padding: 64px 24px;
}

.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h2   { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.empty-state p    { color: #666; max-width: 420px; margin: 0 auto; }

/* =========================
   SITE FOOTER
========================= */
.site-footer a {
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* =========================
   RESPONSIVE (PAGES)  — mobile-first
   Base styles = mobile, then widen up
========================= */

/* --- HERO: stacked on mobile, side-by-side on large --- */
.hero {
  padding: 52px 0 48px;
  background: linear-gradient(160deg, #0c0c0c 55%, #1f1500 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* subtle diagonal shimmer line */
.hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(207,168,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner   { position: relative; z-index: 1; }
.hero-graphic { display: none; } /* hidden on mobile */

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-headline {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  text-align: center;
  /* full-width on tiny screens */
  width: 100%;
}

.btn-hero-primary {
  background: var(--btn-color, var(--accent));
  color: var(--btn-text, #fff);
}
.btn-hero-primary:hover  { opacity: 0.88; transform: translateY(-1px); }

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-hero-secondary:hover { border-color: #fff; transform: translateY(-1px); }

.btn-hero-secondary--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-hero-secondary--accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 0.88;
}

/* --- HERO BADGE --- */
.hero-badge {
  background: var(--btn-color, var(--accent));
  color: var(--btn-text, #fff);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.hero-badge-label { font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-badge-sub   { font-size: 0.65rem; font-weight: 700; margin-top: 5px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--section-hero-bg);
  color: #fff;
  padding: 44px 20px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(207,168,74,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero--shop { background: linear-gradient(160deg, #0c0c0c 55%, #1f1500 100%); }

.page-hero .section-eyebrow { margin-bottom: 8px; }

.page-hero h1 {
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.page-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 580px;
  position: relative;
}

/* --- SECTIONS --- */
.section { padding: 48px 0; }
.section--light  { background: #f8f6f1; }
.section--dark   { background: #111; color: #fff; }
.section--cta {
  background: var(--tenant-primary, #111);
  color: #fff;
  padding: 52px 0;
}
.section--cta h2 { color: #fff; margin-bottom: 10px; }
.section--cta p  { color: rgba(255,255,255,0.78); margin-bottom: 0; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
}

.section-sub {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- STEPS (HOW IT WORKS) --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  /* slide-in stagger via inline style animation-delay */
  animation: fadeUp 0.4s ease both;
}

.step-num {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  margin-top: 6px;
  background: var(--accent);
  color: #111;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content { min-width: 0; }
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.step p   { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.55; margin: 0; }

/* --- AUDIENCE CARDS --- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.audience-card {
  border: 1px solid #e8e4dc;
  border-radius: 14px;
  padding: 22px 18px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.audience-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.audience-icon { width: 30px; height: 30px; margin-bottom: 10px; }
.audience-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.audience-card p  { font-size: 0.85rem; color: #555; line-height: 1.5; margin: 0; }

/* --- BENEFITS LIST --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #111;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit strong { display: block; color: #fff; font-weight: 700; margin-bottom: 3px; }
.benefit p      { font-size: 0.87rem; color: rgba(255,255,255,0.62); line-height: 1.5; margin: 0; }

/* --- TIMELINE (FUNDRAISE) --- */
.timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 2px;
  background: #e0dbd0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-marker {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid #f8f6f1;
}

.timeline-content h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; padding-top: 7px; }
.timeline-content p  { font-size: 0.87rem; color: #555; line-height: 1.6; margin: 0; }

.timeline-math { margin-top: 10px; }
.timeline-math p { font-size: 0.98rem; font-weight: 800; color: #111; line-height: 1.5; }

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
  color: #111;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.1rem; color: var(--accent); font-weight: 400; flex-shrink: 0; }
details[open] .faq-question::after { content: '−'; }

.faq-answer { padding: 0 18px 16px; font-size: 0.88rem; color: #555; line-height: 1.65; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--accent); }

/* --- APPLY / CONTACT FORMS --- */
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;   /* stacked on mobile */
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
}
.req { color: #c0392b; }

.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 13px 14px;         /* bigger touch targets */
  border: 1.5px solid #d8d3c8;
  border-radius: 8px;
  font-size: 1rem;             /* prevents iOS auto-zoom */
  font-family: inherit;
  resize: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207,168,74,0.15);
}

.btn-submit {
  background: var(--tenant-primary, #111);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
}
.btn-submit:hover { opacity: 0.85; transform: translateY(-1px); }

.form-note {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
  text-align: center;
}

/* --- ALERTS --- */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert-error   { background: #fdecea; border: 1px solid #f5a9a3; color: #b71c1c; }

/* --- CONTACT PAGE --- */
/* Mobile-first: single column, full-width fields */
.contact-form-wrap .form-row {
  grid-template-columns: 1fr;
}

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  box-sizing: border-box;
}

.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
  background: #f8f6f1;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 22px 20px;
}

.contact-info-card--alt {
  background: #111;
  border-color: #222;
  color: #fff;
}
.contact-info-card--alt h3 { color: #fff; }
.contact-info-card--alt p  { color: rgba(255,255,255,0.68); font-size: 0.88rem; }

.contact-info-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li { display: flex; gap: 12px; align-items: flex-start; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.contact-details strong { display: block; font-size: 0.78rem; color: #888; margin-bottom: 2px; }
.contact-details a { color: var(--accent); }

/* --- CAMPAIGN CARDS --- */
.campaign-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  /* horizontal scroll on tiny phones */
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid #d8d3c8;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-btn:hover       { border-color: var(--accent); color: #111; }
.filter-btn--active     { background: var(--accent); border-color: var(--accent); color: #111; }

.campaign-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.campaign-card-link { text-decoration: none; color: inherit; display: block; }

.campaign-card-v2 {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8e4dc;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  /* subtle shadow by default on mobile (no hover state on touch) */
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.campaign-card-link:hover .campaign-card-v2 {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.cc-header {
  background: var(--card-primary, #111);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cc-logo {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.cc-logo-placeholder {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.cc-org { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.cc-org-name {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}
.cc-badge--open    { background: var(--accent); color: #111; }
.cc-badge--closing { background: #e74c3c; color: #fff; }

.cc-body  { padding: 18px 16px; flex: 1; }
.cc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cc-desc  { font-size: 0.85rem; color: #666; line-height: 1.55; margin: 0; }

.cc-footer {
  padding: 12px 16px;
  border-top: 1px solid #f0ece4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-shop-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* shop arrow animation on tap/hover */
.campaign-card-link:hover .cc-shop-link::after,
.campaign-card-link:focus .cc-shop-link::after {
  content: ' →';
  animation: nudgeRight 0.3s ease;
}
@keyframes nudgeRight {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- EMPTY STATE --- */
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state-icon { font-size: 2.8rem; margin-bottom: 14px; }
.empty-state h2   { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p    { color: #666; max-width: 380px; margin: 0 auto; font-size: 0.92rem; }

/* --- PRODUCT CTA LABEL --- */
.product-cta { font-size: 0.82rem; font-weight: 700; color: var(--accent); display: block; margin-top: 6px; }

/* --- SITE FOOTER --- */
.site-footer {
  display: block;
  width: 100%;
  background: var(--footer-bg, #0c0c0c);
  color: rgba(255,255,255,0.55);
  padding: 40px 20px;
  font-size: 0.84rem;
  border-top: 3px solid rgba(255,255,255,0.12);
  box-sizing: border-box;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

/* ================================
   WIDER SCREENS  (min-width: 600px)
================================ */
@media (min-width: 600px) {
  .container { padding: 0 28px; }

  .btn-hero-primary,
  .btn-hero-secondary { width: auto; }

  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap .form-row { grid-template-columns: 1fr 1fr; } /* explicit for contact */

  .campaign-cards { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: 1fr; }  /* still single col until tablet */

  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================
   TABLET  (min-width: 768px)
================================ */
@media (min-width: 768px) {
  .hero {
    align-items: center;
    padding: 72px 0;
    min-height: 440px;
  }
  .hero-flex {
    flex-direction: row;
    align-items: center;
  }
  .hero-inner { max-width: 540px; }
  .hero-graphic { display: flex; flex-shrink: 0; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step  { flex-direction: column; align-items: flex-start; gap: 12px; }

  .contact-layout { flex-direction: row; align-items: flex-start; }
  .contact-form-wrap { flex: 1; }
  .contact-sidebar { width: 300px; flex-shrink: 0; }

  .section { padding: 64px 0; }
}

/* ================================
   DESKTOP  (min-width: 1024px)
================================ */
@media (min-width: 1024px) {
  .container { padding: 0 48px; }

  .steps          { grid-template-columns: repeat(4, 1fr); }
  .audience-grid  { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid  { grid-template-columns: repeat(3, 1fr); }
  .campaign-cards { grid-template-columns: repeat(3, 1fr); }

  .hero { padding: 80px 0; }
}

/* =========================
   PRINT
========================= */
@media print {
  header,
  .receipt-actions {
    display: none;
  }

  .receipt-container {
    box-shadow: none;
    border: none;
    margin: 0;
  }
}

/* =========================
   TENANT ACCORDION (Shop page)
========================= */
.tenant-accordion {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.tenant-accordion:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tenant-acc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s;
}

.tenant-acc-header:hover { background: #fafafa; }

.tenant-acc-band {
  width: 6px;
  align-self: stretch;
  border-radius: 4px;
  flex-shrink: 0;
  min-height: 40px;
}

.tenant-acc-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.tenant-acc-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tenant-acc-names {
  flex: 1;
  min-width: 0;
}

.tenant-acc-display {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.tenant-acc-mascot {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.tenant-acc-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tenant-acc-count {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 600;
  white-space: nowrap;
}

.tenant-acc-chevron {
  width: 14px;
  height: 14px;
  color: #aaa;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.tenant-acc-header[aria-expanded="true"] .tenant-acc-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.tenant-acc-body {
  border-top: 1px solid #f0ede6;
}

.tenant-camp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  border-bottom: 1px solid #f8f5f0;
  transition: background 0.12s;
}

.tenant-camp-row:last-child { border-bottom: none; }
.tenant-camp-row:hover { background: #faf8f4; text-decoration: none; }

.tenant-camp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tenant-camp-info { flex: 1; min-width: 0; }

.tenant-camp-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  display: block;
}

.tenant-camp-meta {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 2px;
  display: block;
}

.tenant-camp-arrow {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.15s;
}

.tenant-camp-row:hover .tenant-camp-arrow { transform: translateX(3px); }

/* =========================
   EDITOR HOVER-EFFECT TEXT
   Applied to text wrapped via the page editor's "Hover Effect" tool.
   Each span carries its own --okie-hover-color / --okie-hover-cursor
   custom properties set inline.
========================= */
.okie-hover-fx {
  transition: color 0.15s;
}
.okie-hover-fx:hover {
  color: var(--okie-hover-color, inherit);
  cursor: var(--okie-hover-cursor, inherit);
}

/* =========================
   FORM HONEYPOT
   Hidden from sighted users and screen readers, but left in the
   normal tab/DOM flow so simple bots that auto-fill every field
   still trip it.
========================= */
.okie-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Terms / Privacy / Returns page ── */
.terms-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.terms-toc {
  position: sticky;
  top: 100px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px 18px;
}
.terms-toc-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  margin: 0 0 10px;
}
.terms-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.terms-toc a {
  font-size: 0.85rem;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}
.terms-toc a:hover { color: var(--accent); }
.terms-content { min-width: 0; }
.terms-section { margin-bottom: 8px; }
.terms-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: #111;
}
.terms-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 24px 0 6px;
  color: #222;
}
.terms-section p,
.terms-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}
.terms-section ul,
.terms-section ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.terms-section li { margin-bottom: 4px; }
.terms-section a { color: var(--accent); }
.terms-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 40px 0;
}
.terms-callout {
  background: #fff8e6;
  border: 1px solid #f0d080;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a4200;
  margin: 0 0 20px;
}
@media (max-width: 700px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
  .terms-toc {
    position: static;
  }
}

.terms-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
