/* ==========================================================================
   DELJOEES THRIFT - HIGH-FASHION DARK STREETWEAR DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Syne:wght@700;800;900&display=swap');

:root {
  /* High-Fashion Dark Streetwear Crimson & Gold Palette */
  --bg-dark: #07070a;
  --bg-surface: #0f0f14;
  --bg-card: rgba(18, 18, 24, 0.75);

  --accent-red: #ff2a4b;
  --accent-red-glow: rgba(255, 42, 75, 0.5);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);

  --accent-cyan: #ff2a4b;
  --accent-blue: #e11d48;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-glass: rgba(255, 42, 75, 0.18);

  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.85);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.dark-theme {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* HIGH-FASHION STREETWEAR SITE PRELOADER */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #07070a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform, opacity;
}

.site-preloader.loaded {
  transform: translateY(-100%);
  opacity: 0.95;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 400px;
}

.preloader-logo-svg {
  filter: drop-shadow(0 0 20px rgba(255, 42, 75, 0.5));
  animation: preloaderPulse 1.8s ease-in-out infinite alternate;
  margin-bottom: 0.75rem;
}

@keyframes preloaderPulse {
  0% {
    transform: scale(0.97);
    filter: drop-shadow(0 0 10px rgba(255, 42, 75, 0.3));
  }
  100% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(255, 42, 75, 0.7));
  }
}

.preloader-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.preloader-bar-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9f1239 0%, #ff2a4b 100%);
  box-shadow: 0 0 12px var(--accent-red-glow);
  transition: width 0.1s linear;
}

.preloader-counter {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

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

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* DARK FLOATING GLASS NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 42, 75, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-svg {
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.brand-logo-svg:hover {
  opacity: 1;
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(255, 42, 75, 0.4));
}

.footer-logo-svg {
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ATMOSPHERIC HERO SECTION (MATCHING REFERENCE IMAGE EXACTLY)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 2rem;
  background: var(--bg-dark);
  overflow: hidden;
}

/* FULL-SCREEN ACTIVE T-SHIRT BACKDROP CROSSFADE CONTAINER */
.hero-active-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 0.45s ease-out, transform 0.5s ease-out;
  opacity: 0;
  transform: scale(1.04);
  filter: brightness(0.85) contrast(1.05);
  will-change: opacity, transform;
}

.hero-bg-layer.active {
  opacity: 0.9;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(7, 7, 10, 0.45) 0%, transparent 35%, rgba(7, 7, 10, 0.92) 100%);
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
  z-index: 5;
}

/* STRETCHED GIANT TITLE */
.hero-stretched-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  transform: scaleX(1.1);
  margin-bottom: 1.2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

/* OVAL PILL BADGE */
.hero-pill-badge {
  display: inline-block;
  padding: 0.45rem 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* FLOATING T-SHIRTS ROW (NO CARDS / BOXES DIRECT ON BACKGROUND) */
.floating-tees-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3.5vw, 3rem);
  width: 100%;
  max-width: 1200px;
  padding: 1rem 0;
  position: relative;
  z-index: 5;
  margin-bottom: 2rem;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.floating-tees-row:active {
  cursor: grabbing;
}

.floating-tee {
  position: relative;
  width: clamp(130px, 16vw, 210px);
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: transform, opacity;
}

.floating-tee img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.08) brightness(1.02);
  pointer-events: none;
  transition: filter 0.4s ease;
}

.floating-tee.tee-light img {
  mix-blend-mode: lighten;
  opacity: 0.92;
}

/* CINEMATIC CAROUSEL FILMSTRIP STATES */

/* ACTIVE PRODUCT (Center / Focused) */
.floating-tee.active-product {
  transform: translateY(-10px) scale(1.15) !important;
  opacity: 1 !important;
  z-index: 10 !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95)) brightness(1.05);
}

.floating-tee.active-product img {
  filter: contrast(1.12) brightness(1.06);
}

/* ADJACENT PRODUCTS (Flanking Active) */
.floating-tee.adjacent-product {
  transform: translateY(0px) scale(0.95) !important;
  opacity: 0.85 !important;
  z-index: 5 !important;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85)) brightness(0.95);
}

/* FURTHER PRODUCTS (Outer Edge) */
.floating-tee.further-product {
  transform: translateY(6px) scale(0.90) !important;
  opacity: 0.68 !important;
  z-index: 2 !important;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.75)) brightness(0.85);
}

/* CENTERPIECE: RED ORIGINALS TEXT & WINGED ANGEL STATUE */
.hero-centerpiece-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: -55px;
  z-index: 6;
  pointer-events: none;
}

.hero-red-originals {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 900;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 0 35px var(--accent-red-glow), 0 0 70px rgba(255, 0, 34, 0.35);
  position: relative;
  margin-top: 0.75rem;
  margin-bottom: -45px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  text-align: center;
  line-height: 1;
}

.hero-angel-statue {
  width: clamp(240px, 32vw, 420px);
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95)) contrast(1.1);
  pointer-events: none;
}

/* BOTTOM MOUNTAINS & MIST HORIZON */
.hero-mountains-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  margin-top: -140px;
  overflow: hidden;
  z-index: 4;
}

.hero-mountains-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.9;
  mix-blend-mode: lighten;
  filter: contrast(1.15) brightness(0.95);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

/* NEON MARQUEE TICKER */
.marquee-strip {
  background: linear-gradient(90deg, #9f1239 0%, #ff2a4b 100%);
  color: #ffffff;
  padding: 1.1rem 0;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 42, 75, 0.35);
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
}

.marquee-item i {
  font-size: 1.2rem;
  color: var(--bg-dark);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CATALOG SECTION */
.catalog-section {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
}

.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: rgba(18, 18, 24, 0.75);
  border: 1.5px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.tab-btn.active {
  background: var(--accent-red);
  color: var(--text-primary);
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(255, 42, 75, 0.45);
}

.catalog-filter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
}

.catalog-search-input {
  background: rgba(18, 18, 24, 0.85);
  border: 1.5px solid var(--border-glass);
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  width: 220px;
}

.catalog-search-input:focus {
  border-color: var(--accent-red);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.25);
}

.catalog-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-red);
  font-size: 1.1rem;
  pointer-events: none;
}

.custom-select {
  background: rgba(18, 18, 24, 0.85);
  border: 1.5px solid var(--border-glass);
  padding: 0.65rem 2.4rem 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff2a4b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

/* PRODUCT GRID & DARK GLASS CARDS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.25rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-glass);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 42, 75, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 42, 75, 0.35);
}

.card-media {
  position: relative;
  background: var(--bg-surface);
  padding-top: 112%;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.badge-vintage {
  background: var(--bg-dark);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.badge-bestseller {
  background: var(--accent-red);
  color: var(--text-primary);
}

.badge-discount {
  background: var(--accent-blue);
  color: var(--text-primary);
}

.card-details {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-gsm {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.rating-stars {
  font-size: 0.85rem;
  color: #ffb703;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 800;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.product-condition {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: auto;
}

.current-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

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

/* FOOTER */
.site-footer {
  background: #040407;
  color: var(--text-primary);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 42, 75, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1.25rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-column h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-red);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.newsletter-input {
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  flex-grow: 1;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 0 20px rgba(255, 42, 75, 0.45);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--accent-red);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.mobile-menu-toggle .icon-close {
  display: none;
}

.mobile-menu-toggle.active .icon-open {
  display: none;
}

.mobile-menu-toggle.active .icon-close {
  display: inline-block;
}

/* GLOBAL RESPONSIVE MEDIA QUERIES */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Header & Navigation Drawer */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    height: 72px;
  }

  .brand-logo svg {
    width: 160px;
    height: 48px;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(7, 7, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--border-glass);
    padding: 1.5rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-link {
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    background: rgba(18, 18, 24, 0.75);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 42, 75, 0.18);
    font-size: 1rem;
  }

  /* Hero Section Mobile Formatting */
  .hero-section {
    padding: 2rem 0 0;
  }

  .hero-stretched-title {
    font-size: clamp(1.8rem, 7.5vw, 2.8rem);
    letter-spacing: 0.08em;
    transform: scaleX(1);
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    word-break: break-word;
  }

  .hero-pill-badge {
    padding: 0.35rem 1.25rem;
    font-size: 0.82rem;
    margin-bottom: 2rem;
  }

  /* Responsive Hero Carousel Filmstrip Track */
  .floating-tees-row {
    justify-content: center;
    gap: clamp(0.5rem, 2.5vw, 1.5rem);
    padding: 0.5rem 0 1.5rem;
    overflow: visible;
  }

  .floating-tee {
    width: clamp(100px, 26vw, 150px);
  }

  /* Centerpiece Stage ("ORIGINALS" & Angel Statue) */
  .hero-centerpiece-stage {
    margin-top: 0.5rem;
    margin-bottom: -30px;
  }

  .hero-red-originals {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
    letter-spacing: 0.04em;
    width: 100%;
    text-align: center;
    position: relative;
    top: auto;
    transform: none;
    margin-top: 0.25rem;
    margin-bottom: -25px;
    text-shadow: 0 0 25px var(--accent-red-glow);
  }

  .hero-angel-statue {
    width: clamp(200px, 65vw, 290px);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.95)) contrast(1.1);
  }

  .hero-mountains-wrap {
    height: 180px;
    margin-top: -90px;
  }

  .hero-bottom-fade {
    height: 80px;
  }

  /* Marquee Strip */
  .marquee-strip {
    padding: 0.85rem 0;
  }

  .marquee-item {
    font-size: 0.92rem;
    gap: 0.6rem;
  }

  /* Catalog Controls Bar */
  .catalog-section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .category-tabs {
    width: 100%;
    padding: 0.25rem 0.25rem 0.6rem;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filter-controls {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .catalog-search-wrap,
  .catalog-search-input,
  .custom-select {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Footer & Newsletter Form */
  .site-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .newsletter-input,
  .newsletter-form .btn-primary {
    width: 100%;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

* HEADER TRIGGER BUTTON */ .admin-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-trigger-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

/* STANDALONE ADMIN PAGE LAYOUT */
.admin-page-body {
  background-color: #050507;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.admin-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-storefront-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
}

.admin-page-main {
  padding: 2.5rem 1.5rem 5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  flex-grow: 1;
}

/* OVERLAY & CONTAINER */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-modal-container {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  background: rgba(14, 14, 18, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: adminModalFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminModalFade {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }

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

/* MODAL HEADER */
.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 9, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-brand-icon {
  font-size: 1.8rem;
  color: #ffffff;
}

.admin-brand h3 {
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}

.admin-sub-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* TAB NAVIGATION */
.admin-tab-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.admin-nav-tab:hover {
  color: #ffffff;
}

.admin-nav-tab.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.admin-close-btn {
  font-size: 1.4rem;
  color: var(--text-secondary);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.admin-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* MODAL BODY */
.admin-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex-grow: 1;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

/* TAB 1: INVENTORY MANAGEMENT */
.admin-panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.db-status-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eab308;
  box-shadow: 0 0 10px #eab308;
}

.status-indicator-dot.online {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.status-indicator-dot.local {
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.btn-primary-sm {
  background: #ffffff;
  color: #000000;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* INVENTORY LIST CARDS */
.admin-inventory-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 22, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  gap: 1.2rem;
  transition: var(--transition-fast);
}

.admin-item-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(30, 30, 38, 0.9);
}

.admin-item-media {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
}

.admin-item-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-item-details h5 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.admin-item-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}

.admin-item-price {
  font-weight: 800;
  color: #ffffff;
  font-size: 1.05rem;
  white-space: nowrap;
}

.admin-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-admin-edit,
.btn-admin-delete {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-admin-edit {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-admin-edit:hover {
  background: #ffffff;
  color: #000000;
}

.btn-admin-delete {
  background: rgba(255, 0, 34, 0.12);
  color: #ff334b;
  border: 1px solid rgba(255, 0, 34, 0.3);
}

.btn-admin-delete:hover {
  background: #ff0022;
  color: #ffffff;
}

/* TAB 2: ADD / EDIT FORM */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header-row h4 {
  font-size: 1.2rem;
  color: #ffffff;
}

.form-mode-badge {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  letter-spacing: 0.08em;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.admin-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-input,
.admin-select,
.admin-textarea {
  background: rgba(22, 22, 28, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.input-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* LIVE PHOTO PREVIEW CARD */
.admin-photo-preview-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  margin-top: 0.45rem;
}

.admin-photo-preview-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #000;
  display: block;
}

.preview-card-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(14, 14, 18, 0.9);
}

#previewTitle {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
}

#previewPrice {
  font-weight: 900;
  color: #ffffff;
  font-size: 1.2rem;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* TAB 3: SUPABASE CONFIG CARD & SQL BOX */
.config-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-card h4 {
  font-size: 1.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.config-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.config-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.sql-setup-box {
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.sql-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sql-box-header h5 {
  color: #ffffff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-copy-sql {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.btn-copy-sql:hover {
  background: #ffffff;
  color: #000000;
}

.sql-code-block {
  background: #000000;
  color: #38bdf8;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ADMIN PANEL RESPONSIVE & MOBILE (PHONE VIEW) ALIGNMENT
   ========================================================================== */
@media (max-width: 768px) {
  .admin-page-header {
    padding: 0.6rem 0;
  }

  .admin-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .admin-header-top {
    width: 100%;
  }

  .admin-brand {
    gap: 0.5rem;
  }

  .admin-sub-tag {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
  }

  .admin-storefront-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .admin-tab-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.3rem;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.6);
  }

  .admin-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav-tab {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .admin-page-main {
    padding: 1.25rem 1rem 4rem;
  }

  .admin-panel-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .db-status-wrap {
    font-size: 0.82rem;
  }

  .btn-primary-sm {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }

  /* Admin Inventory Item Card Mobile Alignment */
  .admin-item-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .admin-item-card > div:last-child {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
    margin-top: 0.15rem;
  }

  .admin-item-media {
    width: 100%;
    align-items: flex-start;
  }

  .admin-item-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .admin-item-details {
    flex-grow: 1;
    min-width: 0;
  }

  .admin-item-details h5 {
    font-size: 0.92rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .admin-item-meta {
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.78rem;
    margin-top: 0.25rem;
  }

  .admin-item-actions {
    gap: 0.5rem;
  }

  .btn-admin-edit,
  .btn-admin-delete {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  /* Admin Form Grid & Inputs Mobile Alignment */
  .admin-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .admin-form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .form-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .admin-form-actions {
    flex-direction: column-reverse;
    gap: 0.65rem;
    width: 100%;
  }

  .admin-form-actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Category Manager Mobile Alignment */
  .category-manager-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .category-add-form {
    flex-direction: column;
    gap: 0.65rem;
  }

  .category-add-form button {
    width: 100%;
    justify-content: center;
  }

  /* Toast Notifications Mobile Alignment */
  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
  }

  .toast {
    min-width: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-svg {
    width: 130px;
    height: 44px;
  }

  .admin-storefront-btn .btn-store-text {
    display: none;
  }

  .admin-storefront-btn {
    padding: 0.45rem;
    border-radius: var(--radius-full);
  }

  .admin-item-price {
    font-size: 1rem;
  }

  .admin-photo-preview-card img {
    height: 190px;
  }
}

/* ==========================================================================
   ADMIN ENHANCEMENTS: TOASTS, DROPZONE, CATEGORY MANAGER & PHOTO GRID
   ========================================================================== */

/* TOAST NOTIFICATION CONTAINER */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left: 4px solid #10b981;
}
.toast-success i {
  color: #10b981;
  font-size: 1.2rem;
}

.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-error i {
  color: #ef4444;
  font-size: 1.2rem;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}
.toast-info i {
  color: #3b82f6;
  font-size: 1.2rem;
}

/* FILE DRAG & DROP ZONE */
.file-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(14, 14, 18, 0.6);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.file-dropzone i {
  font-size: 2rem;
  color: var(--accent-red);
}

.file-dropzone p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.file-dropzone span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* MULTI-PHOTO THUMBNAILS GRID IN FORM */
.uploaded-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.photo-thumb-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.photo-thumb-card.is-cover {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.5);
}

.photo-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.photo-thumb-actions {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: flex;
  gap: 3px;
}

.btn-thumb-action {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-thumb-action:hover {
  background: var(--accent-red);
}

/* CATEGORY MANAGEMENT SECTION */
.category-manager-wrap {
  background: rgba(22, 22, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.category-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-manager-header h4 {
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-add-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.category-chip button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  padding: 0;
  transition: var(--transition-fast);
}

.category-chip button:hover {
  color: #ff334b;
}

/* STOCK STATUS BADGES */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stock-in {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stock-out {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   HIGH-FASHION PRODUCT DETAILS MODAL & WHATSAPP BUY NOW
   ========================================================================== */

.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  position: relative;
  background: rgba(18, 18, 24, 0.95);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 42, 75, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-backdrop.active .product-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  padding: 2.25rem;
}

/* MODAL MEDIA GALLERY */
.modal-media-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-main-image-wrap {
  width: 100%;
  aspect-ratio: 0.95;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.modal-thumbs-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.modal-thumb.active {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.5);
}

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

/* MODAL DETAILS & WHATSAPP BUTTON */
.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-badges-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.modal-product-condition {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  margin: 0.4rem 0;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.modal-current-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
}

.modal-original-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.modal-tax-tag {
  display: block;
  font-size: 0.76rem;
  color: var(--accent-gold);
  margin-top: 0.35rem;
  font-weight: 600;
}

.modal-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.btn-whatsapp-buy {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: #25d366;
  color: #ffffff;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-whatsapp-buy:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-buy i {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
}