/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1a202c;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --navy: #1e3a5f;
  --navy-light: #284e7a;
  --cyan: #00b4d8;
  --magenta: #e91e8c;
  --yellow: #f9c74f;
  --green: #06d6a0;
  --light-bg: #f7f9fc;
  --border: #e2e8f0;
  --text-muted: #718096;
  --text-dark: #1a202c;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===================== ANNOUNCEMENT BAR ===================== */
.announcement-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.announcement-bar span { color: var(--yellow); font-weight: 700; }

/* ===================== HEADER ===================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 38px;
  height: 38px;
}
.logo-icon span {
  border-radius: 4px;
  display: block;
}
.logo-icon span:nth-child(1) { background: var(--cyan); }
.logo-icon span:nth-child(2) { background: var(--magenta); }
.logo-icon span:nth-child(3) { background: var(--yellow); }
.logo-icon span:nth-child(4) { background: var(--navy); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; }

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 11px 50px 11px 18px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--light-bg);
}
.header-search input:focus { border-color: var(--cyan); background: #fff; }
.header-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  border: none;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--cyan); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-ghost {
  background: none;
  border: 2px solid var(--border);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--cyan); }
.cart-btn {
  position: relative;
  background: none;
  border: 2px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
  color: var(--navy);
}
.cart-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--magenta);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAV BAR */
.header-nav {
  border-top: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s;
}
.header-nav a:hover, .header-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--cyan);
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2540 50%, #1a3a6b 100%);
  padding: 80px 5% 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(233,30,140,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--cyan); }
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 540px;
  margin: 0 auto 40px;
}
.hero-search {
  display: flex;
  max-width: 620px;
  margin: 0 auto 32px;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 24px;
  font-size: 15px;
  color: var(--text-dark);
}
.hero-search button {
  background: var(--cyan);
  border: none;
  padding: 18px 32px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--navy-light); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat { color: rgba(255,255,255,0.85); font-size: 13px; }
.hero-stats .stat strong { color: #fff; font-size: 20px; font-weight: 900; display: block; }

/* ===================== CATEGORY PILLS ===================== */
.categories-bar {
  background: #fff;
  padding: 24px 5%;
  border-bottom: 1px solid var(--border);
}
.categories-bar h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; font-weight: 700; }
.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.category-pill {
  background: var(--light-bg);
  border: 2px solid var(--border);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.category-pill:hover, .category-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ===================== SECTION COMMON ===================== */
section { padding: 70px 5%; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.section-header h2 span { color: var(--cyan); }
.section-header p { color: var(--text-muted); font-size: 15px; margin-top: 6px; }
.section-header a {
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* ===================== PRODUCTS GRID ===================== */
.products-section { background: var(--light-bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card-img {
  height: 200px;
  overflow: hidden;
  background: #f0f4f8;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--magenta);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-body { padding: 18px; }
.product-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.product-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.product-price .amount {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}
.product-price .unit {
  font-size: 12px;
  color: var(--text-muted);
}
.product-turnaround {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.product-turnaround::before {
  content: '⏱';
  font-size: 13px;
}
.btn-order {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-order:hover { background: var(--cyan); }

/* ===================== FEATURES ===================== */
.features-section { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.feature-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===================== HOW IT WORKS ===================== */
.howitworks-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2540 100%);
  color: #fff;
}
.howitworks-section .section-header h2 { color: #fff; }
.howitworks-section .section-header p { color: rgba(255,255,255,0.7); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
}
.step-card { text-align: center; padding: 10px; }
.step-number {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--yellow);
  margin: 0 auto 20px;
}
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.6; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--light-bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--cyan);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }
.testimonial-stars { color: var(--yellow); font-size: 16px; margin-bottom: 14px; }
.testimonial-text {
  color: #444;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* ===================== MEDIA SECTION ===================== */
.media-section {
  background: #fff;
  padding: 50px 5%;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.media-section p { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 30px; }
.media-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.media-logo {
  font-size: 18px;
  font-weight: 900;
  color: #ccc;
  letter-spacing: -0.5px;
  transition: color 0.2s;
  font-style: italic;
}
.media-logo:hover { color: var(--navy); }

/* ===================== CTA BANNER ===================== */
.cta-section {
  background: linear-gradient(135deg, var(--cyan) 0%, #0077b6 100%);
  padding: 70px 5%;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ===================== FOOTER ===================== */
footer {
  background: #0a1628;
  color: rgba(255,255,255,0.8);
  padding: 70px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 34px;
  height: 34px;
}
.footer-logo-icon span { border-radius: 3px; display: block; }
.footer-logo-icon span:nth-child(1) { background: var(--cyan); }
.footer-logo-icon span:nth-child(2) { background: var(--magenta); }
.footer-logo-icon span:nth-child(3) { background: var(--yellow); }
.footer-logo-icon span:nth-child(4) { background: rgba(255,255,255,0.4); }
.footer-logo-text { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.1; }
.footer-logo-text small { font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 1.5px; text-transform: uppercase; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}
.footer-contact-item .icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-contact-item .placeholder { color: var(--yellow); font-style: italic; }

.footer-col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  cursor: pointer;
}
.social-btn:hover { background: var(--cyan); color: #fff; }
.payment-methods { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payment-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--light-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-img { height: 260px; overflow: hidden; border-radius: 20px 20px 0 0; position: relative; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.3s; }
.modal-img img:hover { transform: scale(1.03); }
.zoom-hint { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.55); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.modal-img:hover .zoom-hint { opacity: 1; }
.modal-body { padding: 30px; }
.modal-category { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.modal-body h2 { font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.modal-price { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.modal-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.modal-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.spec-item label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 4px; }
.spec-item select, .spec-item input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.spec-item select:focus, .spec-item input:focus { border-color: var(--cyan); }
.custom-size-row { grid-column: 1 / -1; }
.custom-size-row > label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 10px; }
.size-hint { font-size: 10px; font-weight: 400; color: var(--cyan); text-transform: none; margin-left: 6px; }
.optional-tag { font-size: 10px; font-weight: 500; color: #94a3b8; background: #f1f5f9; padding: 2px 7px; border-radius: 10px; text-transform: none; margin-left: 6px; letter-spacing: 0; }
.custom-size-table { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.cst-row { display: flex; align-items: center; gap: 8px; }
.cst-label { font-size: 12px; font-weight: 700; color: var(--navy); width: 44px; flex-shrink: 0; }
.cst-input { width: 76px; padding: 9px 10px; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: center; outline: none; transition: border-color 0.2s; }
.cst-input:focus { border-color: var(--cyan); }
.cst-unit { font-size: 12px; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 6px 8px; border-radius: 6px; }
.cst-eq { font-size: 14px; color: #94a3b8; }
.cst-sep { text-align: center; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1; padding-left: 44px; }
.sqft-price-calc { font-size: 14px; color: var(--navy); background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 14px; min-height: 38px; }
.sqft-price-calc strong { color: #16a34a; font-size: 16px; }
.qb-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.qb-line span:first-child { color: #64748b; }
.qb-line span:last-child { font-weight: 600; color: var(--navy); }
.modal-actions { display: flex; gap: 12px; }
.btn-whatsapp-order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 10px;
  background: #25d366; color: #fff;
  border: none; padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp-order:hover { background: #1ebe5d; }

/* ---- Floating CS WhatsApp Button ---- */
.cs-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all 0.25s;
}
.cs-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.cs-label { white-space: nowrap; }
@media (max-width: 480px) {
  .cs-whatsapp-btn { padding: 13px; border-radius: 50%; }
  .cs-label { display: none; }
}
.btn-add-cart {
  flex: 1;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add-cart:hover { background: var(--cyan); }
.btn-wishlist {
  background: var(--light-bg);
  border: 2px solid var(--border);
  width: 50px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-wishlist:hover { border-color: var(--magenta); color: var(--magenta); }

/* ===================== CART SIDEBAR ===================== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9100;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-sidebar-header h3 { font-size: 18px; font-weight: 800; color: var(--navy); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty .empty-icon { font-size: 50px; margin-bottom: 14px; }
.cart-empty p { font-size: 15px; font-weight: 600; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-bg);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cart-item-detail { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-size: 16px; font-weight: 800; color: var(--navy); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--magenta); }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--light-bg);
}
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-total span { font-size: 14px; color: var(--text-muted); }
.cart-total strong { font-size: 20px; font-weight: 900; color: var(--navy); }
.btn-checkout {
  width: 100%;
  background: var(--cyan);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--navy); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9050;
  display: none;
}
.cart-overlay.open { display: block; }

/* ===================== CHECKOUT MODAL ===================== */
.checkout-form { padding: 30px; }
.checkout-form h2 { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.delivery-fee-info { margin: -8px 0 16px; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.delivery-fee-info .fee-hint { color: #64748b; }
.delivery-fee-info .fee-free { color: #16a34a; background: #f0fdf4; padding: 6px 10px; border-radius: 6px; display: inline-block; }
.delivery-fee-info .fee-amount { color: var(--navy); background: #f0f9ff; padding: 6px 10px; border-radius: 6px; display: inline-block; }
.order-summary { background: var(--light-bg); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 20px; }
.order-summary h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.summary-line.total { font-size: 16px; font-weight: 800; color: var(--navy); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.btn-place-order {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-place-order:hover { background: var(--cyan); }

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 99999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #06d6a0; }
.toast.error { background: var(--magenta); }

/* ===================== TRACKING SECTION ===================== */
.tracking-section { background: #fff; }
.tracking-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.tracking-box h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.tracking-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.tracking-input-row {
  display: flex;
  gap: 10px;
}
.tracking-input-row input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.tracking-input-row input:focus { border-color: var(--cyan); }
.btn-track {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-track:hover { background: var(--cyan); }
.tracking-result { margin-top: 24px; display: none; text-align: left; }
.tracking-result.show { display: block; }

/* ---- Tracking card ---- */
.tracking-card { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; }
.tracking-card-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid #f1f5f9; gap: 12px; flex-wrap: wrap; }
.tracking-id { font-size: 18px; font-weight: 800; color: var(--navy); }
.tracking-date { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.tracking-badge { padding: 5px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.tracking-badge-pending_payment { background: #fef3c7; color: #92400e; }
.tracking-badge-pending { background: #dbeafe; color: #1e40af; }
.tracking-badge-confirmed { background: #e0f2fe; color: #0369a1; }
.tracking-badge-processing { background: #f3e8ff; color: #6b21a8; }
.tracking-badge-shipped { background: #ffedd5; color: #9a3412; }
.tracking-badge-delivered { background: #dcfce7; color: #14532d; }

/* ---- Timeline ---- */
.tracking-timeline { padding: 24px; display: flex; flex-direction: column; gap: 0; }
.tl-step { display: flex; gap: 16px; }
.tl-left { display: flex; flex-direction: column; align-items: center; width: 40px; flex-shrink: 0; }
.tl-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; border: 2px solid #e2e8f0; background: #f8fafc; }
.tl-done .tl-icon { background: #dcfce7; border-color: #16a34a; }
.tl-active .tl-icon { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,58,95,0.12); }
.tl-line { width: 2px; flex: 1; min-height: 24px; background: #e2e8f0; margin: 4px 0; }
.tl-line-done { background: #16a34a; }
.tl-body { padding-bottom: 20px; flex: 1; }
.tl-label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.tl-pending .tl-label { color: #94a3b8; }
.tl-desc { font-size: 12px; color: var(--text-muted); }
.tl-active .tl-desc strong { color: var(--navy); }
.tl-time { font-size: 11px; color: var(--cyan); font-weight: 600; margin-top: 3px; }
.tracking-footer { padding: 16px 24px; background: #f8fafc; border-top: 1px solid #f1f5f9; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tracking-footer-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 3px; }
.tracking-footer-val { font-size: 13px; color: var(--navy); }
.tracking-footer-total { font-size: 20px; font-weight: 800; color: var(--navy); }
.tracking-status-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 24px 0;
}
.tracking-status-bar::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.status-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
}
.status-dot.done { background: var(--cyan); color: #fff; }
.status-dot.active { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(30,58,95,0.15); }
.status-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; }
.status-label.done { color: var(--navy); }

/* ===================== MOBILE NAV ===================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 5%;
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .modal-specs { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header-top { flex-wrap: wrap; }
  .header-search { order: 3; flex-basis: 100%; max-width: 100%; }
  .mobile-menu-btn { display: block; }
  .header-nav { display: none; }
  .hero { padding: 50px 5% 60px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100vw; }
  .tracking-input-row { flex-direction: column; }
}
@media (max-width: 480px) {
  section { padding: 50px 5%; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card-img { height: 150px; }
}
