/* ==========================================================================
   YIRTIL (YM) - LUXURY STREETWEAR & CLUBWEAR E-COMMERCE PLATFORM
   Theme: Obsidian Black, Metallic Gold (#D4AF37), Club Neon Blue & Crimson
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  --bg-primary: #070709;
  --bg-secondary: #0f0f14;
  --bg-card: #14141b;
  --bg-elevated: #1c1c26;
  --bg-glass: rgba(15, 15, 20, 0.85);
  
  --gold-light: #f9e498;
  --gold-primary: #d4af37;
  --gold-dark: #aa820a;
  --gold-gradient: linear-gradient(135deg, #f9e498 0%, #d4af37 50%, #9b740b 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
  
  --neon-blue: #00d2ff;
  --neon-purple: #9d4edd;
  
  --text-primary: #f8f8fa;
  --text-secondary: #a6a6b8;
  --text-muted: #6c6c80;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cinzel', serif;
  --font-street: 'Syne', sans-serif;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.07) 0%, transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.04) 0%, transparent 35%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #282836;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (MARQUEE)
   ========================================================================== */
.announcement-bar {
  background: var(--gold-gradient);
  color: #050507;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  position: relative;
  z-index: 100;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-marquee {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.announcement-marquee span {
  display: inline-block;
  animation: pulseText 4s infinite ease-in-out;
}

.announcement-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.76rem;
}

.announcement-actions button {
  color: #050507;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.12);
  padding: 3px 10px;
  border-radius: 99px;
  transition: var(--transition);
}

.announcement-actions button:hover {
  background: #050507;
  color: var(--gold-light);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-logo img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
}

.nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  position: relative;
  width: 220px;
}

.search-box input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 9px 16px 9px 36px;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  width: 260px;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.icon-btn.gold-btn {
  background: var(--gold-gradient);
  color: #070709;
  border: none;
  font-weight: 700;
}

.icon-btn.gold-btn:hover {
  box-shadow: var(--gold-glow);
  color: #000;
}

.icon-btn.admin-switch-btn {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.badge-count {
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ==========================================================================
   HERO SHOWCASE
   ========================================================================== */
.hero-section {
  position: relative;
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  min-height: 520px;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #09090d;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.55;
  transition: transform 8s ease;
}

.hero-main-card:hover .hero-bg-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,7,9,0.96) 0%, rgba(7,7,9,0.55) 55%, rgba(7,7,9,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 26px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #050507;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.04em;
  transition: var(--transition);
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-side-card {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition);
  min-height: 240px;
}

.hero-side-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.hero-side-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.6s ease;
}

.hero-side-card:hover img {
  transform: scale(1.06);
}

.hero-side-card .side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,7,9,0.92) 0%, rgba(7,7,9,0.2) 100%);
}

.hero-side-info {
  position: relative;
  z-index: 2;
}

.hero-side-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.hero-side-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRUST & PAYMENT HIGHLIGHTS BAR
   ========================================================================== */
.features-strip {
  max-width: 1400px;
  margin: 28px auto;
  padding: 0 24px;
}

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

.feature-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--border-gold);
  background: var(--bg-card);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.feature-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CATEGORY SHOWCASE CARDS
   ========================================================================== */
.section-container {
  max-width: 1400px;
  margin: 48px auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-wrap .eyebrow {
  color: var(--gold-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-title-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
}

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

.category-card {
  position: relative;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  transition: var(--transition);
}

.category-card.active,
.category-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
  transform: translateY(-4px);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,7,0.95) 0%, rgba(5,5,7,0.3) 65%, rgba(5,5,7,0.1) 100%);
}

.category-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.category-card-content span {
  font-size: 0.78rem;
  color: var(--gold-light);
  display: block;
  margin-top: 2px;
}

.category-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   FILTER & TOOLBAR BAR
   ========================================================================== */
.shop-toolbar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold-gradient);
  color: #050507;
  border-color: transparent;
  font-weight: 800;
}

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

.size-filter-bar {
  display: flex;
  align-items: center;
  gap: 5px;
}

.size-filter-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.size-filter-btn:hover,
.size-filter-btn.active {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* ==========================================================================
   PRODUCT GRID & CARDS (WITH DIRECT SIZE SELECTION)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-media {
  position: relative;
  height: 340px;
  background: #0b0b0f;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--gold-gradient);
  color: #050507;
}

.badge-discount {
  background: var(--danger);
  color: #fff;
}

.badge-new {
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  backdrop-filter: blur(6px);
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: var(--transition);
}

.wishlist-btn:hover,
.wishlist-btn.active {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.quick-view-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.product-card:hover .quick-view-pill {
  opacity: 1;
  transform: translateY(0);
}

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-rating {
  color: var(--gold-primary);
  font-weight: 700;
}

.product-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  cursor: pointer;
  line-height: 1.35;
}

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

/* Direct Size Selector on Card */
.card-size-selector {
  margin-bottom: 14px;
}

.card-size-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.card-size-label button {
  color: var(--gold-primary);
  font-size: 0.73rem;
  text-decoration: underline;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-chip {
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.size-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.size-chip.selected {
  background: var(--gold-gradient);
  color: #050507;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.product-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
}

.add-cart-btn {
  background: var(--gold-gradient);
  color: #050507;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.add-cart-btn:hover {
  transform: scale(1.03);
  box-shadow: var(--gold-glow);
}

/* ==========================================================================
   LOOKBOOK / BRAND VIBE SECTION
   ========================================================================== */
.lookbook-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.lookbook-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lookbook-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 3/4;
  position: relative;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lookbook-item:hover img {
  transform: scale(1.07);
}

/* ==========================================================================
   MODALS & DRAWERS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.82);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--danger);
  border-color: var(--danger);
}

/* Product Detail Modal Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 32px;
}

.detail-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 440px;
  background: #09090c;
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.75);
  backdrop-filter: blur(6px);
  z-index: 210;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.cart-drawer {
  width: 100%;
  max-width: 450px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
}

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

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  align-items: center;
}

.cart-item img {
  width: 72px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px 6px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

/* ==========================================================================
   CHECKOUT & 3 PAYMENT METHODS (CREDIT CARD, COD, BANK TRANSFER)
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  padding: 32px;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.payment-tab {
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  transition: var(--transition);
}

.payment-tab.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  box-shadow: var(--gold-glow);
}

/* 3D Credit Card Visual */
.credit-card-visual {
  background: linear-gradient(135deg, #1b1b26 0%, #09090f 60%, #2c2208 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.credit-card-visual::before {
  content: 'YM LUXURY PASS';
  position: absolute;
  right: -20px;
  bottom: -15px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.06);
  pointer-events: none;
}

.cc-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.cc-chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: var(--gold-gradient);
}

.cc-number-display {
  font-family: monospace;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.cc-bottom-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cc-bottom-row strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-top: 2px;
}

.bank-iban-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-iban-card code {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

/* ==========================================================================
   ADMIN PANEL COMPLETE LAYOUT
   ========================================================================== */
.admin-wrapper {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: calc(100vh - 110px);
  max-width: 1500px;
  margin: 0 auto;
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-nav-item {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  text-align: left;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  border-left: 3px solid var(--gold-primary);
}

.admin-main {
  padding: 28px 32px;
  overflow-x: auto;
}

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

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.kpi-card .kpi-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.kpi-card .kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-light);
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-processing { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-shipped { background: rgba(157, 78, 221, 0.18); color: #c084fc; }
.status-delivered { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Google SERP Preview Box in SEO Settings */
.serp-preview {
  background: #1f1f24;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 640px;
}
.serp-url {
  font-size: 0.8rem;
  color: #9aa0a6;
  margin-bottom: 4px;
}
.serp-title {
  font-size: 1.18rem;
  color: #8ab4f8;
  font-weight: 500;
  margin-bottom: 4px;
}
.serp-desc {
  font-size: 0.86rem;
  color: #bdc1c6;
  line-height: 1.45;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideIn 0.25s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Footer */
.site-footer {
  background: #040406;
  border-top: 1px solid var(--border-gold);
  margin-top: 80px;
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links button,
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: left;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .lookbook-banner,
  .product-detail-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .categories-grid,
  .kpi-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-wrapper {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 640px) {
  .features-grid,
  .categories-grid,
  .kpi-grid,
  .footer-grid,
  .payment-tabs,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING CHAT WIDGET
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #14141b;
  border: 1px solid var(--border-gold);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   SECRET ADMIN LOGIN SCREEN
   ========================================================================== */
.admin-login-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  text-align: center;
  animation: modalPop 0.3s ease-out;
}

.admin-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
  color: var(--gold-light);
}

/* Gateway Cards in Admin */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.gateway-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-align: left;
}

.gateway-card:hover {
  border-color: var(--border-gold);
}

.gateway-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: var(--gold-glow);
}

.gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

/* WYSIWYG Visual Document Editor */
.wysiwyg-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wysiwyg-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wysiwyg-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.wysiwyg-editor {
  min-height: 280px;
  max-height: 550px;
  overflow-y: auto;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--border-gold);
  border-top: none;
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 0.95rem;
  outline: none;
}

.wysiwyg-editor:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.wysiwyg-editor h3 {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 16px 0 8px;
}

.wysiwyg-editor h4 {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin: 14px 0 6px;
}

.wysiwyg-editor p {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.wysiwyg-editor ul, .wysiwyg-editor ol {
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.wysiwyg-editor li {
  margin-bottom: 6px;
}

.wysiwyg-editor a {
  color: var(--gold-primary);
  text-decoration: underline;
}
