/* ============================================
   EVO SPORTSWEAR — Boutique Pages
   ============================================ */

/* ---- HUB PAGE ---- */
.boutique-hub-hero {
  padding: 140px 0 60px;
  background: var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hub-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0 0 20px;
  color: var(--ink);
}
.hub-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* Hub Grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.hub-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.hub-card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hub-card-body {
  padding: 20px 24px;
}
.hub-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.hub-card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.hub-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.hub-card-soon {
  opacity: 0.5;
  pointer-events: none;
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.how-step {
  padding: 24px;
}
.how-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}


/* ---- CLUB PAGE (WTTJ-style) ---- */

/* Club Hero */
.club-hero {
  padding: 100px 0 64px;
  background: var(--ink);
  color: #fff;
}
.club-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  transition: color var(--transition);
}
.club-back:hover { color: #fff; }
.club-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.club-crest {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 auto 28px;
}
.club-name {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 16px;
  color: #fff;
}
.club-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.club-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.club-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.club-tag svg { opacity: 0.5; }

/* Club About */
.club-about {
  padding: 100px 0;
}
.club-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.club-about-centered {
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.club-about-centered .kicker,
.club-about-text .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.club-about-centered h2,
.club-about-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.club-about-centered p,
.club-about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}
.club-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.club-stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.club-stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  color: var(--ink);
}
.club-stat span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Club Values */
.club-values-section {
  padding: 100px 0;
}
.club-values-inline {
  margin-top: 56px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.club-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}
.club-value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.club-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.club-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ink);
}
.club-value h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.club-value p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Club Boutique Section */
.club-boutique {
  padding: 100px 0;
}
.club-boutique .product-grid {
  margin: 48px auto 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.product-img {
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: #bbb;
}
.product-body {
  padding: 20px 24px;
}
.product-body h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.product-price .currency {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.btn-order {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-order:hover {
  background: #222;
}

/* ---- ORDER PANEL (Slide-in) ---- */
.order-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.order-overlay.open { display: block; }

.order-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: #fff;
  z-index: 301;
  overflow-y: auto;
  padding: 32px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.order-panel.open {
  display: block;
  transform: translateX(0);
}

.order-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  transition: all var(--transition);
}
.order-close:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.order-product {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.order-product-img {
  width: 80px;
  height: 100px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #bbb;
  flex-shrink: 0;
}
.order-product-info h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.order-product-info .order-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Size Selector */
.order-section {
  margin-bottom: 24px;
}
.order-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.size-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-btn {
  width: 48px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.size-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.size-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Quantity Selector */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--bg-soft); color: var(--ink); }
.qty-value {
  width: 48px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--ink);
}

/* Order Total */
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.order-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.order-total-value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Order Form */
.order-form .form-group { margin-bottom: 14px; }
.order-form .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.order-form .form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.order-form .form-group input:focus {
  border-color: var(--ink);
}
.order-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.btn-submit-order {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-submit-order:hover { background: #222; }
.btn-whatsapp-order {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  background: var(--wa-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-whatsapp-order:hover { background: #1fb855; }

.order-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.order-success.show { display: block; }
.order-success h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}
.order-success p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Size error */
.size-error {
  display: none;
  font-size: 12px;
  color: #e53e3e;
  margin-top: 6px;
  font-weight: 600;
}
.size-error.show { display: block; }

/* Panel title */
.panel-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* Add to cart button */
.btn-add-to-cart {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-add-to-cart:hover { background: #222; }

/* Cart button (nav) */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--ink);
}
.cart-btn:hover {
  background: var(--bg-soft);
  border-color: #ccc;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.pulse {
  animation: badgePulse 0.6s ease;
}
@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Cart items */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.cart-item-detail {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.cart-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.cart-item-remove:hover {
  background: #fee;
  border-color: #e53e3e;
  color: #e53e3e;
}

/* Size btn for "Unique" */
.size-btn {
  min-width: 48px;
  width: auto;
  padding: 0 12px;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hub-grid { grid-template-columns: 1fr; max-width: 400px; }
  .how-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .order-panel { width: 100vw; }
  .order-form .form-row { grid-template-columns: 1fr; }

  /* Club page */
  .club-hero { padding: 90px 0 48px; }
  .club-crest { width: 72px; height: 72px; font-size: 20px; margin-bottom: 20px; }
  .club-about { padding: 64px 0; }
  .club-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .club-values-inline { padding: 32px 20px; }
  .club-values-section { padding: 64px 0; }
  .club-values-grid { grid-template-columns: 1fr; }
  .club-boutique { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hub-card-visual { height: 140px; }
}
