:root {
  --bg: #f5f6f8;
  --dark: #101114;
  --muted: #6d7280;
  --card: #ffffff;
  --line: #e7e9ee;
  --accent: #0d6efd;
  --accent2: #08b86f;
  --danger: #e33b3b;
  --shadow: 0 18px 50px rgba(16,17,20,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--dark); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: auto; }
.topbar { position: sticky; top: 0; z-index: 10; height: 74px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 max(16px, calc((100vw - 1180px)/2)); }
.brand { font-size: 28px; font-weight: 900; letter-spacing: -1px; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 700; }
.cart-link span { background: var(--dark); color: white; border-radius: 999px; padding: 3px 8px; margin-left: 4px; font-size: 12px; }
.hero { min-height: 500px; display: flex; align-items: center; padding: 70px max(16px, calc((100vw - 1180px)/2)); background: radial-gradient(circle at 75% 30%, rgba(13,110,253,.24), transparent 35%), linear-gradient(135deg, #101114, #222633); color: white; }
.hero div { max-width: 680px; }
.hero h1 { font-size: clamp(42px, 7vw, 78px); margin: 8px 0 16px; line-height: .95; letter-spacing: -3px; }
.hero p { color: rgba(255,255,255,.78); font-size: 18px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 1.4px; }
.btn { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 14px; font-weight: 900; cursor: pointer; transition: .2s; }
.btn:hover { transform: translateY(-1px); }
.primary { background: var(--accent); color: white; }
.ghost { background: white; border: 1px solid var(--line); }
.whatsapp { background: #25D366; color: white; }
.full { width: 100%; margin-top: 10px; }
.small-btn { padding: 10px 13px; background: var(--dark); color: white; font-size: 13px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 60px 0 24px; }
.section-head h1, .section-head h2 { margin: 0; font-size: 42px; letter-spacing: -1.5px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.filter.active { background: var(--dark); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.product-img-wrap { position: relative; aspect-ratio: 4/5; background: #eef0f4; overflow: hidden; display: block; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.product-card:hover img { transform: scale(1.04); }
.product-label { position: absolute; top: 12px; left: 12px; z-index: 2; background: white; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; }
.product-info { padding: 17px; }
.team { color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.product-info h3 { margin: 0 0 12px; font-size: 17px; }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-row strong { font-size: 20px; }
.price-row span { color: var(--muted); text-decoration: line-through; }
.price-row.big strong { font-size: 32px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.feature-card, .cart-box, .checkout-box, .help-hero, details, .product-panel { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.footer { padding: 35px 16px; text-align: center; color: var(--muted); }
.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; padding-top: 50px; }
.gallery { background: white; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.main-product-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; background: #eef0f4; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.description { color: var(--muted); line-height: 1.7; }
.field-label { display: block; font-weight: 900; margin: 20px 0 10px; }
.size-list { display: flex; gap: 9px; flex-wrap: wrap; }
.size-btn { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; font-weight: 900; cursor: pointer; }
.size-btn.active { background: var(--dark); color: white; }
.qty-input, .option-box input[type="text"], .promo-row input, .customer-form input, .customer-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; font: inherit; background: white; }
.qty-input { max-width: 130px; }
.option-box { border: 1px solid var(--line); border-radius: 18px; padding: 15px; margin-top: 14px; }
.option-box input[type="text"] { margin-top: 10px; background: #f1f3f6; }
.live-total { font-size: 18px; }
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 24px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 92px 1fr 75px auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 15px; background: #eef0f4; }
.cart-item h3 { margin: 0 0 6px; }
.cart-item p { margin: 3px 0; color: var(--muted); }
.cart-item input { padding: 10px; border: 1px solid var(--line); border-radius: 10px; width: 70px; }
.remove { border: 0; background: #ffecec; color: var(--danger); border-radius: 10px; padding: 10px; font-weight: 900; cursor: pointer; }
.promo-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.summary-lines { margin: 18px 0; }
.summary-lines p { display: flex; justify-content: space-between; color: var(--muted); }
.summary-lines .total { font-size: 22px; color: var(--dark); border-top: 1px solid var(--line); padding-top: 14px; }
.customer-form { display: grid; gap: 10px; }
.customer-form textarea { min-height: 90px; resize: vertical; }
.small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.empty { text-align: center; padding: 40px; }
.help-page { padding-top: 50px; }
.help-hero { margin-bottom: 24px; }
.help-hero h1 { font-size: 54px; margin: 0 0 10px; }
.faq-section h2 { margin: 34px 0 14px; }
details { margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 900; font-size: 18px; }
.faq-content { color: var(--muted); line-height: 1.7; padding-top: 12px; }
.faq-content h3 { color: var(--dark); }
@media (max-width: 950px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-page, .cart-layout, .features { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .topbar { height: auto; padding: 14px 16px; flex-direction: column; gap: 12px; }
  .nav { gap: 12px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
  .hero { min-height: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item input, .cart-item .remove { grid-column: 2; width: 100%; }
}

.account-page {
  padding-bottom: 60px;
}

.account-auth-wrap {
  display: flex;
  justify-content: center;
}

.account-auth-card {
  width: 100%;
  max-width: 520px;
  background: var(--card, #ffffff);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.auth-head {
  margin-bottom: 20px;
}

.auth-head h2 {
  margin-bottom: 8px;
}

.auth-switch-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.info-box {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}

.info-box p {
  margin: 6px 0 0;
}

.account-message {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.success-text {
  display: block;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
}

.error-text {
  display: block;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
}

.account-dashboard {
  max-width: 980px;
  margin: 0 auto;
}

.account-top-card {
  background: var(--card, #ffffff);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.account-loading {
  background: var(--card, #ffffff);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: #666;
}

.orders-list {
  display: grid;
  gap: 22px;
}

.order-card {
  background: var(--card, #ffffff);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.order-card-head h3 {
  margin: 4px 0 0;
}

.order-status {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

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

.order-info-box {
  background: rgba(0, 0, 0, 0.035);
  border-radius: 14px;
  padding: 14px;
}

.order-info-box span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.order-info-box strong {
  font-size: 15px;
}

.order-section {
  margin-top: 22px;
}

.order-section h4 {
  margin-bottom: 10px;
}

.order-items-list {
  display: grid;
  gap: 12px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.035);
}

.account-empty {
  margin-top: 24px;
}

.customer-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .account-top-card,
  .order-card-head,
  .order-item-row {
    flex-direction: column;
  }

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

  .account-auth-card,
  .order-card,
  .account-top-card {
    padding: 20px;
  }
}

.tracking-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tracking-box h4 {
  margin-bottom: 8px;
}

.tracking-box.pending {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.fly-img {
  position: fixed;
  z-index: 9999;
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s ease;
}

.cart-toast {
  position: fixed;
  right: 20px;
  top: 90px;
  z-index: 9999;
  background: #111827;
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.shop-page {
  padding-bottom: 70px;
}

.shop-hero {
  margin: 34px 0 26px;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.22), transparent 35%),
    linear-gradient(135deg, #0f172a, #111827);
  color: white;
  overflow: hidden;
  position: relative;
}

.shop-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.shop-hero h1 {
  max-width: 780px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin: 8px 0 16px;
}

.shop-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

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

.shop-step {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.shop-step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.shop-step.active {
  color: #111827;
  outline: 2px solid rgba(37, 99, 235, 0.25);
}

.shop-step.active span {
  background: #2563eb;
  color: white;
}

.shop-step.done span {
  background: #10b981;
  color: white;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #6b7280;
}

.shop-breadcrumb button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.shop-view {
  animation: shopFade 0.35s ease;
}

@keyframes shopFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

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

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

.category-card {
  min-height: 210px;
  border: 0;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  text-align: left;
  color: white;
  background: var(--category-gradient);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.category-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 32%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 35%);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -34px;
  bottom: -34px;
  border-radius: 999px;
  border: 26px solid rgba(255, 255, 255, 0.08);
}

.category-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.category-emoji {
  font-size: 36px;
  display: inline-block;
  margin-bottom: 20px;
}

.category-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.category-content h3 {
  font-size: 28px;
  margin: 4px 0 12px;
}

.category-content strong {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

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

.club-card {
  border: 0;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.club-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
}

.club-img-wrap {
  height: 210px;
  background: #f3f4f6;
  overflow: hidden;
}

.club-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.club-card:hover .club-img-wrap img {
  transform: scale(1.08);
}

.club-info {
  padding: 18px;
}

.club-info h3 {
  margin: 0 0 6px;
}

.club-info p {
  margin: 0;
  color: #6b7280;
  font-weight: 700;
}

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .shop-hero {
    padding: 28px;
    border-radius: 22px;
  }

  .shop-steps {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .club-grid {
    grid-template-columns: 1fr;
  }

  .club-img-wrap {
    height: 260px;
  }
}
