:root {
  --bg-dark: #0f1115;
  --bg-card: #1a1d23;
  --text-main: #e1e1e6;
  --text-muted: #a0a0b0;
  --accent: #406783;
  --accent-hover: #2d4a5e;
  --border: #2d313a;
  --white: #ffffff;
  --success: #00c853;
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
  --header-height: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }

/* Utilities */
.btn-primary { background: linear-gradient(135deg, #406783, #2d4a5e); color: var(--white); padding: 12px 24px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 15px rgba(64, 103, 131, 0.2); transition: all 0.3s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(64, 103, 131, 0.4); filter: brightness(1.1); }
.btn-outline { border: 1px solid var(--border); color: var(--text-main); padding: 12px 24px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-muted); }
.btn-full { width: 100%; justify-content: center; }
.text-green { color: var(--success); }

/* Top Banner */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announcement-height);
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #406783 0%, #2d4a5e 100%);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  z-index: 1200;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  overflow: hidden;
}

.top-banner-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  min-width: 0;
}

.top-banner-text {
  display: block;
  max-width: calc(100vw - 72px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-banner-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 100%;
  border-radius: 0;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.top-banner-close:hover {
  background: rgba(255,255,255,0.22);
  transform: none;
}

body.has-announcement {
  --announcement-height: 36px;
  padding-top: var(--announcement-height);
}

html.announcement-hidden .top-banner {
  display: none !important;
}

html.announcement-hidden body.has-announcement {
  padding-top: 0 !important;
}

html.announcement-hidden body.has-announcement .header-v2 {
  top: 0 !important;
}

html.announcement-hidden body.home-minimal-body.has-announcement {
  padding-top: 0 !important;
}

html.announcement-hidden body.home-minimal-body.has-announcement .minimal-topbar {
  top: 0 !important;
}

html.announcement-hidden body.home-minimal-body.has-announcement .minimal-sidebar {
  top: 0 !important;
  height: 100vh !important;
}

/* Header */
.site-header {
  height: var(--header-height);
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.site-header.scrolled {
  background: rgba(15, 17, 21, 0.95);
  height: 70px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.site-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }

.nav-list { display: flex; gap: 30px; }
.nav-list a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-list a:hover, .nav-list a.active { color: var(--text-main); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.cart-btn { position: relative; display: flex; align-items: center; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Hero */
.hero { height: 85vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(15,17,21,1) 30%, rgba(15,17,21,0) 100%), url('https://customyourbyd.com/wp-content/uploads/2024/09/home-page-banner-dolphin-2160x1185-ancap.webp');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content { max-width: 700px; padding: 0 40px; }
.hero-badge { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 20px; letter-spacing: 2px; }
.hero-title { font-size: 5rem; line-height: 1; font-weight: 900; margin-bottom: 20px; }
.hero-title .accent { color: transparent; -webkit-text-stroke: 1px var(--white); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; }

/* Product Cards */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.4s;
}
.product-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: var(--shadow); }

.product-card-img-wrap { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.product-card:hover img { transform: scale(1.1); }

.badge-sale { position: absolute; top: 15px; left: 15px; background: var(--accent); color: #fff; padding: 4px 10px; font-size: 0.7rem; font-weight: 800; border-radius: 4px; }

.product-card-body { padding: 20px; }
.product-cat { font-size: 0.75rem; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.product-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.product-orig { font-size: 0.9rem; text-decoration: line-through; color: var(--text-muted); margin-left: 10px; }

.product-card-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn-add-cart { background: var(--border); color: var(--white); padding: 8px 12px; border-radius: 6px; cursor: pointer; flex: 1; font-weight: 600; font-size: 0.85rem; }
.btn-add-cart:hover { background: var(--accent); }
.btn-detail { border: 1px solid var(--border); padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }

/* Footer */
.site-footer { background: #08090b; padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-col h4 { margin-bottom: 25px; font-size: 1.1rem; color: var(--white); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .hero-title { font-size: 2.5rem; }
}

.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
}

/* ===== FLASH MESSAGES ===== */
.flash-msg { position: fixed; top: 20px; right: 20px; z-index: 9999; padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 20px rgba(0,0,0,0.4); transition: opacity 0.5s; }
.flash-success { background: #00c853; color: #fff; }
.flash-error { background: #406783; color: #fff; }
.flash-warning { background: #7295ad; color: #fff; }
.flash-info { background: #0077ff; color: #fff; }

/* ===== SEARCH BAR ===== */
.search-bar { background: #1a1d23; border-top: 1px solid #2d313a; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.search-bar.active { max-height: 80px; padding: 16px 40px; }
.search-form { display: flex; align-items: center; max-width: 600px; margin: 0 auto; background: #0f1115; border: 1px solid #2d313a; border-radius: 8px; overflow: hidden; }
.search-form input { flex: 1; background: transparent; color: #e1e1e6; padding: 10px 16px; font-size: 0.95rem; }
.search-form button { background: #406783; color: #fff; padding: 10px 16px; cursor: pointer; display: flex; align-items: center; }
.search-toggle { background: none; cursor: pointer; color: #e1e1e6; display: flex; align-items: center; }

/* ===== NAV MOBILE ===== */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: #e1e1e6; display: block; transition: 0.3s; }
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #1a1d23; border-bottom: 1px solid #2d313a; z-index: 999; }
  .main-nav.active { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 10px 0; }
  .nav-list > li > a { display: block; padding: 12px 24px; color: #e1e1e6; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ===== NAV DROPDOWN ===== */
.has-dropdown { position: relative; }
.has-dropdown .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #1a1d23; border: 1px solid #2d313a; border-radius: 8px; padding: 8px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown .dropdown li a { display: block; padding: 10px 20px; color: #a0a0b0; font-size: 0.9rem; }
.has-dropdown .dropdown li a:hover { color: #406783; background: #0f1115; }
.arrow { font-size: 0.65rem; }

/* ===== SECTION HEADER ===== */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 50px; }
.section-header.center { flex-direction: column; align-items: center; text-align: center; }
.section-tag { background: rgba(64,103,131,0.1); color: #406783; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 10px; }
.section-title { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
.section-link { color: #a0a0b0; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.section-link:hover { color: #406783; }

/* ===== HERO EXTRAS ===== */
.hero-features { display: flex; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-feat { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #a0a0b0; }
.hero-feat svg { color: #406783; flex-shrink: 0; }
.hero-scroll { position: absolute; bottom: 40px; left: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: #a0a0b0; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, #406783, transparent); }

/* ===== CATEGORY STRIP ===== */
.cat-strip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-strip-item { background: #1a1d23; border: 1px solid #2d313a; border-radius: 12px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; cursor: pointer; transition: 0.3s; }
.cat-strip-item:hover { border-color: #406783; transform: translateY(-4px); }
.cat-strip-icon { color: #406783; }
.cat-strip-item span { font-weight: 700; font-size: 0.95rem; }
.cat-strip-item small { color: #a0a0b0; font-size: 0.8rem; }

/* ===== WHY US SECTION ===== */
.whyus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.whyus-item { background: #1a1d23; border: 1px solid #2d313a; border-radius: 16px; padding: 36px 28px; text-align: center; transition: 0.3s; }
.whyus-item:hover { border-color: #406783; transform: translateY(-6px); }
.whyus-icon { color: #406783; margin-bottom: 20px; display: flex; justify-content: center; }
.whyus-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.whyus-item p { color: #a0a0b0; font-size: 0.9rem; line-height: 1.7; }
.whyus-section { background: linear-gradient(to bottom, #0f1115, #111318); }
@media (max-width: 992px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .whyus-grid { grid-template-columns: 1fr; } }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #1a0a0a 0%, #0f1115 50%, #0a1a0a 100%); }
.cta-inner { background: rgba(64,103,131,0.05); border: 1px solid rgba(64,103,131,0.2); border-radius: 24px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-content p { color: #a0a0b0; font-size: 1rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-wa { background: #25d366; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.btn-wa:hover { background: #1ea854; transform: translateY(-2px); }
.btn-wa.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===== SHOP PAGE ===== */
.shop-page { padding: 60px 0 80px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-box { background: #1a1d23; border: 1px solid #2d313a; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.sidebar-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #2d313a; }
.sidebar-cats li { margin-bottom: 4px; }
.sidebar-cats a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 6px; color: #a0a0b0; font-size: 0.9rem; transition: 0.2s; }
.sidebar-cats a:hover, .sidebar-cats a.active { background: rgba(64,103,131,0.1); color: #406783; }
.sidebar-cats a span { background: #2d313a; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.shop-title { font-size: 1.8rem; font-weight: 800; }
.shop-count { color: #a0a0b0; font-size: 0.9rem; }
.page-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-sidebar { position: static; } }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; align-items: center; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #1a1d23; border: 1px solid #2d313a; color: #a0a0b0; font-weight: 600; font-size: 0.9rem; }
.page-link-nav { width: auto; min-width: 92px; padding: 0 16px; }
.page-link-ellipsis { pointer-events: none; color: #667085; background: transparent; border-color: transparent; }
.page-link:hover, .page-link.active { background: #406783; border-color: #406783; color: #fff; }

/* ===== EMPTY STATE ===== */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 20px; gap: 16px; color: #a0a0b0; }
.empty-state svg { opacity: 0.3; margin-bottom: 10px; }
.empty-state h3 { font-size: 1.4rem; color: #e1e1e6; font-weight: 700; }
.empty-state p { max-width: 400px; }
.empty-state .btn-primary { margin-top: 10px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-page { padding: 40px 0 80px; }

/* Theme Minimal Product Page White Background */
.theme-minimal .product-detail-page {
  background: #ffffff;
  color: #111827;
}
.theme-minimal .product-detail-page .breadcrumb span {
  color: #111827;
}
.theme-minimal .product-detail-page .product-detail-title {
  color: #111827;
}
.theme-minimal .product-detail-page .product-sku {
  color: #6b7280;
}
.theme-minimal .product-detail-page .price-main {
  color: #111827;
}
.theme-minimal .product-detail-page .variation-item {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #374151;
}
.theme-minimal .product-detail-page .variation-item:hover,
.theme-minimal .product-detail-page .variation-item.active {
  border-color: #111827;
  color: #111827;
  background: #f3f4f6;
}
.theme-minimal .product-detail-page .qty-input {
  border-color: #e5e7eb;
}
.theme-minimal .product-detail-page .qty-input button {
  background: #f3f4f6;
  color: #111827;
}
.theme-minimal .product-detail-page .qty-input input {
  color: #111827;
}
.theme-minimal .product-detail-page .product-desc {
  border-top-color: #f3f4f6;
}
.theme-minimal .product-detail-page .product-desc h3 {
  color: #111827;
}
.theme-minimal .product-detail-page .desc-content {
  color: #4b5563;
}
.theme-minimal .product-detail-page .related-section {
  border-top-color: #f3f4f6;
}
.theme-minimal .product-detail-page .related-section h2 {
  color: #111827;
}

/* Related Product Cards in Minimal Theme Product Page */
.theme-minimal .product-detail-page .product-card {
  background: #ffffff;
  border-color: #f3f4f6;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.theme-minimal .product-detail-page .product-name a {
  color: #111827;
}
.theme-minimal .product-detail-page .product-price {
  color: #111827;
}
.theme-minimal .product-detail-page .btn-add-cart {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}
.theme-minimal .product-detail-page .btn-add-cart:hover {
  background: #111827;
  color: #fff;
}
.theme-minimal .product-detail-page .btn-detail {
  border-color: #e5e7eb;
  color: #374151;
}
.theme-minimal .product-detail-page .btn-detail:hover {
  background: #f9fafb;
}

.breadcrumb { color: #a0a0b0; font-size: 0.85rem; margin-bottom: 40px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: #406783; }
.breadcrumb span { color: #e1e1e6; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.gallery-main { background: #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid #2d313a; background: #fff; }
.thumb.active, .thumb:hover { border-color: #406783; }
.product-detail-cat { font-size: 0.8rem; text-transform: uppercase; color: #406783; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.product-detail-title { font-size: 2rem; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.product-sku { color: #a0a0b0; font-size: 0.85rem; margin-bottom: 20px; }
.product-detail-price { margin-bottom: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-main { font-size: 2.2rem; font-weight: 800; color: #406783; }
.price-orig { font-size: 1.1rem; text-decoration: line-through; color: #a0a0b0; }
.discount-badge { background: rgba(64,103,131,0.15); color: #406783; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.product-variations { margin-bottom: 24px; }
.product-variations label { display: block; font-size: 0.85rem; font-weight: 700; color: #a0a0b0; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.variation-list { display: flex; gap: 10px; flex-wrap: wrap; }
.variation-item { padding: 8px 16px; border-radius: 8px; border: 1px solid #2d313a; background: #1a1d23; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.3s; color: #e1e1e6; }
.variation-item:hover { border-color: #406783; color: #406783; }
.variation-item.active { border-color: #406783; background: rgba(64,103,131,0.1); color: #406783; }
.product-stock { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; padding: 10px 16px; border-radius: 8px; margin-bottom: 24px; }
.in-stock { background: rgba(0,200,83,0.1); color: #00c853; }
.out-stock { background: rgba(64,103,131,0.1); color: #406783; }
.qty-input { display: flex; align-items: center; border: 1px solid #2d313a; border-radius: 8px; overflow: hidden; width: fit-content; margin-bottom: 16px; }
.qty-input button { width: 40px; height: 44px; background: #2d313a; color: #e1e1e6; font-size: 1.2rem; cursor: pointer; }
.qty-input input { width: 60px; text-align: center; background: transparent; color: #e1e1e6; font-size: 1rem; font-weight: 600; }
.qty-input.small button { width: 32px; height: 36px; font-size: 1rem; }
.qty-input.small input { width: 50px; }
.add-cart-big { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.btn-ghost { border: 1px solid #2d313a; color: #e1e1e6; padding: 12px 24px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; gap: 8px; }
.product-desc { margin-top: 32px; padding-top: 32px; border-top: 1px solid #2d313a; }
.product-desc h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.desc-content { color: #a0a0b0; line-height: 1.8; font-size: 0.95rem; }
.related-section { margin-top: 60px; padding-top: 60px; border-top: 1px solid #2d313a; }
.related-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; }
@media (max-width: 900px) { .product-detail-layout { grid-template-columns: 1fr; } }

/* ===== CART PAGE ===== */
.cart-page { padding: 60px 0 80px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-item { background: #1a1d23; border: 1px solid #2d313a; border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: #fff; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-info small { color: #a0a0b0; font-size: 0.8rem; }
.cart-item-price { color: #406783; font-weight: 700; margin-top: 6px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cart-item-sub { font-weight: 700; font-size: 1rem; min-width: 100px; text-align: right; }
.btn-remove { background: rgba(64,103,131,0.1); color: #406783; padding: 8px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; }
.btn-remove:hover { background: rgba(64,103,131,0.2); }
.cart-summary { position: sticky; top: 100px; }
.summary-box { background: #1a1d23; border: 1px solid #2d313a; border-radius: 16px; padding: 28px; }
.summary-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #2d313a; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: #a0a0b0; font-size: 0.95rem; }
.summary-row.total { color: #e1e1e6; font-size: 1.2rem; font-weight: 800; margin-top: 4px; }
.summary-divider { height: 1px; background: #2d313a; margin: 16px 0; }
.summary-box .btn-full + .btn-full { margin-top: 10px; }
.summary-note { color: #a0a0b0; font-size: 0.8rem; margin-top: 14px; text-align: center; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ===== CHECKOUT ===== */
.checkout-page { padding: 60px 0 80px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-form .form-section { background: #1a1d23; border: 1px solid #2d313a; border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.checkout-form .form-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #2d313a; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: #a0a0b0; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: #0f1115; border: 1px solid #2d313a; border-radius: 8px; color: #e1e1e6; padding: 11px 14px; font-size: 0.95rem; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: #406783; }
.form-group textarea { resize: vertical; }
.payment-opts { display: flex; gap: 16px; flex-wrap: wrap; }
.payment-opt { display: flex; align-items: flex-start; gap: 10px; background: #0f1115; border: 1px solid #2d313a; border-radius: 8px; padding: 12px 20px; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.payment-opt input[type=radio] { accent-color: #406783; }
.checkout-item { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: #a0a0b0; }
.checkout-summary { position: sticky; top: 100px; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } .checkout-summary { position: static; } }

/* ===== SUCCESS PAGE ===== */
.success-page { padding: 80px 0; display: flex; justify-content: center; }
.success-card { background: #1a1d23; border: 1px solid #2d313a; border-radius: 24px; padding: 60px; max-width: 680px; width: 100%; text-align: center; }
.success-icon { color: #00c853; margin-bottom: 24px; display: flex; justify-content: center; }
.success-card h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.success-card p { color: #a0a0b0; margin-bottom: 20px; }
.order-number { background: rgba(64,103,131,0.1); color: #406783; padding: 10px 20px; border-radius: 8px; font-weight: 700; display: inline-block; margin-bottom: 30px; }
.order-summary-box { background: #0f1115; border: 1px solid #2d313a; border-radius: 12px; padding: 24px; margin-bottom: 30px; text-align: left; }
.order-summary-box h3 { font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #2d313a; }
.order-item-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: #a0a0b0; font-size: 0.9rem; }
.order-total { font-weight: 800; font-size: 1.1rem; margin-top: 16px; padding-top: 12px; border-top: 1px solid #2d313a; }
.success-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  .success-page {
    padding: 28px 0 56px;
  }

  .success-page .container {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }

  .success-card {
    padding: 28px 16px 22px;
    border-radius: 18px;
  }

  .success-icon {
    margin-bottom: 18px;
  }

  .success-card h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .success-card p {
    margin-bottom: 16px;
  }

  .order-number {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .order-summary-box {
    padding: 18px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .order-summary-box h3 {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .order-item-row {
    gap: 14px;
    font-size: 0.88rem;
  }

  .order-item-row span:last-child {
    text-align: right;
  }

  .success-actions {
    gap: 12px;
  }

  .success-actions .btn-wa,
  .success-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ERROR PAGE ===== */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.error-content { text-align: center; }
.error-code { font-size: 8rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px #406783; margin-bottom: 20px; }
.error-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.error-content p { color: #a0a0b0; margin-bottom: 30px; }

/* ===== FOOTER EXTRAS ===== */
.footer-brand { }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.footer-brand p { color: #a0a0b0; font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 8px; background: #2d313a; display: flex; align-items: center; justify-content: center; color: #a0a0b0; }
.footer-socials a:hover { background: #406783; color: #fff; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; color: #a0a0b0; font-size: 0.9rem; margin-bottom: 12px; }
.contact-list li svg { flex-shrink: 0; margin-top: 3px; color: #406783; }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== PRODUCTS SECTION ===== */
.products-section {
  background: #0A0B0E;
}
.badge-featured { position: absolute; top: 15px; right: 15px; background: rgba(245,200,0,0.9); color: #000; padding: 4px 10px; font-size: 0.7rem; font-weight: 800; border-radius: 4px; }
.product-price-wrap { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }

/* ===== FIX: HEADER LAYOUT ===== */
.site-header { position: sticky; top: 0; z-index: 1000; }
.header-inner { position: relative; }
.main-nav { display: flex; align-items: center; }

/* Fix search bar - hide by default, show when active */
.search-bar {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #1a1d23;
  border-top: 1px solid #2d313a;
  border-bottom: 1px solid #2d313a;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  z-index: 999;
}
.search-bar.active {
  max-height: 80px;
  padding: 14px 40px;
}

/* Fix hero features inline */
.hero-features {
  display: flex;
  gap: 30px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #a0a0b0;
  font-weight: 500;
}

/* fix hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: #a0a0b0;
  display: none;
}
@media (min-width: 768px) { .hero-scroll { display: flex; } }

/* ===== FIX: CATEGORY STRIP GRID ===== */
.cat-strip-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .cat-strip-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .cat-strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== FIX: WHY US GRID ===== */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .whyus-grid { grid-template-columns: 1fr; } }

/* ===== FIX: SECTION TAG DISPLAY ===== */
.section-header .section-tag { display: inline-block; }
.section-header h2 { margin: 0; }
.section-header > div { display: flex; flex-direction: column; gap: 8px; }

/* Make section-header left side a column wrapper */
.section-header { align-items: flex-end; }

/* ===== FOOTER SOCIALS FIX ===== */
.footer-brand { display: flex; flex-direction: column; }

/* ===== CTA INNER FIX ===== */
.cta-inner { flex-wrap: wrap; }
.cta-content { flex: 1; min-width: 280px; }

/* ===== BOXED LAYOUT ===== */
body { background-color: #080a0d; }
.boxed-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  background: #0f1115;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
  position: relative;
}
.site-header { position: sticky; top: 0; max-width: 1440px; left: 50%; transform: translateX(-50%); width: 100%; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 80px 0; background: #0d0f13; overflow: hidden; }
.testimonials-track-wrap { overflow: hidden; position: relative; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testimonial-card {
  background: #1a1d23;
  border: 1px solid #2d313a;
  border-radius: 20px;
  padding: 32px;
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s;
}
.testimonial-card.active-card { border-color: rgba(64,103,131,0.4); }
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: #406783;
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: -10px;
}
.testimonial-text {
  color: #c0c0d0;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-stars { color: #7295ad; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #406783, #880000);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-car { color: #a0a0b0; font-size: 0.82rem; }
.testi-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2d313a; cursor: pointer; transition: 0.3s;
  border: none;
}
.testi-dot.active { background: #406783; width: 24px; border-radius: 4px; }
.testi-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1a1d23; border: 1px solid #2d313a;
  color: #e1e1e6; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}
.testi-btn:hover { background: #406783; border-color: #406783; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  background: #1a1d23;
  border: 1px solid #2d313a;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(64,103,131,0.3); }
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; color: #e1e1e6; font-weight: 600; font-size: 0.95rem;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #2d313a; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s; font-size: 1.1rem; color: #406783;
}
.faq-item.open .faq-icon { background: #406783; color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}
.faq-answer p { color: #a0a0b0; font-size: 0.9rem; line-height: 1.8; padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

/* ========== HERO V2 ========== */
.hero-v2 { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-v2-bg { position: absolute; inset: 0; z-index: 0; }
.hero-v2-img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-v2-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,11,15,0.97) 35%, rgba(10,11,15,0.65) 65%, rgba(10,11,15,0.2) 100%); }
.hero-v2-container { position: relative; z-index: 1; padding: 100px 20px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(64,103,131,0.1); border: 1px solid rgba(64,103,131,0.3); color: #7295ad; font-size: 0.82rem; font-weight: 700; padding: 7px 16px; border-radius: 100px; margin-bottom: 28px; letter-spacing: 0.5px; }
.hero-v2-title { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 24px; letter-spacing: -2px; }
.gradient-text { background: linear-gradient(135deg, #406783 0%, #406783 50%, #7295ad 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-v2-sub { font-size: 1.1rem; color: #b0b8c8; max-width: 520px; line-height: 1.75; margin-bottom: 40px; }
.hero-v2-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats-v2 {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: fit-content;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.85rem;
  color: #a0a0b0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-sep {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .hero-stats-v2 {
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
  }
  .stat-sep { 
    display: block; 
    height: 20px;
    background: rgba(255,255,255,0.05);
  }
  .stat-val { font-size: 1.2rem; }
  .stat-lbl { font-size: 0.65rem; }
}

/* ========== HOME REVEAL ANIMATIONS ========== */
.home-anim-ready .home-hero .hero-v2-content > * {
  opacity: 0;
  transform: translateY(18px);
}

.home-anim-ready .home-hero.is-loaded .hero-v2-content > * {
  animation: home-hero-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.home-anim-ready .home-hero.is-loaded .hero-v2-content > *:nth-child(1) { animation-delay: 0.08s; }
.home-anim-ready .home-hero.is-loaded .hero-v2-content > *:nth-child(2) { animation-delay: 0.18s; }
.home-anim-ready .home-hero.is-loaded .hero-v2-content > *:nth-child(3) { animation-delay: 0.28s; }
.home-anim-ready .home-hero.is-loaded .hero-v2-content > *:nth-child(4) { animation-delay: 0.38s; }
.home-anim-ready .home-hero.is-loaded .hero-v2-content > *:nth-child(5) { animation-delay: 0.48s; }

.home-anim-ready .home-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.home-anim-ready .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-anim-ready .home-reveal .section-header,
.home-anim-ready .home-reveal .models-label,
.home-anim-ready .home-reveal .faq-left,
.home-anim-ready .home-reveal .cta-v2-inner {
  opacity: 0;
  transform: translateY(18px);
}

.home-anim-ready .home-reveal.is-visible .section-header,
.home-anim-ready .home-reveal.is-visible .models-label,
.home-anim-ready .home-reveal.is-visible .faq-left,
.home-anim-ready .home-reveal.is-visible .cta-v2-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.12s;
}

.home-anim-ready .home-reveal .models-grid > *,
.home-anim-ready .home-reveal .products-grid > *,
.home-anim-ready .home-reveal .whyus-v2-grid > *,
.home-anim-ready .home-reveal .testi-card,
.home-anim-ready .home-reveal .faq-item {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}

.home-anim-ready .home-reveal.is-visible .models-grid > *,
.home-anim-ready .home-reveal.is-visible .products-grid > *,
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *,
.home-anim-ready .home-reveal.is-visible .testi-card,
.home-anim-ready .home-reveal.is-visible .faq-item {
  animation: home-card-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(1),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(1),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(1),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(1),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(1) { animation-delay: 0.05s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(2),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(2),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(2),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(2),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(2) { animation-delay: 0.12s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(3),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(3),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(3),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(3),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(3) { animation-delay: 0.19s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(4),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(4),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(4),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(4),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(4) { animation-delay: 0.26s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(5),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(5),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(5),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(5),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(5) { animation-delay: 0.33s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(6),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(6),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(6),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(6),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(6) { animation-delay: 0.40s; }
.home-anim-ready .home-reveal.is-visible .models-grid > *:nth-child(7),
.home-anim-ready .home-reveal.is-visible .products-grid > *:nth-child(7),
.home-anim-ready .home-reveal.is-visible .whyus-v2-grid > *:nth-child(7),
.home-anim-ready .home-reveal.is-visible .testi-card:nth-child(7),
.home-anim-ready .home-reveal.is-visible .faq-item:nth-child(7) { animation-delay: 0.47s; }

@keyframes home-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .home-anim-ready .home-hero .hero-v2-content > *,
  .home-anim-ready .home-reveal,
  .home-anim-ready .home-reveal .section-header,
  .home-anim-ready .home-reveal .models-label,
  .home-anim-ready .home-reveal .faq-left,
  .home-anim-ready .home-reveal .cta-v2-inner,
  .home-anim-ready .home-reveal .models-grid > *,
  .home-anim-ready .home-reveal .products-grid > *,
  .home-anim-ready .home-reveal .whyus-v2-grid > *,
  .home-anim-ready .home-reveal .testi-card,
  .home-anim-ready .home-reveal .faq-item,
  .model-byd-ring,
  .model-byd-svg {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.btn-v2-primary { background: linear-gradient(135deg, #406783, #2d4a5e); color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; box-shadow: 0 4px 20px rgba(64,103,131,0.35); }
.btn-v2-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(64,103,131,0.5); }
.btn-v2-wa { background: linear-gradient(135deg, #25d366, #1ea854); color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; }
.btn-v2-wa:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,211,102,0.4); }
.btn-v2-contact {
  background: rgba(15, 17, 21, 0.42);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
}
.btn-v2-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  pointer-events: none;
}
.btn-v2-contact > * {
  position: relative;
  z-index: 1;
}
.btn-v2-contact:hover {
  transform: translateY(-3px);
  background: rgba(15, 17, 21, 0.52);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}
.btn-v2-ghost { border: 1px solid rgba(255,255,255,0.2); color: #e1e1e6; padding: 14px 28px; border-radius: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; backdrop-filter: blur(4px); }
.btn-v2-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

/* ========== MODELS STRIP ========== */
.models-section { background: #13151a; border-top: 1px solid #1e2128; border-bottom: 1px solid #1e2128; padding: 40px 0; }
.models-label { text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: #6b7280; font-weight: 600; margin-bottom: 28px; }
.models-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.model-card { background: #1a1d23; border: 1px solid #2d313a; border-radius: 12px; padding: 20px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: all 0.3s; cursor: pointer; }
.model-card:hover { border-color: #406783; background: rgba(64,103,131,0.05); transform: translateY(-3px); }
.model-card-inner { display: flex; flex-direction: column; gap: 6px; }
.model-icon { color: #406783; }
.model-name { font-weight: 700; font-size: 0.9rem; color: #e1e1e6; }
.model-count { font-size: 0.75rem; color: #6b7280; }
.model-arrow { color: #406783; font-size: 1.2rem; opacity: 0; transition: 0.3s; }
.model-card:hover .model-arrow { opacity: 1; transform: translateX(4px); }
@media (max-width: 1100px) { .models-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .models-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== WHY US V2 ========== */
.whyus-v2-section { background: linear-gradient(180deg, #0f1115 0%, #111520 100%); }
.whyus-v2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.whyus-v2-card { background: #1a1d23; border: 1px solid #2d313a; border-radius: 20px; padding: 36px 28px; position: relative; overflow: hidden; transition: all 0.4s; }
.whyus-v2-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #406783, #406783); opacity: 0; transition: 0.3s; }
.whyus-v2-card:hover { transform: translateY(-8px); border-color: rgba(64,103,131,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.whyus-v2-card:hover::before { opacity: 1; }
.wv2-num { font-size: 3.5rem; font-weight: 900; color: rgba(64,103,131,0.08); line-height: 1; margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.wv2-icon { color: #406783; margin-bottom: 16px; }
.whyus-v2-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.whyus-v2-card p { color: #8892a0; font-size: 0.88rem; line-height: 1.75; }
@media (max-width: 900px) { .whyus-v2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .whyus-v2-grid { grid-template-columns: 1fr; } }

/* ========== TESTIMONIALS ========== */
.testimonial-section { background: #0a0b0e; }
.section-sub { color: #8892a0; font-size: 0.95rem; margin-top: 12px; max-width: 500px; }
.testi-outer { overflow: hidden; border-radius: 16px; }
.testi-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.testi-card { flex: 0 0 calc(33.333% - 16px); min-width: 0; margin-right: 24px; background: #1a1d23; border: 1px solid #2d313a; border-radius: 20px; padding: 32px; transition: 0.3s; }
.testi-card:hover { border-color: rgba(64,103,131,0.3); }
.testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text { color: #c0c8d8; font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #406783, #406783); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.9rem; color: #e1e1e6; }
.testi-car { font-size: 0.78rem; color: #6b7280; margin-top: 2px; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.testi-btn { width: 44px; height: 44px; border-radius: 50%; background: #1a1d23; border: 1px solid #2d313a; color: #e1e1e6; font-size: 1.4rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.testi-btn:hover { background: #406783; border-color: #406783; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: #2d313a; border: none; cursor: pointer; transition: 0.3s; padding: 0; }
.testi-dot.active { background: #406783; width: 24px; border-radius: 4px; }
@media (max-width: 1024px) { .testi-card { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 700px) { 
  .testi-card { flex: 0 0 100%; margin-right: 0; } 
  .testi-btn { display: none; }
}

/* ========== FAQ ========== */
.faq-section { background: #0f1115; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-sub { color: #8892a0; font-size: 0.92rem; line-height: 1.7; margin-top: 12px; }
.faq-item { border: 1px solid #2d313a; border-radius: 14px; overflow: hidden; margin-bottom: 12px; transition: 0.3s; background: #1a1d23; }
.faq-item.active { border-color: rgba(64,103,131,0.3); }
.faq-q { width: 100%; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: #e1e1e6; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-align: left; }
.faq-q:hover { color: #7295ad; }
.faq-arrow { flex-shrink: 0; transition: transform 0.3s; color: #6b7280; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: #406783; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.active .faq-a { max-height: 200px; padding: 0 24px 20px; }
.faq-a p { color: #8892a0; font-size: 0.9rem; line-height: 1.75; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ========== CTA V2 ========== */
.cta-v2-section { padding: 100px 0; background: linear-gradient(135deg, #0d0505 0%, #0f1115 40%, #050d05 100%); position: relative; overflow: hidden; }
.cta-v2-inner { position: relative; background: rgba(64,103,131,0.04); border: 1px solid rgba(64,103,131,0.15); border-radius: 28px; padding: 80px; overflow: hidden; text-align: center; }
.cta-v2-bg-text { position: absolute; font-size: 14rem; font-weight: 900; color: rgba(64,103,131,0.03); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; letter-spacing: -8px; white-space: nowrap; }
.cta-v2-content { position: relative; z-index: 1; }
.cta-v2-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.cta-v2-content p { color: #8892a0; font-size: 1rem; max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.cta-v2-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== ANNOUNCE BAR ========== */
.announce-bar { background: linear-gradient(90deg, #406783, #b20000); color: #fff; padding: 10px 0; font-size: 0.85rem; font-weight: 600; text-align: center; position: relative; z-index: 1001; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.announce-icon { font-size: 1.1rem; }

/* ========== HEADER V2 ========== */
.header-v2 {
  height: 90px;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.has-announcement .header-v2 {
  top: var(--announcement-height);
}
.header-v2.scrolled { height: 75px; background: rgba(10, 11, 15, 0.95); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.header-v2-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.header-v2-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { background: #406783; color: #fff; font-weight: 900; font-size: 0.9rem; padding: 6px 10px; border-radius: 6px; letter-spacing: 0.5px; }
.logo-full { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-accent { color: #406783; }

.nav-v2-list { display: flex; gap: 32px; align-items: center; }
.nav-v2-list > li > a { font-weight: 600; font-size: 0.95rem; color: #b0b8c8; transition: 0.3s; display: flex; align-items: center; gap: 6px; }
.nav-v2-list > li > a:hover, .nav-v2-list > li > a.active { color: #fff; }
.nav-v2-dropdown > a::after,
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
  opacity: 0.9;
}

/* Mega Menu */
.nav-v2-dropdown { position: static; }
.nav-v2-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1d23;
  border-top: 1px solid #2d313a;
  border-bottom: 1px solid #2d313a;
  padding: 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.nav-v2-dropdown:hover .nav-v2-mega { visibility: visible; opacity: 1; transform: translateY(0); }

.mega-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mega-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: 0.3s;
}
.mega-item:hover { background: rgba(64,103,131,0.06); border-color: rgba(64,103,131,0.2); transform: translateY(-3px); }
.mega-item svg { color: #406783; flex-shrink: 0; margin-top: 2px; }
.mega-name { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.mega-desc { font-size: 0.78rem; color: #8892a0; }

.header-v2-actions { display: flex; align-items: center; gap: 15px; }
.hv2-icon-btn { background: none; color: #b0b8c8; cursor: pointer; transition: 0.3s; display: flex; align-items: center; }
.hv2-icon-btn:hover { color: #fff; transform: scale(1.1); }

.hv2-cart-btn { position: relative; color: #b0b8c8; transition: 0.3s; display: flex; align-items: center; }
.hv2-cart-btn:hover { color: #fff; transform: scale(1.1); }
.hv2-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #406783;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f1115;
}

.hv2-hamburger { display: none; flex-direction: column; gap: 5px; background: none; cursor: pointer; }
.hv2-hamburger span { width: 22px; height: 2px; background: #fff; display: block; border-radius: 10px; transition: 0.3s; }

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 15, 0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}
.search-overlay.active { visibility: visible; opacity: 1; }
.search-overlay-inner { width: 100%; max-width: 800px; }
.search-v2-form { position: relative; display: flex; align-items: center; border-bottom: 2px solid #2d313a; padding-bottom: 20px; }
.search-v2-form svg { color: #406783; margin-right: 20px; }
.search-v2-form input { flex: 1; background: none; border: none; font-size: 2rem; color: #fff; font-weight: 600; outline: none; }
.search-v2-form input::placeholder { color: #2d313a; }
.search-close { background: none; color: #fff; font-size: 1.5rem; cursor: pointer; opacity: 0.5; transition: 0.3s; margin-left: 20px; }
.search-close:hover { opacity: 1; transform: rotate(90deg); }

/* ========== FOOTER V2 ========== */
.footer-v2 { background: #08090b; padding: 100px 0 40px; border-top: 1px solid #1e2128; }
.fv2-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 80px; }
.fv2-logo { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 24px; display: block; }
.fv2-tagline { color: #8892a0; font-size: 0.92rem; line-height: 1.8; margin-bottom: 30px; }
.fv2-socials { display: flex; gap: 12px; }
.fv2-social { width: 44px; height: 44px; border-radius: 12px; background: #1a1d23; color: #8892a0; display: flex; align-items: center; justify-content: center; transition: 0.3s; border: 1px solid #2d313a; }
.fv2-social:hover { background: #406783; color: #fff; border-color: #406783; transform: translateY(-5px); }

.fv2-links h4, .fv2-contact h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.fv2-links ul li { margin-bottom: 14px; }
.fv2-links ul li a { color: #8892a0; font-size: 0.95rem; transition: 0.3s; }
.fv2-links ul li a:hover { color: #406783; padding-left: 8px; }

.fv2-contact-item { display: flex; align-items: flex-start; gap: 14px; color: #8892a0; font-size: 0.95rem; margin-bottom: 18px; }
.fv2-contact-item svg { color: #406783; margin-top: 3px; flex-shrink: 0; }
.fv2-contact-item a:hover { color: #fff; }
.fv2-wa-btn { margin-top: 25px; background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3); color: #25d366; padding: 12px 24px; border-radius: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; width: 100%; justify-content: center; }
.fv2-wa-btn:hover { background: #25d366; color: #fff; }

.fv2-bottom { border-top: 1px solid #1e2128; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.fv2-bottom p { color: #6b7280; font-size: 0.9rem; }
.fv2-bottom-links { display: flex; gap: 24px; }
.fv2-bottom-links a { color: #6b7280; font-size: 0.88rem; transition: 0.3s; }
.fv2-bottom-links a:hover { color: #fff; }

/* ========== WA FLOAT V2 ========== */
.wa-float-v2 {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 999;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.wa-float-v2:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(37,211,102,0.6); }
.wa-float-label { font-weight: 700; font-size: 0.95rem; }

/* Responsive Header/Footer */
@media (max-width: 1024px) {
  .header-v2-inner { padding: 0 24px; }
  .header-v2-nav { display: none; }
  .hv2-hamburger { display: flex; }
  .fv2-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .logo-full { display: none; }
  .fv2-top { grid-template-columns: 1fr; }
  .fv2-brand {
    align-items: center;
    text-align: center;
  }
  .fv2-logo {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }
  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }
  .fv2-tagline {
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .fv2-socials {
    justify-content: center;
  }
  .fv2-bottom { justify-content: center; text-align: center; }
  .wa-float-label { display: none; }
  .wa-float-v2 { padding: 15px; border-radius: 50%; }
}

/* ========== FIX: HERO V2 ALIGNMENT (LEFT) ========== */
.hero-v2-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.hero-v2-content {
  max-width: 650px;
  text-align: left;
}

.hero-pill {
  justify-content: flex-start;
}

.hero-v2-actions {
  justify-content: flex-start;
}

/* Adjust overlay for left-aligned text visibility */
.hero-v2-overlay {
  background: linear-gradient(90deg, rgba(10,11,15,1) 0%, rgba(10,11,15,0.8) 40%, rgba(10,11,15,0) 100%);
}

/* ========== FIX: ALIGN HERO WITH LOGO ========== */
.hero-v2-container {
  max-width: 1400px; /* Match Header Max Width */
  margin: 0 auto;
  padding: 100px 40px; /* Match Header Padding */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-v2-content {
  max-width: 650px;
  text-align: left;
  margin-left: 0; /* Ensure no extra margin */
  padding-left: 0;
}

/* ========== FIX: MODEL CARD IMAGES ========== */
.model-img-wrapper {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: visible;
}

.model-img {
  max-width: 120%; /* Pop out slightly */
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover .model-img {
  transform: scale(1.15) translateY(-5px);
}

.model-img-fallback {
  width: 100%;
  height: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #406783;
}

.model-byd-logo {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-byd-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(64, 103, 131, 0.28);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-right-color: rgba(255, 255, 255, 0.55);
  animation: model-byd-spin 1.6s linear infinite;
  box-shadow: 0 0 24px rgba(64, 103, 131, 0.18);
}

.model-byd-text {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.16em;
  color: #e8edf4;
  text-shadow: 0 0 14px rgba(64, 103, 131, 0.35);
  animation: model-byd-pulse 1.8s ease-in-out infinite;
}

.model-byd-svg {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(64, 103, 131, 0.28));
  animation: model-byd-pulse 1.8s ease-in-out infinite;
}

.model-card-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.model-img-wrapper {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
}

/* ========== FIX: CENTER MODEL CARD CONTENT ========== */
.model-card-inner {
  align-items: center;
  text-align: center;
}

.model-name {
  width: 100%;
}

.model-count {
  width: 100%;
}

/* ========== FIX: CENTERED MODEL CARDS ========== */
.model-card {
  justify-content: center;
  text-align: center;
}

.model-card-inner {
  align-items: center;
  text-align: center;
}

.model-img-wrapper {
  margin-bottom: 15px;
}

@keyframes model-byd-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes model-byd-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* ========== PREMIUM PRODUCT CARD V2 ========== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.product-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f0f0f0; /* Light bg for product cutout */
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.1);
}

.badge-sale, .badge-featured {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.badge-sale {
  left: 12px;
  background: #ff4d4d;
  color: #fff;
}

.badge-featured {
  right: 12px;
  background: var(--accent);
  color: #fff;
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-name a:hover {
  color: var(--accent);
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.product-orig {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-add-cart {
  background: linear-gradient(135deg, #406783, #2d4a5e);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 103, 131, 0.2);
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 103, 131, 0.4);
  filter: brightness(1.1);
}

.btn-add-cart.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-detail {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: 0.3s;
}

.btn-detail:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-muted);
}

/* ========== REFINED PRODUCT SECTION ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
@media (max-width: 500px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-card {
  border-radius: 12px;
}

.product-card-body {
  padding: 16px;
}

.product-name {
  font-size: 0.95rem; /* Smaller title */
  font-weight: 700;
  height: 2.8em;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.1rem; /* Smaller price */
  font-weight: 800;
}

.product-orig {
  font-size: 0.8rem;
}

.product-price-wrap {
  margin-bottom: 12px;
}

.btn-add-cart, .btn-detail {
  padding: 8px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.section-header h2.section-title {
  font-size: 2.2rem;
  letter-spacing: -1px;
}

.product-card-img-wrap {
  background: #fff; /* White background for clean product look */
}

.product-card-img-wrap img {
  padding: 10px; /* Give product some breathing room */
}

/* ========== FIX: EQUAL BUTTON SIZES ========== */
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.btn-add-cart, .btn-detail {
  height: 40px; /* Fixed height for consistency */
  padding: 0;   /* Remove vertical padding to let height control it */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}

.add-cart-form {
  display: block;
  width: 100%;
}

/* ========== FIX: PRODUCT GRID SPACING ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.product-card {
  max-width: 300px; /* Prevent card from becoming too wide */
  margin: 0 auto;   /* Center card in its column */
  width: 100%;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 850px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-card-img-wrap {
  background: #fdfdfd;
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 40px;
}

/* ========== GLASSMORPHISM ENHANCEMENTS ========== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Glass Card Base */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Updated Buttons with Glass Effect */
.btn-v2-primary {
  background: var(--accent) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(64, 103, 131, 0.4);
}

.btn-v2-primary:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 8px 25px rgba(64, 103, 131, 0.6);
}

.btn-v2-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.btn-v2-ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Apply to Existing Components */
.model-card, .testi-card, .whyus-v2-card, .product-card-v2 {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

.model-card:hover, .testi-card:hover, .whyus-v2-card:hover, .product-card-v2:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ========== GLASSMORPHISM OPTIMIZATION ========== */
.product-card {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--glass-shadow) !important;
  padding: 10px;
}

.product-card-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.btn-add-cart, .btn-detail {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-add-cart:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Background Glows */
.products-section, .whyus-v2-section, .testimonial-section {
  position: relative;
  overflow: hidden;
}

.products-section::before, .testimonial-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(64, 103, 131, 0.15) 0%, rgba(64, 103, 131, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.products-section::before { top: -100px; left: -100px; }
.testimonial-section::after { bottom: -100px; right: -100px; }

.products-section::before {
  display: none;
}

/* Logo Optimization */
.site-logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .site-logo-img { max-height: 40px; }
}

/* ========== MOBILE RESPONSIVENESS FIXES ========== */

@media (max-width: 768px) {
  /* Global Spacing */
  .section { padding: 50px 0; }
  
  /* Hero V2 Mobile */
  .hero-v2 { min-height: 85vh; text-align: left; }
  .hero-v2-container { padding: 80px 20px; }
  .hero-v2-title { font-size: 3.2rem; line-height: 1.1; margin-bottom: 20px; }
  .hero-v2-sub { font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }
  .hero-v2-actions { flex-direction: column; width: 100%; gap: 15px; }
  .hero-v2-actions .btn-v2-primary, .hero-v2-actions .btn-v2-wa, .hero-v2-actions .btn-v2-contact { width: 100%; justify-content: center; }
  .hero-pill { font-size: 0.75rem; margin-bottom: 20px; }
  
  /* Section Headers */
  .section-header { 
    flex-direction: column !important; 
    align-items: center !important; 
    text-align: center !important; 
    gap: 15px; 
  }
  .section-title { font-size: 2rem !important; }
  
  /* Category Grid (Models) */
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
  .model-card { padding: 15px !important; }
  .model-img { height: 100px !important; }
  .model-name { font-size: 0.9rem !important; }

  /* Product Grid */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .product-card { padding: 8px !important; }
  .product-name { font-size: 0.85rem !important; }
  .product-price { font-size: 0.95rem !important; }
  .product-card-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .btn-add-cart, .btn-detail {
    height: 38px !important;
    font-size: 0.74rem !important;
    padding: 0 10px !important;
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 8px !important;
    gap: 6px !important;
    white-space: nowrap;
  }
  .btn-add-cart i, .btn-detail i {
    display: none;
  }
  
  /* Testimonials */
  .testimonial-card { min-width: 300px; max-width: 300px; padding: 25px; }
  .testimonial-text { font-size: 0.9rem; }
  
  /* Footer */
  .footer-v2 { text-align: center; }
  .fv2-top { flex-direction: column; gap: 40px; }
  .fv2-brand, .fv2-links, .fv2-contact { align-items: center; }
  .fv2-socials { justify-content: center; }
  .fv2-contact-item { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-v2-title { font-size: 2.8rem; }
  .cat-strip-grid { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; } /* Stay 2 cols for better density */
}

/* ========== MOBILE CUTOFF FIXES ========== */
@media (max-width: 768px) {
  .hero-v2-container { 
    padding: 60px 20px !important; 
    width: 100% !important; 
    box-sizing: border-box !important;
  }
  .hero-v2-sub { 
    max-width: 100% !important; 
    padding-right: 20px !important; /* Extra safety */
    font-size: 0.95rem !important; 
    line-height: 1.6 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-v2-title {
    width: 100% !important;
    font-size: 2.8rem !important;
    word-break: break-word !important;
  }
  .hero-pill {
    max-width: 100% !important;
    white-space: normal !important;
    height: auto !important;
    line-height: 1.4 !important;
  }
}

/* ========== MOBILE AGGRESSIVE FIX ========== */
@media (max-width: 768px) {
  .hero-v2 {
    display: block !important;
    height: auto !important;
    min-height: 80vh !important;
    text-align: center !important;
  }
  .hero-v2-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .hero-v2-content {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-v2-title {
    font-size: 2.6rem !important;
    margin-top: 40px !important;
  }
  .hero-v2-sub {
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-v2-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .hero-v2-actions .btn-v2-primary,
  .hero-v2-actions .btn-v2-wa,
  .hero-v2-actions .btn-v2-contact {
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-v2-overlay {
    background: linear-gradient(to bottom, rgba(10,11,15,0.85) 0%, rgba(10,11,15,0.95) 100%) !important;
  }
  .btn-v2-contact {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 17, 21, 0.82) !important;
  }
  .home-anim-ready .home-hero .hero-v2-content > *,
  .home-anim-ready .home-reveal,
  .home-anim-ready .home-reveal .section-header,
  .home-anim-ready .home-reveal .models-label,
  .home-anim-ready .home-reveal .faq-left,
  .home-anim-ready .home-reveal .cta-v2-inner,
  .home-anim-ready .home-reveal .models-grid > *,
  .home-anim-ready .home-reveal .products-grid > *,
  .home-anim-ready .home-reveal .whyus-v2-grid > *,
  .home-anim-ready .home-reveal .testi-card,
  .home-anim-ready .home-reveal .faq-item {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* WhatsApp Float Button Fix */
.wa-float-v2 {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  background: #25d366;
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float-v2:hover {
  transform: scale(1.1) rotate(5deg);
  background: #20ba5a;
  animation: none;
}

.wa-float-label {
  position: absolute;
  right: 80px;
  background: #1a1d23;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.wa-float-v2:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .wa-float-v2 {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
  .wa-float-label {
    display: none;
  }
}

/* Toast Notification V2 */
.toast-container-v2 {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  pointer-events: none;
}

.toast-v2 {
  background: rgba(26, 29, 35, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  animation: toast-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.4s;
  min-width: 250px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: auto;
}

.toast-v2.hide {
  opacity: 0;
  transform: translateX(-50px) scale(0.9);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.toast-success .toast-icon { background: #00c853; color: #fff; }
.toast-error .toast-icon { background: #ff4d4d; color: #fff; }

.toast-msg {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-100px) scale(0.8); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 768px) {
  .toast-container-v2 {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .toast-v2 {
    min-width: 0;
    max-width: min(280px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 10px;
  }

  .toast-content {
    gap: 10px;
  }

  .toast-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .toast-msg {
    font-size: 0.82rem;
  }
}

/* Pulse Animation for Cart */
.pulse-anim {
  animation: cart-pulse 0.5s ease-in-out;
}

@keyframes cart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: #406783; }
  100% { transform: scale(1); }
}

/* ===== CUSTOMER ACCOUNT ===== */
.hv2-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #e1e1e6;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hv2-account-btn span {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hv2-account-btn:hover {
  background: rgba(64,103,131,0.16);
  border-color: rgba(64,103,131,0.35);
  transform: translateY(-1px);
}

.hv2-account-btn svg {
  flex-shrink: 0;
}

.checkout-account-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.checkout-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #2d313a;
  background: #0f1115;
  cursor: pointer;
  font-weight: 700;
  color: #e1e1e6;
}

.checkout-account-toggle input {
  accent-color: #406783;
}

.checkout-account-note {
  color: #a0a0b0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.checkout-account-fields {
  display: none;
}

.checkout-account-fields.active {
  display: block;
  margin-top: 4px;
}

.checkout-account-logged {
  background: rgba(64,103,131,0.08) !important;
}

.account-page,
.auth-page {
  padding: 60px 0 80px;
}

.account-shell,
.auth-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.account-card,
.auth-card,
.auth-aside {
  background: #1a1d23;
  border: 1px solid #2d313a;
  border-radius: 16px;
  padding: 28px;
}

.account-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.account-card h3,
.auth-card h1 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.account-meta,
.auth-muted {
  color: #a0a0b0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.account-stat {
  background: #0f1115;
  border: 1px solid #2d313a;
  border-radius: 12px;
  padding: 16px;
}

.account-stat small {
  display: block;
  color: #a0a0b0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.account-card .account-stat strong {
  font-size: 1rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.account-card .account-email {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-order {
  background: #1a1d23;
  border: 1px solid #2d313a;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.account-order-main {
  flex: 1;
  min-width: 220px;
}

.account-order-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.account-order-sub {
  color: #a0a0b0;
  font-size: 0.9rem;
}

.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #e1e1e6;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-layout {
  grid-template-columns: 1fr 0.95fr;
}

.auth-aside h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.auth-benefit svg {
  color: #406783;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-card .form-group {
  margin-bottom: 18px;
}

.auth-card .btn-primary,
.auth-card .btn-outline {
  width: 100%;
  justify-content: center;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  color: #a0a0b0;
  font-size: 0.9rem;
}

.auth-links a {
  color: #406783;
  font-weight: 700;
}

.account-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  height: 100%;
}

.account-detail-card {
  background: #1a1d23;
  border: 1px solid #2d313a;
  border-radius: 16px;
  padding: 28px;
}

.account-detail-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .account-shell,
  .auth-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hv2-account-btn span {
    display: none;
  }

  .hv2-account-btn {
    padding: 10px;
  }

  .account-card,
  .auth-card,
  .auth-aside,
  .account-detail-card {
    padding: 22px;
  }

  .account-card .account-stat strong {
    font-size: 0.95rem;
  }

  .account-card .account-email {
    font-size: 0.76rem;
  }
}

/* ========== SHOP GRID OVERRIDE ========== */
.shop-page .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

@media (max-width: 1100px) {
  .shop-page .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .shop-page .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
/* ===== HOME ANIMATIONS ===== */
.home-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero {
  opacity: 0;
  transform: scale(1.05);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Fix for transparent lines between sections */
section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  padding-top: 1px;
}


/* MOBILE SEARCH BAR FIX */
.search-overlay { 
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #1a1d23; 
  border-top: 1px solid #2d313a; 
  border-bottom: 1px solid #2d313a;
  padding: 0; 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.3s ease, padding 0.3s ease; 
  z-index: 1001;
}
.search-overlay.active { max-height: 80px; padding: 14px 40px; }

.search-v2-form { 
  display: flex; 
  align-items: center; 
  max-width: 600px; 
  margin: 0 auto; 
  background: #0f1115; 
  border: 1px solid #2d313a; 
  border-radius: 8px; 
  overflow: hidden;
  box-sizing: border-box;
}
.search-v2-form input { 
  flex: 1; 
  background: transparent; 
  color: #e1e1e6; 
  padding: 10px 16px; 
  font-size: 0.95rem; 
  width: 100%; 
  min-width: 0; 
}
.search-v2-form button { 
  background: #406783; 
  color: #fff; 
  padding: 10px 16px; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
}

@media (max-width: 768px) {
  .search-overlay.active { 
    padding: 12px 15px; 
  }
  .search-v2-form {
    width: 100%;
    box-sizing: border-box;
  }
  .search-v2-form i.ri-search-line {
    display: none;
  }
}


/* FIX SEARCH BAR OVERLAY HEADER */
.search-overlay {
  top: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  padding: 0 20px !important;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-v2-form {
  margin: 0 auto;
  width: 100%;
}


/* PREMIUM SEARCH BAR OVERLAY V2 */
.search-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  z-index: 9999 !important;
  background: rgba(15, 17, 21, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  padding: 0 40px !important;
  border: none !important;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.search-v2-form {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid #406783 !important;
  border-radius: 0 !important;
  padding: 0 0 5px 0 !important;
}

.search-v2-form i.ri-search-line {
  display: block !important;
  color: #406783 !important;
}

.search-v2-form input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  padding: 10px 15px !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-v2-form input::placeholder {
  color: #555c66 !important;
  font-weight: 400 !important;
}

.search-v2-form button.search-close {
  background: transparent !important;
  border: none !important;
  color: #a0a0b0 !important;
  font-size: 1.8rem !important;
  cursor: pointer !important;
  padding: 0 5px !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.search-v2-form button.search-close:hover {
  color: #ff4d4d !important;
  transform: scale(1.1) !important;
}

@media (max-width: 768px) {
  .search-overlay {
    padding: 0 20px !important;
  }
  .search-v2-form input {
    font-size: 1.05rem !important;
    padding: 8px 10px !important;
  }
  .search-v2-form i.ri-search-line {
    font-size: 1.2rem !important;
    margin-right: 5px !important;
  }
}

/* ========== SHOP PAGE ENHANCEMENTS ========== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.shop-sidebar {
  position: sticky;
  top: 110px;
  z-index: 10;
}

.sidebar-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.sidebar-search-wrap {
  margin-bottom: 25px;
}

.sidebar-search-form {
  display: flex !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: 0.3s !important;
}

.sidebar-search-form:focus-within {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.sidebar-search-form input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  padding: 12px 15px !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  outline: none !important;
  box-shadow: none !important;
}

.sidebar-search-form button {
  background: transparent !important;
  border: none !important;
  padding: 0 15px !important;
  color: var(--accent) !important;
  cursor: pointer !important;
  font-size: 1.1rem !important;
  transition: 0.3s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sidebar-search-form button:hover {
  transform: scale(1.1);
}

.sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cats li {
  margin-bottom: 8px;
}

.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #a0a0b0;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.3s;
}

.sidebar-cats a span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
  color: #6b7280;
}

.sidebar-cats a:hover, .sidebar-cats a.active {
  background: rgba(64, 103, 131, 0.15);
  color: var(--accent);
}

.sidebar-cats a.active span {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1000px) {
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .shop-sidebar {
    position: static;
  }
}
