/* =================================================================
   COUNTY SHOP — FRONTEND STYLES v2  |  The County · Drop System
================================================================= */

/* Hide WordPress page title on drops page */
body.page-drops-active .entry-title,
body.page-drops-active .page-title,
body.page-drops-active .tc-post > h1:first-child,
body.page-drops-active article.tc-post > h1:first-child {
  display: none !important;
}

body.page-drops-active .county-drops-page .cs-hero-title {
  display: block !important;
  font-size: clamp(4rem, 8.2vw, 8.8rem) !important;
  line-height: 0.86 !important;
}

.county-drops-page *, .county-drops-page *::before, .county-drops-page *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

.county-drops-page {
  --cream: #fefcef; --sand: #dedcd0;
  --sand-40: rgba(222,220,208,0.4); --sand-25: rgba(222,220,208,0.25);
  --sand-12: rgba(222,220,208,0.12); --sand-06: rgba(222,220,208,0.06);
  --bg: #080808; --color-coming: #9d8db8; --color-sold: #5a5854;
  --easing: cubic-bezier(.22,.61,.36,1);
  --gold: #c8a96e; --gold-dim: rgba(200,169,110,0.15);
  font-family: Montserrat, Arial, sans-serif;
  background: var(--bg); color: var(--cream);
  line-height: 1.6; overflow-x: hidden;
}
.county-drops-page a { color: inherit; text-decoration: none; }
.county-drops-page img { max-width: 100%; display: inline-block; vertical-align: middle; }
.county-drops-page button { font-family: inherit; cursor: pointer; }

/* ACCESS HERO */
.cs-access-hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden; background: #000;
}
.cs-access-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200,169,110,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 50%, rgba(222,220,208,0.02) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.cs-hero-scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px);
  pointer-events: none; z-index: 1; opacity: 0.6;
}
.cs-hero-wm {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; pointer-events: none; z-index: 0;
  user-select: none; overflow: hidden;
}
.cs-hero-wm span {
  font-size: clamp(8rem, 28vw, 28rem); font-weight: 900;
  letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 0.5px rgba(222,220,208,0.025);
  text-transform: uppercase; white-space: nowrap; opacity: 0;
}
.cs-hero-copy {
  position: relative; z-index: 2;
  padding: clamp(6rem,12vw,9rem) clamp(2rem,5vw,5rem) clamp(4rem,8vw,6rem) clamp(2rem,6vw,6rem);
  display: flex; flex-direction: column; gap: 1.8rem;
}
.cs-eyebrow {
  font-size: clamp(0.5rem,0.7vw,0.65rem); font-weight: 700;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(20px);
  display: flex; align-items: center; gap: 0.8rem;
}
.cs-eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.cs-hero-title {
  font-size: clamp(4.5rem, 9.5vw, 10.5rem); font-weight: 900;
  letter-spacing: -0.05em; line-height: 0.86; color: var(--cream);
  text-transform: uppercase; margin: 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.01s; /* ensures gsap can override */
}
/* Fallback: show everything if GSAP never ran (no internet / CDN blocked) */
.county-drops-page.gsap-failed .cs-hero-title,
.county-drops-page.gsap-failed .cs-hero-subtitle,
.county-drops-page.gsap-failed .cs-hero-status,
.county-drops-page.gsap-failed .cs-hero-actions,
.county-drops-page.gsap-failed .cs-eyebrow,
.county-drops-page.gsap-failed #cs-case-img-wrap,
.county-drops-page.gsap-failed .cs-shop-tabs,
.county-drops-page.gsap-failed .cs-section-content.active,
.county-drops-page.gsap-failed .cs-current-drop,
.county-drops-page.gsap-failed .cs-newsletter,
.county-drops-page.gsap-failed .cs-hero-wm span,
.county-drops-page.gsap-failed .cs-section-label,
.county-drops-page.gsap-failed .cs-product-card {
  opacity: 1 !important;
  transform: none !important;
}
.county-drops-page.gsap-failed .cs-product-card {
  animation: none !important;
}
.cs-hero-subtitle {
  font-size: clamp(0.75rem,1.1vw,0.95rem); font-weight: 400;
  line-height: 1.75; color: rgba(222,220,208,0.55); max-width: 380px;
  opacity: 0; transform: translateY(20px);
}
.cs-hero-status {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
}
.cs-status-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--sand-40);
}
.cs-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold);
  animation: cs-dot-pulse 2s ease-in-out infinite;
}
.cs-status-dot.locked { background: rgba(222,220,208,0.3); box-shadow: none; animation: none; }
@keyframes cs-dot-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.7); }
}
.cs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

.cs-unlock-btn {
  font-size: clamp(0.6rem,0.85vw,0.75rem); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--gold); background: var(--gold); color: #080808;
  padding: 1rem 2rem; display: inline-flex; align-items: center; gap: 0.6rem;
  transition: all 0.3s var(--easing); cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
}
.cs-unlock-btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); transform: translateX(-100%);
  transition: transform 0.4s var(--easing);
}
.cs-unlock-btn:hover::before { transform: translateX(0); }
.cs-unlock-btn:hover { background: var(--cream); border-color: var(--cream); }

.cs-archive-btn {
  font-size: clamp(0.6rem,0.85vw,0.75rem); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--sand-25); background: none; color: var(--sand-40);
  padding: 1rem 1.6rem; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.3s var(--easing); cursor: pointer; white-space: nowrap;
}
.cs-archive-btn:hover { border-color: var(--sand-40); color: var(--cream); }

/* CASE */
.cs-hero-case {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: center;
  padding: clamp(4rem,8vw,6rem) clamp(2rem,5vw,4rem); min-height: 100vh;
}
.cs-case-img-wrap {
  position: relative; width: clamp(300px,42vw,580px);
  opacity: 0; transform: scale(0.92) translateY(20px);
}
.cs-case-img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 50px 70px rgba(0,0,0,0.85)) drop-shadow(0 0 80px rgba(200,169,110,0.18));
  will-change: transform;
}
.cs-case-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 150%; height: 130%;
  pointer-events: none; animation: cs-glow-pulse 4s ease-in-out infinite;
  background: radial-gradient(ellipse at 50% 52%, rgba(200,169,110,0.38) 0%, rgba(200,169,110,0.12) 30%, rgba(200,169,110,0.03) 60%, transparent 80%);
  filter: blur(40px);
}
.cs-case-glow::after {
  content: ''; position: absolute; inset: -15%;
  background: radial-gradient(ellipse at 50% 55%, rgba(200,169,110,0.12) 0%, transparent 65%);
  filter: blur(60px); animation: cs-glow-pulse 4s ease-in-out infinite reverse;
}
@keyframes cs-glow-pulse {
  0%,100% { opacity:0.7; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:1;   transform:translate(-50%,-50%) scale(1.06); }
}
.cs-case-display {
  position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  pointer-events: none; opacity: 0;
}
.cs-display-line {
  font-size: 8px; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  text-shadow: 0 0 12px rgba(200,169,110,0.8); white-space: nowrap;
}

@media (max-width: 768px) {
  .cs-access-hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: auto; }
  .cs-hero-case { order: -1; min-height: 55vw; padding: 7rem 1.5rem 2rem; }
  .cs-case-img-wrap { width: clamp(220px,72vw,380px); }
  .cs-hero-copy { padding: 2rem 1.5rem 4rem; }
  .cs-hero-title { font-size: clamp(3rem,11.5vw,4.6rem) !important; }
}

/* MODAL */
.cs-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cs-modal-overlay.cs-open { opacity: 1; pointer-events: all; }
.cs-modal {
  background: #0a0a0a; border: 1px solid rgba(200,169,110,0.3);
  padding: 2.5rem; width: 100%; max-width: 420px; position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s var(--easing); margin: 1rem;
}
.cs-modal-overlay.cs-open .cs-modal { transform: scale(1) translateY(0); }
.cs-modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none;
  border: 1px solid rgba(222,220,208,0.15); color: var(--sand-40);
  width: 32px; height: 32px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease; font-family: inherit;
}
.cs-modal-close:hover { border-color: var(--sand-40); color: var(--cream); }
.cs-modal-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.cs-modal-title { font-size: clamp(1.4rem,3vw,1.8rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: var(--cream); margin-bottom: 0.5rem; line-height: 1; }
.cs-modal-sub { font-size: 11px; color: var(--sand-40); margin-bottom: 2rem; line-height: 1.6; }
.cs-modal-field { margin-bottom: 1.2rem; }
.cs-modal-field label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand-40); margin-bottom: 0.5rem; }
.cs-modal-field input {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(222,220,208,0.12);
  color: var(--cream); padding: 0.9rem 1rem; font-size: 1rem;
  font-family: Montserrat, sans-serif; letter-spacing: 0.08em;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cs-modal-field input:focus { outline: none; border-color: var(--gold); background: rgba(200,169,110,0.04); }
.cs-modal-error {
  background: rgba(220,53,69,0.08); border: 1px solid rgba(220,53,69,0.25);
  color: #ff6b6b; padding: 0.8rem 1rem; margin-bottom: 1rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: none;
}
.cs-modal-error.show { display: block; }
.cs-modal-actions { display: flex; gap: 10px; margin-top: 1.5rem; }
.cs-modal-submit {
  flex: 1; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--gold); background: var(--gold); color: #080808; padding: 1rem;
  cursor: pointer; transition: all 0.3s var(--easing); font-family: Montserrat, sans-serif;
}
.cs-modal-submit:hover { background: var(--cream); border-color: var(--cream); }
.cs-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cs-modal-cancel {
  padding: 1rem 1.2rem; font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; border: 1px solid var(--sand-12); background: none;
  color: var(--sand-40); cursor: pointer; transition: all 0.2s ease; font-family: Montserrat, sans-serif;
}
.cs-modal-cancel:hover { border-color: var(--sand-25); color: var(--cream); }
.cs-modal-attempts { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand-40); text-align: center; margin-top: 1rem; }
.cs-modal-spinner { display: none; justify-content: center; margin: 0.8rem 0; }
.cs-modal-spinner div { width: 20px; height: 20px; border: 1.5px solid rgba(200,169,110,0.2); border-top-color: var(--gold); border-radius: 50%; animation: cs-spin 0.6s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }

/* TICKER */
.cs-ticker { overflow: hidden; border-top: 1px solid var(--sand-12); border-bottom: 1px solid var(--sand-12); padding: 0.9rem 0; background: var(--bg); position: relative; z-index: 2; }
.cs-ticker-track { display: flex; gap: 3rem; animation: cs-ticker-run 28s linear infinite; width: max-content; }
.cs-ticker-track span { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand-40); white-space: nowrap; }
.cs-ticker-track span.gold { color: var(--gold); }
.cs-ticker-track span.dot  { color: rgba(222,220,208,0.12); }
@keyframes cs-ticker-run { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ── GLITCH EFFECT ────────────────────────────────────────────────
   Apply .cs-glitch to any element. Uses data-glitch="same text"
   as the pseudo-element source so content stays in sync.
────────────────────────────────────────────────────────────────── */
.cs-glitch {
  position: relative;
  animation: cs-glitch-base 6s infinite;
}
.cs-glitch::before,
.cs-glitch::after {
  content: attr(data-glitch);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.cs-glitch::before {
  color: #ff3c6e;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
  animation: cs-glitch-top 6s infinite;
  opacity: 0;
}
.cs-glitch::after {
  color: #00d4ff;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  animation: cs-glitch-bot 6s infinite;
  opacity: 0;
}
@keyframes cs-glitch-base {
  0%,94%,100% { transform: none; }
  95%          { transform: translateX(-2px) skewX(-1deg); }
  96%          { transform: translateX(2px) skewX(1deg); }
  97%          { transform: translateX(-1px); }
  98%          { transform: none; }
}
@keyframes cs-glitch-top {
  0%,93%,100%  { opacity: 0; transform: none; }
  94%          { opacity: 1; transform: translateX(3px); }
  95%          { opacity: 1; transform: translateX(-3px); }
  96%          { opacity: 0; }
}
@keyframes cs-glitch-bot {
  0%,93%,100%  { opacity: 0; transform: none; }
  94.5%        { opacity: 1; transform: translateX(-3px); }
  95.5%        { opacity: 1; transform: translateX(3px); }
  96.5%        { opacity: 0; }
}

/* Display line glitch (compact, LCD-style, more frequent) */
.cs-display-line.cs-glitch {
  animation: cs-glitch-base 3.5s infinite;
}
.cs-display-line.cs-glitch::before { animation: cs-glitch-top 3.5s infinite; font-size: inherit; letter-spacing: inherit; }
.cs-display-line.cs-glitch::after  { animation: cs-glitch-bot 3.5s infinite; font-size: inherit; letter-spacing: inherit; }

/* Section label glitch (rarer) */
.cs-section-label-title.cs-glitch {
  animation: cs-glitch-base 8s infinite;
}
.cs-section-label-title.cs-glitch::before { animation: cs-glitch-top 8s infinite; font-size: inherit; letter-spacing: inherit; }
.cs-section-label-title.cs-glitch::after  { animation: cs-glitch-bot 8s infinite; font-size: inherit; letter-spacing: inherit; }

/* TABS */
.cs-shop-tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--sand-12); overflow-x: auto; scrollbar-width: none; opacity: 0; position: relative; z-index: 2; }
.cs-shop-tabs::-webkit-scrollbar { display: none; }
.cs-tab-btn {
  padding: 1.2rem 2rem; border: none; border-bottom: 1px solid transparent;
  background: none; font-size: clamp(0.55rem,0.85vw,0.72rem); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sand-40); cursor: pointer;
  transition: color 0.25s var(--easing), border-color 0.25s var(--easing);
  white-space: nowrap; font-weight: 700; margin-bottom: -1px; font-family: Montserrat, sans-serif;
}
.cs-tab-btn:hover { color: var(--sand); }
.cs-tab-btn.active { color: var(--cream); border-bottom-color: var(--sand); }

/* CONTAINER */
.cs-shop-container { max-width: 1300px; margin: 0 auto; padding: 0 5vw 10vh; }

/* CURRENT DROP */
.cs-current-drop {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  border: 1px solid rgba(222,220,208,0.1);
  border-left: 0; border-right: 0;
  min-height: clamp(560px, 72vh, 760px); opacity: 0; transform: translateY(22px);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, rgba(200,169,110,0.055), rgba(8,8,8,0) 44%),
    #070707;
  overflow: hidden;
}
.cs-section-content[data-section="available"] .cs-current-drop { opacity: 1; transform: none; }
.cs-unlocked-drop-block + .cs-unlocked-drop-block { border-top: 1px solid var(--sand-12); margin-top: clamp(3rem, 7vw, 7rem); padding-top: clamp(3rem, 7vw, 7rem); }
@media (max-width: 768px) { .cs-current-drop { grid-template-columns: 1fr; min-height: auto; } }
.cs-drop-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.6rem, 5vw, 4rem);
  border-right: 1px solid rgba(222,220,208,0.08); cursor: default; overflow: hidden;
  perspective: 1100px;
}
@media (max-width: 768px) { .cs-drop-visual { border-right: none; border-bottom: 1px solid var(--sand-12); min-height: 50vh; padding: 5vh 2vw; } }
.cs-drop-visual::before {
  content: ''; position: absolute; inset: 11% 9%;
  border: 1px solid rgba(222,220,208,0.06);
  transform: skewY(-2deg); pointer-events: none;
}
.cs-drop-glow {
  position: absolute; width: min(74%, 520px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255,255,255,0.16) 0%, rgba(210,214,210,0.05) 32%, transparent 72%);
  filter: blur(12px); pointer-events: none;
}
.cs-drop-ring-wrap {
  position: relative; width: clamp(260px,34vw,500px); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; will-change: transform;
}
.cs-drop-ring-wrap img {
  width: 88%; height: 88%; object-fit: contain;
  filter: drop-shadow(0 46px 62px rgba(0,0,0,0.92)) drop-shadow(0 0 26px rgba(245,244,234,0.12));
  transition: filter 0.6s var(--easing), transform 0.6s var(--easing); display: block;
}
.cs-drop-visual:hover .cs-drop-ring-wrap img { filter: drop-shadow(0 60px 80px rgba(0,0,0,0.95)) drop-shadow(0 0 40px rgba(222,220,208,0.08)); }
.cs-drop-ring-shadow { position: absolute; bottom: 13%; left: 50%; transform: translateX(-50%); width: 42%; height: 12px; background: rgba(0,0,0,0.82); border-radius: 50%; filter: blur(15px); pointer-events: none; }
.cs-drop-info { padding: clamp(3rem,6.5vw,6.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.35rem; }
.cs-drop-eyebrow { font-size: clamp(0.58rem,0.72vw,0.7rem); font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(223,207,171,0.78); }
.cs-access-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.3);
  padding: 0.3rem 0.7rem; font-size: 8px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); align-self: flex-start;
}
.cs-access-badge::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--gold); box-shadow:0 0 6px var(--gold); animation:cs-dot-pulse 2s ease-in-out infinite; }
.cs-drop-name { font-size: clamp(3.1rem,6.2vw,5.9rem); font-weight: 900; letter-spacing: 0; line-height: 0.9; color: var(--cream); text-transform: uppercase; margin: 0; max-width: 9ch; }
.cs-drop-sub { font-size: clamp(0.92rem,1.1vw,1.05rem); font-weight: 500; line-height: 1.65; color: rgba(232,231,222,0.62); margin: 0; max-width: 520px; }
.cs-drop-sub p { margin: 0; }
.cs-drop-details { display: flex; flex-direction: column; gap: 0.3rem; color: rgba(222,220,208,0.5); font-size: clamp(0.82rem,0.96vw,0.94rem); line-height: 1.55; }
.cs-drop-divider { height: 1px; background: linear-gradient(90deg, rgba(222,220,208,0.1), transparent); }
.cs-drop-meta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cs-drop-price { font-size: clamp(1.75rem,2.8vw,2.6rem); font-weight: 800; color: var(--cream); letter-spacing: 0; }
.cs-drop-price span { font-size: 0.6em; color: var(--gold); font-weight: 600; }
.cs-drop-stock { font-size: clamp(0.7rem,0.9vw,0.8rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-40); }
.cs-drop-stock span { color: var(--gold); }
.cs-stock-bar { width: 100%; height: 1px; background: var(--sand-12); position: relative; overflow: hidden; }
.cs-stock-fill { height: 100%; background: linear-gradient(90deg, var(--gold), rgba(200,169,110,0.3)); transition: width 0.8s var(--easing); }
.cs-drop-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cs-object-code { color: rgba(222,220,208,0.36); font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.cs-drop-variants { display: flex; flex-direction: column; gap: 0.7rem; }
.cs-variants-label { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand-40); }
.cs-size-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.cs-size-btn { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--sand-12); background: none; color: var(--sand-40); padding: 0.45rem 0.7rem; cursor: pointer; transition: all 0.2s var(--easing); font-family: Montserrat, sans-serif; }
.cs-size-btn:hover  { border-color: var(--sand-25); color: var(--cream); }
.cs-size-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* BUTTONS */
.cs-btn {
  font-size: clamp(0.65rem,0.9vw,0.78rem); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--sand-40); background: none; color: var(--cream);
  padding: 0.9rem 1.5rem; display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--easing); white-space: nowrap; cursor: pointer;
  flex: 1; min-width: 140px; font-family: Montserrat, sans-serif; text-decoration: none;
  border-radius: 999px;
}
.cs-btn:hover { border-color: var(--cream); background: rgba(222,220,208,0.06); }
.cs-btn-primary { background: var(--cream); color: #080808 !important; border-color: rgba(254,252,239,0.9); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.cs-btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #080808 !important; transform: translateY(-2px); }
.cs-btn-heart { flex: 0 0 auto; min-width: auto; padding: 0.9rem 1.1rem; font-size: 1rem; }
.cs-btn-heart.active { color: #ff9d9d; border-color: rgba(255,157,157,0.4); }
.cs-btn-ghost { border-color: rgba(90,88,84,0.4); color: var(--color-sold); opacity: 0.55; cursor: not-allowed; }
.cs-btn-ghost:hover { background: none; border-color: rgba(90,88,84,0.4); color: var(--color-sold); }
.cs-btn-coming { border-color: rgba(157,141,184,0.5); color: var(--color-coming); box-shadow: 0 0 20px rgba(157,141,184,0.15); }
.cs-btn-coming:hover { background: rgba(157,141,184,0.08); border-color: var(--color-coming); box-shadow: 0 0 40px rgba(157,141,184,0.3); }

/* SECTION LABELS */
.cs-section-label { display: flex; align-items: baseline; gap: 1.5rem; padding: 5vh 0 3vh; border-bottom: 1px solid var(--sand-12); margin-bottom: 4vh; opacity: 0; transform: translateY(20px); }
.cs-section-label-text { font-size: clamp(0.5rem,0.7vw,0.65rem); font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--sand-40); }
.cs-section-label-title { font-size: clamp(2rem,4vw,3.5rem); font-weight: 900; letter-spacing: -0.02em; color: var(--cream); text-transform: uppercase; line-height: 1; }

/* PRODUCT GRID */
.cs-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 4px; margin-bottom: 8vh; }
@media (min-width: 900px) { .cs-product-grid { grid-template-columns: repeat(3, 1fr); } }
.cs-product-card { display: flex; flex-direction: column; opacity: 0; transform: translateY(30px); background: var(--sand-06); border: 1px solid var(--sand-12); }
.cs-product-card.cs-is-in { animation: cs-card-in 0.75s var(--easing) forwards; }
@keyframes cs-card-in { to { opacity: 1; transform: translateY(0); } }
.cs-drop-cascade-card.is-featured { border-color: rgba(200,169,110,0.38); box-shadow: inset 0 0 0 1px rgba(200,169,110,0.08); }
.cs-drop-cascade-card.is-current { background: rgba(200,169,110,0.08); }
.cs-drops-cascade-grid .cs-product-image { aspect-ratio: 1.15; }
.cs-product-image { width: 100%; aspect-ratio: 1; background: #101010; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 52px; transition: all 0.4s var(--easing); border-bottom: 1px solid var(--sand-12); }
.cs-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-product-card:hover .cs-product-image { background: #141414; }
.cs-product-image.sold-out  { filter: grayscale(100%); opacity: 0.4; }
.cs-product-image.coming-soon { filter: blur(18px); }
.cs-sold-out-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; }
.cs-sold-out-text { font-size: 11px; font-weight: 700; color: var(--sand-40); letter-spacing: 0.4em; text-transform: uppercase; }
.cs-locked-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; }
.cs-locked-icon { width: 36px; height: 36px; border: 1.5px solid rgba(157,141,184,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; animation: cs-locked-pulse 2.5s ease-in-out infinite; }
@keyframes cs-locked-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(157,141,184,0.3); } 50% { box-shadow: 0 0 0 8px rgba(157,141,184,0); } }
.cs-locked-badge { font-size: 8px; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--color-coming); }
/* Glitch on locked-badge uses different color to match the purple locked theme */
.cs-locked-badge.cs-glitch::before { color: rgba(157,141,184,0.8); }
.cs-locked-badge.cs-glitch::after  { color: rgba(0,200,200,0.6); }
.cs-locked-card .cs-product-image::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(157,141,184,0.04) 2px,rgba(157,141,184,0.04) 3px); pointer-events: none; }
.cs-product-info { padding: 1.5rem 1.5rem 2rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.cs-product-eyebrow { font-size: clamp(0.48rem,0.65vw,0.6rem); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand-40); }
.cs-product-eyebrow.gold { color: var(--gold); }
.cs-product-name { font-size: clamp(1rem,1.5vw,1.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; color: var(--cream); margin: 0; }
.cs-product-description { font-size: 11px; color: rgba(222,220,208,0.45); line-height: 1.7; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin: 0.3rem 0; }
.cs-product-price { font-size: clamp(1.1rem,1.8vw,1.5rem); font-weight: 700; color: var(--cream); letter-spacing: -0.01em; margin-top: auto; padding-top: 0.8rem; }
.cs-product-price small { font-size: 0.6em; color: var(--gold); font-weight: 600; }
.cs-archive-date { font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sand-40); border: 1px solid var(--sand-12); padding: 0.25rem 0.55rem; display: inline-block; align-self: flex-start; }
.cs-coming-date { font-size: 9px; color: var(--color-coming); text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; }
.cs-product-actions { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }
.cs-product-actions .cs-btn { font-size: 10px; padding: 0.7rem 1rem; min-width: 100px; }

/* TABS CONTENT */
.cs-section-content { display: none; }
.cs-section-content.active { display: block; }

/* NEWSLETTER */
.cs-newsletter { padding: 10vh 5vw; border-top: 1px solid var(--sand-12); text-align: center; opacity: 0; transform: translateY(30px); position: relative; overflow: hidden; }
.cs-newsletter::before { content:'ACCESS'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:clamp(6rem,18vw,18rem); font-weight:900; letter-spacing:-0.04em; color:transparent; -webkit-text-stroke:0.5px rgba(222,220,208,0.02); pointer-events:none; user-select:none; white-space:nowrap; }
.cs-newsletter.cs-is-in { animation: cs-card-in 0.8s var(--easing) forwards; }
.cs-newsletter-eyebrow { font-size: clamp(0.5rem,0.7vw,0.65rem); font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; position: relative; }
.cs-newsletter-title { font-size: clamp(2rem,5vw,4.5rem); font-weight: 900; letter-spacing: -0.03em; color: var(--cream); text-transform: uppercase; margin-bottom: 1rem; line-height: 0.92; position: relative; }
.cs-newsletter-sub { font-size: clamp(0.75rem,1vw,0.9rem); color: var(--sand-40); margin-bottom: 2.5rem; position: relative; line-height: 1.6; }
.cs-newsletter-form { display: flex; max-width: 480px; margin: 0 auto; border: 1px solid var(--sand-25); position: relative; }
.cs-newsletter-form input { flex: 1; padding: 1rem 1.2rem; background: transparent; border: none; outline: none; color: var(--cream); font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.cs-newsletter-form input::placeholder { color: var(--sand-40); }
.cs-newsletter-form button { padding: 1rem 1.5rem; background: var(--gold); color: #080808; border: none; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; transition: background 0.25s var(--easing); white-space: nowrap; font-family: Montserrat, sans-serif; }
.cs-newsletter-form button:hover { background: var(--cream); }
.cs-newsletter-note { font-size: 9px; color: rgba(222,220,208,0.25); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 1rem; position: relative; }

/* Logged-in single button */
.cs-newsletter-loggedin { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: relative; }
.cs-newsletter-submit-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.5rem; background: var(--gold); color: #080808; border: none; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; transition: background 0.25s var(--easing), transform 0.2s var(--easing); }
.cs-newsletter-submit-btn:hover { background: var(--cream); transform: translateY(-2px); }
.cs-newsletter-submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* TOAST */
.cs-toast { position: fixed; bottom: 2.5rem; right: 2.5rem; background: var(--gold); color: #080808; padding: 1rem 1.8rem; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; opacity: 0; transform: translateY(16px); z-index: 9999; pointer-events: none; font-family: Montserrat, sans-serif; transition: opacity 0.3s ease, transform 0.3s ease; }
.cs-toast.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 600px) {
  .cs-drop-info { padding: 2.5rem 1.5rem; }
  .cs-current-drop { min-height: auto; }
  .cs-drop-ring-wrap { width: min(82vw, 360px); }
  .cs-drop-name { font-size: clamp(2.6rem, 15vw, 4.1rem); max-width: 100%; }
  .cs-drop-actions .cs-btn { flex: 0 1 auto; width: 100%; }
  .cs-object-code { width: 100%; line-height: 1.5; }
  .cs-newsletter-form { flex-direction: column; border: none; }
  .cs-newsletter-form input { border: 1px solid var(--sand-25); }
  .cs-newsletter-form button { border: 1px solid var(--sand-25); }
  .cs-tab-btn { padding: 1rem 1.2rem; }
  .cs-product-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
}
@media (max-width: 400px) { .cs-product-grid { grid-template-columns: 1fr; } }

/* ── PAGE-LEVEL OVERRIDES ─────────────────────────────────────────
   Force dark background on the drops page regardless of theme CSS.
   WP body class .page-drops-active is added by the plugin.
────────────────────────────────────────────────────────────────── */
body.page-drops-active,
body.page-drops-active #page,
body.page-drops-active #content,
body.page-drops-active #main,
body.page-drops-active .site-content,
body.page-drops-active .site-main,
body.page-drops-active .entry-content,
body.page-drops-active .tc-main,
body.page-drops-active .tc-container,
body.page-drops-active article.tc-post {
  background: #080808 !important;
  background-color: #080808 !important;
  color: #fefcef !important;
}
body.page-drops-active .tc-main {
  padding: 0 !important;
  min-height: 0 !important;
}
body.page-drops-active .tc-container {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-drops-active article.tc-post,
body.page-drops-active article.tc-post h1,
body.page-drops-active .tc-post-content {
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 400px) { .cs-product-grid { grid-template-columns: 1fr; } }
