/*
Theme Name: ImageFly
Theme URI: https://imagefly.ca
Author: ImageFly
Author URI: https://imagefly.ca
Description: Mobile-first custom theme for ImageFly — Edmonton's custom printing, apparel & drinkware shop. Covers t-shirts, hoodies, crew necks, mugs, tumblers, business cards, flyers, brochures, posters, greeting cards and 3D printing.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: Private
Text Domain: imagefly
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --navy:       #0B1929;
  --navy-soft:  #132235;
  --navy-mid:   #1a2f4a;
  --orange:     #FF5F1F;
  --orange-lt:  #FF7A42;
  --yellow:     #FFD166;
  --light:      #F2F4F7;
  --light2:     #E8ECF2;
  --white:      #FFFFFF;
  --muted:      #7A8899;
  --border:     #D6DCE6;
  --text:       #0B1929;
  --radius:     14px;
  --radius-sm:  8px;
  --radius-xs:  6px;
  --shadow-sm:  0 2px 12px rgba(11,25,41,.07);
  --shadow-md:  0 6px 28px rgba(11,25,41,.11);
  --shadow-lg:  0 16px 48px rgba(11,25,41,.16);
  --font-d:     'Syne', sans-serif;
  --font-b:     'Plus Jakarta Sans', sans-serif;
  --transition: .22s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-b); background: none; }
input, select, textarea { font-family: var(--font-b); }

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ============================================================
   BUTTON SYSTEM
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: .025em;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-lg  { font-size: .95rem; padding: 15px 32px; }
.btn-md  { font-size: .87rem; padding: 12px 24px; }
.btn-sm  { font-size: .78rem; padding: 9px  18px; }
.btn-xs  { font-size: .72rem; padding: 7px  14px; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(255,95,31,.32);
}
.btn-primary:hover {
  background: var(--orange-lt);
  border-color: var(--orange-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,95,31,.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  background: var(--light);
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--light2); }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.label-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section-heading {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-heading .hi { color: var(--orange); }
.section-sub {
  font-size: .96rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}
.badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}
.badge-yellow  { background: var(--yellow);  color: var(--navy);  }
.badge-orange  { background: var(--orange);  color: var(--white); }
.badge-light   { background: var(--light);   color: var(--navy);  }
.badge-white   { background: rgba(255,255,255,.18); color: var(--white); border: 1px solid rgba(255,255,255,.3); }

/* ============================================================
   TOPBAR
============================================================ */
.if-topbar {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.5;
}
.if-topbar strong { color: var(--yellow); font-weight: 700; }
.if-topbar a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   NAVIGATION
============================================================ */
.if-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.if-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.site-logo {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: -.01em;
}
.site-logo .accent { color: var(--orange); }
.site-logo .dot { color: var(--orange); font-size: .5em; vertical-align: super; }
.nav-links {
  display: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-order-btn { display: none; }

/* Hamburger */
.hamburger {
  width: 42px; height: 42px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--light); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  visibility: hidden;
  pointer-events: none;
}
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,25,41,.55);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  padding: 24px 0;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { visibility: visible; pointer-events: all; }
.mobile-drawer.open .drawer-backdrop { opacity: 1; }
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--light); font-size: 1.1rem; color: var(--navy);
  transition: background var(--transition);
}
.drawer-close:hover { background: var(--light2); }
.drawer-links { flex: 1; padding: 0 16px; display: flex; flex-direction: column; gap: 2px; }
.drawer-links a {
  padding: 13px 10px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
  transition: background var(--transition), color var(--transition);
}
.drawer-links a:hover { background: var(--light); color: var(--orange); }
.drawer-links a .nav-icon { font-size: 1.15rem; width: 28px; text-align: center; }
.drawer-footer { padding: 20px 16px 0; border-top: 1px solid var(--border); margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-order-btn { display: inline-flex; }
  .hamburger { display: none; }
}

/* ============================================================
   HERO
============================================================ */
.if-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 55%, #0c1e33 100%);
  color: var(--white);
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,31,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px; left: 5%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,102,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,95,31,.15);
  border: 1px solid rgba(255,95,31,.3);
  color: var(--orange-lt);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.hero h1 .o { color: var(--orange); }
.hero h1 .y { color: var(--yellow); }
.hero-desc {
  font-size: clamp(.9rem, 2.5vw, 1.03rem);
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin-bottom: 34px;
  max-width: 460px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-pill {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.62);
}
.trust-pill .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,95,31,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--orange-lt); flex-shrink: 0;
}

/* Hero product grid */
.hero-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.hp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,95,31,.5);
  background: rgba(255,255,255,.1);
}
.hp-img {
  padding-top: 75%;
  position: relative;
  overflow: hidden;
}
.hp-img-inner {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.1));
}
.hp-icon { font-size: 2.8rem; }
.hp-label-top {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.hp-footer {
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.hp-name { font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.85); }
.hp-arrow { font-size: .7rem; color: var(--orange); }

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1fr 400px; align-items: center; }
  .if-hero { padding: 90px 0 80px; }
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.if-how { background: var(--light); padding: 80px 0; }
.how-steps { display: grid; gap: 16px; margin-top: 44px; }
.how-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--border);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.how-step:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,95,31,.3);
}
.step-body h3 { font-family: var(--font-d); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.step-body p { font-size: .84rem; color: var(--muted); line-height: 1.68; }
.step-note {
  margin-top: 12px;
  background: var(--light);
  border-radius: var(--radius-xs);
  padding: 9px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; gap: 7px;
}
@media (min-width: 620px)  { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .how-steps { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   PRODUCT TABS
============================================================ */
.if-products { padding: 88px 0; }
.tab-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  margin-top: 30px;
  margin-bottom: 36px;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-b);
  font-size: .82rem; font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.tab-btn .t-icon { font-size: 1rem; }
.tab-btn:hover { border-color: var(--orange); color: var(--orange); }
.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Product grid */
.products-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 500px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* Product card */
.prod-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.prod-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(255,95,31,.35);
}
.prod-img {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: var(--light);
}
.prod-mock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #e4e9f0 0%, #d0d8e4 100%);
}
.prod-mock .pm-icon { font-size: 3.2rem; opacity: .55; }
.prod-mock .pm-text {
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 0 16px;
}
.prod-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.prod-body { padding: 18px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-name { font-family: var(--font-d); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.prod-desc { font-size: .81rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }

/* Attribute selectors */
.attr-group { margin-bottom: 14px; }
.attr-lbl {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 7px;
  display: block;
}
.attr-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.attr-chip {
  font-size: .73rem; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--navy);
  cursor: pointer; transition: all .18s;
}
.attr-chip:hover { border-color: var(--orange); color: var(--orange); }
.attr-chip.on { border-color: var(--orange); background: rgba(255,95,31,.09); color: var(--orange); font-weight: 700; }

/* Color swatches */
.swatch {
  width: 26px; height: 26px;
  border-radius: 50%; border: 2.5px solid var(--border);
  cursor: pointer; transition: transform .2s, border-color .2s;
  flex-shrink: 0;
  position: relative;
}
.swatch:hover { transform: scale(1.2); }
.swatch.on { border-color: var(--orange); transform: scale(1.15); }
.swatch.on::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Quantity input */
.qty-row { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-xs);
  background: var(--light);
  border: 1.5px solid var(--border);
  font-size: 1rem; font-weight: 700;
  color: var(--navy); transition: background .18s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--light2); }
.qty-in {
  width: 56px; height: 32px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: .88rem; font-weight: 600;
  color: var(--navy); background: var(--white);
}
.qty-in:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

.prod-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.prod-note { font-size: .7rem; color: var(--muted); line-height: 1.6; }
.prod-price {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: .95rem;
  color: var(--orange);
  margin-bottom: 2px;
  letter-spacing: -.01em;
}
.prod-price abbr {
  font-size: .65rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-decoration: none;
  margin-left: 2px;
}
.btn-order {
  background: var(--orange); color: var(--white);
  font-family: var(--font-d); font-weight: 700; font-size: .76rem;
  padding: 10px 18px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: background .2s, transform .18s;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255,95,31,.28);
}
.btn-order:hover { background: var(--orange-lt); transform: translateY(-2px); }

/* Print info banner */
.print-banner {
  background: linear-gradient(90deg, rgba(255,95,31,.07), rgba(255,209,102,.07));
  border: 1.5px solid rgba(255,95,31,.2);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 26px;
  display: flex; align-items: flex-start; gap: 14px;
}
.print-banner .pb-icon { font-size: 1.6rem; flex-shrink: 0; }
.print-banner p { font-size: .84rem; line-height: 1.7; color: var(--navy); }
.print-banner strong { color: var(--orange); }

/* 3D intro block */
.threed-intro {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  margin-bottom: 28px;
}
.threed-intro h3 {
  font-family: var(--font-d); font-weight: 800;
  font-size: 1.5rem; color: var(--yellow); margin-bottom: 10px;
}
.threed-intro p { font-size: .87rem; line-height: 1.75; color: rgba(255,255,255,.75); margin-bottom: 20px; }
.threed-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.threed-feat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: .79rem;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.threed-feat strong { display: block; color: var(--yellow); font-size: .82rem; margin-bottom: 4px; }
@media (max-width: 480px) { .threed-feats { grid-template-columns: 1fr; } }

/* ============================================================
   DELIVERY & PAYMENT
============================================================ */
.if-delivery { background: var(--light); padding: 84px 0; }
.delivery-grid { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 640px)  { .delivery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }

.dcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--border);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--orange); }
.dcard.dark { background: var(--navy); color: var(--white); border-top-color: var(--yellow); }
.dcard.dark:hover { border-top-color: var(--orange); }
.dcard-icon { font-size: 2.2rem; margin-bottom: 16px; }
.dcard h3 { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.dcard p { font-size: .84rem; line-height: 1.7; color: var(--muted); }
.dcard.dark p { color: rgba(255,255,255,.65); }
.dcard ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dcard li {
  font-size: .83rem; line-height: 1.6; color: var(--muted);
  display: flex; align-items: flex-start; gap: 9px;
}
.dcard.dark li { color: rgba(255,255,255,.7); }
.dcard li::before { content: '✓'; color: var(--orange); font-weight: 800; flex-shrink: 0; font-size: .75rem; margin-top: 2px; }
.dcard.dark li::before { color: var(--yellow); }
.free-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--navy);
  font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px; margin-top: 14px;
}
.free-tag-orange { background: var(--orange); color: white; }
.etransfer-box {
  margin-top: 16px;
  background: rgba(255,209,102,.12);
  border: 1.5px solid rgba(255,209,102,.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.etransfer-box .label { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.etransfer-box .value { font-family: var(--font-d); font-size: 1.05rem; font-weight: 800; color: var(--yellow); }

/* ============================================================
   CONTACT / ORDER CTA
============================================================ */
.if-contact { padding: 88px 0; }
.cta-card {
  background: linear-gradient(145deg, var(--navy) 0%, #0e2236 100%);
  border-radius: 22px;
  padding: 60px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; top: -120px; right: -100px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,31,.14), transparent 65%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,102,.08), transparent 65%);
  pointer-events: none;
}
.cta-card h2 {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  color: var(--white); margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cta-card h2 span { color: var(--orange); }
.cta-card p {
  font-size: .96rem; line-height: 1.75;
  color: rgba(255,255,255,.65); max-width: 500px;
  margin: 0 auto 36px; position: relative; z-index: 1;
}
.cta-channels {
  display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: center;
  position: relative; z-index: 1;
}
.cta-ch {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 16px 24px;
  cursor: pointer; text-align: left;
  transition: background .22s, border-color .22s, transform .22s;
  color: inherit; text-decoration: none;
}
.cta-ch:hover {
  background: rgba(255,95,31,.18);
  border-color: rgba(255,95,31,.5);
  transform: translateY(-2px);
}
.cta-ch-icon { font-size: 1.6rem; flex-shrink: 0; }
.cta-ch-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 2px; }
.cta-ch-value { font-size: .92rem; font-weight: 700; color: var(--white); }
.cta-note { color: rgba(255,255,255,.4); font-size: .75rem; margin-top: 24px; position: relative; z-index: 1; }
@media (max-width: 480px) { .cta-card { padding: 44px 20px; } .cta-ch { padding: 14px 16px; } }

/* ============================================================
   FAQ
============================================================ */
.if-faq { background: var(--light); padding: 84px 0; }
.faq-grid { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 700px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,95,31,.3); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  font-size: .88rem; font-weight: 700;
  color: var(--navy);
  cursor: pointer; background: none; border: none;
  text-align: left; gap: 14px;
  transition: color .2s;
}
.faq-q:hover { color: var(--orange); }
.faq-q .faq-arrow {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; transition: transform .3s, background .2s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--orange); color: white; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 350px; }
.faq-a-body { padding: 0 20px 18px; font-size: .84rem; color: var(--muted); line-height: 1.75; }

/* ============================================================
   FOOTER
============================================================ */
.if-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 60px 0 32px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px)  { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; } }
.footer-brand { }
.footer-brand .site-logo { color: var(--white); margin-bottom: 14px; font-size: 1.4rem; }
.footer-brand p { font-size: .84rem; line-height: 1.75; max-width: 250px; }
.footer-brand .footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-brand .fc-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-brand .fc-item a { transition: color .2s; }
.footer-brand .fc-item a:hover { color: var(--orange); }
.footer-col h4 { font-family: var(--font-d); font-weight: 700; font-size: .88rem; color: rgba(255,255,255,.95); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .82rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; flex-wrap: wrap;
  gap: 10px; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .77rem; }
.footer-bottom .sub { font-size: .72rem; color: rgba(255,255,255,.3); }

/* ============================================================
   ORDER MODAL
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(11,25,41,.78);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 430px; width: 100%;
  padding: 36px 28px;
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.modal-overlay.open .modal-box { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--light); color: var(--muted); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.modal-close:hover { background: var(--light2); color: var(--navy); }
.modal-icon { font-size: 2.2rem; margin-bottom: 12px; }
.modal-title { font-family: var(--font-d); font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; }
.modal-sub { font-size: .84rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.modal-channels { display: flex; flex-direction: column; gap: 10px; }
.mc {
  display: flex; align-items: center; gap: 14px;
  background: var(--light);
  border-radius: 12px;
  padding: 15px 18px;
  text-decoration: none; color: var(--navy);
  border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s, transform .18s;
  cursor: pointer;
}
.mc:hover { border-color: var(--orange); background: rgba(255,95,31,.04); transform: translateX(3px); }
.mc.wa { background: #25D366; color: white; border-color: #25D366; }
.mc.wa:hover { background: #22c55e; border-color: #22c55e; }
.mc-icon { font-size: 1.5rem; flex-shrink: 0; }
.mc-text .mc-label { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 1px; }
.mc-text .mc-val { font-size: .92rem; font-weight: 700; }

/* ============================================================
   SCROLL-TO-TOP
============================================================ */
.scroll-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 998;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange); color: white;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(255,95,31,.4);
  cursor: pointer; border: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.scroll-top.vis { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px) !important; }

/* ============================================================
   MICRO-ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp .65s ease forwards; }
.fade-up.d1 { animation-delay: .08s; }
.fade-up.d2 { animation-delay: .18s; }
.fade-up.d3 { animation-delay: .28s; }
.fade-up.d4 { animation-delay: .38s; }

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET
============================================================ */
body.admin-bar .if-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .if-nav { top: 46px; }
}

/* ============================================================
   ORDER FORM (inside modal)
============================================================ */
.modal-box { max-height: 90vh; overflow-y: auto; }

.of-product-tag {
  display: inline-block;
  background: rgba(255,95,31,.1);
  color: var(--orange);
  border: 1.5px solid rgba(255,95,31,.25);
  font-size: .72rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 18px;
}

.of-row   { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.of-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0; }
@media (max-width: 440px) { .of-row-2 { grid-template-columns: 1fr; } }

.of-label {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy);
}
.of-req { color: var(--orange); }

.of-input, .of-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-b);
  font-size: .88rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.of-input:focus, .of-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,95,31,.12);
}
.of-textarea { resize: vertical; min-height: 80px; }

.of-error {
  display: none;
  background: #fff0ee;
  border: 1.5px solid #ffc4b8;
  border-radius: var(--radius-sm);
  color: #c0392b;
  font-size: .82rem;
  padding: 10px 14px;
  margin-bottom: 12px;
  line-height: 1.55;
}

.of-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(255,95,31,.28);
}
.of-submit:hover:not(:disabled) {
  background: var(--orange-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,95,31,.36);
}
.of-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.of-alts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: .78rem;
  color: var(--muted);
}
.of-alts a {
  font-weight: 700;
  color: var(--navy);
  background: var(--light);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: .75rem;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.of-alts a:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   FILE UPLOAD DROPZONE
============================================================ */
.of-opt {
  font-weight: 400;
  color: var(--muted);
  font-size: .68rem;
  text-transform: none;
  letter-spacing: 0;
}

.of-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.of-dropzone:hover,
.of-dropzone.drag-over {
  border-color: var(--orange);
  background: rgba(255,95,31,.04);
}
.of-dropzone.has-file {
  border-style: solid;
  border-color: var(--orange);
  background: rgba(255,95,31,.04);
  cursor: default;
}

/* Idle prompt */
.of-dz-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 16px;
  text-align: center;
  pointer-events: none;
}
.of-dz-icon {
  font-size: 1.9rem;
  margin-bottom: 4px;
  opacity: .7;
}
.of-dz-text {
  font-size: .84rem;
  color: var(--navy);
  font-weight: 500;
}
.of-dz-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: all;
}
.of-dz-hint {
  font-size: .71rem;
  color: var(--muted);
  margin-top: 2px;
}

/* File preview */
.of-dz-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.of-dz-ficon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.of-dz-finfo {
  flex: 1;
  min-width: 0;
}
.of-dz-fname {
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.of-dz-fsize {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px;
}
.of-dz-remove {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light2);
  border: none;
  color: var(--muted);
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.of-dz-remove:hover {
  background: #fde8e4;
  color: #c0392b;
}

/* File error */
.of-file-err {
  font-size: .79rem;
  color: #c0392b;
  margin-top: 6px;
  line-height: 1.55;
  display: none;
}

/* Order form disclaimer */
.of-disclaimer {
  font-size: .75rem;
  color: #9ca3af;
  line-height: 1.65;
  border-left: 3px solid #e2e6ed;
  padding: 8px 12px;
  margin-bottom: 4px;
  border-radius: 0 4px 4px 0;
}

/* Contact channel QR code */
.cta-ch-qr {
  margin-top: 10px;
}
.cta-ch-qr img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.15);
  background: #fff;
}
@media (max-width: 480px) {
  .cta-ch { flex-direction: column; align-items: flex-start; }
  .cta-ch-qr img { width: 64px; height: 64px; }
}

/* ============================================================
   DELIVERY OPTION SELECTOR
============================================================ */
.of-del-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 380px) {
  .of-del-opts { grid-template-columns: 1fr; }
}

/* Hide native radio */
.of-del-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

/* Visual card */
.of-del-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  background: var(--white);
  transition: border-color .18s, background .18s, box-shadow .18s;
  position: relative;
  user-select: none;
}
.of-del-card:hover {
  border-color: var(--orange);
  background: rgba(255,95,31,.03);
}
.of-del-opt input[type="radio"]:checked + .of-del-card {
  border-color: var(--orange);
  background: rgba(255,95,31,.06);
  box-shadow: 0 0 0 3px rgba(255,95,31,.12);
}

.of-del-icon { font-size: 1.3rem; flex-shrink: 0; }

.of-del-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.of-del-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.of-del-price {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}
.of-del-price.free { color: #16a34a; }

/* Checkmark — only visible when selected */
.of-del-check {
  font-size: .75rem;
  color: var(--orange);
  font-weight: 800;
  opacity: 0;
  transition: opacity .15s;
  flex-shrink: 0;
}
.of-del-opt input[type="radio"]:checked + .of-del-card .of-del-check {
  opacity: 1;
}

/* Address row reveal animation */
.of-addr-row {
  animation: addrReveal .22s ease;
}
@keyframes addrReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SWATCH NOTE + TOOLTIP
============================================================ */
.swatch-note {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 7px;
  font-style: italic;
  line-height: 1.5;
}
.attr-note {
  font-size: .68rem;
  color: var(--muted);
  margin-top: 5px;
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid var(--orange);
  padding-left: 7px;
}

/* Show colour name on hover */
.swatch {
  position: relative;
}
.swatch::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  z-index: 10;
}
.swatch:hover::after {
  opacity: 1;
}
