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

/* --- DESIGN SYSTEM SYSTEM VARS --- */
:root {
  --bg-color: #060709;          /* Gotham Matte Night Black */
  --card-bg: #0D0F14;           /* Carbon Dark Grey */
  --card-bg-light: #161A22;     /* Tactical Light grey */
  --gold: #FFE600;              /* Classic Batman Yellow */
  --gold-hover: #E5C300;
  --light-gold: #FFF066;
  --gold-glow: rgba(255, 230, 0, 0.15);
  --text-primary: #F1F5F9;      /* Crisp slate white */
  --text-muted: #7E8B9B;        /* Steel/slate grey */
  --border-color: #1A1F29;      /* Tactical steel borders */
  --border-hover: #FFE600;
  --transition-speed: 0.25s;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 70px;
}

/* --- RESET & ROOT STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Tactical background pattern */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 230, 0, 0.015) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 230, 0, 0.01) 0%, transparent 40%),
    linear-gradient(rgba(26, 31, 41, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 31, 41, 0.1) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  background: transparent;
  border: none;
  color: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
}

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

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #1C2029;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- UTILITIES & LAYOUT --- */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.gold-text {
  color: var(--gold);
}

/* TACTICAL SHOPIFY BUTTONS */
.shopify-btn {
  background-color: var(--text-primary);
  color: #000;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--text-primary);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.shopify-btn:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 0 10px rgba(241, 245, 249, 0.1);
}

.shopify-btn-gold {
  background-color: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
}

.shopify-btn-gold:hover {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.shopify-btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.shopify-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.shopify-btn-secondary {
  background-color: var(--card-bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.shopify-btn-secondary:hover {
  background-color: #1F2531;
  border-color: var(--text-muted);
}

.shopify-btn-full {
  width: 100%;
  display: flex;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 3rem auto;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* BATMAN BRAND ICON */
.bat-icon {
  width: 22px;
  height: 12px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background-color: #020203;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.announcement-bar a {
  color: var(--gold);
  font-weight: 700;
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(6, 7, 9, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.logo .bat-icon {
  color: var(--gold);
  width: 26px;
  height: 15px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

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

.nav-action-icon {
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-speed);
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid transparent;
}

.nav-action-icon:hover {
  color: var(--gold);
  border-color: rgba(255, 230, 0, 0.2);
  background-color: rgba(255, 230, 0, 0.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 6px var(--gold);
}

.menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

/* --- TRUST BAR --- */
.trust-bar {
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  background-color: #0a0c10;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-icon {
  font-size: 1.1rem;
  color: var(--gold);
  width: 38px;
  height: 38px;
  background-color: rgba(255, 230, 0, 0.07);
  border: 1px solid rgba(255, 230, 0, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text-wrapper {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- PAGE TRANSITIONS --- */
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page.active {
  display: block;
  opacity: 1;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(6, 7, 9, 0.6), rgba(6, 7, 9, 0.95)), url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 600px;
}

.hero-pretitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--gold);
}

.hero-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* --- COLLECTION CARDS --- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.collection-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--card-bg);
}

.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.75;
}

.collection-card:hover .collection-img {
  transform: scale(1.06);
  opacity: 0.9;
}

.collection-info-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.95) 20%, rgba(6, 7, 9, 0.3) 60%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

.collection-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.collection-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.collection-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.collection-link::after {
  content: '\2192';
  transition: transform 0.25s ease;
}

.collection-card:hover .collection-link::after {
  transform: translateX(4px);
}

/* --- PRODUCT GRIDS & CARDS --- */
.shopify-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.shopify-product-card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.shopify-product-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.08);
}

.shopify-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  z-index: 2;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.shopify-product-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #08090d;
  overflow: hidden;
  cursor: pointer;
}

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

.shopify-product-card:hover .shopify-product-img {
  transform: scale(1.05);
}

.quick-shop-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 230, 0, 0.95);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  padding: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
}

.shopify-product-card:hover .quick-shop-btn {
  transform: translateY(0);
}

.shopify-product-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shopify-product-vendor {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.shopify-product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: color var(--transition-speed);
  line-height: 1.3;
}

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

.shopify-product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: auto;
}

/* --- STORY MANIFESTO BANNER --- */
.featured-banner {
  background-image: linear-gradient(rgba(6, 7, 9, 0.85), rgba(6, 7, 9, 0.95)), url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.featured-banner-content {
  max-width: 650px;
  padding: 0 1.5rem;
}

.featured-banner-pretitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: block;
}

.featured-banner-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 1.2;
}

/* --- BUNDLE BUILDER (GIFT PAGE) --- */
.bundle-builder-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}

.bundle-step-container {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
}

.bundle-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.bundle-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bundle-step-title span {
  width: 24px;
  height: 24px;
  background-color: var(--gold);
  color: #000;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-step-status {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #EF4444;
  font-weight: 700;
}

.bundle-step-status.complete {
  color: #10B981;
}

.bundle-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bundle-item-card {
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  user-select: none;
}

.bundle-item-card:hover {
  border-color: var(--text-muted);
}

.bundle-item-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.bundle-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background-color: #08090d;
  border-radius: 2px;
  flex-shrink: 0;
}

.bundle-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.bundle-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.bundle-item-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.bundle-item-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-item-card.selected .bundle-item-checkbox {
  background-color: var(--gold);
  border-color: var(--gold);
}

.bundle-item-card.selected .bundle-item-checkbox::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.6rem;
  color: #000;
}

.bundle-upsell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.bundle-upsell.selected {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.bundle-upsell-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bundle-upsell.selected .bundle-upsell-checkbox {
  background-color: var(--gold);
  border-color: var(--gold);
}

.bundle-upsell.selected .bundle-upsell-checkbox::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: #000;
}

/* Forms */
.bundle-form-group {
  margin-bottom: 1.2rem;
}

.bundle-form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.bundle-input, .bundle-textarea {
  width: 100%;
  background-color: #060709;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition-speed);
}

.bundle-input:focus, .bundle-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(255, 230, 0, 0.1);
}

.bundle-textarea {
  min-height: 80px;
  resize: vertical;
}

/* Bundle Summary Sidebar Panel */
.bundle-summary-panel {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.8rem;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row.total-row {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  border-bottom: none;
  padding-top: 1.2rem;
  text-transform: uppercase;
}

/* --- MONOGRAM CUSTOM STUDIO (STUDIO PAGE) --- */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 2.5rem;
  align-items: start;
}

.studio-controls {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.8rem;
}

.studio-step {
  margin-bottom: 2rem;
}

.studio-step-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.studio-name-input {
  width: 100%;
  background-color: #060709;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  transition: all var(--transition-speed);
}

.studio-name-input:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 230, 0, 0.1);
}

.studio-presets {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.studio-preset-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.studio-preset-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.studio-grid-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.studio-option-box {
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
}

.studio-font-pills {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-font-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.studio-font-pill:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.studio-font-pill.active {
  background-color: var(--gold);
  color: #000;
  font-weight: 700;
}

.studio-color-dots {
  display: flex;
  gap: 0.8rem;
  padding: 0.4rem 0;
}

.studio-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.studio-color-dot:hover {
  transform: scale(1.15);
}

.studio-color-dot.active {
  border-color: #fff;
  transform: scale(1.1);
}

.gold-emb { background-color: var(--gold); box-shadow: 0 0 6px var(--gold); }
.silver-emb { background-color: #C0C0C0; box-shadow: 0 0 6px #C0C0C0; }
.black-emb { background-color: #222; box-shadow: 0 0 6px #222; }
.white-emb { background-color: #fff; box-shadow: 0 0 6px #fff; }

.studio-item-selector {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.studio-item-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.studio-item-option.active {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.studio-item-option-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.studio-item-option-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background-color: #08090d;
  border-radius: 2px;
}

/* Studio Preview Panel Column */
.studio-preview {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.studio-preview-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.8rem;
  text-align: center;
}

.studio-preview-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #08090d;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embroidery-overlay {
  position: absolute;
  pointer-events: none;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

/* Font styles matching embroidery options */
.serif-style { font-family: 'Cinzel', Georgia, serif; font-weight: 700; }
.script-style { font-family: 'Brush Script MT', 'Cinzel', cursive; font-style: italic; font-weight: 400; }
.bold-style { font-family: var(--font-display); font-weight: 800; text-shadow: 2px 2px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000; }
.minimal-style { font-family: var(--font-body); font-weight: 300; letter-spacing: 0.2em; }

/* Embroidery positioning on garments */
.overlay-caps {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%);
  font-size: 1.8rem;
}

.overlay-hoodies {
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
}

.overlay-bracelets {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  color: #000 !important;
  text-shadow: none;
}

/* Embroidery thread colors */
.color-gold { color: var(--gold); }
.color-silver { color: #D2D7DF; }
.color-black { color: #1E2229; }
.color-white { color: #FFFFFF; }

/* --- QUICK SHOP MODAL (POPUP) --- */
.quickshop-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 7, 9, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
}

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

.quickshop-modal {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 850px;
  max-height: 80vh;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: modalSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.quickshop-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: all var(--transition-speed);
}

.quickshop-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.quickshop-img-col {
  background-color: #08090d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quickshop-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickshop-info-col {
  padding: 2.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.qs-vendor {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.qs-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.qs-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.qs-variants-container {
  margin-bottom: 1.8rem;
}

.qs-option-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.qs-variant-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qs-variant-pill {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg-light);
  cursor: pointer;
  transition: all var(--transition-speed);
  border-radius: 2px;
}

.qs-variant-pill:hover {
  border-color: var(--text-muted);
}

.qs-variant-pill.active {
  background-color: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.qs-accordion {
  margin-top: 1.8rem;
  border-top: 1px solid var(--border-color);
}

.qs-accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.qs-accordion-header {
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.qs-accordion-header i {
  font-size: 0.75rem;
  transition: transform var(--transition-speed);
}

.qs-accordion-item.active .qs-accordion-header i {
  transform: rotate(45deg);
}

.qs-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.qs-accordion-content p {
  padding-bottom: 0.8rem;
}

.qs-accordion-item.active .qs-accordion-content {
  max-height: 200px;
}

/* --- SHOPPING BAG / CART DRAWER --- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 7, 9, 0.85);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background-color: var(--card-bg);
  border-left: 1px solid var(--border-color);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-drawer-close {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
}

.cart-drawer-close:hover {
  color: var(--gold);
  border-color: rgba(255,230,0,0.2);
}

.shipping-bar-container {
  padding: 1rem 1.5rem;
  background-color: #0a0c10;
  border-bottom: 1px solid var(--border-color);
}

.shipping-bar-text {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.shipping-progress-bg {
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.shipping-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  transition: width 0.3s ease;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background-color: #08090d;
  border-radius: 2px;
  flex-shrink: 0;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  width: fit-content;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  user-select: none;
}

.qty-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255,255,255,0.03);
}

.qty-val {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  width: 24px;
  text-align: center;
}

.cart-item-remove {
  font-size: 0.75rem;
  color: #EF4444;
  cursor: pointer;
  margin-top: 0.5rem;
  width: fit-content;
}

.cart-item-remove:hover {
  text-decoration: underline;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: #0a0c10;
}

.cart-drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.cart-drawer-summary-row.total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
  margin-top: 0.6rem;
}

/* --- CHECKOUT SCREEN DRAWERS/MODALS --- */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  z-index: 1500;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.checkout-modal-backdrop.active {
  display: block;
  opacity: 1;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 100vh;
}

.checkout-main {
  padding: 3rem;
  max-width: 750px;
  margin-left: auto;
  width: 100%;
}

.checkout-sidebar {
  background-color: var(--card-bg);
  border-left: 1px solid var(--border-color);
  padding: 3rem 2rem;
}

.checkout-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.checkout-section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-col-span-2 {
  grid-column: span 2;
}

.checkout-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.payment-option:hover {
  border-color: var(--text-muted);
}

.payment-option.active {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.payment-radio {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-option.active .payment-radio {
  border-color: var(--gold);
  background-color: var(--gold);
}

.payment-option.active .payment-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
}

.checkout-sidebar .summary-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.checkout-success-view {
  display: none;
  max-width: 550px;
  margin: 4rem auto;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.checkout-success-view.active {
  display: block;
}

.success-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
  text-shadow: 0 0 15px var(--gold-glow);
}

/* --- FOOTER --- */
footer {
  background-color: #020305;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-newsletter {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  flex-grow: 1;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.footer-newsletter input::placeholder {
  color: var(--text-muted);
}

.footer-newsletter button {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0 0.5rem;
  transition: color var(--transition-speed);
}

.footer-newsletter button:hover {
  color: var(--gold);
}

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

.footer-payment {
  display: flex;
  gap: 0.8rem;
  font-size: 1.2rem;
}

/* --- MOBILE & RESPONSIVE BREAKPOINTS --- */

/* ========== TABLET LANDSCAPE (≤1200px) ========== */
@media (max-width: 1200px) {
  .shopify-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collection-card:last-child {
    grid-column: span 2;
    height: 280px;
  }
}

/* ========== TABLET PORTRAIT (≤992px) ========== */
@media (max-width: 992px) {
  :root {
    --header-height: 56px;
  }

  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }

  .section-subtitle {
    font-size: 0.82rem;
    margin-bottom: 2rem;
  }

  /* Hero — compact */
  .hero {
    height: 48vh;
  }

  .hero-pretitle {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
  }

  .hero-title {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }

  .hero-actions .shopify-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
  }

  /* Featured banner compact */
  .featured-banner {
    padding: 3.5rem 0;
  }

  .featured-banner-pretitle {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .featured-banner-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  /* Gifting Builder — sticky bottom bar */
  .bundle-builder-layout {
    grid-template-columns: 1fr;
    margin-bottom: 100px;
  }

  .bundle-summary-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    background-color: #0b0d12;
    border-top: 2px solid var(--gold);
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    top: auto;
  }

  .bundle-summary-panel .summary-title {
    display: none;
  }

  .bundle-summary-panel #bundle-summary-rows {
    display: none;
  }

  .bundle-summary-panel .summary-row.total-row {
    padding-top: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .bundle-summary-panel .summary-row.total-row span:first-child {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .bundle-summary-panel .summary-row.total-row span:last-child {
    font-size: 1.2rem;
  }

  .bundle-summary-panel .shopify-btn-full {
    width: auto;
    margin-top: 0 !important;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }

  .bundle-step-container {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .bundle-step-title {
    font-size: 1.1rem;
  }

  /* Studio — compact */
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .studio-preview {
    grid-row: 1;
    position: sticky;
    top: var(--header-height);
    z-index: 9;
    margin-bottom: 0.8rem;
  }

  .studio-preview-card {
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    background-color: #0b0d12;
    border-color: rgba(255, 230, 0, 0.2);
  }

  .studio-preview-visual {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .overlay-caps { font-size: 0.85rem; }
  .overlay-hoodies { font-size: 0.75rem; }
  .overlay-bracelets { font-size: 0.55rem; }

  .studio-preview-card h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.15rem;
  }
  .studio-preview-card p {
    font-size: 0.65rem !important;
  }

  .studio-controls {
    padding: 1.2rem;
  }

  .studio-step {
    margin-bottom: 1.4rem;
  }

  .studio-step-label {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
  }

  .studio-name-input {
    padding: 0.7rem;
    font-size: 1.1rem;
  }

  /* Quick shop modal compact */
  .quickshop-modal {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
    width: 95%;
  }

  .quickshop-img-col {
    aspect-ratio: 1.3 / 1;
  }

  .qs-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .qs-price {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  /* Checkout compact */
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
  }

  .checkout-main {
    padding: 1.5rem 1rem;
  }

  .checkout-section {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .checkout-section-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
  }

  /* Footer compact */
  footer {
    padding: 3rem 0 1.5rem 0;
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-col h4 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .footer-col p {
    font-size: 0.8rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    padding-top: 1.2rem;
    font-size: 0.7rem;
  }
}

/* ========== MOBILE (≤768px) ========== */
@media (max-width: 768px) {
  /* Navigation drawer */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 260px;
    height: calc(100vh - var(--header-height));
    background-color: #090a0f;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-links.active {
    transform: translateX(0);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  }

  .menu-toggle {
    display: flex;
  }

  /* Announcement bar compact */
  .announcement-bar {
    font-size: 0.65rem;
    padding: 0.35rem 0.8rem;
    letter-spacing: 0.1em;
    gap: 0.6rem;
  }

  /* Logo compact */
  .logo {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    gap: 0.3rem;
  }

  .logo .bat-icon {
    width: 20px;
    height: 11px;
  }

  /* Product grids */
  .shopify-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .shopify-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    top: 6px;
    left: 6px;
  }

  .shopify-product-info {
    padding: 0.7rem;
  }

  .shopify-product-vendor {
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
  }

  .shopify-product-title {
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
    line-height: 1.25;
  }

  .shopify-product-price {
    font-size: 0.9rem;
  }

  /* Quick shop button — always visible on mobile (no hover) */
  .quick-shop-btn {
    transform: translateY(0);
    font-size: 0.72rem;
    padding: 0.45rem;
  }

  /* Collection cards compact */
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .collection-card {
    height: 200px;
  }

  .collection-card:last-child {
    grid-column: span 1;
    height: 200px;
  }

  .collection-info-overlay {
    padding: 1.2rem;
  }

  .collection-title {
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
  }

  .collection-subtitle {
    font-size: 0.72rem;
    margin-bottom: 0.8rem;
  }

  .collection-link {
    font-size: 0.75rem;
  }

  /* Trust bar — compact scrollable */
  .trust-bar {
    padding: 0.6rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .trust-bar-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 0.8rem;
  }

  .trust-item {
    width: 190px;
    gap: 0.6rem;
  }

  .trust-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .trust-title {
    font-size: 0.68rem;
  }

  .trust-desc {
    font-size: 0.6rem;
  }

  /* Bundle builder compact */
  .bundle-step-header {
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
  }

  .bundle-step-title {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .bundle-step-title span {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }

  .bundle-step-status {
    font-size: 0.68rem;
  }

  .bundle-items-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .bundle-item-card {
    padding: 0.7rem;
    gap: 0.7rem;
  }

  .bundle-item-img {
    width: 50px;
    height: 50px;
  }

  .bundle-item-title {
    font-size: 0.78rem;
  }

  .bundle-item-price {
    font-size: 0.85rem;
  }

  .bundle-upsell {
    padding: 0.9rem;
  }

  /* Forms compact */
  .bundle-form-label {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .bundle-input, .bundle-textarea {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .bundle-textarea {
    min-height: 60px;
  }

  .bundle-form-group {
    margin-bottom: 0.9rem;
  }

  /* Studio compact */
  .studio-presets {
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .studio-preset-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.5rem;
  }

  .studio-grid-options {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .studio-option-box {
    padding: 0.8rem;
  }

  .studio-font-pill {
    font-size: 0.7rem;
    padding: 0.3rem;
  }

  .studio-color-dots {
    gap: 0.6rem;
  }

  .studio-color-dot {
    width: 20px;
    height: 20px;
  }

  .studio-item-option {
    padding: 0.6rem 0.8rem;
  }

  .studio-item-option-img {
    width: 36px;
    height: 36px;
  }

  /* Cart drawer compact */
  .cart-drawer {
    width: 100%;
  }

  .cart-drawer-header {
    padding: 1rem;
  }

  .cart-drawer-title {
    font-size: 1.1rem;
  }

  .shipping-bar-container {
    padding: 0.7rem 1rem;
  }

  .shipping-bar-text {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
  }

  .cart-drawer-items {
    padding: 1rem;
  }

  .cart-item {
    gap: 0.7rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .cart-item-img {
    width: 56px;
    height: 56px;
  }

  .cart-item-title {
    font-size: 0.78rem;
    margin-bottom: 0.1rem;
  }

  .cart-item-meta {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
  }

  .cart-item-price {
    font-size: 0.85rem;
  }

  .cart-drawer-footer {
    padding: 1rem;
  }

  .cart-drawer-summary-row {
    font-size: 0.78rem;
    padding: 0.3rem 0;
  }

  .cart-drawer-summary-row.total {
    font-size: 1.05rem;
    padding-top: 0.6rem;
    margin-top: 0.4rem;
  }

  /* Quick shop modal compact */
  .quickshop-info-col {
    padding: 1.2rem;
  }

  .qs-vendor {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .qs-title {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }

  .qs-price {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }

  .qs-option-label {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }

  .qs-variant-pill {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }

  .qs-accordion {
    margin-top: 1.2rem;
  }

  .qs-accordion-header {
    font-size: 0.78rem;
    padding: 0.6rem 0;
  }

  .qs-accordion-content {
    font-size: 0.72rem;
  }

  /* Checkout compact */
  .checkout-main h2 {
    font-size: 1.2rem !important;
    margin-bottom: 1.2rem !important;
  }

  .payment-option {
    padding: 0.7rem;
    gap: 0.7rem;
  }

  .payment-radio {
    width: 16px;
    height: 16px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .checkout-col-span-2 {
    grid-column: span 1;
  }

  /* Footer compact */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-col:first-child {
    grid-column: span 2;
  }

  .footer-col h4 {
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  .footer-col p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .footer-newsletter {
    max-width: 300px;
    margin-top: 0.7rem;
  }

  .footer-newsletter input {
    font-size: 0.78rem;
  }

  /* Buttons — compact for mobile */
  .shopify-btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .shopify-btn-full {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  /* About page compact */
  #about-page .container {
    padding: 0 1rem !important;
  }

  #about-page h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  #about-page .gold-text {
    font-size: 0.78rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1rem !important;
  }

  #about-page div[style*="font-size: 1rem"] {
    font-size: 0.85rem !important;
    gap: 1.2rem !important;
    line-height: 1.65 !important;
  }

  #about-page p[style*="font-size: 1.5rem"] {
    font-size: 1.15rem !important;
    padding: 1.2rem 0 !important;
  }
}

/* ========== SMALL MOBILE (≤480px) ========== */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .section-padding {
    padding: 2rem 0;
  }

  /* Hero ultra-compact */
  .hero {
    height: 42vh;
  }

  .hero-pretitle {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .hero-pretitle .bat-icon {
    width: 16px;
    height: 9px;
  }

  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: 0.78rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-actions .shopify-btn {
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }

  /* Section headers */
  .section-title {
    font-size: 1.45rem;
    letter-spacing: 0.03em;
  }

  .section-subtitle {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  /* Collection cards smaller */
  .collection-card {
    height: 180px;
  }

  .collection-card:last-child {
    height: 180px;
  }

  .collection-info-overlay {
    padding: 1rem;
  }

  .collection-title {
    font-size: 1rem;
  }

  .collection-subtitle {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
  }

  .collection-link {
    font-size: 0.7rem;
  }

  /* Product grid ultra-compact */
  .shopify-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .shopify-product-info {
    padding: 0.55rem;
  }

  .shopify-product-vendor {
    font-size: 0.6rem;
    margin-bottom: 0.1rem;
  }

  .shopify-product-title {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
  }

  .shopify-product-price {
    font-size: 0.82rem;
  }

  .shopify-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
    top: 4px;
    left: 4px;
  }

  /* Featured banner compact */
  .featured-banner {
    padding: 2.5rem 0;
  }

  .featured-banner-content {
    padding: 0 1rem;
  }

  .featured-banner-pretitle {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.4rem;
  }

  .featured-banner-title {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
    line-height: 1.25;
  }

  .featured-banner-content p {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.2rem !important;
  }

  /* Bundle builder ultra-compact */
  .bundle-builder-layout {
    margin-bottom: 85px;
  }

  .bundle-step-container {
    padding: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .bundle-step-header {
    padding-bottom: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .bundle-step-title {
    font-size: 0.9rem;
  }

  .bundle-item-card {
    padding: 0.55rem;
    gap: 0.5rem;
  }

  .bundle-item-img {
    width: 44px;
    height: 44px;
  }

  .bundle-item-title {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .bundle-item-price {
    font-size: 0.78rem;
  }

  .bundle-item-checkbox {
    width: 15px;
    height: 15px;
    top: 6px;
    right: 6px;
  }

  .bundle-upsell {
    padding: 0.7rem;
  }

  .bundle-upsell h4 {
    font-size: 0.78rem !important;
  }

  .bundle-upsell p {
    font-size: 0.65rem !important;
  }

  .bundle-upsell-checkbox {
    width: 17px;
    height: 17px;
  }

  .bundle-summary-panel {
    padding: 0.6rem 1rem;
  }

  .bundle-summary-panel .summary-row.total-row span:last-child {
    font-size: 1.05rem;
  }

  .bundle-summary-panel .shopify-btn-full {
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
  }

  /* Studio ultra-compact */
  .studio-preview-visual {
    width: 60px;
    height: 60px;
  }

  .studio-preview-card h3 {
    font-size: 0.82rem !important;
  }

  .studio-preview-card p {
    font-size: 0.6rem !important;
  }

  .studio-name-input {
    padding: 0.6rem;
    font-size: 0.95rem;
  }

  .studio-item-option {
    padding: 0.5rem 0.65rem;
  }

  .studio-item-option h4 {
    font-size: 0.75rem !important;
  }

  .studio-item-option span {
    font-size: 0.65rem !important;
  }

  .studio-item-option-img {
    width: 32px;
    height: 32px;
  }

  /* Cart drawer ultra-compact */
  .cart-drawer-header {
    padding: 0.8rem;
  }

  .cart-drawer-title {
    font-size: 0.95rem;
  }

  .cart-drawer-items {
    padding: 0.8rem;
  }

  .cart-item-img {
    width: 48px;
    height: 48px;
  }

  .cart-item-title {
    font-size: 0.72rem;
  }

  .cart-item-meta {
    font-size: 0.62rem;
  }

  .cart-item-price {
    font-size: 0.78rem;
  }

  .cart-drawer-footer {
    padding: 0.8rem;
  }

  .cart-drawer-summary-row {
    font-size: 0.72rem;
  }

  .cart-drawer-summary-row.total {
    font-size: 0.95rem;
  }

  /* Quick shop ultra-compact */
  .quickshop-modal {
    width: 98%;
    max-height: 90vh;
  }

  .quickshop-img-col {
    aspect-ratio: 1.4 / 1;
  }

  .quickshop-close {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    top: 8px;
    right: 8px;
  }

  .quickshop-info-col {
    padding: 1rem;
  }

  .qs-title {
    font-size: 1rem;
  }

  .qs-price {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
  }

  /* Checkout ultra-compact */
  .checkout-main {
    padding: 1.2rem 0.75rem;
  }

  .checkout-main h2 {
    font-size: 1.05rem !important;
    margin-bottom: 1rem !important;
  }

  .checkout-section {
    padding: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .checkout-section-title {
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
  }

  .checkout-sidebar {
    padding: 1.2rem 0.75rem;
  }

  .checkout-sidebar .summary-title {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.7rem !important;
  }

  .checkout-success-view {
    margin: 2rem auto;
    padding: 2rem 1.2rem;
  }

  .checkout-success-view h2 {
    font-size: 1.5rem !important;
  }

  .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  /* Footer ultra-compact */
  footer {
    padding: 2.5rem 0 1.2rem 0;
  }

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

  .footer-col:first-child {
    grid-column: span 1;
  }

  .footer-col h4 {
    margin-bottom: 0.6rem;
    font-size: 0.78rem;
  }

  .footer-links {
    gap: 0.4rem;
  }

  .footer-links a {
    font-size: 0.72rem;
  }

  .footer-col p {
    font-size: 0.72rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.62rem;
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-payment {
    font-size: 1rem;
    gap: 0.6rem;
  }

  /* About page ultra-compact */
  #about-page h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1.2rem !important;
  }

  #about-page div[style*="font-size: 1rem"] {
    font-size: 0.78rem !important;
    gap: 1rem !important;
  }

  #about-page p[style*="font-size: 1.5rem"] {
    font-size: 1rem !important;
    padding: 1rem 0 !important;
  }
}

/* ========== ULTRA-SMALL MOBILE (≤360px) ========== */
@media (max-width: 360px) {
  .hero {
    height: 38vh;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.72rem;
  }

  .hero-actions .shopify-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
  }

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

  .section-subtitle {
    font-size: 0.7rem;
  }

  .announcement-bar {
    font-size: 0.58rem;
    gap: 0.4rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .shopify-product-title {
    font-size: 0.65rem;
  }

  .shopify-product-price {
    font-size: 0.75rem;
  }

  .featured-banner-title {
    font-size: 1.25rem;
  }

  .bundle-step-title {
    font-size: 0.82rem;
  }

  .cart-drawer-title {
    font-size: 0.88rem;
  }
}
