/* ==========================================================================
   LUDEC™ — Apple-Inspired Dark Luxury Streetwear Design System
   Pure obsidian black, hairline glass surfaces, high-contrast typography.
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --surface: #111114;
  --surface-2: #18181d;
  --surface-glass: rgba(18, 18, 22, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --muted: #6e6e73;
  --white: #ffffff;
  --black: #000000;
  --success: #30d158;
  --warn: #ffd60a;
  --danger: #ff453a;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.hidden { display: none !important; }
.muted { color: var(--text-secondary); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-root {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 420px);
  pointer-events: none;
}

.toast {
  background: rgba(24, 24, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastIn 0.28s var(--ease);
}

.toast.success::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.toast.error::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex-shrink: 0;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Announcement Bar & Frosted Navbar
   ========================================================================== */
.announcement-bar {
  background: #0d0d10;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--white);
}

.brand-wordmark .tm {
  font-size: 9px;
  letter-spacing: 0;
  vertical-align: super;
  opacity: 0.65;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
}

.bag-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.bag-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.bag-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bag-btn:hover .bag-count {
  background: var(--black);
  color: var(--white);
}

.search-bar-wrap {
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 10, 0.96);
}

.search-bar-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--white);
}

.btn-clear-search {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
}

.btn-clear-search:hover {
  color: var(--white);
}

/* ==========================================================================
   Buttons & Typography
   ========================================================================== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  height: 50px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: #e5e5ea;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-color: var(--border-strong);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-danger-ghost {
  background: rgba(255, 69, 58, 0.1);
  color: #ff6961;
  border-color: rgba(255, 69, 58, 0.25);
}

.btn-danger-ghost:hover {
  background: rgba(255, 69, 58, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg-glow {
  position: absolute;
  inset: -20% 0 auto;
  height: 620px;
  background: radial-gradient(ellipse 65% 55% at 62% 20%, rgba(255, 255, 255, 0.08), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 12px;
  color: var(--muted);
}

.metric-sep {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d10;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  max-height: 620px;
  margin-left: auto;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease);
}

.hero-frame:hover img {
  transform: scale(1.03);
}

.hero-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.84) 100%);
  pointer-events: none;
}

.hero-tag-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(12, 12, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.8);
  flex-shrink: 0;
}

/* ==========================================================================
   Sections & Featured Strip
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--white);
}

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

.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
}

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

.featured-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.featured-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.featured-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}

/* ==========================================================================
   Catalog Toolbar & Product Grid
   ========================================================================== */
.section-catalog {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #050507 0%, #000000 100%);
}

.catalog-meta {
  font-size: 13px;
  color: var(--muted);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.pill:hover {
  border-color: var(--border-strong);
  color: var(--white);
}

.pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}

.select-minimal {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.25s ease, box-shadow 0.32s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}

.pc-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #121216;
  overflow: hidden;
}

.pc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}

.pc-media img.secondary {
  opacity: 0;
}

.product-card:hover .pc-media img.primary {
  transform: scale(1.04);
}

.product-card:hover .pc-media img.secondary {
  opacity: 1;
  transform: scale(1.04);
}

.pc-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.pc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.pc-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.pc-badge.soldout {
  background: rgba(255, 69, 58, 0.85);
  border-color: transparent;
}

.pc-quick-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}

.product-card:hover .pc-quick-bar {
  opacity: 1;
  transform: translateY(0);
}

.quick-size-btn {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.quick-size-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.pc-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pc-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pc-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--white);
}

.pc-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pc-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.pc-compare {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.stock-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--success);
}

.stock-chip.low { color: var(--warn); }
.stock-chip.out { color: var(--danger); }

.empty-state {
  text-align: center;
  padding: 64px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.empty-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.empty-sub { color: var(--text-secondary); margin: 0 0 20px; }

/* ==========================================================================
   Editorial & Local Store Info
   ========================================================================== */
.editorial-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.editorial-media {
  position: relative;
  min-height: 440px;
  background: #111;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.editorial-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  line-height: 1.08;
}

.editorial-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 480px;
}

.editorial-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.pillar strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.pillar span {
  font-size: 13px;
  color: var(--text-secondary);
}

.editorial-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-local {
  border-top: 1px solid var(--border);
}

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

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.info-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.info-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.info-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
}

.info-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ==========================================================================
   Footer & Secret Trigger
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
  background: #030304;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-secret-trigger {
  background: transparent;
  border: none;
  padding: 0;
  cursor: default;
  opacity: 0.9;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

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

.floating-admin-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
}

.floating-admin-pill:hover {
  background: var(--white);
  color: var(--black);
}

.admin-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-sheet {
  position: relative;
  width: 100%;
  background: #0e0e11;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
  animation: modalPop 0.26s var(--ease);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close.static {
  position: static;
}

.modal-close:hover {
  background: var(--white);
  color: var(--black);
}

/* Product Modal */
.product-modal-sheet {
  max-width: 980px;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pm-gallery {
  background: #08080a;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border);
}

.pm-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #141418;
}

.pm-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}

.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

.pm-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.pm-thumb {
  width: 62px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #18181d;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.pm-thumb.active, .pm-thumb:hover {
  opacity: 1;
  border-color: var(--white);
}

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

.pm-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 36px;
}

.pm-meta-top .eyebrow { margin: 0; }

.pm-source-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(48, 209, 88, 0.12);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.28);
}

.pm-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

.pm-subtitle {
  margin: -6px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pm-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pm-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.pm-compare {
  font-size: 17px;
  color: var(--muted);
  text-decoration: line-through;
}

.pm-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.pm-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pm-fit-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-pill {
  min-width: 44px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.opt-pill:hover {
  border-color: var(--border-strong);
}

.opt-pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.pm-buy-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  height: 44px;
  padding: 0 4px;
}

.qty-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--white);
}

.qty-stepper button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================================================
   Shopping Bag Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: min(100vw, 430px);
  height: 100%;
  background: #0c0c0f;
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  animation: slideLeft 0.28s var(--ease);
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
}

.shipping-progress {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.shipping-progress p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--white);
  border-radius: 99px;
  transition: width 0.35s var(--ease);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bag-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bag-item-img {
  width: 74px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  background: #18181d;
}

.bag-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bag-item-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.bag-item-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.bag-item-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 28px;
}

.mini-qty button {
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  font-size: 14px;
}

.mini-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
}

.btn-remove-item:hover { color: var(--danger); }

.drawer-foot {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--border);
  background: #0a0a0c;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.summary-line.total {
  font-size: 18px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}

.summary-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ==========================================================================
   Checkout Modal & Forms
   ========================================================================== */
.checkout-sheet {
  max-width: 940px;
  padding: 32px;
}

.checkout-head {
  margin-bottom: 24px;
}

.checkout-head h2, .checkout-head h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.form-section {
  margin-bottom: 22px;
}

.form-section h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.field input, .field textarea, .field select {
  width: 100%;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(255, 255, 255, 0.45);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
}

.seg-btn {
  height: 36px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.seg-btn.active {
  background: var(--white);
  color: var(--black);
}

.info-callout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
}

.info-callout p { margin: 4px 0 0; color: var(--text-secondary); }

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #131317;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-option:hover { border-color: var(--border-strong); }

.pay-option.selected {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.pay-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--white);
}

.pay-option strong {
  display: block;
  font-size: 14px;
  color: var(--white);
}

.pay-option span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.order-summary-card {
  background: #131317;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 16px;
}

.order-summary-card h4 {
  margin: 0 0 14px;
  font-size: 15px;
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.co-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.co-item-row span { color: var(--text-secondary); }

.co-totals {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-bottom: 16px;
}

.co-secure-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 0;
}

/* Order Success */
.checkout-success {
  text-align: center;
  padding: 18px 8px;
  max-width: 580px;
  margin: 0 auto;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.16);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.success-code {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 6px 0 22px;
}

.success-code strong {
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.success-box {
  text-align: left;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
}

.success-box .copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.success-box .copy-row:last-child { border-bottom: none; }

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Hidden Admin Login & Full Admin Studio
   ========================================================================== */
.admin-login-sheet {
  max-width: 400px;
  padding: 32px;
}

.admin-login-head {
  text-align: center;
  margin-bottom: 22px;
}

.admin-login-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.admin-login-head h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 22px;
}

.admin-login-head p { font-size: 13px; margin: 0; }

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin: 0 0 12px;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #060608;
  display: flex;
  flex-direction: column;
}

.admin-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.admin-topbar {
  padding: 12px 24px;
  background: #0d0d11;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}

.admin-inv-status {
  display: block;
  font-size: 11.5px;
  color: var(--success);
}

.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-tab {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-tab:hover { color: var(--white); }

.admin-tab.active {
  background: var(--white);
  color: var(--black);
}

.badge-count {
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.14);
}

.admin-tab.active .badge-count {
  background: rgba(0, 0, 0, 0.15);
}

.admin-top-actions {
  display: flex;
  gap: 8px;
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 64px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.admin-section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-section-bar h3 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-section-bar p {
  margin: 0;
  font-size: 13px;
}

.tag-ro {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(48, 209, 88, 0.14);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.inline-search input {
  background: #141418;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  min-width: 240px;
  outline: none;
}

.admin-inline-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-divider {
  height: 1px;
  background: var(--border);
  margin: 34px 0;
}

.admin-table-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.admin-prod-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-prod-thumb {
  width: 66px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  background: #1c1c22;
  flex-shrink: 0;
}

.admin-prod-body {
  flex: 1;
  min-width: 0;
}

.admin-prod-body strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-prod-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 8px;
}

.admin-prod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.status-pill.on {
  background: rgba(48, 209, 88, 0.14);
  color: var(--success);
}

/* Apple-style Toggle Switch */
.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.switch-row input { display: none; }

.switch-ui {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: #2c2c32;
  transition: background 0.22s ease;
  flex-shrink: 0;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.22s var(--ease);
}

.switch-row input:checked + .switch-ui {
  background: var(--success);
}

.switch-row input:checked + .switch-ui::after {
  transform: translateX(20px);
}

.admin-form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.admin-card h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 17px;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card-head h4 { margin: 0 0 4px; }
.admin-card-head p { margin: 0; font-size: 13px; }

.upload-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.upload-inline-btns {
  display: flex;
  gap: 8px;
}

.qr-preview-wrap {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.qr-preview-wrap img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.admin-save-bar {
  position: sticky;
  bottom: 0;
  padding: 14px 0 4px;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0) 0%, #060608 35%);
}

/* Admin Orders */
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.kpi-card span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.kpi-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 4px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.order-items-mini {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin: 10px 0;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Admin Product Editor Modal */
.admin-editor-sheet {
  max-width: 760px;
  padding: 28px;
}

.ape-switches {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #15151a;
  border: 1px solid var(--border);
}

.ape-photos-section {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #141418;
  border: 1px solid var(--border);
}

.ape-photos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ape-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.ape-photo-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #1d1d24;
  border: 1px solid var(--border);
}

.ape-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ape-photo-tile .tile-controls {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.tile-btn {
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.tile-btn.del { background: rgba(255, 69, 58, 0.85); }

.ape-footer-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding: 36px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-frame { max-height: 480px; margin: 0 auto; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { aspect-ratio: 4 / 4.2; }
  .editorial-card { grid-template-columns: 1fr; }
  .editorial-media { min-height: 320px; }
  .editorial-body { padding: 32px 24px; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-gallery { border-right: none; border-bottom: 1px solid var(--border); }
  .checkout-grid { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .bag-label { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-info { padding: 12px; }
  .pc-title { font-size: 14px; }
  .pc-quick-bar { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .checkout-sheet, .admin-editor-sheet { padding: 20px; }
  .pm-details { padding: 20px; }
  .section { padding: 56px 0; }
}
