:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fafafc;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d6dbe3;
  --dark: #0f172a;
  --brand: #2563eb;
  --success-bg: #dcfce7;
  --success-text: #15803d;
  --owned-bg: #dbeafe;
  --owned-text: #1d4ed8;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1600px, 96%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
 background: #111827;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.nav-bar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-weight: 700;
  color: #334155;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.cart-pill {
  border: none;
  background: var(--dark);
  color: #fff;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  cursor: pointer;
}

.cart-pill span {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.hero-section {
  padding: 42px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
}

.eyebrow.small {
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 900;

  background: linear-gradient(
    90deg,
    #a855f7,
    #60a5fa,
    #6ee7b7
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glow-text {
  background: linear-gradient(90deg, #b57cff 0%, #62a5ff 40%, #65b26f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(151, 162, 255, 0.18));
}

.hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #475569;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-card {
  width: 100%;
  min-height: 560px;
  border-radius: 42px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 22%),
    linear-gradient(180deg, #fcfcfd 0%, #edf2ff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}

.hero-main-image {
  width: 100%;
  max-width: 640px;
  object-fit: contain;
}

.promo-strip {
  padding: 8px 0 10px;
}

.promo-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.promo-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #334155;
  box-shadow: var(--shadow-soft);
}

.shop-section {
  padding: 38px 0 10px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;

  background: linear-gradient(
    90deg,
    #a855f7,
    #60a5fa,
    #6ee7b7
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.controls input,
.controls select,
.checkout-form input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.controls input {
  min-width: 280px;
}

.controls input:focus,
.controls select:focus,
.checkout-form input:focus,
.product-color-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 0.55s ease,
    opacity 0.55s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f5fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 20px;
}

.product-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.product-top h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.condition-badge {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.condition-badge.brand-new {
  background: var(--success-bg);
  color: var(--success-text);
}

.condition-badge.pre-owned {
  background: var(--owned-bg);
  color: var(--owned-text);
}

.condition-badge.test {
  background: #ffedd5;
  color: #c2410c;
}

.product-description {
  margin: 0 0 16px;
  min-height: 56px;
  color: #475569;
  line-height: 1.65;
}

.product-option-label {
  display: block;
  margin: 10px 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

.product-color-select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 16px;
  outline: none;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.add-to-cart,
.buy-now-btn {
  border: none;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.add-to-cart {
  background: var(--dark);
  color: #fff;
}

.buy-now-btn {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--line);
}

.why-us-section {
  padding: 56px 0 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  color: white;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-section {
  padding: 60px 0 76px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.checkout-copy {
  max-width: 680px;
  margin: 12px 0 28px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.06rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.notice {
  min-height: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.status {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-panel {
  position: sticky;
  top: 104px;
  background: linear-gradient(180deg, #081223 0%, #0f1a33 100%);
  color: #fff;
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.order-panel-top h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 12px;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-title {
  margin: 0 0 4px;
  font-weight: 800;
}

.cart-item-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.remove-item {
  border: none;
  background: transparent;
  color: #fca5a5;
  font-weight: 800;
  cursor: pointer;
}

.empty-cart {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
}

.total-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.total-row strong {
  font-size: 1.6rem;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
  border-color: var(--line);
}

.btn.full {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  padding: 24px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
}

.footer-grid p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-grid a {
  color: inherit;
}

.empty-state {
  grid-column: 1 / -1;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  color: white;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.floating-card {
  animation: floatCard 5.5s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-strip-inner,
  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .controls {
    width: 100%;
  }

  .controls input,
  .controls select {
    width: 100%;
  }

  .product-grid,
  .promo-strip-inner,
  .feature-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .hero-device-card {
    min-height: 360px;
  }

  .product-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions {
    width: 100%;
    flex-direction: column;
  }

  .add-to-cart,
  .buy-now-btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
  }

  .cart-item > :last-child {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
}
/* WIDE HERO BANNER OVERRIDE */
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-banner-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-banner-card {
  width: 100vw;
 height: auto;
min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-copy-below {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-title.centered {
  text-align: center;
  margin-inline: auto;
}

.hero-description.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.centered-actions {
  justify-content: center;
}

.centered-tags {
  justify-content: center;
}

.floating-card-wide {
  animation: floatWide 6s ease-in-out infinite;
}

@keyframes floatWide {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero-banner-card {
    min-height: 300px;
    border-radius: 28px;
  }

  .hero-banner-image {
    min-height: 300px;
    max-height: 380px;
  }
}

@media (max-width: 640px) {
  .hero-banner-card {
    min-height: 220px;
    border-radius: 22px;
  }

  .hero-banner-image {
    min-height: 220px;
    max-height: 280px;
  }

  .hero-copy-below {
    max-width: 100%;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.trust-grid div {
  background: white;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.included-grid div {
  background: white;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: black;
  color: white;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.stock {
  font-size: 13px;
  color: red;
  margin-top: 5px;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
}
.product-card {
  transition: transform 0.3s ease;
}
.popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: black;
  color: white;
  padding: 14px 24px;
  border-radius: 20px;
  font-weight: 700;
  opacity: 0;
  transition: all 0.4s ease;
}

.popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* PRODUCT SPECS + STORAGE UPGRADE */
.product-card {
  position: relative;
}

.product-specs {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.product-specs summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
}

.product-specs ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.product-specs li {
  margin-bottom: 8px;
  color: #475569;
  line-height: 1.45;
  font-size: 0.92rem;
}

.storage-select {
  margin-bottom: 18px;
}

.controls {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.controls input,
.controls select {
  width: 100%;
  min-height: 64px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 22px;
  padding: 0 22px;
  border: 2px solid #dbe3ef;
  background: white;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.controls input::placeholder {
  color: #6b7280;
}

.controls select {
  cursor: pointer;
}

.controls input:focus,
.controls select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.14);
}

@media (max-width: 760px) {
  .controls {
    grid-template-columns: 1fr;
  }
}

.hero-banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-banner-card {
  width: 96%;
  max-width: 1700px;

  background: linear-gradient(
    135deg,
    #f5f7ff,
    #eef2ff
  );

  border-radius: 36px;

  padding: 0;

  overflow: hidden;
}

.hero-banner-image {
  width: 100%;
  height: 520px;

  object-fit: cover;

  display: block;
}

.trust-floating-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-floating-bar span {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 100;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
}

.model-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}

.model-filter-btn {
  border: 1px solid #e5e7eb;
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.model-filter-btn.active {
  background: #0f172a;
  color: white;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-right: 6px;
}

.promo-price-note {
  font-size: 0.78rem;
  font-weight: 800;
  color: #16a34a;
  margin-top: 4px;
}
.verified-section,
.reviews-section {
  width: min(1500px, 96%);
  margin: 50px auto;
}

.verified-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.verified-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.verified-item,
.review-card {
  background: #f8fafc;
  border-radius: 22px;
  padding: 20px;
  font-weight: 800;
}

.review-card p {
  color: #475569;
  font-weight: 600;
  line-height: 1.6;
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.hidden {
  display: none;
}

.auth-box {
  width: min(92%, 420px);
  background: white;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.auth-box h2 {
  margin-bottom: 10px;
}

.auth-box input {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}

.auth-box button {
  border: none;
  background: #0f172a;
  color: white;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

#toggleAuthMode {
  color: #2563eb;
  cursor: pointer;
  font-weight: 800;
}

.close-auth {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.container {
  width: min(1800px, 98%);
}

.products-grid,
.catalogue-grid,
#products-grid {
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
}

.product-card,
.phone-card,
.catalogue-card {
  max-width: none;
}

.hero-section {
  padding-top: 80px;
}

.hero-banner-wrap {
  width: min(1500px, 98%);
  margin: 0 auto;
}

.hero-banner-image {
  width: 100%;
  height: auto;
}

.hero-title {
  font-size: clamp(4rem, 9vw, 8rem);
}

.section-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.product-card,
.phone-card,
.catalogue-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.product-card:hover,
.phone-card:hover,
.catalogue-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #60a5fa;
  box-shadow:
    0 25px 60px rgba(96, 165, 250, 0.22),
    0 0 35px rgba(168, 85, 247, 0.22);
}
.model-showcase {
  display: none;
  width: min(1200px, 96%);
  margin: 25px auto 45px;
  padding: 35px 20px;
  border-radius: 34px;

  background: radial-gradient(circle at center, rgba(96,165,250,0.22), #020617 70%);

  border: 1px solid rgba(96,165,250,0.45);

  box-shadow:
    0 0 40px rgba(96,165,250,0.18),
    0 0 80px rgba(168,85,247,0.12);

  text-align: center;
  overflow: hidden;
  position: relative;
}

.model-showcase.show {
  display: block;
}

.showcase-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #a855f7, #60a5fa, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-phone-wrap {
  perspective: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes floatPhone {

  0% {
    transform: rotate(-12deg) translateY(0px) scale(1.45);
  }

  50% {
    transform: rotate(-7deg) translateY(-18px) scale(1.52);
  }

  100% {
    transform: rotate(-12deg) translateY(0px) scale(1.45);
  }

}

.showcase-phone {
  width: min(760px, 95vw);

  height: 320px;

  object-fit: contain;
  object-position: center;

  border-radius: 28px;

  filter:
    drop-shadow(0 0 60px rgba(96,165,250,0.65))
    drop-shadow(0 0 120px rgba(168,85,247,0.25));

  transform: rotate(-12deg) scale(1.45);

  animation: floatPhone 4s ease-in-out infinite;

  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

@keyframes nova3DSpin {

  0% {
    transform: rotateY(0deg) rotateX(0deg) scale(0.5);
    opacity: 0;
  }

  25% {
    opacity: 1;
    transform: rotateY(180deg) rotateX(8deg) scale(1.2);
  }

  50% {
    transform: rotateY(360deg) rotateX(10deg) scale(1.35);
  }

  75% {
    transform: rotateY(360deg) rotateX(8deg) scale(1.4);
  }

  100% {
    transform: rotateY(360deg) rotateX(6deg) scale(1.45);
    opacity: 1;
  }

}

.product-card {
  animation: productFadeUp 0.6s ease both;
}

@keyframes productFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card,
.phone-card,
.catalogue-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  transform: translateY(0) scale(1);
}

.product-card:hover,
.phone-card:hover,
.catalogue-card:hover {
  transform: translateY(-14px) scale(1.035) !important;
  box-shadow:
    0 30px 70px rgba(96, 165, 250, 0.35),
    0 0 45px rgba(168, 85, 247, 0.28) !important;
  border-color: #60a5fa !important;
}

.product-card {
  animation: novaCardIn 0.7s ease both;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }

@keyframes novaCardIn {
  from {
    opacity: 0;
    transform: translateY(45px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card.slide-in {
  animation: novaSlideShow 0.7s ease both;
}

@keyframes novaSlideShow {
  from {
    opacity: 0;
    transform: translateX(80px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.auto-slide {
  animation: autoSlide 18s linear infinite;
}

.auto-slide:hover {
  animation-play-state: paused;
}

@keyframes autoSlide {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-220px);
  }

}

.showcase-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center,
    rgba(59,130,246,0.18),
    transparent 60%);

  opacity: 0;

  animation: pulseGlow 2.8s ease forwards;
}

@keyframes pulseGlow {

  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0.7;
    transform: scale(1);
  }

}

.mouse-light {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;

  background:
    radial-gradient(circle,
    rgba(168, 85, 247, 0.28),
    rgba(96, 165, 250, 0.16),
    transparent 70%);

  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: multiply;
}

.order-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 120px;
  padding-right: 40px;
  z-index: 999;
}

.order-modal:not(.hidden) {
  display: flex;
}

.order-modal.hidden {
  display: none !important;
}

.order-status-card h3 {
  font-size: 1.8rem;
  margin: 8px 0;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.step {
  background: #1f2937;
  color: #94a3b8;
  padding: 10px;
  text-align: center;
  border-radius: 14px;
  font-weight: 800;
}

.step.active {
  background: linear-gradient(90deg, #a855f7, #60a5fa);
  color: white;
}

.order-note {
  color: #cbd5e1;
  margin-top: 18px;
  font-weight: 700;
}

.order-modal {
  position: fixed;

  inset: 0;

  background: rgba(2, 6, 23, 0.72);

  display: none;

  align-items: center;

  justify-content: center;

  z-index: 9999;
}

.order-modal:not(.hidden) {
  display: flex;
}

.order-box {

  width: min(92%, 520px);

  background: #020617;

  border: 1px solid rgba(96,165,250,0.35);

  border-radius: 28px;

  padding: 30px;

  color: white;

  position: relative;

  box-shadow:
    0 0 40px rgba(96,165,250,0.18),
    0 0 80px rgba(168,85,247,0.12);
}

.close-order {

  position: absolute;

  top: 16px;

  right: 18px;

  border: none;

  background: transparent;

  color: white;

  font-size: 1.5rem;

  cursor: pointer;
}

.order-status-card {

  background: #111827;

  border-radius: 22px;

  padding: 22px;

  margin-top: 20px;
}

.admin-controls {
  display: flex;
  gap: 14px;
  margin-bottom: 25px;
}

.admin-controls input,
.admin-controls select {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(96,165,250,.35);
  background: #0f172a;
  color: white;
  font-weight: 700;
}

.admin-controls input {
  flex: 1;
}

.customer-order-item {
  padding: 16px;
  margin-top: 12px;
  border-radius: 18px;
  background: #0f172a;
  border: 1px solid rgba(96,165,250,0.25);
}

.customer-order-item h3 {
  margin: 0 0 8px;
}

.order-modal {
  overflow-y: auto;
  padding: 40px 16px;
  align-items: flex-start;
}

.order-box {
  max-height: 85vh;
  overflow-y: auto;
}

.order-box::-webkit-scrollbar {
  width: 8px;
}

.order-box::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border-radius: 20px;
}

.danger-btn {
  padding: 14px 18px;
  border-radius: 14px;
  border: none;
  background: #dc2626;
  color: white;
  font-weight: 900;
  cursor: pointer;
}

/* ===== LOGIN POPUP ===== */

.auth-box {
  width: min(92%, 520px);
  padding: 42px;
  border-radius: 30px;
}

.auth-box h2 {
  font-size: 2.3rem;
  margin-bottom: 26px;
}

.auth-box input {
  padding: 18px;
  font-size: 1.05rem;
  border-radius: 16px;
  margin-bottom: 18px;
}

.auth-box button {
  padding: 18px;
  font-size: 1rem;
  border-radius: 16px;
  font-weight: 800;
}

/* ===== TRACK ORDER BUTTON ===== */

.track-order-btn,
#trackOrderBtn {
  padding: 16px 26px;
  font-size: 1rem;
  border-radius: 16px;
  font-weight: 800;
}

/* ===== TRACK ORDER POPUP ===== */

.order-box {
  width: min(94%, 680px);
  padding: 36px;
  border-radius: 30px;
}

.order-box h2 {
  font-size: 2.2rem;
}

.order-status-card {
  padding: 24px;
  border-radius: 24px;
}

.customer-order-item {
  padding: 22px;
  border-radius: 20px;
}

.customer-order-item h3 {
  font-size: 1.5rem;
}

.customer-order-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== CLOSE BUTTON ===== */

.close-order,
#closeOrder,
.close-auth,
#closeAuth {
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  border-radius: 50%;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {

  .auth-box,
  .order-box {
    width: 95%;
    padding: 24px;
  }

  .auth-box h2,
  .order-box h2 {
    font-size: 1.7rem;
  }

  .customer-order-item h3 {
    font-size: 1.2rem;
  }

  .track-order-btn,
  #trackOrderBtn {
    width: 100%;
  }

}

/* ===== RESPONSIVE PHASE 1 ===== */

@media (max-width: 1024px) {
  .container {
    width: min(96%, 100%);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(3rem, 9vw, 5rem) !important;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .nav-bar {
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .product-media {
    min-height: 180px;
  }

  .hero-banner-card {
    min-height: auto;
  }

  .hero-banner-image {
    min-height: 320px;
    object-fit: cover;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 4.2rem) !important;
  }

  .hero-description {
    font-size: 1rem;
  }

  .trust-floating-bar {
    display: none;
  }

  .floating-whatsapp {
    bottom: 22px;
    right: 16px;
  }

  .model-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }

  .model-filter-btn {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 240px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 15vw, 3.5rem) !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-section {
    padding-inline: 12px;
  }

  .auth-box,
  .order-box {
    width: 94%;
    padding: 24px;
  }
}

