/*
Theme Name: IyooCartel
Theme URI: https://iyoocartel.com
Author: Gift Balogun
Author URI: https://giftbalogun.name.ng
Description: IyooCartel is a bespoke premium streetwear WordPress theme built for iyoocartel.com — an editorial noir shopping experience rooted in Nigerian culture. Ogbe Affiliated. Business Oriented. Features full WooCommerce integration, a cinematic hero, lookbook grid, custom cursor, live cart, newsletter capture, size guide, and a mobile-first responsive layout. Designed and developed by Gift Balogun (https://giftbalogun.name.ng).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
WC requires at least: 7.0
WC tested up to: 9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iyoocartel
Tags: woocommerce, e-commerce, dark, streetwear, fashion, nigeria, custom-logo, custom-menu, full-width-template, sticky-post, threaded-comments, translation-ready
*/

/* ============================================================
   DESIGN SYSTEM — IyooCartel Premium Streetwear
   Aesthetic: Editorial noir — heavy type, raw texture,
   sharp negative space. Inspired by AMBUSH, Maison Margiela,
   and Lagos underground culture.
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

:root {
  --black:      #0a0a0a;
  --white:      #f5f3ef;
  --off-white:  #e8e4dc;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --red:        #c0392b;
  --gray-dark:  #1a1a1a;
  --gray-mid:   #2e2e2e;
  --gray-soft:  #555;
  --gray-text:  #999;
  --border:     rgba(255,255,255,0.08);
  --border-gold: rgba(201,168,76,0.35);

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Outfit', 'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1400px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor.expanded { width: 40px; height: 40px; background: var(--white); }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

/* Grain overlay for texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
h4 { font-size: clamp(1.3rem, 2.5vw, 2rem); }

.label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-sm { font-size: 0.875rem; color: var(--gray-text); }
.body-xs { font-size: 0.75rem; color: var(--gray-text); letter-spacing: 0.05em; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

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

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

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn span { position: relative; z-index: 1; }

.btn:hover::after { transform: translateX(0); }
.btn:hover { color: var(--black); border-color: var(--gold); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary::after { background: var(--black); }
.btn-primary:hover { color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-gold);
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */

.announcement-bar {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem var(--gutter);
  text-align: center;
  position: relative;
  z-index: 200;
  overflow: hidden;
}

.announcement-bar .ticker {
  display: inline-flex;
  gap: 4rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

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

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem var(--gutter);
  gap: 1.5rem;
}

/* Logo — constrain at every selector level WordPress uses */
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 160px;
  width: 100%;
}

/* WordPress custom logo markup:
   <a class="custom-logo-link"><img class="custom-logo"> */
.site-logo a.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  max-width: 100%;
}

.site-logo img,
.site-logo img.custom-logo,
.site-logo a.custom-logo-link img,
.custom-logo-link img.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Fallback text logo (when no image is uploaded) */
.site-logo .text-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  white-space: nowrap;
}
.site-logo .text-logo span { color: var(--gold); }

@media (max-width: 600px) {
  .site-logo img,
  .site-logo img.custom-logo,
  .site-logo a.custom-logo-link img,
  .custom-logo-link img.custom-logo {
    height: 36px !important;
    max-width: 130px !important;
  }
  .site-logo { max-width: 130px; }
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  position: relative;
  padding-bottom: 2px;
}

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

.primary-nav a:hover, .primary-nav a.active { color: var(--white); }
.primary-nav a:hover::after, .primary-nav a.active::after { width: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.header-actions a, .header-actions button {
  color: var(--gray-text);
  transition: color var(--transition);
  position: relative;
  font-size: 0;
}

.header-actions a:hover, .header-actions button:hover { color: var(--white); }

.header-actions svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.55rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 90;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-text);
  transition: color var(--transition), transform var(--transition);
}
.mobile-nav a:hover { color: var(--gold); transform: translateX(8px); }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.15) 0%,
    rgba(10,10,10,0.2) 40%,
    rgba(10,10,10,0.85) 85%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 2rem;
}

.hero-headline {
  font-size: clamp(4rem, 13vw, 13rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  mix-blend-mode: normal;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--gold);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.hero-desc {
  font-size: 0.875rem;
  color: var(--gray-text);
  max-width: 220px;
  text-align: right;
  line-height: 1.7;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.hero-scroll-line {
  width: 40px; height: 1px;
  background: var(--gray-text);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan { to { left: 100%; } }

@media (max-width: 768px) {
  .hero-content .container { grid-template-columns: 1fr; }
  .hero-meta { align-items: flex-start; }
  .hero-desc { text-align: left; }
}

/* ============================================================
   MARQUEE / SCROLLING TEXT STRIP
   ============================================================ */

.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  background: var(--gray-dark);
}

.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee var(--marquee-speed, 20s) linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
}

.marquee-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

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

.marquee-strip { --marquee-speed: 20s; }
.marquee-inner { animation: marquee var(--marquee-speed) linear infinite; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}

.section-header .label { margin-bottom: 0.5rem; display: block; }
.section-header h2 { margin: 0; }

.section-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

/* ============================================================
   PRODUCT GRID (WooCommerce override)
   ============================================================ */

.products-section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.woocommerce .products,
.woocommerce-page .products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--border);
  list-style: none !important;
}

@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  ul.products { grid-template-columns: 1fr !important; }
}

/* Product card */
li.product,
.woocommerce ul.products li.product {
  background: var(--black);
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  border: none !important;
  float: none !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Product image wrapper — clip the scale without clipping the button */
li.product .woocommerce-loop-product__link,
li.product > a:first-child {
  display: block;
  overflow: hidden;
  position: relative;
}

/* Product image */
.woocommerce ul.products li.product a img,
li.product .woocommerce-loop-product__link img {
  width: 100% !important;
  height: clamp(280px, 35vw, 480px) !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  filter: none !important;
}

li.product:hover .woocommerce-loop-product__link img,
li.product:hover > a:first-child img { transform: scale(1.06) !important; }

/* Product info */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  padding: 1rem 1.25rem 0.2rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product span.price {
  display: block !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  padding: 0 1.25rem 0.5rem !important;
  margin: 0 !important;
  letter-spacing: 0.05em;
}

.woocommerce ul.products li.product .price del {
  color: var(--gray-soft) !important;
  margin-right: 0.4rem;
}

/* ---- Add to cart CTA area — always visible, not hidden behind hover ---- */
.woocommerce ul.products li.product .product-card-cta {
  display: flex !important;
  border-top: 1px solid var(--border) !important;
  margin-top: auto !important;
}

/* The actual button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_variable.button {
  position: static !important;
  transform: none !important;
  flex: 1 !important;
  background: transparent !important;
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-right: 1px solid var(--border) !important;
  padding: 0.9rem 1rem !important;
  text-align: center !important;
  width: auto !important;
  border-radius: 0 !important;
  transition: background 0.25s, color 0.25s !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
  cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* "View cart" link injected by WC after adding to cart */
.woocommerce ul.products li.product .added_to_cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gray-text) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: color 0.2s !important;
  border-left: 1px solid var(--border) !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product .added_to_cart:hover { color: var(--gold) !important; }

/* Loading state */
.woocommerce ul.products li.product .add_to_cart_button.loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
}
.woocommerce ul.products li.product .add_to_cart_button.added {
  background: rgba(99,153,34,0.1) !important;
  color: #639922 !important;
  border-right-color: var(--border) !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--red) !important;
  color: var(--white) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 0.22rem 0.5rem !important;
  top: 0.75rem !important;
  left: 0.75rem !important;
  right: auto !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.4 !important;
}

/* Product card hover gold border */
li.product::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--transition);
  z-index: 2;
}
li.product:hover::after { border-color: var(--gold); }

/* New badge */
.product-new-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  z-index: 3;
}

/* ============================================================
   PRODUCT REVIEWS — styled review form
   ============================================================ */

#reviews { margin: 0; }

#reviews #comments {
  margin-bottom: 3rem;
}

#reviews #comments h2,
#reviews .woocommerce-Reviews-title {
  font-family: var(--font-display) !important;
  font-size: 1.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid var(--border) !important;
}

/* No reviews message */
#reviews #comments .woocommerce-noreviews {
  color: var(--gray-text);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

/* Existing reviews */
#reviews ol.commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
}

#reviews ol.commentlist li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

#reviews ol.commentlist li .comment-text {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#reviews ol.commentlist li .meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}
#reviews ol.commentlist li .meta strong { color: var(--white); }
#reviews ol.commentlist li .description p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.7; }

/* Review form */
#reviews #review_form_wrapper { margin-top: 2rem; }

#reviews #review_form h3 {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
}

#reviews #review_form .comment-form-rating label,
#reviews #review_form .comment-form-comment label,
#reviews #review_form .comment-form-author label,
#reviews #review_form .comment-form-email label {
  font-family: var(--font-mono) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--gray-text) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

/* Star rating selector */
#reviews .stars a {
  color: var(--gray-mid) !important;
  font-size: 1.4rem !important;
  transition: color 0.15s !important;
}
#reviews .stars a:hover,
#reviews .stars a.active,
#reviews .stars.selected a { color: var(--gold) !important; }

/* Text fields */
#reviews #review_form textarea,
#reviews #review_form input[type="text"],
#reviews #review_form input[type="email"] {
  background: var(--gray-dark) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  padding: 0.85rem 1rem !important;
  width: 100% !important;
  transition: border-color 0.2s !important;
  resize: vertical !important;
}
#reviews #review_form textarea:focus,
#reviews #review_form input[type="text"]:focus,
#reviews #review_form input[type="email"]:focus {
  border-color: var(--gold) !important;
  outline: none !important;
}

#reviews #review_form textarea { min-height: 140px !important; }

/* Submit button */
#reviews #review_form #submit {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  padding: 0.9rem 2.5rem !important;
  cursor: pointer !important;
  transition: background 0.25s, color 0.25s !important;
  width: auto !important;
  display: inline-block !important;
}
#reviews #review_form #submit:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* Quick-view / cart-peek icon in product card CTA */
.product-quick-view-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  flex-shrink: 0 !important;
  border-left: 1px solid var(--border) !important;
  color: var(--gray-soft) !important;
  transition: color 0.2s, background 0.2s !important;
  text-decoration: none !important;
}
.product-quick-view-link:hover { color: var(--gold) !important; background: rgba(201,168,76,0.06) !important; }

/* Out of stock button */
.out-of-stock-btn {
  flex: 1 !important;
  text-align: center !important;
  color: var(--gray-soft) !important;
  font-family: var(--font-display) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.9rem 1rem !important;
  background: transparent !important;
  border: none !important;
  cursor: default !important;
  pointer-events: none !important;
}

/* ============================================================
   FEATURED PRODUCT — Full-bleed editorial
   ============================================================ */

.featured-drop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-drop-media {
  position: relative;
  overflow: hidden;
}
.featured-drop-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-drop:hover .featured-drop-media img { transform: scale(1.04); }

.featured-drop-content {
  background: var(--gray-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  position: relative;
}

.featured-drop-content::before {
  content: 'NEW DROP';
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.6rem;
}

.featured-drop-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 12rem);
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  pointer-events: none;
}

@media (max-width: 768px) {
  .featured-drop { grid-template-columns: 1fr; }
  .featured-drop-content { min-height: 50vh; }
}

/* ============================================================
   BRAND STORY SECTION
   ============================================================ */

.brand-story {
  padding: clamp(5rem, 10vw, 10rem) 0;
  position: relative;
  overflow: hidden;
}

.brand-story::before {
  content: 'IYOO';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 25vw, 28rem);
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand-story-text p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.brand-story-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--off-white);
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.brand-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.brand-stat-label {
  font-size: 0.75rem;
  color: var(--gray-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .brand-story-grid { grid-template-columns: 1fr; }
  .brand-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ============================================================
   LOOKBOOK GRID
   ============================================================ */

.lookbook {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  background: var(--border);
}

.lookbook-item {
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.lookbook-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.lookbook-item:nth-child(2) { grid-column: span 5; }
.lookbook-item:nth-child(3) { grid-column: span 5; }
.lookbook-item:nth-child(4) { grid-column: span 4; }
.lookbook-item:nth-child(5) { grid-column: span 4; }
.lookbook-item:nth-child(6) { grid-column: span 4; }

.lookbook-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 300px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lookbook-item:hover img { transform: scale(1.05); }

.lookbook-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  transition: background var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.lookbook-item:hover .lookbook-item-overlay { background: rgba(10,10,10,0.5); }

.lookbook-item-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.lookbook-item:hover .lookbook-item-label { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
  .lookbook-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   TRUST / FEATURES STRIP
   ============================================================ */

.trust-strip {
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.trust-icon svg { width: 16px; height: 16px; }

.trust-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.trust-desc { font-size: 0.75rem; color: var(--gray-text); line-height: 1.5; }

@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter-section {
  padding: clamp(5rem, 8vw, 8rem) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px; height: 350px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  pointer-events: none;
  opacity: 0.5;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 2.5rem auto 0;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.25rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: var(--gray-soft); }

.newsletter-form button {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: none;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ============================================================
   HERO PLACEHOLDER (shown when no image is uploaded)
   ============================================================ */

.hero-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-placeholder-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   INSTAGRAM / SOCIAL FEED
   ============================================================ */

.social-proof {
  padding: clamp(4rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--border);
}

.social-feed {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.social-feed-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--gray-dark);
}

.social-feed-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-feed-item:hover img { transform: scale(1.08); }

/* Styled placeholder tile (when no images uploaded) */
.social-feed-placeholder-tile { background: var(--gray-dark); }

.sfp-inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(201,168,76,0.25);
  transition: color 0.3s;
}
.social-feed-placeholder-tile:hover .sfp-inner { color: rgba(201,168,76,0.5); }

.sfp-inner span {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.social-feed-cta {
  padding: 1rem var(--gutter);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .social-feed { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SINGLE PRODUCT (WooCommerce)
   ============================================================ */

.woocommerce div.product,
.single-product .product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  min-height: 90vh;
  margin: 0 !important;
}

.woocommerce div.product div.images,
.single-product .woocommerce-product-gallery {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow: hidden;
  margin: 0 !important;
}

.woocommerce div.product div.images img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
}

.woocommerce div.product div.summary,
.single-product .entry-summary {
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin-bottom: 1rem !important;
  color: var(--white) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-mono) !important;
  font-size: 1.3rem !important;
  color: var(--gold) !important;
  margin-bottom: 2rem !important;
  letter-spacing: 0.05em;
}

/* Add to cart button */
.woocommerce div.product .cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 1.1rem 2.5rem !important;
  border: 1px solid var(--gold) !important;
  transition: all var(--transition) !important;
  width: 100% !important;
  text-align: center !important;
}

.woocommerce div.product .cart .single_add_to_cart_button:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* Size selector */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product .variations select {
  background: var(--gray-dark) !important;
  color: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  padding: 0.75rem 1rem !important;
  width: 100% !important;
  font-size: 0.9rem !important;
  margin-bottom: 1rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
}

@media (max-width: 768px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product div.images { position: relative; height: 70vw; top: 0; }
}

/* ============================================================
   SIZE GUIDE
   ============================================================ */

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.size-guide-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gold);
  text-align: left;
}

.size-guide-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--gray-text);
}

.size-guide-table tr:hover td { color: var(--white); background: rgba(255,255,255,0.02); }

/* ============================================================
   CART & CHECKOUT (WooCommerce)
   ============================================================ */

.woocommerce-cart table.cart,
.woocommerce table.shop_table {
  border: 1px solid var(--border) !important;
  border-collapse: collapse !important;
}

.woocommerce-cart table.cart th,
.woocommerce table.shop_table th {
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 1px solid var(--border) !important;
  background: var(--gray-dark) !important;
}

.woocommerce-cart table.cart td,
.woocommerce table.shop_table td {
  padding: 1.5rem !important;
  border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important;
  color: var(--white) !important;
}

.woocommerce-cart .cart_totals,
.woocommerce .cart_totals {
  background: var(--gray-dark) !important;
  padding: 2rem !important;
  border: 1px solid var(--border) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--gray-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(4rem, 6vw, 6rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand .text-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .text-logo span { color: var(--gold); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all var(--transition);
}

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

.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray-text);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-text);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.footer-contact-item a { color: var(--gray-text); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray-soft);
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-icon {
  height: 20px;
  background: var(--gray-mid);
  color: var(--gray-text);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  padding: 0 0.4rem;
  display: flex;
  align-items: center;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WOOCOMMERCE GLOBAL OVERRIDES
   ============================================================ */

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  background: var(--gray-dark) !important;
  border-top-color: var(--gold) !important;
  color: var(--white) !important;
}

.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-info a {
  color: var(--gold) !important;
}

.woocommerce-breadcrumb {
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  color: var(--gray-soft) !important;
  padding: 1rem var(--gutter) !important;
}

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--gold) !important; }

/* Pagination */
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 0.5rem !important;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--gray-text) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0 !important;
  transition: all var(--transition) !important;
}

.woocommerce-pagination ul.page-numbers li a:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: transparent !important;
}

.woocommerce-pagination ul.page-numbers li span.current {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--black) !important;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   PAGE: ABOUT / BRAND STORY
   ============================================================ */

.page-hero {
  padding: clamp(6rem, 12vw, 12rem) var(--gutter) clamp(4rem, 8vw, 8rem);
  position: relative;
}

.page-hero-label {
  display: block;
  margin-bottom: 1.5rem;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PRELOADER — IyooCartel logo spinner
   ============================================================ */

#iyoo-preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#iyoo-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.preloader-logo span { color: var(--gold); }

.preloader-bar {
  width: 120px;
  height: 1px;
  background: var(--gray-mid);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: preloader-sweep 1.2s cubic-bezier(0.4,0,0.2,1) infinite;
}

@keyframes preloader-sweep {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

.preloader-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-soft);
  animation: preloader-pulse 1.5s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ============================================================
   HERO PLACEHOLDER — hide upload prompt on public site
   ============================================================ */

/* The upload prompt rect/text only shows in customizer preview */
body:not(.wp-customizer-unloaded) .hero-placeholder-svg [data-public="false"],
.hero-placeholder-svg rect[fill="rgba(201,168,76,0.06)"],
.hero-placeholder-svg text:last-of-type { }

/* Hide upload prompt text on public (non-admin) site */
body:not(.customize-preview) .hero-placeholder-svg text:nth-last-of-type(-n+2) {
  display: none;
}
body:not(.customize-preview) .hero-placeholder-svg rect[fill="rgba(201,168,76,0.06)"] {
  display: none;
}
body:not(.customize-preview) .hero-placeholder-svg circle {
  display: none;
}

/* ============================================================
   WOOCOMMERCE CART NOTICE — toast style
   ============================================================ */

/* Override WC notices to look like a toast notification */
.woocommerce-notices-wrapper {
  position: fixed !important;
  top: 5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  max-width: 360px !important;
  width: calc(100vw - 3rem) !important;
  z-index: 9999 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  pointer-events: all;
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.woocommerce-notices-wrapper .woocommerce-message {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 0.85rem !important;
  background: var(--gray-dark) !important;
  border: 1px solid var(--border-gold) !important;
  border-left: 3px solid var(--gold) !important;
  color: var(--white) !important;
  padding: 1rem 1.25rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  list-style: none !important;
  margin-bottom: 0.5rem !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}

/* Checkmark icon */
.woocommerce-notices-wrapper .woocommerce-message::before {
  content: '' !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(201,168,76,0.15) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 50% !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='%23c9a84c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0 !important;
  font-size: 0 !important; /* hide the ::before text */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* "View cart" link in notice */
.woocommerce-notices-wrapper .woocommerce-message a.button,
.woocommerce-notices-wrapper .woocommerce-message a:not(.button) {
  font-family: var(--font-display) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--black) !important;
  background: var(--gold) !important;
  border: none !important;
  padding: 0.4rem 0.9rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
  margin: 0 !important;
  display: inline-block !important;
}
.woocommerce-notices-wrapper .woocommerce-message a.button:hover,
.woocommerce-notices-wrapper .woocommerce-message a:not(.button):hover { opacity: 0.82 !important; }

/* Error notice */
.woocommerce-notices-wrapper .woocommerce-error {
  border-left-color: #c0392b !important;
  border-color: rgba(192,57,43,0.35) !important;
}
.woocommerce-notices-wrapper .woocommerce-error::before {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18' stroke='%23c0392b' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='6' y1='6' x2='18' y2='18' stroke='%23c0392b' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  border-color: rgba(192,57,43,0.3) !important;
  background-color: rgba(192,57,43,0.1) !important;
}

/* ============================================================
   RELATED PRODUCTS — remove gap between price & button
   ============================================================ */

/* Tighten up the card info area */
.sp-related ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  padding-bottom: 0.15rem !important;
}

.sp-related ul.products li.product .price,
ul.products li.product .price {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* CTA bar sits flush against price */
.sp-related ul.products li.product .product-card-cta,
ul.products li.product .product-card-cta {
  margin-top: 0 !important;
  border-top: 1px solid var(--border) !important;
}

/* ============================================================
   FOOTER CREDITS
   ============================================================ */

.footer-developer-credit {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--gray-soft);
  padding: 0.75rem var(--gutter);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--black);
  max-width: 100%;
}

.footer-developer-credit a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-developer-credit a:hover { opacity: 0.75; }

/* ============================================================
   FOOTER MENU — use WP nav menu widget
   ============================================================ */

.footer-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav-menu li a {
  font-size: 0.875rem;
  color: var(--gray-text);
  transition: color 0.2s;
}
.footer-nav-menu li a:hover { color: var(--white); }
