/* =============================================
   BERGSHED — Luxury Streetwear
   Design System
   ============================================= */

:root {
  --black:       #000000;
  --black-soft:  #0a0a0a;
  --black-card:  #111111;
  --black-hover: #1a1a1a;
  --gold:        #C9A96E;
  --gold-light:  #E8D5A3;
  --gold-dark:   #A07840;
  --gold-grad:   linear-gradient(135deg, #C9A96E 0%, #E8D5A3 50%, #C9A96E 100%);
  --white:       #FFFFFF;
  --white-soft:  #F5F5F5;
  --gray:        #888888;
  --gray-dark:   #444444;
  --border:      rgba(201, 169, 110, 0.2);
  --border-hover:rgba(201, 169, 110, 0.6);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Cormorant Garamond', serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 30px rgba(201, 169, 110, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-soft);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after { width: 100%; }

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

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn:hover { color: var(--gold); }

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.05) 0%, transparent 50%),
    var(--black);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 32px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 3px;
  margin-bottom: 48px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { opacity: 0.5; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-gold {
  background: var(--gold-grad);
  color: var(--black);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black-card);
  color: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section {
  padding: 100px 40px;
}

.section-sm {
  padding: 60px 40px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* =============================================
   BRANDS SECTION
   ============================================= */
.brands-section {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.brand-card {
  background: var(--black-soft);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 140px;
}

.brand-card:hover {
  background: var(--black-hover);
}

.brand-card:hover .brand-name {
  color: var(--gold);
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.brand-card:hover .brand-logo-text {
  color: var(--gold);
}

.brand-name {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  transition: var(--transition);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.product-card {
  background: var(--black-card);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.product-image-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--black-hover);
  position: relative;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  color: var(--border);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-badge.vendido {
  background: #555;
  color: #fff;
}

.product-multi-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--gold);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-info {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.product-brand {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 400;
}

.product-size {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.product-price-old {
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 8px;
}

.product-wishlist {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  padding: 4px;
}

.product-wishlist:hover { color: var(--gold); }

/* =============================================
   SELL SECTION (Compramos suas peças)
   ============================================= */
.sell-section {
  position: relative;
  overflow: hidden;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sell-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.sell-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sell-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.sell-title span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sell-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 440px;
}

.sell-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.sell-brand-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 6px 14px;
  text-transform: uppercase;
  transition: var(--transition);
}

.sell-brand-tag:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.1);
}

.sell-image {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.sell-image-placeholder {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  user-select: none;
}

/* =============================================
   MARQUEE TICKER
   ============================================= */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--black-soft);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 60px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  flex-shrink: 0;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* =============================================
   INSTAGRAM SECTION
   ============================================= */
.instagram-section {
  text-align: center;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.instagram-item {
  aspect-ratio: 1;
  background: var(--black-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0.8;
}

.instagram-item:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.instagram-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.instagram-item:hover .instagram-item-overlay {
  opacity: 1;
}

.instagram-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
}

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* =============================================
   CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: var(--black-card);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transform: translateX(100%);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  padding: 4px;
}

.cart-close:hover { color: var(--white); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--gray);
  text-align: center;
}

.cart-empty svg { opacity: 0.3; }

.cart-items { display: flex; flex-direction: column; gap: 20px; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
}

.cart-item-image {
  width: 80px;
  height: 100px;
  background: var(--black-hover);
  overflow: hidden;
}

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

.cart-item-brand {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cart-item-name {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.cart-item-size {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 12px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 18px;
  transition: var(--transition);
  line-height: 1;
}

.cart-item-remove:hover { color: #ff4444; }

.cart-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-subtotal-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
}

.cart-subtotal-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.cart-note {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 20px;
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1500;
  transform: translateX(-100%);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}

.mobile-nav-link:hover { color: var(--gold); }

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  transition: var(--transition);
}

.mobile-menu-close:hover { color: var(--gold); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 80px 40px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 280px;
}

.footer-heading {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-link:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 2px;
  transition: var(--transition);
  text-transform: uppercase;
}

.footer-social a:hover { color: var(--gold); }

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
  position: fixed;
  bottom: 100px;
  right: 32px;
  background: var(--black-card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 16px 24px;
  font-size: 13px;
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
}

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

.toast-icon {
  color: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

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

.modal {
  background: var(--black-card);
  border: 1px solid var(--border);
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-image {
  aspect-ratio: 3/4;
  background: var(--black-hover);
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
  cursor: grab;
}

.modal-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.modal-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.modal-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.modal-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.modal-carousel-dot.active {
  background: var(--gold, #C9A96E);
  width: 20px;
  border-radius: 4px;
}

.modal-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}

.modal-carousel-arrow:hover {
  background: rgba(0,0,0,0.7);
}

.modal-carousel-arrow.prev { left: 12px; }
.modal-carousel-arrow.next { right: 12px; }

.modal-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  color: var(--border);
}

.modal-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 24px;
  margin-bottom: 32px;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover { color: var(--white); }

.modal-brand {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-condition {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.modal-price {
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}

.modal-size-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.size-btn {
  min-width: 48px;
  height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.size-btn:hover,
.size-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.size-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 32px;
  flex: 1;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .section, .section-sm { padding: 60px 24px; }
  .navbar { padding: 0 24px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid   { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .sell-inner { grid-template-columns: 1fr; }
  .sell-image { display: none; }
  .sell-content { padding: 60px 32px; }
  .cart-drawer { width: 100%; }
  .modal { grid-template-columns: 1fr; max-width: 440px; }
  .modal-image { aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .brands-grid   { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 12px 28px; }
}
