/* =============================================================
   FUNKYCLAN LIGHT FASHION STOREFRONT (REFINED WITH TIMER & HANGER SHIRT MODAL LAYOVER)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@700;800;900&display=swap');

:root {
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Clean Light Theme Colors */
  --bg-body: #f8f9fa;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  
  --primary-accent: #00b4d8;
  --primary-dark: #0077b6;
  --color-yellow: #ffa502;
  --color-red: #ff4757;
  --color-dark: #1e272e;

  --text-main: #2d3436;
  --text-muted: #636e72;
  --text-light: #b2bec3;

  --border-light: #e9ecef;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

/* =============================================================
   HEADER (NO SEARCH BAR)
   ============================================================= */
.site-header {
  background: #1e272e;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.brand-logo span.accent {
  color: var(--primary-accent);
}

.header-nav {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.header-nav a {
  color: #dcdde1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--primary-accent);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pts-badge-btn {
  background: rgba(255, 165, 2, 0.15);
  border: 1px solid var(--color-yellow);
  color: var(--color-yellow);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =============================================================
   PAGE MAIN LAYOUT
   ============================================================= */
.page-container {
  max-width: 1440px;
  margin: 1.5rem auto 3rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .page-container {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   LEFT SIDEBAR
   ============================================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-box {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cat-header {
  background: var(--primary-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-list {
  list-style: none;
}

.cat-list li {
  border-bottom: 1px solid var(--border-light);
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cat-list a:hover, .cat-list a.active {
  background: #f1f3f5;
  color: var(--primary-dark);
  padding-left: 1.5rem;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1rem 1.25rem 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.mini-product-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mini-product-item:last-child {
  border-bottom: none;
}

.mini-thumb {
  width: 48px;
  height: 48px;
  background: #f1f3f5;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.mini-info .price {
  font-size: 0.8rem;
  color: var(--primary-accent);
  font-weight: 800;
  margin-top: 0.2rem;
}

.tag-cloud-wrapper {
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-btn {
  background: #f1f3f5;
  color: var(--text-muted);
  border: 1px solid #e9ecef;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-btn:hover {
  background: var(--primary-accent);
  color: #fff;
  border-color: var(--primary-accent);
}

/* =============================================================
   MAIN CONTENT AREA
   ============================================================= */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* =============================================================
   WIDESCREEN WEEKLY BATTLE BANNER COMPONENT
   ============================================================= */
.weekly-battle-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #01195a 0%, #031038 50%, #020d31 100%);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(0, 210, 255, 0.2);
  overflow: hidden;
  height: 85px;
  min-height: 85px;
  padding: 0;
  box-sizing: border-box;
}

/* Continuous Top & Bottom Cyan Framing Lines Across Entire Banner */
.weekly-battle-banner::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #31dbf7;
  box-shadow: 0 0 8px rgba(49, 219, 247, 0.9);
  z-index: 4;
  pointer-events: none;
}

.weekly-battle-banner::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #31dbf7;
  box-shadow: 0 0 8px rgba(49, 219, 247, 0.9);
  z-index: 4;
  pointer-events: none;
}

/* Left Section: Image Graphic + Yellow Blob Overlay */
.wbb-left-img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 85px;
}

.wbb-img-left {
  height: 85px;
  width: auto;
  display: block;
  pointer-events: none;
}

.wbb-week-badge-overlay {
  position: absolute;
  left: 45.5%;
  top: 28.2%;
  width: 23.5%;
  height: 43.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading), 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 950;
  color: #060e28;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 3;
}

/* Center Section: Countdown Pill */
.wbb-center {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  flex-grow: 1;
  padding: 0 0.5rem;
}

.wbb-countdown-box {
  background: rgba(3, 9, 28, 0.94);
  border: 2px solid #00d2ff;
  border-radius: 14px;
  padding: 0.25rem 0.85rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35), inset 0 0 12px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(6px);
}

.wbb-countdown-label {
  color: #ffb800;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 6px rgba(255, 184, 0, 0.5);
}

/* Right Section: Image Graphic + Click Target & Rotate */
.wbb-right-img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 85px;
}

.wbb-img-right {
  height: 85px;
  width: auto;
  display: block;
  pointer-events: none;
}

.wbb-click-target-btn {
  position: absolute;
  left: 3.2%;
  top: 64.7%;
  width: 53.3%;
  height: 32.9%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.wbb-click-target-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.wbb-rotate-floating-btn {
  position: absolute;
  right: 10px;
  top: 8px;
  background: rgba(4, 11, 32, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.5);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.wbb-rotate-floating-btn:hover {
  background: rgba(0, 210, 255, 0.3);
  border-color: #00d2ff;
  color: #ffffff;
}

@media (max-width: 900px) {
  .weekly-battle-banner {
    flex-direction: column;
    min-height: auto;
    padding: 0.75rem 0.5rem;
    gap: 0.75rem;
    text-align: center;
  }
  .wbb-left-img-wrap, .wbb-center, .wbb-right-img-wrap {
    justify-content: center;
    width: 100%;
    height: auto;
  }
  .wbb-img-left, .wbb-img-right {
    max-width: 100%;
    height: auto;
  }
}

/* 5 HERO BLOCKS TOP GRID */
.hero-5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  min-height: 500px;
}

@media (max-width: 900px) {
  .hero-5-grid {
    grid-template-columns: 1fr;
  }
}

/* BLOCK 1: BIG HERO BLUE BOX (WITH PROMINENT HANGER T-SHIRT) */
.hero-block-1 {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.2);
  min-height: 500px;
}

.h1-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.hero-block-1 .block-badge {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #ffa502;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-vote-icon-compact {
  background: #ffffff;
  color: #0077b6;
  border: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.btn-vote-icon-compact:hover {
  background: #ffa502;
  color: #000;
  transform: scale(1.05);
}

/* HANGER SHIRT HERO IMAGE STAGE */
.hero-hanger-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  margin: 0.5rem 0;
}

.hero-hanger-img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-hanger-stage:hover .hero-hanger-img {
  transform: scale(1.06) rotate(-1deg);
}

.inspect-badge {
  position: absolute;
  bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.hero-hanger-stage:hover .inspect-badge {
  background: #ffa502;
  color: #000;
}

.h1-bottom-row {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-block-1 .block-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.hero-block-1 .block-artist {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 600;
}

/* RIGHT 2x2 SUBGRID FOR BLOCKS 2, 3, 4, 5 */
.hero-right-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
}

@media (max-width: 600px) {
  .hero-right-subgrid {
    grid-template-columns: 1fr;
  }
}

.hero-block-2,
.hero-block-3,
.hero-block-4,
.hero-block-5 {
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
  width: 100%;
  cursor: pointer;
}

.sub-block-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-block-2:hover .sub-block-bg-img,
.hero-block-3:hover .sub-block-bg-img,
.hero-block-4:hover .sub-block-bg-img,
.hero-block-5:hover .sub-block-bg-img {
  transform: scale(1.08);
}

.sub-block-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.8) 100%);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

.sub-block-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.block-badge-sub {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #ffa502;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-block-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-block-artist {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-top: 0.15rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.btn-thumbs-up {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-thumbs-up:hover {
  background: #ffa502;
  color: #000000;
  border-color: #ffa502;
  transform: scale(1.1);
}

.btn-sub-vote {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-sub-vote:hover {
  background: #ffa502;
  color: #000;
  border-color: #ffa502;
  transform: translateY(-2px);
}

/* =============================================================
   GARMENT LIGHTBOX MODAL LAYOVER WITH ARROW NAVIGATION
   ============================================================= */
.layover-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.layover-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.layover-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 1060px;
  width: 95%;
  max-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  color: #1e293b;
}

@media (max-width: 860px) {
  .layover-card {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }
}

.layover-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f3f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.layover-close-btn:hover {
  background: #ff4757;
  color: #fff;
}

/* LAYOVER STAGE (SHIRT-ONLY NO-PERSON MOCKUP + COLOR TINT + ARTWORK OVERLAY) */
.layover-img-stage {
  background: #f8f9fa;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.layover-garment-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 470px;
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.layover-shirt-mockup {
  position: relative;
  max-height: 470px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.layover-artwork-overlay {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37%;
  height: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.layover-artwork-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.artwork-frame-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-inner-frame-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.2s ease;
  z-index: 1;
}

.artwork-inner-frame-box img.layover-artwork-img,
.layover-artwork-overlay img#layoverArtworkImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.layover-frame-overlay-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

/* Specific Frame Insets & Shape Clipping */
.artwork-frame-wrapper[data-frame="arch"] .artwork-inner-frame-box {
  top: 5.9%;
  bottom: 6.0%;
  left: 11.9%;
  right: 11.9%;
  width: auto;
  height: auto;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
}
.artwork-frame-wrapper[data-frame="arch"] .artwork-inner-frame-box img.layover-artwork-img,
.artwork-frame-wrapper[data-frame="arch"] img#layoverArtworkImg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.artwork-frame-wrapper[data-frame="oval"] .artwork-inner-frame-box {
  top: 15.0%;
  bottom: 15.9%;
  left: 10.3%;
  right: 10.3%;
  width: auto;
  height: auto;
  border-radius: 50%;
  clip-path: ellipse(50% 50% at 50% 50%);
}
.artwork-frame-wrapper[data-frame="oval"] .artwork-inner-frame-box img.layover-artwork-img,
.artwork-frame-wrapper[data-frame="oval"] img#layoverArtworkImg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.artwork-frame-wrapper[data-frame="stamp"] .artwork-inner-frame-box {
  top: 9.3%;
  bottom: 9.5%;
  left: 11.1%;
  right: 11.1%;
  width: auto;
  height: auto;
  border-radius: 4px;
}
.artwork-frame-wrapper[data-frame="stamp"] .artwork-inner-frame-box img.layover-artwork-img,
.artwork-frame-wrapper[data-frame="stamp"] img#layoverArtworkImg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Storefront / Layover Frame Display Styles */
.layover-frame-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

/* INSET INLAY FOR ZIP HOODIE FRONT VIEW */
.layover-inlay-container {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 96px;
  height: 115px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 180, 216, 0.4);
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.layover-inlay-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 180, 216, 0.4);
}

.layover-inlay-container img {
  width: 100%;
  height: calc(100% - 14px);
  object-fit: contain;
  border-radius: 4px;
}

.inlay-badge {
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #18181b;
  color: #00b4d8;
  padding: 1px 5px;
  border-radius: 3px;
  margin-bottom: 2px;
}

/* INTERACTIVE COLOR SELECTOR SWATCHES IN MODAL */
.color-picker-wrapper {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.color-picker-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.layover-color-section {
  margin: 0.65rem 0 0.85rem 0;
}

.layover-color-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.layover-color-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.color-swatches-interactive {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  padding: 0;
  outline: none;
}

.color-swatch-btn:hover {
  transform: scale(1.18);
}

.color-swatch-btn.active {
  border-color: var(--primary-accent);
  transform: scale(1.22);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.4);
}

.color-swatch-btn.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}

.color-swatch-btn.out-of-stock::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ef4444;
  transform: rotate(45deg);
}

.layover-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid #e9ecef;
  color: #1e272e;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  z-index: 5;
}

.layover-arrow-btn:hover {
  background: var(--primary-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.layover-arrow-btn.prev { left: 1rem; }
.layover-arrow-btn.next { right: 1rem; }

/* LAYOVER DETAILS PANEL */
.layover-details-panel {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 180, 216, 0.4) transparent;
}

.layover-details-panel::-webkit-scrollbar {
  width: 6px;
}
.layover-details-panel::-webkit-scrollbar-track {
  background: transparent;
}
.layover-details-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 180, 216, 0.35);
  border-radius: 4px;
}
.layover-details-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 180, 216, 0.6);
}

.garment-model-chip {
  display: inline-block;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid var(--primary-accent);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  width: fit-content;
}

.layover-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.layover-garment-type {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 1.25rem;
}

.layover-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.layover-slide-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dot-step {
  height: 6px;
  flex: 1;
  background: #e9ecef;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.dot-step.active {
  background: var(--primary-accent);
}

/* PRICE PLACED ABOVE SIZES & CART BUTTON */
.layover-price {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: right;
}

/* ACTION ROW: SIZES (LEFT) + ADD TO CART BUTTON (RIGHT) */
.layover-action-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: nowrap;
}

.layover-size-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

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

.size-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
}

.size-error-msg {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.03em;
}

.layover-size-boxes {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.size-box-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.size-box-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  transform: translateY(-1px);
}

.size-box-btn.active {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-layover-cart {
  background: var(--primary-accent);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-layover-cart:hover {
  background: var(--primary-dark);
}

.btn-layover-cart.disabled {
  opacity: 0.55;
  background: #64748b;
  cursor: not-allowed;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* =============================================================
   BOTTOM 3-COLUMN SHOWCASE SECTION
   ============================================================= */
.showcase-bottom-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.showcase-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .showcase-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .showcase-columns-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.col-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-accent);
}

.showcase-product-card {
  text-align: center;
}

.garment-img-box {
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  height: 210px;
}

.trending-shirt-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 175px;
  max-width: 100%;
}

.trending-shirt-mockup {
  height: 100%;
  max-height: 175px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
}

.trending-artwork-overlay {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.trending-artwork-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.garment-img-box svg {
  width: 170px;
  height: 190px;
}

.color-swatches {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.1);
}

.swatch.blue { background: #00b4d8; }
.swatch.dark { background: #2f3542; }
.swatch.red { background: #ff4757; }
.swatch.gray { background: #ced6e0; }

.showcase-product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.showcase-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-accent);
}

footer {
  background: #1e272e;
  color: #808e9b;
  border-top: 1px solid #2f3640;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 4rem;
}

/* ==========================================================================
   RIGHT-SIDE SLIDE-OVER CART DRAWER & NAV BADGE (PURRHABIT STYLE)
   ========================================================================== */
.cart-btn-wrapper {
  position: relative;
  display: inline-flex;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--primary-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  pointer-events: none;
}

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}

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

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0;
  color: #0f172a;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cart-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cart-shipping-bar {
  padding: 0.85rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.cart-shipping-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.cart-shipping-progress-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.cart-shipping-progress-fill {
  height: 100%;
  background: var(--primary-accent);
  transition: width 0.3s ease;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.cart-empty-text {
  color: #64748b;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}

.cart-item-img-wrapper {
  position: relative;
  width: 72px;
  height: 86px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-base-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-print-overlay {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  height: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.cart-item-artwork-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.cart-item-print-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-print-overlay[data-frame="arch"] .cart-item-artwork-inner {
  top: 5.9%;
  bottom: 6.0%;
  left: 11.9%;
  right: 11.9%;
  width: auto;
  height: auto;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
}
.cart-item-print-overlay[data-frame="arch"] .cart-item-artwork-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-print-overlay[data-frame="oval"] .cart-item-artwork-inner {
  top: 15.0%;
  bottom: 15.9%;
  left: 10.3%;
  right: 10.3%;
  width: auto;
  height: auto;
  border-radius: 50%;
  clip-path: ellipse(50% 50% at 50% 50%);
}
.cart-item-print-overlay[data-frame="oval"] .cart-item-artwork-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-print-overlay[data-frame="stamp"] .cart-item-artwork-inner {
  top: 9.3%;
  bottom: 9.5%;
  left: 11.1%;
  right: 11.1%;
  width: auto;
  height: auto;
  border-radius: 2px;
}
.cart-item-print-overlay[data-frame="stamp"] .cart-item-artwork-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-frame-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 4px;
  transition: color 0.2s ease;
}

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

.cart-item-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.cart-qty-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  transition: background 0.2s ease;
}

.cart-qty-btn:hover {
  background: #f1f5f9;
}

.cart-qty-num {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 900;
  color: #0f172a;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-heading);
}

.btn-cart-checkout {
  width: 100%;
  padding: 0.9rem 0;
  background: var(--primary-accent);
  color: #ffffff;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 0, 119, 0.3);
  transition: transform 0.15s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cart-checkout:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-continue-shopping {
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.75rem 0;
  background: transparent;
  color: #64748b;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-continue-shopping:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

/* GOOGLE PLACES AUTOCOMPLETE DROPDOWN Z-INDEX FIX */
.pac-container {
  z-index: 10010 !important;
  font-family: var(--font-body) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
  border: 1px solid #cbd5e1 !important;
  margin-top: 4px !important;
}

/* ==========================================================================
   CONSUMER AUTHENTICATION & USER PROFILE MODALS (PASSWORDLESS 2-STEP OTP)
   ========================================================================== */
.user-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.user-auth-overlay.active {
  opacity: 1;
  visibility: visible;
}

.user-auth-card {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  font-family: var(--font-body);
  max-height: 92vh;
  overflow-y: auto;
}

.user-auth-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.user-auth-close:hover {
  color: #0f172a;
}

.user-auth-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.user-auth-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 0.2rem 0;
  color: #0f172a;
}

.user-auth-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.auth-tabs-nav {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 0.85rem;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.55rem 0;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn:hover {
  color: #0f172a;
}

.auth-tab-btn.active {
  background: #25d366 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group input, .form-group select {
  padding: 0.55rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(255, 0, 119, 0.15);
}

/* 6-DIGIT OTP INPUTS */
.otp-boxes-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-box {
  width: 46px;
  height: 54px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
}

.otp-box:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(255, 0, 119, 0.15);
  transform: translateY(-2px);
}

.btn-auth-primary {
  width: 100%;
  padding: 0.85rem 0;
  background: #25d366 !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45) !important;
  transition: transform 0.15s ease, background 0.2s ease, filter 0.2s ease;
  margin-top: 0.5rem;
}

.btn-auth-primary:hover {
  background: #20ba5a !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-auth-primary.btn-green {
  background: #25d366 !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45) !important;
}

.btn-auth-primary.btn-green:hover {
  background: #20ba5a !important;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 0.75rem;
}

/* USER HEADER PROFILE BADGE */
.user-profile-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.user-profile-badge-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.profile-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.profile-info-label {
  color: #64748b;
  font-weight: 600;
}

.profile-info-value {
  color: #0f172a;
  font-weight: 800;
}
/* ==========================================================================
   EXPANDABLE SIDEBAR SUBCATEGORIES & 4x8 ANIME GRID STYLES
   ========================================================================== */
.cat-item-with-sub {
  position: relative;
}

.cat-main-link {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer;
}

.cat-expand-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
  color: #94a3b8;
}

.cat-expand-arrow.open {
  transform: rotate(180deg);
  color: var(--primary-accent);
}

.subcat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.subcat-list.open {
  display: block;
}

.subcat-list li {
  border-bottom: 1px solid #edf2f7;
  margin: 0;
}

.subcat-list li:last-child {
  border-bottom: none;
}

.subcat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem 0.6rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 0;
}

.subcat-list li a:hover,
.subcat-list li a.active {
  color: #00b4d8 !important;
  background: #e0f2fe !important;
  font-weight: 800;
  padding-left: 2.4rem;
  box-shadow: none;
}

.subcat-list li a:hover .cat-count,
.subcat-list li a.active .cat-count {
  color: #0284c7 !important;
}

/* 4 WIDE x 8 HIGH ANIME GRID (32 PRODUCTS TOTAL) */
.anime-grid-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.anime-subcat-filter-chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.subcat-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subcat-chip-btn:hover,
.subcat-chip-btn.active {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
  box-shadow: 0 3px 10px rgba(255, 0, 119, 0.3);
}

.anime-4x8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 640px) {
  .anime-4x8-grid {
    grid-template-columns: 1fr;
  }
}

.anime-card-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
  width: 100%;
  cursor: pointer;
  background: #18181b;
}

.anime-card-box:hover .sub-block-bg-img {
  transform: scale(1.08);
}

/* =============================================================
   CATEGORY LANDING PAGES PRODUCT CARDS (.anime-card & .anime-category-grid)
   ============================================================= */
.anime-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.anime-card {
  position: relative;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.anime-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 12px 25px rgba(0, 180, 216, 0.2);
}

.anime-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.anime-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0b0f19;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.anime-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

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

.anime-card-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.anime-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.anime-artist {
  color: #cbd5e1;
  font-weight: 600;
}

.anime-votes {
  color: #fbbf24;
  font-weight: 700;
}

.anime-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.anime-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #00b4d8;
}

.btn-vote {
  background: linear-gradient(135deg, #00b4d8, #0284c7);
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-vote:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}


/* =============================================================
   ARTIST TERMS & SUBMISSION PORTAL (ARTISTS MAKE UP TO $300)
   ============================================================= */
.artist-portal-page {
  background: #080e1e;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.artist-portal-page .header-inner {
  padding: 0.65rem 2rem;
}

.artist-hero-section {
  position: relative;
  background: linear-gradient(135deg, #09122c 0%, #03081e 100%);
  border-bottom: none;
  padding: 1.25rem 2rem 1.15rem;
  overflow: hidden;
}

.artist-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.artist-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #00e5ff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.artist-hero-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.artist-hero-title span.highlight-gold {
  color: #ffb800;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.artist-hero-title span.highlight-cyan {
  color: #00e5ff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.artist-hero-subtitle {
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 820px;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

/* Royalties 3-Card Grid */
.royalties-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.royalty-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #00e5ff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.royalty-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.royalty-box.gold {
  border-left-color: #ffb800;
}

.royalty-box.pink {
  border-left-color: #ff2a5f;
}

.royalty-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 950;
  color: #00e5ff;
  margin-bottom: 0.15rem;
  letter-spacing: -0.02em;
}

.royalty-box.gold .royalty-price {
  color: #ffb800;
}

.royalty-box.pink .royalty-price {
  color: #ff2a5f;
}

.royalty-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.royalty-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Submission Portal Form Card */
.artist-form-container {
  max-width: 1200px;
  margin: 0.85rem auto 1rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 3;
}

.upload-portal-card {
  background: #0f172a;
  border: 1.5px solid rgba(0, 210, 255, 0.3);
  border-radius: 14px;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 210, 255, 0.08);
}

.portal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-subtitle {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.artist-portal-page footer {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  text-align: center;
  color: #64748b;
  margin-top: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.form-control-dark,
.form-group input.form-control-dark,
.form-group select.form-control-dark,
.form-group textarea.form-control-dark {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
  border-radius: 8px !important;
  padding: 0.85rem 1rem !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.form-control-dark::placeholder,
.form-group input.form-control-dark::placeholder,
.form-group textarea.form-control-dark::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1;
}

.form-control-dark:focus,
.form-group input.form-control-dark:focus,
.form-group select.form-control-dark:focus,
.form-group textarea.form-control-dark:focus {
  outline: none !important;
  border-color: #00e5ff !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35) !important;
  background: #1e293b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.form-control-dark option {
  background: #1e293b !important;
  color: #ffffff !important;
}

.form-control-dark:-webkit-autofill,
.form-control-dark:-webkit-autofill:hover,
.form-control-dark:-webkit-autofill:focus,
.form-group input.form-control-dark:-webkit-autofill,
.form-group input.form-control-dark:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #1e293b inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
  caret-color: #ffffff !important;
}

/* Dropzone */
.upload-dropzone-box {
  background: rgba(30, 41, 59, 0.6);
  border: 2px dashed rgba(0, 210, 255, 0.4);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-dropzone-box:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: #00e5ff;
  transform: translateY(-2px);
}

.upload-dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.upload-dropzone-main-text {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.upload-dropzone-sub-text {
  color: #64748b;
  font-size: 0.85rem;
}

/* Disclaimer Box */
.disclaimer-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 184, 0, 0.08);
  border: 1.5px solid rgba(255, 184, 0, 0.35);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  color: #fde68a;
  font-size: 0.88rem;
  line-height: 1.5;
}

.btn-submit-artist {
  background: linear-gradient(135deg, #00e5ff 0%, #0077b6 100%);
  color: #03081e;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  padding: 1.1rem;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
  transition: all 0.2s ease;
}

.btn-submit-artist:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.6);
  background: linear-gradient(135deg, #38bdf8 0%, #0096c7 100%);
}

@media (max-width: 900px) {
  .artist-hero-title {
    font-size: 2rem;
  }
  .royalties-card-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .upload-portal-card {
    padding: 1.5rem;
  }
}



/* ==========================================================================
   FAQ SECTION (GEO & SEMANTIC Q&A)
   ========================================================================== */
.faq-section {
  margin: 3rem 0 2.5rem 0;
  padding: 2.25rem;
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.faq-header {
  margin-bottom: 2rem;
  text-align: left;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.faq-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 12px);
  background: #f8fafc;
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item[open] {
  background: #ffffff;
  border-color: #ffa502;
  box-shadow: 0 4px 16px rgba(255, 165, 2, 0.08);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.25s ease, background-color 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-icon-toggle {
  transform: rotate(45deg);
  background: #ffa502;
  color: #000000;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
}

.faq-answer strong {
  color: #0f172a;
}

/* ==========================================================================
   TOP ANNOUNCEMENT PROMO BANNER & AMBASSADOR LINK
   ========================================================================== */
.site-top-banner {
  background: linear-gradient(90deg, #0284c7 0%, #7c3aed 50%, #d97706 100%);
  color: #ffffff;
  padding: 0.45rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1001;
  flex-wrap: wrap;
}

.site-top-banner .banner-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-top-banner a.banner-ambassador-link {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.site-top-banner a.banner-ambassador-link:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-color: #ffffff;
}

.header-nav .nav-ambassador-btn {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(0, 180, 216, 0.5);
  color: #38bdf8 !important;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  font-weight: 800;
}

.header-nav .nav-ambassador-btn:hover {
  background: #00b4d8;
  color: #ffffff !important;
  border-color: #00b4d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
}

/* ==========================================================================
   FUNKYCLAN AMBASSADOR PROGRAM IN-PAGE FULL-WIDTH SECTION
   ========================================================================== */
body.ambassador-view-mode .sidebar {
  display: none !important;
}

body.ambassador-view-mode .page-container {
  grid-template-columns: 1fr !important;
  max-width: 1200px !important;
  margin: 1.5rem auto 3.5rem !important;
  padding: 0 1.5rem !important;
}

body.ambassador-view-mode .main-content {
  width: 100% !important;
}

.ambassador-section-view {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem 2.75rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .ambassador-section-view {
    padding: 1.5rem 1rem;
  }
}

.ambassador-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 180, 216, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(0, 180, 216, 0.45);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ambassador-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #ffffff 40%, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ambassador-lead {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 860px;
}

/* SECTION TITLES */
.ambassador-sec-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.75rem 0 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

/* PAYOUT CARDS GRID */
.ambassador-payout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.payout-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.payout-card:hover {
  transform: translateY(-2px);
  border-color: #00b4d8;
  background: rgba(0, 180, 216, 0.06);
}

.payout-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.payout-criteria {
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.payout-note {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* EXAMPLE BOX */
.ambassador-example-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(0, 180, 216, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ambassador-example-box .example-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.ambassador-example-box .example-text {
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.ambassador-example-box .example-highlight {
  font-weight: 800;
  color: #34d399;
}

/* PERK PILLS */
.ambassador-perks-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.perk-pill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 0.85rem;
}

.perk-pill-card .perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.perk-pill-card h4 {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
}

.perk-pill-card p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* LEVEL TIERS GRID */
.ambassador-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tier-card {
  border-radius: 14px;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tier-card.bronze {
  border-top: 4px solid #cd7f32;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.08), rgba(255, 255, 255, 0.02));
}

.tier-card.silver {
  border-top: 4px solid #cbd5e1;
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.08), rgba(255, 255, 255, 0.02));
}

.tier-card.gold {
  border-top: 4px solid #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.02));
}

.tier-card.diamond {
  border-top: 4px solid #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.tier-header {
  margin-bottom: 0.75rem;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
}

.tier-followers {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.3px;
}

.tier-status {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-perks-list li {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.tier-perks-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
}

/* FAQ BOXES */
.ambassador-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ambassador-faq-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
}

.ambassador-faq-card h4 {
  color: #38bdf8;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.ambassador-faq-card p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* APPLICATION CTA FORM */
.ambassador-cta-box {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.ambassador-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
}

.ambassador-cta-box p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0 0 1.25rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ambassador-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto 1rem auto;
  text-align: left;
}

.ambassador-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: #ffffff;
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.ambassador-input:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.25);
}

.btn-ambassador-submit {
  background: linear-gradient(135deg, #00b4d8, #7c3aed);
  color: #ffffff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
}

.btn-ambassador-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

