/* ============================================
   JUSTBUYS — GLOBAL STYLES
   Palette: #0A0F1E (navy), #F97316 (orange), #FFFFFF (white)
   Accent neutral: #F4F5F7 (bg), #6B7280 (muted text)
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #0A0F1E;
  --navy-80:    #1C2333;
  --navy-60:    #2E3650;
  --orange:     #F97316;
  --orange-dark:#D9600A;
  --orange-pale:#FFF4EC;
  --white:      #FFFFFF;
  --bg:         #F4F5F7;
  --border:     #E5E7EB;
  --muted:      #6B7280;
  --text:       #111827;
  --green:      #16A34A;
  --blue-link:  #1D4ED8;

  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --container:  1380px;
  --header-h:   64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TOP STRIP ── */
.top-strip {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-align: center;
  padding: 7px 0;
  letter-spacing: .2px;
}
.top-strip a { color: var(--orange); font-weight: 600; }
.top-strip .sep { margin: 0 10px; opacity: .4; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 2px solid var(--orange);
  height: var(--header-h);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.logo-words { line-height: 1; }
.logo-words .brand {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.logo-words .tag {
  font-family: 'Dancing Script', cursive;
  font-size: 13px;
  color: var(--orange);
  display: block;
  margin-top: -2px;
}

/* Search */
.search-wrap {
  flex: 1;
  max-width: 560px;
  display: flex;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.search-wrap:focus-within { border-color: var(--orange); }
.search-cat {
  background: #F4F5F7;
  border: none;
  padding: 0 10px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  border-right: 1px solid var(--border);
  cursor: pointer;
  outline: none;
}
.search-input {
  flex: 1;
  border: none;
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--font-body);
  background: #fff;
  outline: none;
  color: var(--text);
}
.search-btn {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s;
}
.search-btn:hover { background: var(--orange-dark); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hbtn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 36px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.hbtn:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.hbtn.cart {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.hbtn.cart:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.cart-badge {
  background: #fff;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hbtn-icon { font-size: 16px; }

/* ── NAV BAR ── */
.navbar {
  background: var(--navy-80);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
  white-space: nowrap;
  transition: all .2s;
  position: relative;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  border-bottom-color: var(--orange);
  background: rgba(255,255,255,.04);
}
.nav-link.promo {
  color: var(--orange);
  font-weight: 700;
}
.nav-link.promo:hover { color: #fff; background: var(--orange); border-bottom-color: var(--orange); }

/* Dropdown */
.has-drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 300;
  padding: 6px 0;
}
.has-drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background .15s;
}
.drop-menu a:hover { background: var(--orange-pale); color: var(--orange); }

/* ── DELIVERY STRIP ── */
.delivery-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.delivery-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.delivery-strip-inner::-webkit-scrollbar { display: none; }
.d-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.d-badge .dicon { font-size: 18px; }
.d-badge strong { font-size: 12px; font-weight: 700; color: var(--navy); display: block; }
.d-badge span { font-size: 11px; color: var(--muted); }

/* ── HERO ── */
.hero {
  padding: 16px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 12px;
}
.hero-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 340px;
  background: var(--navy);
}
.hero-main img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,15,30,.96) 40%, rgba(10,15,30,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  width: fit-content;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.hero-content h1 span { color: var(--orange); }
.hero-content p {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 380px;
}
.hero-btns { display: flex; gap: 10px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; }

/* Hero side banners */
.hero-side { display: flex; flex-direction: column; gap: 10px; }
.hero-banner-sm {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 100px;
}
.hero-banner-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.hero-banner-sm:hover img { transform: scale(1.04); }
.hbs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,.85) 0%, rgba(10,15,30,.3) 100%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hbs-label { color: var(--orange); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.hbs-title { color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 3px 0; }
.hbs-sub { color: rgba(255,255,255,.65); font-size: 11px; }
.hbs-link {
  display: inline-block;
  margin-top: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  width: fit-content;
}

/* ── SECTION ── */
.section { padding: 0 0 28px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.section-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .3px;
}
.section-title .pill {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .5px;
}
.see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover { color: var(--orange-dark); }

/* Flash countdown */
.flash-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #EF4444;
}
.flash-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #EF4444;
  display: flex;
  align-items: center;
  gap: 8px;
}
.countdown { display: flex; align-items: center; gap: 5px; }
.cd { background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; padding: 4px 8px; border-radius: 4px; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.cd-sep { color: #EF4444; font-weight: 900; font-size: 15px; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d1d5db;
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f9fafb;
  height: 175px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.p-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff;
  letter-spacing: .3px;
  z-index: 2;
}
.p-badge.off { background: #EF4444; }
.p-badge.new { background: var(--green); }
.p-badge.pod { background: var(--navy); }
.p-badge.ali { background: #CC0000; }
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: background .2s;
}
.wishlist-btn:hover { background: #fff; }
.p-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.p-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 5px;
}
.p-source.ali-src { color: #CC0000; }
.p-source.local-src { color: var(--navy); }
.p-source .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.p-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.p-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.p-price { font-size: 16px; font-weight: 800; color: var(--navy); }
.p-old { font-size: 11px; color: #9CA3AF; text-decoration: line-through; }
.p-off { font-size: 10px; font-weight: 700; background: #FFF4EC; color: var(--orange); padding: 1px 5px; border-radius: 3px; }
.p-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.stars { color: #F59E0B; letter-spacing: -1px; }
.p-shipping { font-size: 11px; font-weight: 600; color: var(--green); margin-bottom: 8px; }
.add-cart-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
}
.add-cart-btn:hover { background: var(--orange); }

/* ── CATEGORY PILLS ── */
.cat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}
.cat-pill .ci { font-size: 16px; }

/* ── MARKET TABS ── */
.market-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.m-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.m-tab:hover { background: var(--bg); }
.m-tab.active { border-bottom-color: var(--orange); background: var(--orange-pale); }
.m-tab .mico { font-size: 22px; }
.m-tab .mlabel { font-size: 13px; font-weight: 700; color: var(--navy); }
.m-tab .msub { font-size: 11px; color: var(--muted); }
.m-tab.active .mlabel { color: var(--orange); }

/* ── DIGITAL CARDS ── */
.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.digital-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.digital-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dc-cover {
  height: 135px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-cover img { width: 100%; height: 100%; object-fit: cover; }
.dc-cover .dc-type {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.dc-info { padding: 12px; }
.dc-affiliate {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #7C3AED;
  margin-bottom: 6px;
}
.dc-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.35; }
.dc-author { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dc-price { font-size: 15px; font-weight: 800; color: var(--navy); }
.dc-tag { font-size: 10px; background: #EFF6FF; color: var(--blue-link); padding: 3px 8px; border-radius: 3px; font-weight: 700; }
.dc-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
}
.dc-btn:hover { background: var(--orange); }

/* ── PROPERTY CARDS ── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.prop-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.prop-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prop-img {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .prop-img img { transform: scale(1.04); }
.prop-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.pb {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
  color: #fff;
}
.pb.sale { background: var(--orange); }
.pb.rent { background: var(--navy); }
.pb.land { background: var(--green); }
.pb.short { background: #7C3AED; }
.pb.comm { background: #374151; }
.pb.new  { background: #EF4444; }
.prop-info { padding: 14px; }
.prop-price { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.prop-price span { font-size: 12px; color: var(--muted); font-weight: 500; }
.prop-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.prop-loc { font-size: 12px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.prop-feats { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #374151; border-top: 1px solid var(--border); padding-top: 10px; margin-bottom: 10px; }
.pf { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.contact-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}
.contact-btn:hover { background: var(--orange); }

/* ── SYNC NOTICE ── */
.sync-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-left: 4px solid #EF4444;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.sync-notice .sico { font-size: 22px; }
.sync-notice strong { font-size: 13px; font-weight: 700; color: #991B1B; }
.sync-notice p { font-size: 12px; color: #6B7280; margin-top: 2px; }
.sync-live {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #EF4444;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #EF4444;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

/* ── POD NOTICE ── */
.pod-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
}

/* ── AFFILIATE BANNER ── */
.aff-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.aff-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(249,115,22,.12);
}
.aff-text { flex: 1; position: relative; z-index: 1; }
.aff-text h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: .3px;
}
.aff-text p { color: rgba(255,255,255,.6); font-size: 13px; max-width: 460px; line-height: 1.6; }
.aff-stats { display: flex; gap: 28px; position: relative; z-index: 1; }
.aff-stat .num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.aff-stat .lbl { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 600; margin-top: 3px; }
.aff-cta {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
  position: relative;
  z-index: 1;
}
.aff-cta:hover { background: var(--orange-dark); }

/* ── TRUST BAR ── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin: 24px 0 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.trust-text span { font-size: 11px; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 44px 0 0;
  margin-top: 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-words .brand { color: #fff; font-size: 28px; }
.footer-brand p {
  font-size: 12.5px;
  line-height: 1.75;
  margin: 12px 0;
  color: rgba(255,255,255,.5);
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 7px;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.soc {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: all .2s;
  color: rgba(255,255,255,.7);
}
.soc:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: .3px; }
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-bottom span { color: var(--orange); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── CART DRAWER ── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 500;
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  background: #fff;
  z-index: 501;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }
.cart-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
}
.cart-head h3 { font-size: 16px; font-weight: 700; }
.cart-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  cursor: pointer;
}
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.cart-empty .ce-icon { font-size: 52px; margin-bottom: 12px; }
.cart-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.checkout-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s;
}
.checkout-btn:hover { background: var(--orange-dark); }

/* ── TAB CONTENT ── */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── PROPERTY HEADER ── */
.property-header {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.property-header h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.property-header p { color: rgba(255,255,255,.55); font-size: 12px; }
.prop-filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-btn {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.pf-btn:hover, .pf-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .hero-main { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .search-wrap { order: 3; max-width: 100%; flex: none; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aff-banner { flex-direction: column; text-align: center; }
  .aff-stats { justify-content: center; }
  .hero-content h1 { font-size: 34px; }
}
@media (max-width: 480px) {
  .hero-side { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
