@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --bg:       #c2d3e8;
  --s1:       #ffffff;
  --s2:       #f0f5fd;
  --s3:       #e4eef8;
  --s4:       #d4e4f4;
  --t1:       #0c1829;
  --t2:       #5a7290;
  --t3:       #9bb0c4;
  --red:      #1a4fd6;
  --red-l:    #4a78f0;
  --red-d:    #1240b0;
  --red-a:    rgba(26,79,214,0.10);
  --red-glow: rgba(26,79,214,0.22);
  --b1:       rgba(12,24,41,0.07);
  --b2:       rgba(12,24,41,0.12);
  --b3:       rgba(12,24,41,0.20);
  --r:        14px;
  --r-sm:     8px;
  --r-lg:     22px;
  --font-d:   'Bebas Neue', sans-serif;
  --font-b:   'Inter', sans-serif;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --sh:       0 4px 24px rgba(12,24,41,0.10);
  --sh-red:   0 8px 32px var(--red-glow);

  /* Legacy aliases */
  --dark:         #0c1829;
  --gray:         #5a7290;
  --light:        #f5f8ff;
  --red-dark:     #1240b0;
  --white:        #fff;
  --shadow:       0 4px 24px rgba(12,24,41,0.10);
  --radius:       14px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--t1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hidden { display: none !important; }

/* ─── SCROLLBAR ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--b3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ─── LOADER ─────────────────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-d);
  font-size: 68px; letter-spacing: 6px;
  background: linear-gradient(135deg, var(--t1) 40%, var(--red) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-logo span { -webkit-text-fill-color: var(--red); }
.loader-bar {
  width: 180px; height: 2px;
  background: var(--b2); border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-l));
  border-radius: 99px; animation: loaderFill 1.4s var(--ease) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ─── HEADER (floating pill) ──────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1300px;
  z-index: 200;
  background: rgba(194,211,232,0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
  overflow: visible;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.96);
  border-color: rgba(12,24,41,0.08);
  box-shadow: 0 4px 24px rgba(12,24,41,0.10), 0 1px 4px rgba(12,24,41,0.06);
}
.header-inner {
  max-width: 100%; margin: 0 auto;
  padding: 0 24px; height: 62px;
  display: flex; align-items: center; gap: 28px;
}
.logo {
  font-family: var(--font-d); font-size: 28px; letter-spacing: 3px;
  color: var(--t1); text-decoration: none; flex-shrink: 0;
}
.logo span { color: var(--red); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--t2); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  padding: 7px 14px; border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--t1); background: var(--b1); }
.nav-active { color: var(--t1) !important; background: var(--b2) !important; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Cart button */
.cart-btn {
  background: var(--b1); border: 1px solid var(--b2);
  color: var(--t1); position: relative;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.cart-btn:hover { background: var(--b2); }
.cart-btn svg { width: 18px; height: 18px; display: block; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  color: #fff; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; border: 2px solid var(--s1);
}
.cart-count.visible { opacity: 1; }

/* Auth header buttons */
.btn-login {
  background: transparent; border: 1px solid var(--b2);
  color: var(--t2); font-family: var(--font-b); font-size: 13px;
  font-weight: 600; padding: 8px 18px; border-radius: 99px;
  cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; transition: all 0.2s;
}
.btn-login:hover { border-color: var(--t2); color: var(--t1); }
.btn-register {
  background: linear-gradient(135deg, var(--red), var(--red-l));
  border: none; color: #fff; font-family: var(--font-b);
  font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 99px;
  cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; gap: 6px;
  box-shadow: 0 4px 16px var(--red-a);
  transition: all 0.25s var(--ease);
}
.btn-register:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }

/* User menu */
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
  text-decoration: none;
}
.user-menu span { font-size: 14px; font-weight: 600; color: var(--t1); }
.btn-logout {
  background: none; border: 1px solid var(--b2);
  color: var(--t2); font-size: 12px; padding: 6px 12px;
  border-radius: 99px; cursor: pointer; transition: all 0.2s;
  font-family: var(--font-b);
}
.btn-logout:hover { border-color: var(--red); color: var(--red); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--t1); border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid var(--b1);
  box-shadow: 0 8px 32px rgba(12,24,41,0.12);
  padding: 10px 20px 16px;
  z-index: 199;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  color: var(--t1); text-decoration: none;
  font-size: 15px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--b1);
  background: none; border-right: none; border-left: none; border-top: none;
  text-align: left; cursor: pointer; font-family: var(--font-b);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu a:last-child, .mobile-menu button:last-child { border-bottom: none; }

/* ─── PRIMARY BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-l) 100%);
  color: #fff; border: none; font-family: var(--font-b);
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  padding: 13px 28px; border-radius: 99px; cursor: pointer;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 20px var(--red-a);
  transition: all 0.25s var(--ease); position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12); opacity: 0; transition: opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--t1);
  border: 1px solid var(--b3); font-family: var(--font-b);
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  padding: 13px 28px; border-radius: 99px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all 0.25s var(--ease);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow-x: hidden; overflow-y: visible;
  padding: 130px 32px 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12,24,41,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,24,41,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px; right: -100px; top: 10%;
  background: radial-gradient(circle, rgba(26,79,214,0.12) 0%, transparent 70%);
  animation: blobMove 12s ease-in-out infinite;
}
.hero-blob-2 {
  width: 300px; height: 300px; left: 10%; bottom: 20%;
  background: radial-gradient(circle, rgba(26,79,214,0.06) 0%, transparent 70%);
  animation: blobMove 16s ease-in-out infinite reverse;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
/* Ghost background text */
.hero-ghost-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--font-d);
  font-size: clamp(90px, 18vw, 260px);
  letter-spacing: 6px;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  line-height: 1;
}
.hero-particles { position: absolute; inset: 0; }
.particle {
  position: absolute; width: 2px; height: 2px; background: var(--red);
  border-radius: 50%; opacity: 0; animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; max-width: 640px; flex: 1; overflow: visible; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-a); border: 1px solid rgba(26,79,214,0.25);
  color: var(--red); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: 0.92; letter-spacing: 2px; color: var(--t1); margin-bottom: 28px;
  overflow: visible;
}
.hero-title .line { display: block; animation: fadeInUp 0.8s var(--ease) both; overflow: visible; white-space: nowrap; }
.hero-title .line:nth-child(2) { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) { animation-delay: 0.2s; }
.hero-title .accent {
  background: linear-gradient(135deg, var(--red), var(--red-l));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 16px; line-height: 1.8; color: var(--t2); margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.4s var(--ease) both;
}
.hero-stats { display: flex; gap: 0; align-items: center; animation: fadeInUp 0.8s 0.5s var(--ease) both; }
.stat { text-align: center; padding: 0 36px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num { font-family: var(--font-d); font-size: 48px; color: var(--t1); line-height: 1; }
.stat span { font-family: var(--font-d); font-size: 32px; color: var(--red); }
.stat div { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--t2); margin-top: 4px; }
.stat-divider { width: 1px; height: 56px; background: var(--b2); margin-right: 36px; }

/* Magnet 3D */
.hero-visual {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  z-index: 2; animation: fadeInRight 1s 0.5s var(--ease) both;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(60px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.magnet-3d { position: relative; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.magnet-body {
  width: 120px; height: 200px; display: flex; flex-direction: column;
  border-radius: 60px 60px 20px 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(12,24,41,0.20), 0 0 60px var(--red-glow);
  animation: magnetFloat 4s ease-in-out infinite;
}
@keyframes magnetFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}
.magnet-pole { flex: 1; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 40px; letter-spacing: 2px; }
.magnet-pole.north { background: linear-gradient(135deg, var(--red), var(--red-l)); color: #fff; }
.magnet-pole.south { background: var(--s3); color: var(--t3); border: 2px solid var(--b2); }
.field-lines { position: absolute; inset: 0; }
.field-line {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(26,79,214,0.18); border-radius: 50%;
  transform: translate(-50%,-50%); animation: fieldPulse 2.5s ease-in-out infinite;
}
.field-line:nth-child(1) { width:160px;height:160px;animation-delay:0s; }
.field-line:nth-child(2) { width:200px;height:200px;animation-delay:0.4s; }
.field-line:nth-child(3) { width:240px;height:240px;animation-delay:0.8s; }
.field-line:nth-child(4) { width:280px;height:280px;animation-delay:1.2s; }
.field-line:nth-child(5) { width:320px;height:320px;animation-delay:1.6s; }
@keyframes fieldPulse {
  0%,100% { opacity:0; transform:translate(-50%,-50%) scale(0.85); }
  50% { opacity:1; transform:translate(-50%,-50%) scale(1); }
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--t2); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeInUp 1s 1s var(--ease) both; z-index: 2;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ─── CATEGORIES PREVIEW ─────────────────────────────────────────────────── */
.categories-preview { padding: 100px 32px; max-width: 1320px; margin: 0 auto; }
.cat-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 48px;
}
.cat-preview-card {
  background: var(--s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 28px 24px;
  text-decoration: none; color: var(--t1);
  transition: all 0.3s var(--ease); display: flex;
  flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.cat-preview-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--red-a), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.cat-preview-card:hover { border-color: rgba(26,79,214,0.25); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,24,41,0.14); }
.cat-preview-card:hover::before { opacity: 1; }
.cat-preview-icon { font-size: 36px; }
.cat-preview-name { font-family: var(--font-d); font-size: 24px; letter-spacing: 1px; color: var(--t1); }
.cat-preview-desc { font-size: 12px; color: var(--t2); line-height: 1.6; flex: 1; }
.cat-preview-arrow { color: var(--red); font-size: 18px; font-weight: 700; margin-top: 8px; transition: transform 0.2s; }
.cat-preview-card:hover .cat-preview-arrow { transform: translateX(6px); }

/* ─── WHY US ──────────────────────────────────────────────────────────────── */
.why-us { padding: 100px 32px; background: var(--s1); border-top: 1px solid var(--b1); }
.why-inner { max-width: 1320px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.why-card {
  background: var(--s2); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(12,24,41,0.04);
}
.why-card:hover { border-color: rgba(26,79,214,0.2); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(12,24,41,0.10); }
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 { font-family: var(--font-d); font-size: 24px; letter-spacing: 1px; margin-bottom: 10px; color: var(--t1); }
.why-card p { font-size: 14px; color: var(--t2); line-height: 1.8; }

/* ─── SECTION HEADERS ────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 { font-family: var(--font-d); font-size: clamp(40px,5vw,72px); letter-spacing: 2px; color: var(--t1); margin-bottom: 12px; }
.section-header p { color: var(--t2); font-size: 15px; }
.accent { background: linear-gradient(135deg, var(--red), var(--red-l)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── CATALOG ─────────────────────────────────────────────────────────────── */
.categories-bar {
  position: sticky; top: 94px; z-index: 50;
  background: rgba(194,211,232,0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b1);
  display: flex; justify-content: center; gap: 6px;
  overflow-x: auto; padding: 10px 32px; scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.cat-btn {
  background: rgba(255,255,255,0.7); border: 1px solid var(--b1);
  color: var(--t2); font-family: var(--font-b); font-size: 12px;
  font-weight: 600; letter-spacing: 0.5px; padding: 7px 18px; border-radius: 99px;
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.cat-btn:hover { color: var(--t1); background: rgba(255,255,255,0.9); }
.cat-btn.active { background: linear-gradient(135deg, var(--red), var(--red-l)); border-color: transparent; color: #fff; }

.products { padding: 60px 32px; max-width: 1320px; margin: 0 auto; }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(285px,1fr)); gap: 20px;
}

/* Product card */
.product-card {
  background: var(--s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: all 0.3s var(--ease); animation: fadeInUp 0.5s var(--ease) both;
  position: relative;
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.product-card:hover {
  border-color: rgba(26,79,214,0.2); transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(12,24,41,0.14);
}
.product-img-wrap { position: relative; height: 220px; overflow: hidden; background: var(--s2); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
}
/* Compare toggle on card */
.compare-toggle {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.85); border: 1px solid var(--b2);
  color: var(--t2); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; backdrop-filter: blur(8px); z-index: 2;
}
.compare-toggle:hover { border-color: var(--red); color: var(--red); }
.compare-toggle.active { background: var(--red); border-color: var(--red); color: #fff; }
.product-info { padding: 20px; }
.product-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 8px; line-height: 1.4; }
.product-desc { font-size: 13px; color: var(--t2); line-height: 1.6; margin-bottom: 16px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-family: var(--font-d); font-size: 22px; color: var(--t1); }
.product-price.has-price { color: var(--red); }
.product-price span { font-size: 13px; color: var(--t2); font-family: var(--font-b); font-weight: 500; }
.add-to-cart {
  background: linear-gradient(135deg, var(--red), var(--red-l));
  border: none; color: #fff; width: 38px; height: 38px;
  border-radius: 99px; cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 4px 12px var(--red-a);
}
.add-to-cart:hover { transform: scale(1.1); box-shadow: var(--sh-red); }

.load-more { text-align: center; margin-top: 40px; }

/* Catalog toolbar */
.catalog-toolbar {
  max-width: 1320px; margin: 0 auto; padding: 32px 32px 0;
  display: flex; justify-content: center;
}
.catalog-search-wrap { position: relative; width: 100%; max-width: 560px; }
.catalog-search {
  width: 100%; background: var(--s1); border: 1px solid var(--b2);
  border-radius: 99px; color: var(--t1); font-family: var(--font-b);
  font-size: 14px; padding: 13px 48px 13px 20px; outline: none; transition: border-color 0.2s;
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.catalog-search:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-a); }
.catalog-search::placeholder { color: var(--t2); }
.search-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--t2); pointer-events: none; }

/* ─── PAGE HERO ──────────────────────────────────────────────────────────── */
.page-hero {
  padding: 150px 32px 60px;
  background: linear-gradient(180deg, rgba(26,79,214,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--b1);
}
.page-hero-content { max-width: 1320px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--t2); letter-spacing: 1px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 20px;
}
.breadcrumb a { color: var(--t2); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span:last-child { color: var(--t1); }
.page-title {
  font-family: var(--font-d); font-size: clamp(52px,7vw,96px);
  letter-spacing: 2px; line-height: 0.95; margin-bottom: 16px; color: var(--t1);
}
.page-hero-content > p { color: var(--t2); font-size: 16px; line-height: 1.8; max-width: 560px; }

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about {
  background: var(--s1); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
  padding: 100px 32px;
}
.about-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-tag { margin-bottom: 16px; display: block; }
.about-text h2 { font-family: var(--font-d); font-size: clamp(36px,4vw,60px); letter-spacing: 2px; margin-bottom: 24px; line-height: 1; color: var(--t1); }
.about-text p { color: var(--t2); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.about-list { list-style: none; margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--t1); }
.check { color: var(--red); font-size: 16px; font-weight: 900; }
.about-visual { position: relative; }
.about-card { border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 16px 48px rgba(12,24,41,0.14); }
.about-img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
  border: 1px solid var(--b1); border-radius: 12px; padding: 12px 20px;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(12,24,41,0.10);
}
.about-badge strong { font-family: var(--font-d); font-size: 24px; color: var(--red); }
.about-badge span { font-size: 11px; color: var(--t2); font-weight: 600; letter-spacing: 1px; }

/* ─── TIMELINE ───────────────────────────────────────────────────────────── */
.history-section {
  padding: 100px 32px; background: var(--s1);
  border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
}
.history-inner { max-width: 900px; margin: 0 auto; }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 90px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(180deg,transparent,rgba(26,79,214,0.4),transparent);
}
.timeline-item {
  display: flex; gap: 40px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--b1);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: var(--font-d); font-size: 36px; color: var(--red);
  min-width: 80px; text-align: right; flex-shrink: 0;
}
.timeline-content { padding-left: 40px; }
.timeline-content h3 { font-family: var(--font-d); font-size: 24px; color: var(--t1); margin-bottom: 8px; letter-spacing: 1px; }
.timeline-content p { font-size: 14px; color: var(--t2); line-height: 1.8; }

/* ─── TEAM ───────────────────────────────────────────────────────────────── */
.team-section { padding: 100px 32px; }
.team-inner { max-width: 1320px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.team-card {
  background: var(--s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 32px 24px; text-align: center;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.team-card:hover { border-color: rgba(26,79,214,0.2); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(12,24,41,0.12); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 24px; color: #fff; margin: 0 auto 20px;
}
.team-card h3 { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.team-card p { font-size: 12px; color: var(--red); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.team-card span { font-size: 12px; color: var(--t2); }

/* ─── MAP / CONTACTS ─────────────────────────────────────────────────────── */
.map-section { padding: 80px 32px; }
.map-layout { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r);
  padding: 16px; transition: border-color 0.2s;
  box-shadow: 0 2px 8px rgba(12,24,41,0.05);
}
.contact-item:hover { border-color: var(--b2); }
.c-icon { font-size: 22px; flex-shrink: 0; }
.contact-item strong {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--t2); margin-bottom: 4px;
}
.contact-item p, .contact-item a { font-size: 14px; color: var(--t1); text-decoration: none; }
.contact-item a:hover { color: var(--red); }
.contact-form {
  background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.contact-form h3 { font-family: var(--font-d); font-size: 24px; margin-bottom: 4px; color: var(--t1); }
.contact-form input, .contact-form textarea {
  background: var(--s2); border: 1px solid var(--b2); border-radius: var(--r-sm);
  color: var(--t1); font-family: var(--font-b); font-size: 14px;
  padding: 12px 16px; outline: none; transition: border-color 0.2s; resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--t2); }
.map-container {
  height: 520px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--b1); box-shadow: 0 4px 24px rgba(12,24,41,0.10);
  position: relative; z-index: 0; isolation: isolate;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer { background: #0c1829; border-top: none; padding: 60px 32px 0; }
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px;
}
.footer-brand .logo { display: block; margin-bottom: 12px; color: #fff; }
.footer-brand .logo span { color: var(--red-l); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; line-height: 1.7; }
.socials { display: flex; gap: 8px; }
.socials a {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 99px;
  transition: all 0.2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-family: var(--font-d); font-size: 20px; letter-spacing: 1px; margin-bottom: 6px; color: #fff; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--red-l); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  max-width: 1320px; margin: 0 auto; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.25);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}

/* ─── CART DRAWER ────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,24,41,0.45); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 301;
  width: 400px; background: var(--s1); border-left: 1px solid var(--b1);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(12,24,41,0.14);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--b1);
}
.cart-header h3 { font-family: var(--font-d); font-size: 28px; color: var(--t1); }
.cart-header button {
  background: var(--b1); border: 1px solid var(--b1); color: var(--t2);
  width: 36px; height: 36px; border-radius: 10px; font-size: 16px;
  cursor: pointer; transition: all 0.2s;
}
.cart-header button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--s2); border-radius: 12px; padding: 12px; border: 1px solid var(--b1);
}
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-family: var(--font-d); font-size: 18px; color: var(--red); }
.cart-item-remove { background: none; border: none; color: var(--t3); font-size: 14px; cursor: pointer; padding: 4px; transition: color 0.2s; flex-shrink: 0; }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 20px; border-top: 1px solid var(--b1); }
.cart-total { font-size: 15px; margin-bottom: 14px; color: var(--t2); }
.cart-total strong { font-family: var(--font-d); font-size: 28px; color: var(--t1); }

/* ─── MODALS ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(12,24,41,0.50); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 40px;
  max-width: 660px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative; animation: modalIn 0.35s cubic-bezier(0.4,0,0.2,1) both;
  box-shadow: 0 24px 80px rgba(12,24,41,0.20);
}
@keyframes modalIn {
  from { transform: scale(0.94) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--b1); border: 1px solid var(--b1); color: var(--t2);
  width: 36px; height: 36px; border-radius: 10px; font-size: 14px;
  cursor: pointer; transition: all 0.2s; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.modal-product-img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.modal-cat { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.modal-title { font-family: var(--font-d); font-size: 38px; margin-bottom: 12px; line-height: 1; color: var(--t1); }
.modal-desc { color: var(--t2); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.modal-specs {
  background: var(--s2); border-radius: 12px; padding: 20px; margin-bottom: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 1px solid var(--b1);
}
.spec-item { font-size: 13px; }
.spec-label { color: var(--t2); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.spec-value { font-weight: 700; color: var(--t1); }
.modal-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.modal-price { font-family: var(--font-d); font-size: 42px; color: var(--t1); }

/* Product doc links */
.modal-docs { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.doc-link {
  display: flex; align-items: center; gap: 10px;
  background: var(--s2); border: 1px solid var(--b1); border-radius: 10px;
  padding: 10px 14px; text-decoration: none; color: var(--t1);
  font-size: 13px; font-weight: 600; transition: all 0.2s;
}
.doc-link:hover { border-color: var(--red); color: var(--red); }
.doc-icon { font-size: 18px; flex-shrink: 0; }

/* ─── AUTH FORMS (modal) ─────────────────────────────────────────────────── */
.auth-box { max-width: 460px; }
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 28px;
  background: var(--s2); border-radius: 10px; padding: 4px;
}
.auth-tab {
  flex: 1; background: none; border: none; color: var(--t2);
  font-family: var(--font-b); font-size: 13px; font-weight: 700;
  padding: 9px; border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.auth-tab.active { background: linear-gradient(135deg, var(--red), var(--red-l)); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form h2 { font-family: var(--font-d); font-size: 34px; margin-bottom: 4px; line-height: 1; color: var(--t1); }
.auth-form input, .auth-form textarea {
  background: var(--s2); border: 1px solid var(--b2);
  border-radius: var(--r); color: var(--t1); font-family: var(--font-b);
  font-size: 14px; padding: 13px 16px; outline: none; transition: border-color 0.2s;
}
.auth-form input:focus, .auth-form textarea:focus { border-color: var(--red); }
.auth-form input::placeholder { color: var(--t2); }
.form-error { color: var(--red); font-size: 13px; min-height: 18px; }

/* Agree checkbox */
.agree-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--t2); cursor: pointer; line-height: 1.6;
}
.agree-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--red); cursor: pointer; margin-top: 1px; }
.agree-link { color: var(--red); text-decoration: underline; }
.agree-link:hover { color: var(--red-l); }

/* Verify step */
.verify-hint { font-size: 14px; color: var(--t2); margin-bottom: 16px; line-height: 1.6; }
.verify-resend { font-size: 12px; padding: 10px 20px; opacity: 0.7; margin-top: 4px; }
.verify-resend:hover { opacity: 1; }

/* ─── TOAST ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--s1); border: 1px solid var(--b1);
  border-left: 3px solid var(--red); color: var(--t1);
  font-size: 14px; font-weight: 600; padding: 14px 22px;
  border-radius: 12px; box-shadow: 0 8px 32px rgba(12,24,41,0.14);
  transform: translateY(80px); opacity: 0;
  transition: all 0.35s var(--ease); pointer-events: none;
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── COMPARE BAR ────────────────────────────────────────────────────────── */
.compare-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  z-index: 350; width: 680px; max-width: calc(100vw - 32px);
  background: var(--s1); border: 1px solid var(--b2);
  border-bottom: none; border-radius: 16px 16px 0 0;
  padding: 16px 24px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 -8px 40px rgba(12,24,41,0.12);
  transition: transform 0.4s var(--ease);
}
.compare-bar.visible { transform: translateX(-50%) translateY(0); }
.compare-bar-items { display: flex; gap: 10px; flex: 1; }
.compare-slot {
  width: 56px; height: 56px; border-radius: 10px;
  border: 1px dashed var(--b3); background: var(--s2);
  display: flex; align-items: center; justify-content: center;
  color: var(--t3); font-size: 22px; overflow: hidden; position: relative;
  flex-shrink: 0;
}
.compare-slot img { width: 100%; height: 100%; object-fit: cover; }
.compare-slot-remove {
  position: absolute; inset: 0; background: rgba(26,79,214,0.7);
  color: #fff; font-size: 16px; display: none; align-items: center;
  justify-content: center; cursor: pointer;
}
.compare-slot:hover .compare-slot-remove { display: flex; }
.compare-bar-actions { display: flex; gap: 8px; flex-shrink: 0; }
.compare-bar-count { color: var(--t2); font-size: 13px; white-space: nowrap; margin-right: 4px; }
.compare-clear {
  background: none; border: 1px solid var(--b2); color: var(--t2);
  font-family: var(--font-b); font-size: 12px; padding: 8px 14px;
  border-radius: 99px; cursor: pointer; transition: all 0.2s;
}
.compare-clear:hover { border-color: var(--red); color: var(--red); }

/* Compare modal */
.compare-table { display: flex; gap: 1px; background: var(--b1); border-radius: 12px; overflow: auto; }
.compare-col { flex: 1; min-width: 180px; background: var(--s1); display: flex; flex-direction: column; }
.compare-col-header { padding: 16px; border-bottom: 1px solid var(--b1); }
.compare-col-header img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.compare-col-header h4 { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.compare-col-header p { font-size: 11px; color: var(--red); font-weight: 600; text-transform: uppercase; }
.compare-row { padding: 12px 16px; border-bottom: 1px solid var(--b1); font-size: 13px; }
.compare-row-label { font-size: 10px; color: var(--t2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.compare-row-val { font-weight: 600; color: var(--t1); }
.compare-row.diff .compare-row-val { color: var(--red); }

/* ─── ACCOUNT DASHBOARD ──────────────────────────────────────────────────── */
.account-page { padding: 110px 32px 60px; max-width: 1320px; margin: 0 auto; }
.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.account-sidebar { display: flex; flex-direction: column; gap: 12px; }
.account-profile-card {
  background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center; position: sticky; top: 100px;
  box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.account-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 32px; color: #fff; margin: 0 auto 16px;
}
.account-name { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.account-email { font-size: 13px; color: var(--t2); margin-bottom: 20px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; border: none;
  background: none; color: var(--t2); font-family: var(--font-b);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
  text-align: left; text-decoration: none;
}
.account-nav-item:hover { background: var(--b1); color: var(--t1); }
.account-nav-item.active { background: var(--red-a); color: var(--red); }
.account-nav-icon { font-size: 16px; width: 20px; text-align: center; }

.account-main { display: flex; flex-direction: column; gap: 20px; }
.account-section {
  background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-lg);
  padding: 28px; box-shadow: 0 2px 12px rgba(12,24,41,0.06);
}
.account-section-title {
  font-family: var(--font-d); font-size: 28px; margin-bottom: 20px;
  letter-spacing: 1px; display: flex; align-items: center; justify-content: space-between;
  color: var(--t1);
}
.account-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.account-stat {
  background: var(--s2); border: 1px solid var(--b1); border-radius: var(--r); padding: 20px; text-align: center;
}
.account-stat-num { font-family: var(--font-d); font-size: 40px; color: var(--red); line-height: 1; }
.account-stat-label { font-size: 12px; color: var(--t2); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* Booking history table */
.bookings-table { width: 100%; border-collapse: collapse; }
.bookings-table th {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--t2); padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--b1);
}
.bookings-table td { padding: 14px 16px; font-size: 14px; color: var(--t1); border-bottom: 1px solid var(--b1); }
.bookings-table tr:last-child td { border-bottom: none; }
.bookings-table tr:hover td { background: var(--s2); }
.status-badge {
  display: inline-block; padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.status-new         { background: rgba(26,79,214,0.10); color: var(--red); }
.status-in-progress { background: rgba(255,165,0,0.12); color: #c47a00; }
.status-done        { background: rgba(22,163,74,0.12); color: #16a34a; }
.status-cancelled   { background: rgba(100,116,139,0.12); color: var(--t2); }

/* Profile form */
.profile-form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--t2); }
.form-input {
  background: var(--s2); border: 1px solid var(--b2); border-radius: var(--r-sm);
  color: var(--t1); font-family: var(--font-b); font-size: 14px;
  padding: 12px 14px; outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-a); }
.form-input::placeholder { color: var(--t3); }

/* ─── LOGIN / REGISTER PAGES ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; position: relative; overflow: hidden;
}
.auth-page-bg {
  position: absolute; inset: 0;
  background: var(--bg);
}
.auth-page-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12,24,41,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,24,41,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.auth-blob {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0;
}
.auth-blob-1 { width:600px;height:600px;right:-200px;top:-100px; background:radial-gradient(circle,rgba(26,79,214,0.14) 0%,transparent 70%); }
.auth-blob-2 { width:400px;height:400px;left:-100px;bottom:-100px; background:radial-gradient(circle,rgba(26,79,214,0.08) 0%,transparent 70%); }

.auth-panel {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px; min-height: 100vh;
  flex: 1;
}
.auth-brand-panel {
  width: 480px; flex-shrink: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 60px;
  background: rgba(26,79,214,0.04); border-right: 1px solid var(--b1);
  position: relative; z-index: 2;
}
.auth-brand-logo { font-family: var(--font-d); font-size: 56px; letter-spacing: 4px; margin-bottom: 12px; color: var(--t1); }
.auth-brand-logo span { color: var(--red); }
.auth-brand-tagline { font-size: 16px; color: var(--t2); line-height: 1.8; margin-bottom: 40px; }
.auth-brand-features { display: flex; flex-direction: column; gap: 16px; }
.auth-feature { display: flex; align-items: flex-start; gap: 14px; }
.auth-feature-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--red-a); border: 1px solid rgba(26,79,214,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.auth-feature-text h4 { font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.auth-feature-text p { font-size: 13px; color: var(--t2); line-height: 1.5; }

.auth-form-card {
  width: 100%; max-width: 480px;
  background: var(--s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: 0 24px 64px rgba(12,24,41,0.14);
}
.auth-form-title { font-family: var(--font-d); font-size: 38px; margin-bottom: 6px; line-height: 1; color: var(--t1); }
.auth-form-subtitle { font-size: 14px; color: var(--t2); margin-bottom: 28px; line-height: 1.6; }
.auth-form-subtitle a { color: var(--red); text-decoration: none; font-weight: 600; }
.auth-form-subtitle a:hover { text-decoration: underline; }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--b2); }
.auth-divider span { font-size: 12px; color: var(--t3); white-space: nowrap; }

/* Auth page input fields */
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--t2); }
.auth-input {
  background: var(--s2); border: 1px solid var(--b2); border-radius: var(--r-sm);
  color: var(--t1); font-family: var(--font-b); font-size: 15px;
  padding: 13px 16px; outline: none; transition: all 0.2s; width: 100%;
}
.auth-input:focus { border-color: var(--red); background: var(--s3); box-shadow: 0 0 0 3px var(--red-a); }
.auth-input::placeholder { color: var(--t3); }
.auth-input-group { display: flex; gap: 10px; }
.auth-input-group .auth-field { flex: 1; }

.auth-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  color: #fff; border: none; font-family: var(--font-b);
  font-size: 15px; font-weight: 700; padding: 15px;
  border-radius: 99px; cursor: pointer;
  box-shadow: 0 4px 20px var(--red-a);
  transition: all 0.25s var(--ease); margin-top: 4px;
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--t2); text-decoration: none; font-size: 13px;
  font-weight: 600; transition: color 0.2s; margin-bottom: 28px;
}
.auth-back:hover { color: var(--t1); }

/* Verify code input */
.code-inputs { display: flex; gap: 10px; justify-content: center; margin: 8px 0; }
.code-inputs input {
  width: 52px; height: 60px; text-align: center; font-size: 24px; font-weight: 700;
  background: var(--s2); border: 1px solid var(--b2); border-radius: 10px;
  color: var(--t1); font-family: var(--font-b); outline: none; transition: all 0.2s;
}
.code-inputs input:focus { border-color: var(--red); background: var(--s3); box-shadow: 0 0 0 3px var(--red-a); }

/* ─── CHAT WIDGET ────────────────────────────────────────────────────────── */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat-toggle {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  box-shadow: 0 4px 24px var(--red-glow);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; transition: all 0.3s var(--ease);
  border: none;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 32px var(--red-glow); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%; background: #ef4444;
  border: 2px solid var(--bg); font-size: 10px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.chat-panel {
  width: 340px; height: 460px;
  background: var(--s1); border: 1px solid var(--b1); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 16px 48px rgba(12,24,41,0.16);
  transform: scale(0.9) translateY(20px); transform-origin: bottom right;
  opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease);
}
.chat-panel.open { transform: scale(1) translateY(0); opacity: 1; visibility: visible; }
.chat-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--b1);
  background: var(--s2);
}
.chat-panel-title { display: flex; align-items: center; gap: 10px; }
.chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.chat-panel-title h4 { font-size: 14px; font-weight: 700; color: var(--t1); }
.chat-panel-title span { font-size: 11px; color: var(--t2); }
.chat-close { background: none; border: none; color: var(--t2); font-size: 16px; cursor: pointer; padding: 4px; transition: color 0.2s; }
.chat-close:hover { color: var(--red); }
.chat-messages-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 80%; display: flex; flex-direction: column; gap: 3px; }
.chat-msg.own { align-self: flex-end; align-items: flex-end; }
.chat-msg.other { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  word-break: break-word;
}
.chat-msg.own .chat-bubble { background: linear-gradient(135deg, var(--red), var(--red-l)); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.other .chat-bubble { background: var(--s3); color: var(--t1); border-bottom-left-radius: 4px; border: 1px solid var(--b1); }
.chat-time { font-size: 10px; color: var(--t3); }
.chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--b1); background: var(--s2); }
.chat-input {
  flex: 1; background: var(--s3); border: 1px solid var(--b2);
  border-radius: 10px; color: var(--t1); font-family: var(--font-b);
  font-size: 13px; padding: 9px 12px; outline: none; transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--red); }
.chat-input::placeholder { color: var(--t3); }
.chat-send {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-l));
  border: none; color: #fff; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.chat-send:hover { transform: scale(1.05); }
.chat-login-hint { padding: 20px; text-align: center; color: var(--t2); font-size: 13px; line-height: 1.7; }
.chat-login-hint a { color: var(--red); text-decoration: none; font-weight: 600; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .auth-brand-panel { width: 360px; padding: 40px; }
  .auth-brand-panel { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar .account-profile-card { position: static; }
}
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .map-container { height: 400px; }
}
@media (max-width: 768px) {
  #header { top: 10px; width: calc(100% - 24px); border-radius: 14px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header-inner { padding: 0 18px; gap: 12px; }
  .hero { padding: 110px 20px 60px; }
  .hero-title { font-size: 62px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0 16px 0 0; }
  .products { padding: 48px 20px; }
  .about { padding: 60px 20px; }
  .map-section { padding: 60px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .modal-box { padding: 24px 20px; }
  .categories-bar { padding: 8px 20px; top: 80px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .compare-bar { width: calc(100vw - 24px); }
  .account-page { padding: 100px 20px 40px; }
  .account-stats { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 110px 20px 40px; }
  .categories-preview { padding: 60px 20px; }
  .why-us { padding: 60px 20px; }
  .history-section { padding: 60px 20px; }
  .team-section { padding: 60px 20px; }
  .catalog-toolbar { padding: 24px 20px 0; }
  .timeline::before { left: 60px; }
  .timeline-year { font-size: 28px; min-width: 52px; }
  .timeline-item { gap: 20px; }
  .timeline-content { padding-left: 24px; }
  .auth-form-card { padding: 28px 20px; }
  .auth-page { min-height: 100vh; align-items: flex-start; padding-top: 30px; }
  .modal-specs { grid-template-columns: 1fr; }
  .chat-panel { width: calc(100vw - 32px); }
  .chat-widget { bottom: 16px; right: 16px; }
  .bookings-table { font-size: 12px; }
  .bookings-table th, .bookings-table td { padding: 10px 10px; }
  .auth-input-group { flex-direction: column; }
  .code-inputs input { width: 44px; height: 54px; font-size: 20px; }
}