/* ==========================================================================
   ATLANTICS — LUXURY HOODIE CATALOG & WHATSAPP CHECKOUT
   ========================================================================== */

:root {
  --bg-main: #090a0d;
  --bg-surface: #101218;
  --bg-card: #151821;
  --bg-card-subtle: #191c27;
  --bg-highlight: #212534;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.25);
  --border-wa: rgba(37, 211, 102, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --wa-green: #25d366;
  --wa-green-hover: #20bd5a;
  --wa-green-glow: rgba(37, 211, 102, 0.25);
  
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-ticker {
  background: #000;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 50;
}

.top-ticker .badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 10, 13, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  border-left: 1px solid var(--border-light);
  padding-left: 12px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: #05140b;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}
.header-wa-btn:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--wa-green-glow);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.collection-hero {
  padding: 50px 24px 30px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(37, 211, 102, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-light);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wa-green);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hoodie Catalog Grid
   -------------------------------------------------------------------------- */
.catalog-section {
  padding: 50px 24px 80px;
}

.catalog-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.hoodie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.hoodie-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
}

.hoodie-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

/* Bulletproof fixed 1:1 square image container - cannot be broken by any image size */
.hoodie-thumb-wrap {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  background: #0c0e14;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.hoodie-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.hoodie-card:hover .hoodie-thumb {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.hoodie-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.hoodie-type-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--wa-green);
  margin-bottom: 6px;
}

.hoodie-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}

.hoodie-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Color dots preview */
.colors-preview-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.color-count-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Card Pricing */
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.card-sale-price {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.card-orig-price {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.card-discount-pill {
  font-size: 11px;
  font-weight: 800;
  color: var(--wa-green);
  background: rgba(37, 211, 102, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Card Buy Button */
.btn-card-order {
  width: 100%;
  background: var(--bg-highlight);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-normal);
  text-transform: uppercase;
}

.btn-card-order:hover {
  background: var(--wa-green);
  color: #041209;
  border-color: var(--wa-green);
  box-shadow: 0 4px 16px var(--wa-green-glow);
}

/* --------------------------------------------------------------------------
   Quick-Buy Modal / Customizer
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: #fff;
  color: #000;
}

.modal-image-pane {
  background: #000;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  display: block;
}

.modal-image-pane img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.25s ease;
}

.modal-content-pane {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

/* Swatches inside modal */
.swatches-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.modal-swatch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.modal-swatch-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.modal-swatch-btn.active {
  background: var(--bg-card-subtle);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Size Pills inside modal */
.modal-sizes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.modal-size-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.modal-size-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.modal-size-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Modal Quantity & WhatsApp CTA */
.modal-checkout-btn {
  width: 100%;
  background: var(--wa-green);
  color: #041209;
  font-size: 15px;
  font-weight: 800;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 18px;
  box-shadow: 0 10px 24px -4px var(--wa-green-glow);
  transition: all var(--transition-normal);
}
.modal-checkout-btn:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Why Hoodies Section & Brand Story
   -------------------------------------------------------------------------- */
.why-hoodies-section {
  padding: 60px 24px 70px;
  border-top: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--bg-main) 0%, #0d0f15 100%);
}
.why-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.highlights-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
}
.highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.highlight-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.highlight-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

/* Reviews & FAQs */
.reviews-section {
  padding: 60px 24px 80px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.specs-section {
  padding: 50px 24px 70px;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  padding-bottom: 20px;
}

.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
  .hero-title {
    font-size: 30px;
  }
  .hoodie-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .top-ticker {
    font-size: 10px;
    letter-spacing: 0.8px;
    padding: 8px 12px;
  }
  .brand-title {
    font-size: 17px;
  }
  .brand-tag {
    display: none;
  }
  .hero-title {
    font-size: 24px;
  }
  .hoodie-grid {
    grid-template-columns: 1fr;
  }
  .modal-content-pane {
    padding: 20px 16px;
  }
}
