/* ═══════════════════════════════════════════
   TEXAS TRUCK LLC — GLOBAL STYLES
═══════════════════════════════════════════ */
:root {
  --navy: #0d1f5c;
  --navy-dark: #091848;
  --navy-mid: #122268;
  --red: #cc2200;
  --red-h: #b01e00;
  --white: #fff;
  --off: #f5f6fa;
  --border: #dde0ea;
  --text: #1a1d2e;
  --mid: #3d4160;
  --light: #6b7090;
  --green: #1a7a30;
  --gold: #e8a000;
  --shadow: 0 4px 20px rgba(13,31,92,.10);
  --shadow-lg: 0 12px 40px rgba(13,31,92,.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: #fff; color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ── */
.bc { font-family: 'Barlow Condensed', sans-serif; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .3px; border: 2px solid transparent; transition: all .2s; cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-h); border-color: var(--red-h); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(204,34,0,.3); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* ── TOAST ── */
#toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 7px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; box-shadow: var(--shadow-lg); z-index: 5000; transform: translateY(100px); opacity: 0; transition: all .3s; pointer-events: none; max-width: 320px; }
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { background: var(--green); }
#toast.error { background: #c00; }

/* ── TOP BAR ── */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 7px 4%; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; }
.topbar a { color: #fff; transition: opacity .2s; }
.topbar a:hover { opacity: .75; }
.topbar-phones { display: flex; gap: 16px; }
.topbar-phone { color: #fff !important; font-weight: 700; font-size: 12.5px; }

/* ── NAV ── */
.nav-wrap { background: var(--navy); position: sticky; top: 0; z-index: 500; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.nav-top { padding: 0 4%; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 50px; width: 50px; object-fit: contain; }
.nav-logo-text { color: #fff; }
.nav-logo-name { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: .5px; display: block; line-height: 1.1; }
.nav-logo-sub { font-size: 10px; opacity: .5; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-call { background: var(--red); color: #fff; padding: 9px 18px; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; transition: all .2s; }
.nav-call:hover { background: var(--red-h); }
.nav-cart { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); color: #fff; padding: 8px 14px; border-radius: 5px; display: flex; align-items: center; gap: 7px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; position: relative; transition: all .2s; }
.nav-cart:hover { background: rgba(255,255,255,.18); }
.cart-badge { background: var(--red); color: #fff; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 10px; display: none; }
.cart-badge.show { display: inline-block; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* NAV LINKS */
.nav-links { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); overflow: visible; }
.nav-links ul { display: flex; list-style: none; padding: 0 4%; height: 44px; align-items: stretch; overflow: visible; }
.nav-links li { position: relative; display: flex; align-items: stretch; }
.nav-links li > a,
.nav-links li > span { display: flex; align-items: center; gap: 4px; padding: 0 16px; color: rgba(255,255,255,.82); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .3px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; transition: all .15s; user-select: none; }
.nav-links li > a:hover,
.nav-links li > span:hover { color: #fff; border-bottom-color: var(--red); background: rgba(255,255,255,.04); }
.nav-arr { font-size: 9px; opacity: .6; transition: transform .2s; display: inline-block; }

/* Dropdown */
.nav-dd { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-top: 3px solid var(--red); border-radius: 0 0 8px 8px; box-shadow: var(--shadow-lg); min-width: 210px; z-index: 600; padding: 6px 0; }
.nav-dd.open { display: block; animation: ddIn .15s ease; }
/* HOVER TRIGGER (desktop only) */
@media(min-width: 901px) {
  .nav-links li:hover .nav-dd { display: block; animation: ddIn .15s ease; }
  .nav-links li:hover > span { color: #fff; border-bottom-color: var(--red); background: rgba(255,255,255,.04); }
  .nav-links li:hover .nav-arr { transform: rotate(180deg); }
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-dd a { display: flex; align-items: center; gap: 9px; padding: 10px 18px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; color: var(--mid); border-left: 3px solid transparent; transition: all .13s; }
.nav-dd a:hover { color: var(--navy); background: var(--off); border-left-color: var(--red); }
.nav-dd-title { padding: 8px 18px 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #bbb; border-bottom: 1px solid var(--border); margin-bottom: 3px; }
.nav-links li.dd-open > span { color: #fff; border-bottom-color: var(--red); background: rgba(255,255,255,.04); }
.nav-links li.dd-open .nav-arr { transform: rotate(180deg); }

/* ── MOBILE MENU ── */
.mob-menu { display: none; position: fixed; inset: 0; z-index: 900; background: var(--navy); overflow-y: auto; padding: 20px; }
.mob-menu.open { display: block; }
.mob-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mob-close { background: none; border: none; color: #fff; font-size: 30px; line-height: 1; }
.mob-item { border-bottom: 1px solid rgba(255,255,255,.09); }
.mob-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; cursor: pointer; letter-spacing: .3px; }
.mob-arr { font-size: 13px; opacity: .6; transition: transform .25s; flex-shrink: 0; }
.mob-item.open .mob-arr { transform: rotate(180deg); opacity: 1; }
.mob-sub { display: none; padding: 4px 0 14px 0; }
.mob-item.open .mob-sub { display: block; }
.mob-sub a { display: flex; align-items: center; gap: 8px; padding: 11px 12px; color: rgba(255,255,255,.75); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 600; border-radius: 6px; transition: all .15s; margin-bottom: 2px; }
.mob-sub a:hover, .mob-sub a:active { color: #fff; background: rgba(255,255,255,.08); }
.mob-sub-icon { font-size: 14px; color: var(--red); font-weight: 900; }
.mob-plain a { display: block; padding: 15px 0; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.09); transition: color .2s; }
.mob-plain a:hover { color: rgba(255,255,255,.7); }

/* ── CART DRAWER ── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1999; display: none; }
.cart-overlay.show { display: block; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 380px; max-width: 100vw; height: 100vh; background: #fff; z-index: 2000; box-shadow: -8px 0 40px rgba(0,0,0,.2); transition: right .3s ease; display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-hdr { background: var(--navy); color: #fff; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.cart-hdr h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; }
.cart-close-btn { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; opacity: .7; }
.cart-close-btn:hover { opacity: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--light); font-size: 14px; }
.cart-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 60px; height: 46px; object-fit: cover; border-radius: 5px; background: var(--off); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.cart-item-brand { font-size: 11px; color: var(--light); }
.cart-item-price { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-rm { background: none; border: none; color: #c00; font-size: 18px; line-height: 1; }
.cart-qty-wrap { display: flex; align-items: center; gap: 6px; }
.cart-qty-btn { background: var(--off); border: 1px solid var(--border); width: 24px; height: 24px; border-radius: 4px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cart-qty-num { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-foot { padding: 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-subtotal-label { font-size: 14px; font-weight: 700; }
.cart-subtotal-amt { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; color: var(--navy); }

/* ── PAGE SYSTEM ── */
.page { display: none; min-height: 60vh; }
.page.active { display: block; }

/* ── HERO ── */
.hero { position: relative; background: var(--navy-dark); min-height: 500px; display: flex; align-items: center; overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,21,48,.97) 0%, rgba(10,31,68,.9) 50%, rgba(15,40,90,.75) 100%); }
.hero-content { position: relative; z-index: 2; padding: 60px 5%; max-width: 660px; }
.hero-eyebrow { display: inline-block; background: rgba(204,34,0,.15); border: 1px solid rgba(204,34,0,.4); color: #ff7755; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 3px; margin-bottom: 20px; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(40px, 7vw, 74px); font-weight: 900; line-height: .98; color: #fff; letter-spacing: .5px; margin-bottom: 16px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 28px; max-width: 500px; }
.hero-sub strong { color: #fff; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 18px; }
.hck { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; }
.hck-dot { color: #3ddd6a; font-size: 16px; }

/* ── SECTIONS ── */
.section { padding: 52px 4%; }
.section-alt { background: var(--off); }
.sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); flex-wrap: wrap; gap: 12px; }
.sec-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--red); margin-bottom: 5px; }
.sec-title { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 900; color: var(--navy); letter-spacing: .3px; }
.sec-title span { color: var(--red); }

/* ── CATEGORY GRID ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-card { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(7,21,48,.86)); display: flex; align-items: flex-end; padding: 16px; }
.cat-label { color: #fff; }
.cat-label-name { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 900; letter-spacing: .5px; }
.cat-label-sub { font-size: 11px; opacity: .7; margin-top: 2px; }

/* ── PRODUCT GRID ── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: #fff; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: all .22s; cursor: pointer; }
.pcard:hover { border-color: var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard-img { aspect-ratio: 4/3; overflow: hidden; background: var(--off); position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img-ph { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #e0e4f0, #cdd2e2); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.pbadge { position: absolute; top: 8px; left: 8px; background: var(--green); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; letter-spacing: .3px; }
.pbadge.call { background: var(--navy); }
.pcard-info { padding: 12px 13px 14px; flex: 1; display: flex; flex-direction: column; }
.pcard-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--light); margin-bottom: 4px; }
.pcard-name { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--text); flex: 1; margin-bottom: 10px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pcard-price { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; color: var(--navy); }
.pcard-stock { font-size: 10px; font-weight: 700; color: var(--green); text-transform: uppercase; }
.pcard-stock.call { color: var(--navy); }
.pcard-add { display: block; width: 100%; text-align: center; background: var(--navy); color: #fff; padding: 9px; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; border: none; transition: background .2s; }
.pcard-add:hover { background: var(--red); }

/* ── PRODUCT DETAIL ── */
.pd-wrap { max-width: 1040px; margin: 0 auto; padding: 36px 4%; }
.pd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--light); margin-bottom: 24px; flex-wrap: wrap; }
.pd-breadcrumb a { color: var(--navy); font-weight: 600; }
.pd-breadcrumb span { opacity: .5; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.pd-imgs {}
.pd-main-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: var(--off); }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumb { width: 70px; height: 54px; object-fit: cover; border-radius: 5px; border: 2px solid transparent; cursor: pointer; background: var(--off); }
.pd-thumb.active { border-color: var(--navy); }
.pd-info {}
.pd-brand-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--light); margin-bottom: 8px; }
.pd-name { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(22px, 4vw, 36px); font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 12px; }
.pd-price { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--red); margin-bottom: 16px; }
.pd-stock { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: #d4edda; color: var(--green); margin-bottom: 18px; }
.pd-stock.call { background: #e8eaf6; color: var(--navy); }
.pd-desc { font-size: 14px; color: var(--mid); line-height: 1.75; margin-bottom: 20px; }
.pd-specs { background: var(--off); border: 1.5px solid var(--border); border-radius: 7px; padding: 16px; margin-bottom: 18px; }
.pd-specs-title { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pd-spec-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-key { color: var(--light); font-weight: 600; }
.pd-spec-val { color: var(--text); font-weight: 700; text-align: right; max-width: 60%; }
.pd-shipping-info { background: #e8f4fd; border: 1px solid #bee3f8; border-radius: 6px; padding: 12px 14px; margin-bottom: 20px; font-size: 13px; color: #1a5c8a; line-height: 1.6; }
.pd-actions { display: flex; flex-direction: column; gap: 10px; }
.pd-add-btn { background: var(--navy); color: #fff; border: none; padding: 15px; border-radius: 6px; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .5px; transition: background .2s; }
.pd-add-btn:hover { background: var(--red); }
.pd-call-btn { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 13px; border-radius: 6px; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .5px; transition: all .2s; text-align: center; }
.pd-call-btn:hover { background: var(--navy); color: #fff; }
.pd-recommended { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--border); }
.pd-recommended h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 20px; }

/* ── CATEGORY PAGE ── */
.catpage-hdr { background: var(--navy); color: #fff; padding: 36px 4%; }
.catpage-hdr h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 5vw, 52px); font-weight: 900; letter-spacing: .5px; margin-bottom: 6px; }
.catpage-hdr p { font-size: 14px; opacity: .6; }
.catpage-body { padding: 32px 4%; }
.catpage-empty { text-align: center; padding: 60px 20px; color: var(--light); }
.catpage-empty h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }

/* ── CHECKOUT ── */
.checkout-wrap { max-width: 920px; margin: 0 auto; padding: 40px 4%; }
.checkout-wrap h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; color: var(--navy); margin-bottom: 28px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-box { background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 18px; }
.checkout-box h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--light); }
.form-field input,
.form-field select { padding: 10px 13px; border: 1.5px solid var(--border); border-radius: 5px; font-family: 'Barlow', sans-serif; font-size: 14px; transition: border .2s; width: 100%; }
.form-field input:focus,
.form-field select:focus { outline: none; border-color: var(--navy); }

/* Payment options */
.pay-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 2px solid var(--border); border-radius: 7px; cursor: pointer; transition: all .2s; }
.pay-opt:hover { border-color: var(--navy); }
.pay-opt.selected { border-color: var(--navy); background: rgba(13,31,92,.03); }
.pay-opt input[type=radio] { accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.pay-opt-icon { font-size: 24px; width: 32px; text-align: center; flex-shrink: 0; }
.pay-opt-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pay-opt-tag { font-size: 12px; color: var(--light); margin-top: 2px; }

/* Shipping options */
.ship-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ship-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--border); border-radius: 7px; cursor: pointer; transition: all .2s; }
.ship-opt:hover { border-color: var(--navy); }
.ship-opt.selected { border-color: var(--navy); background: rgba(13,31,92,.03); }
.ship-opt input[type=radio] { accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.ship-opt-body { flex: 1; }
.ship-opt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ship-opt-name { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; color: var(--text); }
.ship-opt-price { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 900; color: var(--navy); }
.ship-opt-sub { font-size: 12px; color: var(--light); margin-top: 3px; }

/* Order sidebar */
.order-sidebar { background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 22px; position: sticky; top: 80px; }
.order-sidebar h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.order-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item:last-of-type { border-bottom: none; }
.order-item-img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; background: var(--off); flex-shrink: 0; }
.order-item-info { flex: 1; }
.order-item-name { font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--text); }
.order-item-sub { font-size: 11px; color: var(--light); margin-top: 2px; }
.order-item-price { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.order-divider { height: 1px; background: var(--border); margin: 12px 0; }
.order-total-row { display: flex; justify-content: space-between; align-items: center; }
.order-total-label { font-size: 15px; font-weight: 700; }
.order-total-amt { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 900; color: var(--navy); }

/* ── ORDER CONFIRMATION ── */
.confirm-wrap { max-width: 580px; margin: 0 auto; padding: 60px 4%; text-align: center; }
.confirm-icon { font-size: 72px; margin-bottom: 16px; }
.confirm-wrap h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.confirm-wrap > p { font-size: 14px; color: var(--mid); line-height: 1.75; margin-bottom: 28px; }
.confirm-box { background: var(--off); border: 1.5px solid var(--border); border-radius: 8px; padding: 20px; text-align: left; margin-bottom: 20px; }
.confirm-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row strong { color: var(--text); }
.pay-instructions { background: #fff3cd; border: 1.5px solid #ffc107; border-radius: 7px; padding: 18px; text-align: left; margin-bottom: 22px; }
.pay-instructions h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.pay-instructions p { font-size: 13px; color: #5c4a00; line-height: 1.75; }
.pay-instructions .pay-tag { font-size: 18px; font-weight: 900; color: var(--navy); background: rgba(13,31,92,.08); padding: 6px 14px; border-radius: 4px; display: inline-block; margin: 8px 0; }

/* ── CONTACT PAGE ── */
.page-wrap { max-width: 740px; margin: 0 auto; padding: 48px 4%; }
.page-wrap h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.info-box { background: var(--off); border: 1.5px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 28px; }
.info-box p { font-size: 14px; color: var(--mid); line-height: 1.8; margin-bottom: 12px; }
.info-box p:last-child { margin-bottom: 0; }
.info-box a { color: var(--navy); font-weight: 700; }
.form-box { background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 26px; }
.form-box h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-field { display: flex; flex-direction: column; gap: 5px; }
.contact-field.full { grid-column: span 2; }
.contact-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--light); }
.contact-field input,
.contact-field select,
.contact-field textarea { padding: 10px 13px; border: 1.5px solid var(--border); border-radius: 5px; font-family: 'Barlow', sans-serif; font-size: 14px; transition: border .2s; width: 100%; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { outline: none; border-color: var(--navy); }
.contact-field textarea { height: 110px; resize: vertical; }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); color: #fff; }
.footer-main { padding: 52px 4% 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo-name { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.footer-logo-name em { color: var(--red); font-style: normal; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.75; margin-bottom: 18px; }
.footer-phones a { display: block; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 4px; transition: color .2s; }
.footer-phones a:hover { color: var(--red); }
.footer-phones .footer-email { font-size: 13px; color: rgba(255,255,255,.35); font-family: 'Barlow', sans-serif; font-weight: 400; margin-top: 6px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.28); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.42); font-size: 13.5px; transition: color .2s; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 16px 4%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.22); }

/* ── RESPONSIVE ── */
/* ═══════════════════════════════
   TABLET — max 900px
═══════════════════════════════ */
@media (max-width: 900px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-sidebar { position: static; margin-top: 0; }
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
  .pd-wrap { padding: 28px 4%; }
}

/* ═══════════════════════════════
   MOBILE — max 768px
═══════════════════════════════ */
@media (max-width: 768px) {
  /* TOP BAR */
  .topbar { padding: 7px 4%; font-size: 11px; }
  .topbar-left { display: none; }
  .topbar-phones { gap: 10px; }
  .topbar-phone { font-size: 12px; }

  /* NAV */
  .nav-top { height: 58px; padding: 0 4%; }
  .nav-logo img { height: 42px; width: 42px; }
  .nav-logo-name { font-size: 17px; }
  .nav-logo-sub { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-call { padding: 8px 14px; font-size: 13px; }
  .nav-cart { padding: 8px 12px; font-size: 13px; }

  /* HERO */
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-content { padding: 36px 5% 40px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 14px; }
  .hero-sub { font-size: 14px; margin-bottom: 22px; }
  .hero-btns { gap: 10px; margin-bottom: 22px; }
  .hero-btns .btn { padding: 13px 20px; font-size: 15px; width: 100%; justify-content: center; }
  .hero-checks { gap: 12px; }
  .hck { font-size: 12px; }

  /* SECTIONS */
  .section { padding: 36px 4%; }
  .sec-hdr { margin-bottom: 18px; padding-bottom: 14px; }
  .sec-title { font-size: 24px; }
  .sec-eyebrow { font-size: 10px; }
  .btn-va { font-size: 11px; padding: 7px 12px; }

  /* PRODUCT GRID */
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard-name { font-size: 12px; }
  .pcard-price { font-size: 18px; }
  .pcard-add { font-size: 12px; padding: 8px; }
  .pcard-info { padding: 10px 10px 11px; }

  /* CATEGORY GRID */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-label-name { font-size: 15px; }

  /* CART DRAWER */
  .cart-drawer { width: 100vw; right: -100vw; }
  .cart-drawer.open { right: 0; }

  /* PRODUCT DETAIL */
  .pd-wrap { padding: 20px 4%; }
  .pd-breadcrumb { font-size: 12px; gap: 6px; margin-bottom: 16px; }
  .pd-name { font-size: clamp(20px, 5vw, 28px); }
  .pd-price { font-size: 30px; }
  .pd-desc { font-size: 13px; }
  .pd-spec-row { font-size: 12px; }
  .pd-recommended h3 { font-size: 20px; }

  /* CHECKOUT */
  .checkout-wrap { padding: 24px 4%; }
  .checkout-wrap h1 { font-size: 26px; margin-bottom: 18px; }
  .checkout-box { padding: 18px; margin-bottom: 14px; }
  .checkout-box h3 { font-size: 16px; margin-bottom: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-field.full { grid-column: span 1; }
  .form-field input,
  .form-field select { padding: 12px 13px; font-size: 16px; } /* 16px prevents iOS zoom */
  .pay-opt { padding: 12px 14px; }
  .pay-opt-name { font-size: 14px; }
  .pay-opt-tag { font-size: 11px; }
  .order-sidebar { padding: 16px; }
  .order-total-amt { font-size: 22px; }

  /* CONTACT */
  .page-wrap { padding: 28px 4%; }
  .page-wrap h1 { font-size: 30px; margin-bottom: 16px; }
  .info-box { padding: 18px; }
  .info-box p { font-size: 13px; }
  .form-box { padding: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-field.full { grid-column: span 1; }
  .contact-field input,
  .contact-field select,
  .contact-field textarea { font-size: 16px; } /* prevent iOS zoom */

  /* CONFIRMATION */
  .confirm-wrap { padding: 40px 4%; }
  .confirm-icon { font-size: 56px; }
  .confirm-wrap h1 { font-size: 28px; }
  .confirm-box { padding: 16px; }
  .confirm-row { font-size: 12px; }
  .pay-instructions { padding: 14px; }
  .pay-instructions h4 { font-size: 15px; }
  .pay-instructions p { font-size: 13px; }

  /* CATEGORY PAGE */
  .catpage-hdr { padding: 24px 4%; }
  .catpage-hdr h1 { font-size: clamp(24px, 6vw, 40px); }
  .catpage-body { padding: 20px 4%; }

  /* FOOTER */
  .footer-main { padding: 36px 4% 24px; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-logo-name { font-size: 20px; }
  .footer-desc { font-size: 12px; }
  .footer-phones a { font-size: 16px; }
  .footer-col h4 { font-size: 10px; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 4%; }
  .footer-copy { font-size: 10px; }
}

/* ═══════════════════════════════
   SMALL PHONES — max 480px
═══════════════════════════════ */
@media (max-width: 480px) {
  /* NAV */
  .nav-logo { gap: 7px; }
  .nav-logo img { height: 38px; width: 38px; }
  .nav-logo-name { font-size: 15px; letter-spacing: 0; line-height: 1.05; }
  .nav-logo-sub { display: none; } /* hide subtitle on tiny screens, keep the name */
  .nav-call { display: none; } /* phone number in topbar is enough */
  .nav-cart { gap: 5px; }

  /* HERO */
  .hero h1 { font-size: 34px; }
  .hero-btns .btn { font-size: 14px; padding: 13px 16px; }

  /* GRIDS */
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* PRODUCT CARDS */
  .pcard-img { aspect-ratio: 1/1; } /* square on tiny screens */
  .pcard-name { font-size: 11px; line-height: 1.3; }
  .pcard-price { font-size: 16px; }
  .pcard-brand { font-size: 9px; }
  .pcard-add { font-size: 11px; padding: 7px 6px; }
  .pcard-stock { display: none; } /* remove clutter on tiny screens */

  /* CATEGORY CARDS */
  .cat-label-name { font-size: 13px; }
  .cat-label-sub { display: none; }

  /* FOOTER */
  .footer-main { grid-template-columns: 1fr; }
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) { display: none; } /* keep it clean, links in nav */

  /* CHECKOUT INPUTS — CRITICAL for iOS — must be 16px to prevent zoom */
  .form-field input,
  .form-field select,
  .contact-field input,
  .contact-field select,
  .contact-field textarea { font-size: 16px !important; }

  /* CART */
  .cart-item-name { font-size: 12px; }
  .cart-subtotal-amt { font-size: 20px; }
  .btn-checkout { font-size: 15px; padding: 13px; }

  /* TOAST */
  #toast { bottom: 16px; right: 16px; left: 16px; max-width: none; font-size: 13px; }
}

/* ═══════════════════════════════
   MOBILE UX — TOUCH IMPROVEMENTS
═══════════════════════════════ */

/* Minimum 44px tap targets for all interactive elements on mobile */
@media (max-width: 768px) {
  .pcard-add,
  .btn,
  .nav-call,
  .nav-cart,
  .cart-close-btn,
  .cart-qty-btn,
  .cart-item-rm,
  .mob-link,
  .pay-opt,
  .btn-checkout,
  .btn-place { min-height: 44px; }

  /* Smooth scrolling feel */
  .cart-body,
  .mob-menu { -webkit-overflow-scrolling: touch; }

  /* Remove tap highlight on mobile */
  * { -webkit-tap-highlight-color: transparent; }

  /* Better touch scrolling for nav */
  .nav-links ul { -webkit-overflow-scrolling: touch; }

  /* Product cards — full-width add to cart button feels better on mobile */
  .pcard { cursor: pointer; }

  /* Larger touch area for cart quantity buttons */
  .cart-qty-btn { width: 32px; height: 32px; font-size: 16px; }

  /* Checkout — make labels easier to read */
  .form-field label,
  .contact-field label { font-size: 12px; margin-bottom: 2px; }

  /* Section padding tighter on mobile */
  .section { padding: 32px 4%; }
  .section-alt { padding: 32px 4%; }

  /* Prevent horizontal scroll everywhere */
  .page, section, footer { overflow-x: hidden; max-width: 100vw; }

  /* Hero eyebrow wraps properly */
  .hero-eyebrow { white-space: normal; text-align: left; }

  /* Page wrap padding */
  .contact-wrap, .pd-wrap, .checkout-wrap, .confirm-wrap { padding-left: 5%; padding-right: 5%; }
}
