/* ==========================================================================
   UPRUMM APPAREL — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Streetwear Print Culture, Space Grotesk + DM Sans, Lime Accents
   ========================================================================== */

:root {
  --paper: #f7f4ef;
  --paper-card: #f0ece3;
  --ink: #171815;
  --ink-secondary: #242522;
  --muted: #72746a;
  --lime: #d7f45b;
  --lime-hover: #e5ff75;
  --line: #dedbd3;
  --line-dark: #3a3b35;
  --white: #ffffff;
  --green: #257838;
  --green-light: #e6f6eb;
  --red: #c53030;
  --red-light: #fbeae9;
  --blue: #1c5fd1;
  --blue-light: #ebf3ff;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.18);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

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

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

/* ==========================================================================
   ANNOUNCEMENT & SITE HEADER
   ========================================================================== */

.announcement {
  background: var(--ink);
  color: var(--white);
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-highlight {
  color: var(--lime);
}

.announcement-tag {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
}

.site-header {
  height: 78px;
  padding: 0 6.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(15px);
  z-index: 30;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.09em;
  line-height: 1;
}

.wordmark span {
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 4px;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-link {
  transition: opacity 0.2s;
  padding: 6px 0;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-link-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
  transition: opacity 0.2s;
}

.nav-link-btn:hover {
  opacity: 0.6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.search-open .icon {
  font-size: 22px;
  line-height: 1;
}

.user-btn {
  gap: 8px;
}

.user-avatar-badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
}

.admin-pill-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: var(--transition);
}

.admin-pill-btn.visible {
  display: inline-flex;
}

.admin-pill-btn:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.admin-bolt {
  color: var(--lime);
}

.admin-pill-btn:hover .admin-bolt {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow.green {
  color: var(--green);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ab300;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: var(--radius-sm);
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}

.button-dark:hover {
  background: #2e302b;
}

.button-outline {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
}

.button-light:hover {
  background: var(--lime-hover);
}

.text-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-tag.green {
  background: var(--green);
}

.badge-tag.lime {
  background: var(--lime);
  color: var(--ink);
}

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

.hero {
  min-height: 600px;
  padding: 60px 9% 60px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 7%;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.98;
  font-size: clamp(48px, 6vw, 84px);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: #8c9769;
}

.hero-description {
  max-width: 400px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-note strong {
  color: var(--ink);
}

.avatar-stack {
  display: flex;
}

.avatar-stack b {
  width: 28px;
  height: 28px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  margin-left: -6px;
}

.avatar-stack b:first-child {
  margin-left: 0;
  background: #e9c1a2;
}

.avatar-stack b:last-child {
  background: #d9d7ef;
}

.hero-art {
  position: relative;
  max-width: 580px;
  width: 100%;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-full-image-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-full-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.12));
}

/* Sample Showcase Section */
.sample-showcase-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-showcase-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sample-intro .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  color: #92400e;
  background: #fef3c7;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.dot-gold {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
}

.sample-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
}

.sample-intro h2 em {
  font-style: normal;
  color: #8c9769;
}

.sample-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.sample-specs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.spec-icon {
  font-size: 18px;
  color: var(--ink);
  line-height: 1;
  margin-top: 2px;
}

.spec-row strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}

.spec-row p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.sample-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sample-full-frame {
  background: #0b0c0e;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-full-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px -15px rgba(0, 0, 0, 0.45);
}

.sample-frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #121417;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #eab308;
  text-transform: uppercase;
}

.sf-res {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.06em;
}

.sample-frame-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sample-frame-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sample-frame-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #121417;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d1d5db;
}

/* Lightbox Modal */
.sample-lightbox-modal {
  border: 0;
  border-radius: 16px;
  background: #0b0c0e;
  color: #fff;
  max-width: 900px;
  width: 94%;
  padding: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  outline: none;
}

.sample-lightbox-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 60px;
}

.lightbox-header h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 4px;
}

.lightbox-header p {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.lightbox-image-box {
  width: 100%;
  max-height: 75vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-image-box img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.hero-sticker {
  position: absolute;
  z-index: 2;
  left: -28px;
  top: 36px;
  background: var(--lime);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
}

.hero-sticker span {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 16px;
}

.scribble {
  position: absolute;
  right: -24px;
  bottom: 40px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.05;
  font-weight: 600;
  transform: rotate(-7deg);
  background: rgba(247, 244, 239, 0.9);
  padding: 4px 8px;
}

/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
  background: var(--lime);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ticker-inner {
  display: inline-flex;
  min-width: max-content;
  animation: marquee 24s linear infinite;
}

.ticker span {
  padding: 0 30px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   CUSTOM STUDIO PROMO SECTION
   ========================================================================== */

.section-pad {
  padding-left: 9%;
  padding-right: 9%;
}

.custom-promo-section {
  padding-top: 80px;
  padding-bottom: 40px;
}

.custom-promo-card {
  background: var(--ink-secondary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.promo-content h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 16px 0 18px;
}

.promo-content h2 em {
  font-style: normal;
  color: var(--lime);
}

.promo-content p {
  color: #b7b8af;
  font-size: 13px;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 24px;
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 12px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-icon {
  color: var(--lime);
}

.promo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tshirt-canvas-preview {
  position: relative;
  background: #2f302b;
  border: 1px solid #43453e;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.tee-base {
  position: relative;
  display: inline-block;
  width: 220px;
  height: 220px;
}

.tee-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.tee-logo-placeholder {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--lime);
  color: var(--ink);
  padding: 6px 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 11px;
  border-radius: 2px;
  text-align: center;
}

.logo-sub {
  display: block;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.preview-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-top: 16px;
  font-weight: 700;
}

/* ==========================================================================
   CATALOG / SHOP SECTION
   ========================================================================== */

.shop-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.section-heading h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.075em;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1;
}

.accent {
  color: #9bb52b;
}

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

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

.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}

.filter.active,
.filter:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.sort-wrapper select {
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.product-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  aspect-ratio: 0.82;
  background: #e7e4dd;
  overflow: hidden;
  cursor: pointer;
}

.product-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-image .logo-overlay {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  pointer-events: none;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image .logo-overlay img,
.preview-canvas .logo-overlay img,
.logo-overlay img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 2px;
}

.quick-add {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 12px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(12px);
  opacity: 0;
  transition: var(--transition);
  text-align: center;
  border-radius: 2px;
}

.product-card:hover .quick-add,
.quick-add:focus {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.product-name:hover {
  text-decoration: underline;
}

.product-price {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.product-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 10px;
}

.swatches {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  padding: 0;
  transition: var(--transition);
}

.swatch.selected {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.center-action {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   COLLECTIONS BAND & VALUES
   ========================================================================== */

.collection-band {
  background: #20221e;
  color: var(--white);
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.collection-copy .eyebrow {
  color: var(--lime);
}

.collection-copy h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.collection-copy p:not(.eyebrow) {
  color: #b5b6ad;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.9;
  margin: 22px 0 28px;
}

.collection-visual {
  position: relative;
  height: 360px;
  max-width: 440px;
  justify-self: end;
  width: 100%;
  background: #d4d1c8;
}

.collection-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}

.circle-stamp {
  position: absolute;
  z-index: 2;
  top: -24px;
  left: -24px;
  width: 88px;
  height: 88px;
  border: 1px solid var(--ink);
  background: var(--lime);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 0.9;
  transform: rotate(-10deg);
}

.circle-stamp span {
  font-family: var(--body);
  font-size: 7px;
  letter-spacing: 0.08em;
  margin: 4px 0;
}

.vertical-label {
  position: absolute;
  right: -24px;
  bottom: 25px;
  writing-mode: vertical-rl;
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--lime);
  padding: 6px 3px;
}

.values {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.values h2 {
  font-family: var(--display);
  font-size: clamp(36px, 3.8vw, 50px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.values h2 em {
  color: #929c72;
}

.value-card {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.value-icon {
  font-size: 24px;
  color: #8ea92b;
}

.value-card h3 {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.03em;
  margin: 18px 0 10px;
}

.value-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   NEWSLETTER & FOOTER
   ========================================================================== */

.newsletter {
  background: #e9e7df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 70px;
  flex-wrap: wrap;
}

.newsletter h2 {
  font-family: var(--display);
  font-size: clamp(40px, 4.5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.newsletter form {
  width: min(440px, 100%);
}

.newsletter label {
  font-size: 12px;
  display: block;
  margin-bottom: 14px;
}

.email-field {
  display: flex;
  border-bottom: 1px solid var(--ink);
}

.email-field input {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 14px 0;
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.email-field button {
  background: var(--ink);
  color: var(--white);
  border: 0;
  width: 44px;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.email-field button:hover {
  background: #333;
}

.newsletter small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 10px;
}

.site-footer {
  padding: 50px 6.2% 30px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   FOOTER CONTACT SECTION
   ========================================================================== */

.footer-contact-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.fcs-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.fcs-header .eyebrow {
  margin-bottom: 4px;
}

.fcs-header h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}

.fcs-availability {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

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

.fcs-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  text-align: left;
}

.fcs-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--paper-card);
  box-shadow: var(--shadow-sm);
}

.fcs-icon {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.fcs-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.fcs-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.fcs-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcs-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.fcs-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}

.fcs-card:hover .fcs-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.fcs-btn-card {
  border: 1px dashed var(--ink);
  background: transparent;
  width: 100%;
}

.fcs-btn-card:hover {
  background: var(--paper-card);
  border-style: solid;
}

/* Contact Modal */
.contact-modal {
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  max-width: 600px;
  width: 92%;
  padding: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.contact-modal::backdrop {
  background: rgba(18, 19, 16, 0.6);
  backdrop-filter: blur(4px);
}

.contact-modal-box {
  position: relative;
  padding: 36px 32px;
}

.cm-header {
  margin-bottom: 24px;
}

.cm-header h2 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 6px 0 10px;
}

.cm-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cm-target-note {
  font-size: 11px;
  color: var(--muted);
}

.cm-target-note strong {
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2.6fr auto;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
  margin-top: 12px;
}

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

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.fl-col strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 4px;
}

.fl-col a,
.fl-col button {
  color: var(--muted);
  text-align: left;
  transition: color 0.2s;
  padding: 2px 0;
}

.fl-col a:hover,
.fl-col button:hover {
  color: var(--ink);
}

.socials {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.socials a {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.socials a:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(247, 244, 239, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 50;
  padding-left: 8px;
  padding-right: 8px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  min-height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--ink);
}

.mob-icon {
  font-size: 18px;
  line-height: 1;
}

.mob-cart-badge-wrap {
  position: relative;
  display: inline-block;
}

.mob-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  width: 18px;
  height: 18px;
  font-size: 9px;
}

/* ==========================================================================
   OVERLAYS, DRAWERS & MODALS (COMMON)
   ========================================================================== */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 13, 0.5);
  backdrop-filter: blur(4px);
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  max-width: 900px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  margin: auto;
}

dialog::backdrop {
  background: rgba(15, 16, 13, 0.65);
  backdrop-filter: blur(4px);
}

.modal-close,
.close-drawer {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
  touch-action: manipulation;
}

.modal-close:hover,
.close-drawer:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   SHOPPING BAG / CART DRAWER
   ========================================================================== */

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(460px, 100%);
  background: var(--paper);
  z-index: 75;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 28px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

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

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

.drawer-header h2 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.06em;
}

.free-shipping-meter {
  background: var(--paper-card);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 16px 0 12px;
  border: 1px solid var(--line);
}

.meter-text {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.meter-track {
  height: 6px;
  background: #e1ded6;
  border-radius: 3px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 3px;
  transition: width 0.3s;
}

.pincode-checker-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pincode-checker-box input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 12px;
  background: transparent;
}

.pincode-checker-box button {
  background: var(--ink);
  color: var(--white);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pincode-status {
  width: 100%;
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
}

.cart-items {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-line img {
  width: 78px;
  height: 94px;
  object-fit: cover;
  background: #e7e4dd;
  border-radius: 2px;
}

.cart-line h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-line p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  user-select: none;
}

.qty-controls button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: var(--ink);
  transition: all 0.15s ease;
  line-height: 1;
}

.qty-controls button:hover {
  background: var(--paper-light);
  color: var(--black);
}

.qty-controls button:active {
  transform: scale(0.92);
}

.qty-controls span {
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  color: var(--ink);
}

.line-price {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  margin-bottom: 8px;
}

.remove-item {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 4px;
  transition: all 0.15s ease;
  line-height: 1;
}

.remove-item:hover {
  color: var(--red);
  background: rgba(239, 68, 68, 0.08);
}

.remove-item:active {
  transform: scale(0.92);
}

.cart-empty {
  margin: auto;
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 38px;
  display: block;
  margin-bottom: 14px;
}

.cart-empty h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
}

.cart-empty p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 24px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  background: var(--paper);
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.subtotal-row,
.shipping-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.subtotal-row strong {
  font-size: 16px;
}

.tax-note {
  font-size: 10px;
  color: var(--muted);
}

.cart-footer .checkout-button {
  width: 100%;
  margin-bottom: 12px;
}

.payment-badges-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   CHECKOUT MODAL & MULTI-STEP FLOW
   ========================================================================== */

.checkout-modal {
  max-width: 780px;
  padding: 36px;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.checkout-header h2 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.06em;
}

.checkout-steps-bar {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  background: var(--paper-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.step-indicator {
  flex: 1;
  padding: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.step-indicator:last-child {
  border-right: 0;
}

.step-indicator.active {
  background: var(--ink);
  color: var(--white);
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.checkout-step-panel {
  display: none;
}

.checkout-step-panel.active {
  display: block;
}

.form-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-section-title h3 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: 0;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-group small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.step-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.shipping-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.shipping-option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.shipping-option-card:hover,
.shipping-option-card.selected {
  border-color: var(--ink);
  background: var(--paper-card);
}

.soc-info {
  flex: 1;
}

.soc-info strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.soc-info p {
  font-size: 11px;
  color: var(--muted);
}

.soc-price {
  font-size: 14px;
  font-weight: 700;
}

.delivery-pincode-preview {
  font-size: 11px;
  color: var(--muted);
  background: var(--paper-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.delivery-pincode-preview span {
  color: var(--ink);
  font-weight: 600;
}

.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.payment-method-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.payment-method-card:hover,
.payment-method-card.selected {
  border-color: var(--ink);
  background: var(--paper-card);
}

.pm-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.pm-info p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.pm-logos {
  display: flex;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pm-logos span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
}

.checkout-order-summary {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.checkout-order-summary h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.cos-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.cos-line.total {
  font-size: 15px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ==========================================================================
   RAZORPAY BRANDED SIMULATOR MODAL
   ========================================================================== */

.payment-simulator-modal {
  max-width: 480px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.rzp-container {
  background: #ffffff;
}

.rzp-header {
  background: #0b1e38;
  color: var(--white);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.rzp-logo-badge {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.rzp-brand h4 {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.2;
}

.rzp-desc {
  font-size: 10px;
  color: #94a3b8;
}

.rzp-amount-badge {
  text-align: right;
}

.rzp-curr {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.rzp-amount-badge strong {
  font-size: 20px;
  color: var(--lime);
}

.rzp-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.rzp-tab {
  flex: 1;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 2px solid transparent;
}

.rzp-tab.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: #ffffff;
}

.rzp-tab-body {
  padding: 24px;
}

.rzp-panel {
  display: none;
}

.rzp-panel.active {
  display: block;
}

.upi-qr-box {
  text-align: center;
}

.mock-qr-code {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  padding: 12px;
}

.qr-pattern {
  width: 100%;
  height: 100%;
  position: relative;
  background-image:
    radial-gradient(#1e293b 2px, transparent 2px),
    radial-gradient(#1e293b 2px, #f1f5f9 2px);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  display: grid;
  place-items: center;
}

.qr-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 4px solid #0f172a;
}

.qr-corner.tl {
  top: 0;
  left: 0;
}

.qr-corner.tr {
  top: 0;
  right: 0;
}

.qr-corner.bl {
  bottom: 0;
  left: 0;
}

.qr-center-logo {
  width: 28px;
  height: 28px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
  border-radius: 4px;
}

.upi-qr-box p {
  font-size: 11px;
  color: #64748b;
}

.rzp-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.rzp-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #e2e8f0;
}

.rzp-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.upi-id-input-group {
  display: flex;
  gap: 8px;
}

.upi-id-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.upi-id-input-group button {
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bank-btn {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.bank-btn.selected,
.bank-btn:hover {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.rzp-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rzp-complete-btn {
  background: #10b981;
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.rzp-complete-btn:hover {
  background: #059669;
}

.rzp-cancel-btn {
  color: #94a3b8;
  font-size: 11px;
  padding: 6px;
}

.rzp-cancel-btn:hover {
  color: #ef4444;
}

.rzp-trust-badge {
  text-align: center;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ==========================================================================
   ORDER SUCCESS DIALOG
   ========================================================================== */

.order-success-modal {
  max-width: 580px;
  padding: 40px;
  text-align: center;
}

.osm-celebration {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 12px;
}

.osm-content h2 {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.06em;
  margin: 10px 0 8px;
}

.osm-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.osm-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.osm-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.osm-row code {
  background: var(--white);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: monospace;
}

.osm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ORDER TRACKING & STATUS STEPPER
   ========================================================================== */

.order-tracking-modal {
  max-width: 820px;
  padding: 36px;
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.tracking-header h2 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.06em;
}

.tracking-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.tracking-search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.tracking-search-bar button {
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tracking-order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 14px;
}

.tracking-order-summary h3 {
  font-family: var(--display);
  font-size: 20px;
}

.tracking-order-summary p {
  font-size: 12px;
  color: var(--muted);
}

.tr-badge-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 5-Step Order Status Stepper */
.tracking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 30px 0 40px;
  padding: 0 10px;
}

.step-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
  width: 90px;
}

.point-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2dfd7;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  border: 2px solid var(--paper);
  transition: var(--transition);
}

.point-info strong {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.point-info small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.step-point.done .point-circle {
  background: var(--ink);
  color: var(--lime);
}

.step-point.active .point-circle {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(215, 244, 91, 0.4);
}

.step-line {
  flex: 1;
  height: 3px;
  background: #e2dfd7;
  margin: -24px 6px 0;
  z-index: 1;
}

.step-line.done {
  background: var(--ink);
}

.step-line.active {
  background: linear-gradient(to right, var(--ink), var(--lime));
}

.shipment-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.sm-card {
  background: var(--paper-card);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.sm-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.sm-card p {
  font-size: 12px;
}

.highlight-text {
  color: var(--green);
  font-weight: 700;
}

.tr-items-box {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 24px;
}

.tr-items-box h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tr-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tr-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tr-footer-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   GST TAX INVOICE MODAL
   ========================================================================== */

.invoice-modal {
  max-width: 850px;
  padding: 0;
}

.invoice-toolbar {
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invoice-toolbar .modal-close {
  color: var(--white);
}

.invoice-paper {
  padding: 40px;
  background: #ffffff;
  color: #171815;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.inv-brand {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.inv-tagline {
  font-weight: 700;
  font-size: 11px;
  margin: 6px 0 4px;
}

.inv-addr {
  font-size: 10px;
  color: #64748b;
  line-height: 1.5;
}

.inv-meta {
  text-align: right;
}

.inv-meta h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.inv-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 8px;
}

.inv-meta p {
  font-size: 11px;
  margin: 2px 0;
}

.inv-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0;
}

.inv-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
  font-size: 11px;
}

.inv-addresses strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 11px;
}

.inv-table th {
  background: #f8fafc;
  padding: 10px 12px;
  text-align: left;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  font-weight: 700;
}

.inv-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.inv-calc-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 28px;
}

.inv-notes {
  font-size: 10px;
  color: #64748b;
  line-height: 1.6;
}

.inv-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}

.it-row {
  display: flex;
  justify-content: space-between;
}

.it-row.total {
  font-size: 14px;
  border-top: 2px solid #0f172a;
  padding-top: 8px;
  margin-top: 4px;
}

.inv-footer {
  text-align: center;
  font-size: 9px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

/* ==========================================================================
   CUSTOMER AUTH & PROFILE MODAL
   ========================================================================== */

.auth-modal {
  max-width: 580px;
  padding: 36px;
  transition: max-width 0.2s ease, width 0.2s ease;
}

.auth-modal.studio-mode {
  max-width: 1040px;
  width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 32px;
}

.cust-studio-account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.site-studio-card.in-modal {
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.auth-header h2 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.06em;
}

.auth-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.auth-tab:hover {
  color: var(--ink);
}

.auth-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.auth-tab-panel {
  display: none;
}

.auth-tab-panel.active {
  display: block;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 12px;
}

.demo-login-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.demo-login-box p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.demo-login-btn {
  width: 100%;
}

.auth-tab.admin-tab {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.auth-tab.admin-tab:hover,
.auth-tab.admin-tab.active {
  color: var(--ink);
  font-weight: 700;
}

.auth-tab.admin-tab .admin-bolt {
  color: #8ab300;
}

.admin-login-banner {
  background: var(--ink);
  color: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-login-badge-icon {
  background: var(--lime);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.admin-login-banner strong {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

.admin-login-banner p {
  font-size: 11px;
  color: #a1a399;
  margin: 4px 0 0;
  line-height: 1.4;
}

.admin-switch-banner {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.admin-switch-banner .text-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.admin-demo-btn {
  border-color: var(--ink);
  font-weight: 700;
}

.admin-manager-card {
  background: var(--ink);
  color: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border-left: 4px solid var(--lime);
}

.amc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.amc-header strong {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.admin-manager-card p {
  font-size: 11px;
  color: #a1a399;
  line-height: 1.5;
  margin-bottom: 14px;
}

.admin-manager-card .button {
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.admin-manager-card .button:hover {
  background: var(--lime-hover);
}


.profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper-card);
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.profile-avatar {
  width: 50px;
  height: 50px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.profile-hero h3 {
  font-family: var(--display);
  font-size: 18px;
}

.profile-hero p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.prof-block {
  margin-bottom: 24px;
}

.prof-block-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.prof-block-title h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-count-badge {
  font-size: 10px;
  background: var(--paper-card);
  padding: 2px 8px;
  border-radius: 12px;
}

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

.prof-order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.poc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.poc-items {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.poc-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.saved-address-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12px;
}

.saved-address-card strong {
  display: block;
  margin-bottom: 4px;
}

.saved-address-card p {
  color: var(--muted);
  margin-bottom: 2px;
}

/* ==========================================================================
   CUSTOMER ACCOUNT CUSTOM UPLOADS STUDIO
   ========================================================================== */

.prof-block-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
  text-transform: none;
}

.cust-upload-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.cust-upload-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}

.cust-mockup-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cust-tee-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1efe9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cust-tee-canvas>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* View Toggle Bar (Front / Back) */
.cust-view-toggle-bar {
  display: flex;
  gap: 6px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cust-view-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cust-view-btn:hover {
  color: var(--ink);
}

.cust-view-btn.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.cust-canvas-hint {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  display: block;
}

/* Interactive Overlay with Drag & Drop */
.cust-logo-overlay {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, top 0.2s ease, left 0.2s ease;
  z-index: 10;
  outline: 1.5px dashed rgba(255, 255, 255, 0.75);
  border-radius: 4px;
}

.cust-logo-overlay:hover {
  outline-color: var(--lime);
}

.cust-logo-overlay.dragging {
  cursor: grabbing !important;
  transition: none !important;
  outline-color: #10b981;
}

.cust-logo-overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

#cust-tee-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  filter: none !important;
}

/* Ghost placeholder (guide before upload) */
.cust-ghost-placeholder {
  width: 100%;
  height: 100%;
  border: 1.5px dashed var(--ink);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--ink);
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cgp-icon {
  font-size: 16px;
  line-height: 1;
}

.cgp-text {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.cgp-sub {
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* Print Placement Row & Preset Chips */
.cust-placement-row {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.cust-placement-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: baseline;
}

.cust-placement-current {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
}

.cust-placement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.cust-place-btn {
  padding: 7px 12px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cust-place-btn:hover {
  border-color: var(--ink);
  background: var(--paper-card);
}

.cust-place-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Fine-Tune Position Nudge & Size Panel */
.cust-nudge-panel {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 16px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cust-nudge-col label,
.cust-scale-col label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.cust-dpad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.dpad-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dpad-btn {
  width: 30px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.15s;
}

.dpad-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.dpad-center {
  width: 62px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.cust-scale-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cust-scale-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.cust-scale-header strong {
  font-size: 11px;
  color: var(--ink);
}

.cust-scale-chips {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.cust-scale-btn {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.cust-scale-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cust-scale-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.cust-range-slider {
  width: 100%;
  accent-color: var(--ink);
  cursor: pointer;
}

.cust-range-legend {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .cust-nudge-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.cust-canvas-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
}

.cust-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cust-file-drop {
  position: relative;
  overflow: hidden;
  border: 1px dashed var(--ink);
  background: var(--paper-light);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cust-file-drop input[type="file"] {
  display: none !important;
  pointer-events: none !important;
}

.cust-file-drop:hover {
  background: var(--paper-card);
  border-style: solid;
}

.cust-upload-icon {
  font-size: 24px;
  line-height: 1;
}

.cust-file-drop strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
}

.cust-file-drop p {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}

.cust-form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cust-form-row label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  min-width: 120px;
}

.cust-color-options,
.cust-size-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cust-color-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cust-color-chip:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.cust-color-chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cust-size-chip {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cust-size-chip.active,
.cust-size-chip:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.cust-select {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.cust-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.cust-price-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cust-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.cust-mrp {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.cust-price-info small {
  display: block;
  width: 100%;
  font-size: 10px;
  color: var(--muted);
}

.cust-saved-uploads {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.cust-saved-uploads h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cust-saved-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.cust-saved-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: var(--paper-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-saved-thumb {
  width: 100%;
  height: 90px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cust-saved-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cust-saved-meta {
  font-size: 10px;
  color: var(--muted);
}

.cust-saved-meta strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

/* Custom Studio On-Page Website Section */
.custom-studio-section {
  background: #fbfaf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.site-studio-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.site-studio-grid {
  grid-template-columns: 380px 1fr !important;
  gap: 40px !important;
}

.studio-status-badge {
  display: flex;
  align-items: center;
}

.prof-studio-launch-box {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prof-studio-launch-box p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .site-studio-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .site-studio-card {
    padding: 20px;
  }
}

.prof-footer-actions {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   ADMIN STUDIO MANAGEMENT VIEW (STANDALONE FULL-PAGE SUITE)
   ========================================================================== */

.admin-management-view {
  min-height: 100vh;
  width: 100vw;
  background: #f3f0ea;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
}

.admin-preview-banner {
  background: var(--ink);
  color: var(--white);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--lime);
  font-size: 11px;
}

.admin-preview-banner .apb-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-preview-banner .apb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-preview-banner .apb-btn {
  min-height: 32px;
  padding: 0 14px;
  font-size: 10px;
  gap: 8px;
}

/* Admin Mobile Sidebar Drawer Elements (Hidden on Desktop) */
.admin-sidebar-overlay {
  display: none;
}

.admin-sidebar-close-btn {
  display: none;
}

.admin-mobile-menu-btn {
  display: none;
}

.admin-mobile-quick-nav {
  display: none;
}

/* Admin Responsive Action & Title Elements (Desktop defaults) */
.adm-btn-short {
  display: none;
}

.adm-btn-full {
  display: inline;
}

.adm-btn-text {
  display: inline;
}

.adm-mobile-badge {
  display: none;
}

.adm-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: 100vh;
  width: 100%;
}

.admin-sidebar {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  border-right: 1px solid var(--line-dark);
  height: 100vh;
}

.admin-sidebar-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 20px;
}

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

.admin-icon {
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.admin-brand h3 {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.1;
}

.admin-brand span {
  font-size: 9px;
  color: #9ca3af;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-nav-item.active {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.admin-sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.admin-exit-btn {
  width: 100%;
  color: var(--white);
  border-color: #4b5563;
  font-size: 10px;
}

.admin-exit-btn:hover {
  background: var(--white);
  color: var(--ink);
}

.admin-main {
  background: #f3f0ea;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--white);
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-top-title h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.05em;
}

.adm-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-panel {
  display: none;
  padding: 28px 32px;
  flex: 1;
}

.admin-panel.active {
  display: block;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.kpi-value.warning {
  color: #ea580c;
}

.kpi-trend {
  font-size: 10px;
  color: var(--muted);
}

.kpi-trend.green {
  color: var(--green);
  font-weight: 700;
}

.kpi-trend.red {
  color: var(--red);
  font-weight: 700;
}

.adm-split-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.adm-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.adm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.adm-card-head h4 {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.table-responsive {
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.adm-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}

.adm-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.adm-table tr:hover td {
  background: #fafaf9;
}

.adm-table-thumb {
  width: 40px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  background: #e7e4dd;
}

/* Admin Catalog & Custom Products Toolbar */
.adm-cat-pill {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--ink);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.adm-cat-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.adm-cat-pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.adm-cat-pill .pill-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

.adm-cat-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.studio-quick-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sql-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.sql-item strong {
  display: block;
  font-size: 12px;
}

.sql-item p {
  font-size: 10px;
  color: var(--muted);
}

/* Stock Matrix Controls */
.stock-adjust-btn {
  width: 22px;
  height: 22px;
  background: #e2e8f0;
  border-radius: 2px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}

.stock-adjust-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.stock-val {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.stock-val.low {
  color: var(--red);
}

.action-pill {
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.action-pill.edit {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.action-pill.delete {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  margin-left: 4px;
}

.action-pill.advance {
  background: var(--ink);
  color: var(--lime);
}

/* Settings Form */
.settings-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.settings-section h5 {
  font-family: var(--display);
  font-size: 15px;
  margin-bottom: 14px;
}

/* ==========================================================================
   PRODUCT EDITOR MODAL (PHOTO & LOGO UPLOAD + PREVIEW)
   ========================================================================== */

.product-editor-modal {
  max-width: 940px;
  padding: 36px;
}

.pem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.pem-header h2 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.06em;
}

.pem-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

.size-stock-inputs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ss-item {
  background: var(--paper-card);
  padding: 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--line);
}

.ss-item span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ss-item input {
  width: 100%;
  text-align: center;
  padding: 6px 2px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
}

.upload-box {
  margin-bottom: 20px;
}

.upload-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.upload-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.upload-mode-tab {
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}

.upload-mode-tab:hover {
  color: var(--ink);
}

.upload-mode-tab.active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.url-upload-panel {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: var(--transition);
}

.url-upload-panel:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.url-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.url-input-icon {
  font-size: 14px;
  flex-shrink: 0;
  user-select: none;
}

.pem-url-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  font-size: 11px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.pem-url-input:focus {
  background: #ffffff;
  border-color: var(--ink);
}

.pem-apply-url-btn {
  height: 36px;
  padding: 0 12px !important;
  font-size: 11px !important;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 4px;
  cursor: pointer;
}

.url-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  gap: 8px;
}

.url-status-msg {
  color: var(--muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-status-msg.status-success {
  color: #16a34a;
  font-weight: 700;
}

.url-status-msg.status-error {
  color: #dc2626;
  font-weight: 700;
}

.url-clear-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.upload-label {
  display: block;
  margin-bottom: 8px;
}

.upload-label strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.upload-label span {
  font-size: 10px;
  color: var(--muted);
}

.file-drop-area {
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.file-drop-area:hover {
  border-color: var(--ink);
  background: #fafaf9;
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.drop-message {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.upload-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}

.drop-message p {
  font-size: 11px;
  font-weight: 700;
}

.drop-message small {
  font-size: 9px;
  color: var(--muted);
}

.preset-images-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}

.preset-img-btn,
.preset-logo-btn {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-img-btn:hover,
.preset-logo-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.live-preview-box {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.preview-headline {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: center;
}

.preview-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 0.85;
  background: #e7e4dd;
  overflow: hidden;
  border-radius: 2px;
}

.preview-canvas>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-overlay {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-overlay img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.drop-thumb-preview {
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  text-align: left;
}

.drop-thumb-preview img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.drop-thumb-preview .dt-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.drop-thumb-preview .dt-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drop-thumb-preview .dt-status {
  font-size: 10px;
  color: #16a34a;
  font-weight: 700;
}

.pem-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   PRODUCT DETAILS MODAL
   ========================================================================== */

.product-modal {
  max-width: 860px;
  overflow: hidden;
  position: relative;
}

.product-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
}

.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.modal-product-layout>img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  background: #e5e2dc;
}

.modal-product-copy {
  padding: 50px 36px 36px;
  display: flex;
  flex-direction: column;
}

.modal-product-copy h2 {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.06em;
  margin: 6px 0 10px;
}

.modal-price {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.modal-product-copy p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.size-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 10px 0 8px;
  display: flex;
  justify-content: space-between;
}

.size-options {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.size-option {
  width: 44px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  transition: var(--transition);
}

.size-option.selected,
.size-option:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.size-option.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.stock-indicator {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}

.stock-indicator.low {
  color: #ea580c;
}

.modal-add {
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */

.search-modal {
  max-width: 620px;
  padding: 40px;
  position: relative;
}

.search-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

.search-form input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 26px;
  outline: 0;
  margin-bottom: 20px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.search-result img {
  width: 48px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
}

.search-result strong {
  display: block;
  font-size: 13px;
}

.search-result span {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   GLOBAL TOAST
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 70;
  transition: transform 0.25s, opacity 0.25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST POLISH)
   ========================================================================== */

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adm-split-grid {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* Prevent auto-zooming on input focus in iOS Safari */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .site-header {
    height: 60px;
    padding: 0 16px;
    z-index: 40;
  }

  .wordmark {
    font-size: 26px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    touch-action: manipulation;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    padding: 18px 20px 24px;
    background: rgba(247, 244, 239, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    z-index: 99;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-link,
  .main-nav .nav-link-btn {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header-actions {
    margin-left: auto;
    margin-right: 8px;
    gap: 6px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-name-text,
  .bag-label {
    display: none;
  }

  .admin-pill-btn {
    display: none;
  }

  .section-pad {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero Section Mobile */
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 16px 36px;
    gap: 24px;
    min-height: auto;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(32px, 9.5vw, 48px);
    letter-spacing: -0.06em;
    line-height: 1.02;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 11px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 6px;
  }

  .hero-note {
    margin-top: 20px;
    gap: 10px;
  }

  .hero-art {
    justify-self: center;
    max-width: min(340px, 86vw);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-full-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 340px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-full-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.12));
  }

  /* Shop / Catalog Section */
  .shop-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.05;
  }

  .shop-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 6px;
    width: 100%;
    gap: 8px;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    touch-action: manipulation;
  }

  .sort-wrapper select {
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 6px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .product-card {
    min-width: 0;
  }

  .product-image {
    aspect-ratio: 0.85;
    border-radius: 8px;
    overflow: hidden;
  }

  .product-badge {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 8px;
    border-radius: 3px;
  }

  .quick-add {
    opacity: 1;
    transform: none;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 8px 4px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 4px;
    background: rgba(23, 24, 21, 0.95);
    color: #fff;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .product-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
  }

  .product-price {
    font-size: 12px;
    font-weight: 800;
  }

  .product-subtitle {
    font-size: 10px;
    margin: 2px 0 6px;
  }

  .center-action {
    margin-top: 24px;
  }

  .center-action .button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-content: center;
  }

  /* Member Custom Studio Section */
  .custom-studio-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .cust-upload-card {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .cust-upload-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cust-mockup-panel {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }

  .cust-view-toggle-bar {
    width: 100%;
  }

  .cust-view-btn {
    flex: 1;
    min-height: 38px;
    font-size: 11px;
    border-radius: 6px;
  }

  .cust-tee-canvas {
    aspect-ratio: 1 / 1;
    max-width: 340px;
    border-radius: 10px;
  }

  .cust-file-drop {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cust-file-drop .cust-upload-icon {
    font-size: 28px;
    margin: 0 auto;
  }

  .cust-file-drop button {
    width: 100%;
    min-height: 38px;
    justify-content: center;
  }

  .cust-sample-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .cust-sample-row button {
    width: 100%;
    justify-content: center;
  }

  .cust-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cust-form-row label {
    min-width: 0;
    font-size: 11px;
  }

  .cust-color-options {
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .cust-color-chip {
    flex: 1;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 6px;
  }

  .cust-size-options {
    gap: 6px;
  }

  .cust-size-chip {
    width: 38px;
    height: 38px;
    font-size: 12px;
    border-radius: 6px;
  }

  .cust-placement-chips {
    gap: 6px;
  }

  .cust-place-btn {
    padding: 7px 10px;
    font-size: 10px;
    border-radius: 6px;
  }

  .cust-nudge-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .cust-dpad .dpad-btn {
    width: 34px;
    height: 32px;
    font-size: 12px;
  }

  .cust-dpad .dpad-center {
    width: 68px;
    font-size: 9px;
  }

  .cust-scale-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .cust-scale-btn {
    flex: 1;
    min-width: 65px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .cust-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px;
  }

  .cust-action-row .button {
    width: 100%;
    min-height: 46px;
    font-size: 13px;
    justify-content: center;
    border-radius: 6px;
  }

  /* Collections Banner */
  .collection-band {
    grid-template-columns: 1fr;
    padding: 36px 16px;
    gap: 24px;
    min-height: auto;
  }

  .collection-copy h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .collection-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.7;
    margin: 14px 0 20px;
  }

  .collection-visual {
    justify-self: center;
    max-width: 280px;
    height: 260px;
    width: 100%;
    margin: 0 auto;
  }

  .circle-stamp {
    top: -10px;
    left: -8px;
    width: 68px;
    height: 68px;
    font-size: 16px;
  }

  .vertical-label {
    right: 0;
    bottom: 10px;
    font-size: 7px;
  }

  /* Values Section */
  .values {
    grid-template-columns: 1fr;
    padding: 36px 16px;
    gap: 16px;
  }

  .values-intro h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .value-card {
    padding: 18px 16px;
    background: var(--paper-card);
    border-radius: 8px;
    border: 1px solid var(--line);
  }

  /* Newsletter Section */
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 16px;
    gap: 18px;
  }

  .newsletter h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .newsletter form {
    width: 100%;
  }

  /* Footer & Contact */
  .footer-contact-section {
    padding-top: 36px;
  }

  .fcs-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fcs-card {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 16px 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 16px calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Cart Drawer Mobile */
  .cart-drawer {
    width: 100%;
    height: 100dvh;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 75;
  }

  .cart-line {
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    padding: 12px 0;
  }

  .cart-line img {
    width: 64px;
    height: 78px;
  }

  .cart-line h4 {
    font-size: 12px;
  }

  .cart-footer {
    padding-top: 14px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .cart-footer .checkout-button {
    width: 100%;
    min-height: 48px;
    font-size: 13px;
    border-radius: 8px;
  }

  /* Dialogs and Modals Mobile */
  dialog {
    width: calc(100% - 16px);
    border-radius: 12px;
    margin: auto 8px;
    max-height: 92dvh;
    padding: 0;
  }

  .checkout-modal,
  .auth-modal,
  .order-tracking-modal,
  .order-success-modal,
  .contact-modal-box,
  .search-modal {
    padding: 20px 14px;
  }

  .modal-close,
  .close-drawer {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .checkout-header h2,
  .auth-header h2,
  .tracking-header h2,
  .cm-header h2 {
    font-size: 22px;
  }

  .checkout-steps-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
    display: flex;
    gap: 4px;
  }

  .checkout-steps-bar::-webkit-scrollbar {
    display: none;
  }

  .step-indicator {
    padding: 8px 6px;
    font-size: 10px;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .step-num {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkout-step-panel .checkout-actions {
    flex-direction: column;
    gap: 8px;
  }

  .checkout-step-panel .checkout-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .tracking-search-bar {
    flex-direction: column;
    gap: 8px;
  }

  .tracking-search-bar button {
    width: 100%;
    min-height: 44px;
  }

  .tracking-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step-line {
    width: 3px;
    height: 16px;
    margin: 0 0 0 17px;
  }

  .step-point {
    flex-direction: row;
    width: 100%;
    text-align: left;
    gap: 12px;
  }

  .shipment-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .auth-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    display: flex;
  }

  .auth-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .auth-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 11px;
  }

  .profile-hero {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
  }

  .poc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .poc-actions {
    flex-direction: column;
    width: 100%;
  }

  .poc-actions .button {
    width: 100%;
    text-align: center;
  }

  .modal-product-layout {
    grid-template-columns: 1fr;
  }

  .modal-product-layout>div>img {
    height: 260px;
    object-fit: contain;
    background: #e5e2dc;
  }

  .modal-product-copy {
    padding: 18px 14px;
  }

  .modal-product-copy h2 {
    font-size: 22px;
  }

  .size-options {
    gap: 6px;
    flex-wrap: wrap;
  }

  .size-option {
    width: 40px;
    height: 38px;
    font-size: 11px;
  }

  .search-form input {
    font-size: 18px;
    padding: 8px 0;
  }

  .cm-quick-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .cm-quick-actions a {
    width: 100%;
    text-align: center;
  }

  .cm-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cm-footer button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .invoice-paper {
    padding: 16px 12px;
  }

  .inv-header {
    flex-direction: column;
    gap: 14px;
  }

  .inv-meta {
    text-align: left;
  }

  .inv-addresses {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .inv-calc-section {
    grid-template-columns: 1fr;
  }

  .toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 28px);
    max-width: 380px;
    text-align: center;
    padding: 11px 16px;
    font-size: 11px;
  }

  .admin-dashboard-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  /* ==========================================================================
     ADMIN SECTION - HIGH-END MOBILE APP EXPERIENCE
     ========================================================================== */

  .admin-wrapper {
    grid-template-columns: 1fr;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: #f8fafc;
  }

  .admin-main {
    background: #f8fafc;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }

  /* 1. Mobile App Topbar */
  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .admin-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    touch-action: manipulation;
    flex-shrink: 0;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  }

  .admin-mobile-menu-btn:active {
    transform: scale(0.94);
    background: #000000;
  }

  .admin-mobile-menu-btn .adm-burger-icon {
    font-size: 14px;
    color: var(--lime);
    line-height: 1;
    font-weight: 900;
  }

  .admin-mobile-menu-btn .adm-menu-label {
    letter-spacing: 0.02em;
  }

  .admin-top-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
    margin: 0 4px;
  }

  .adm-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .admin-top-title h2 {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.1;
  }

  .adm-mobile-badge {
    display: inline-flex !important;
    align-items: center;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
  }

  .adm-subtitle {
    display: none;
  }

  .admin-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin: 0;
    width: auto;
  }

  .adm-btn-short {
    display: inline !important;
  }

  .adm-btn-full {
    display: none !important;
  }

  .adm-btn-text {
    display: none !important;
  }

  .adm-action-add {
    background: #0f172a !important;
    color: var(--lime) !important;
    border: 1px solid rgba(163, 230, 53, 0.35) !important;
    border-radius: 999px !important;
    padding: 0 12px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    touch-action: manipulation;
  }

  .adm-action-add:active {
    transform: scale(0.94);
  }

  .adm-action-icon {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    touch-action: manipulation;
  }

  .adm-action-icon:active {
    background: #f1f5f9 !important;
    transform: scale(0.92);
  }

  /* 2. Sticky Horizontal Quick Navigation Pills Bar */
  .admin-mobile-quick-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 8px 12px;
    gap: 8px;
    position: sticky;
    top: 56px;
    z-index: 95;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  }

  .admin-mobile-quick-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-quick-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .admin-quick-pill:active {
    transform: scale(0.95);
  }

  .admin-quick-pill.active {
    background: #0f172a;
    color: var(--lime);
    border-color: #0f172a;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
  }

  /* 3. Off-Canvas Left Sidebar Drawer */
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(310px, 86vw);
    height: 100dvh;
    z-index: 1200;
    background: #09090b;
    color: var(--white);
    display: flex !important;
    flex-direction: column;
    padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 16px 0 50px rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .admin-icon {
    width: 36px;
    height: 36px;
    background: var(--lime);
    color: #09090b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 0 16px rgba(163, 230, 53, 0.35);
  }

  .admin-brand h3 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .admin-brand span {
    font-size: 9px;
    color: #94a3b8;
    letter-spacing: 0.08em;
  }

  .admin-sidebar-close-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.15s ease, transform 0.15s ease;
  }

  .admin-sidebar-close-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.92);
  }

  .admin-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .admin-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .admin-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
  }

  .admin-nav-item {
    padding: 12px 14px;
    min-height: 46px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    touch-action: manipulation;
  }

  .admin-nav-item:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .admin-nav-item.active {
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    color: #09090b;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(163, 230, 53, 0.25);
    transform: translateX(2px);
  }

  .admin-sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .admin-exit-btn {
    min-height: 42px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: rgba(255, 255, 255, 0.2);
    touch-action: manipulation;
  }

  /* 4. Panels & Cards on Mobile */
  .admin-panel {
    padding: 16px 14px;
    flex: 1;
  }

  /* KPI Grid */
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .kpi-card {
    background: #ffffff;
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease;
  }

  .kpi-card:active {
    transform: scale(0.98);
  }

  .kpi-card:nth-child(1) {
    border-top: 3px solid #10b981;
  }

  .kpi-card:nth-child(2) {
    border-top: 3px solid #3b82f6;
  }

  .kpi-card:nth-child(3) {
    border-top: 3px solid #8b5cf6;
  }

  .kpi-card:nth-child(4) {
    border-top: 3px solid #f59e0b;
  }

  .kpi-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 4px;
  }

  .kpi-value {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 2px;
  }

  .kpi-trend {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
  }

  .kpi-trend.green {
    color: #059669;
    font-weight: 700;
  }

  .kpi-trend.red {
    color: #dc2626;
    font-weight: 700;
  }

  /* Admin Cards */
  .adm-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
  }

  .adm-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }

  .adm-card-head h4 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
  }

  .adm-card-head p.text-muted {
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
    margin: 2px 0 0;
  }

  .orders-filter-row {
    width: 100%;
    margin-top: 4px;
  }

  .orders-filter-row select {
    width: 100%;
    min-height: 38px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
  }

  /* 5. Mobile Tables - Scroll Helper & Sticky First Column */
  .table-responsive {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  }

  .table-responsive::before {
    content: "⇄ Swipe horizontally to see full details";
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
  }

  .adm-table {
    min-width: 500px;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
  }

  #adm-orders-table {
    min-width: 780px !important;
  }

  #adm-stock-table {
    min-width: 740px !important;
  }

  #adm-customers .adm-table {
    min-width: 680px !important;
  }

  .adm-table th {
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
  }

  .adm-table td {
    padding: 10px 12px;
    white-space: nowrap;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
  }

  /* Sticky First Column on Mobile Tables (applied to orders & stock, excluded on products card table) */
  .adm-table:not(#adm-products-table) th:first-child,
  .adm-table:not(#adm-products-table) td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06);
    border-right: 1px solid #e2e8f0;
  }

  .adm-table:not(#adm-products-table) th:first-child {
    background: #f8fafc;
    z-index: 3;
  }

  .adm-table:not(#adm-products-table) tr:hover td:first-child {
    background: #fafaf9;
  }

  /* Inline Stock Steppers in Stock Matrix */
  .adm-stock-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
  }

  .stock-val.editable {
    cursor: pointer;
    border-bottom: 1px dashed #94a3b8;
    padding: 0 4px;
    border-radius: 2px;
    transition: background 0.15s ease;
  }

  .stock-val.editable:hover {
    background: #e2e8f0;
  }

  .action-pill.awb {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
  }
  .action-pill.awb:hover {
    background: #0f172a;
    color: var(--lime);
  }
  .action-pill.del-order {
    color: #ef4444;
    border: 1px solid #fecaca;
    background: #fff5f5;
  }
  .action-pill.del-order:hover {
    background: #ef4444;
    color: #ffffff;
  }

  /* ==========================================================================
     CATALOG & CUSTOM PRODUCTS - MOBILE RESPONSIVE CARD VIEW
     ========================================================================== */
  #adm-products .adm-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }

  #adm-products .adm-card-head {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #adm-products .adm-head-actions {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  #adm-products .adm-head-actions button {
    flex: 1 1 calc(50% - 4px) !important;
    min-height: 38px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  /* Mobile Toolbar: Pill Carousel + Full-Width Search */
  #adm-products .adm-prod-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
  }

  #adm-products .adm-prod-pills {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding-bottom: 2px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  #adm-products .adm-prod-pills::-webkit-scrollbar {
    display: none !important;
  }

  #adm-products .adm-cat-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 11px !important;
    font-size: 11px !important;
    border-radius: 16px !important;
  }

  #adm-products .adm-prod-search-box {
    width: 100% !important;
  }

  #adm-products #adm-prod-search {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 13px !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
  }

  /* Hide Horizontal Scroll Container on Mobile for Products */
  #adm-products .table-responsive {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  #adm-products .table-responsive::before {
    display: none !important;
  }

  /* Transform Products Table into Clean Mobile Touch Cards */
  #adm-products-table {
    min-width: 100% !important;
    width: 100% !important;
    display: block !important;
    border: none !important;
  }

  #adm-products-table thead {
    display: none !important;
  }

  #adm-products-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #adm-products-table tr.adm-prod-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "product product"
      "cat price"
      "sizes stock"
      "actions actions" !important;
    gap: 8px 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  #adm-products-table tr.adm-prod-row.empty {
    display: block !important;
    text-align: center !important;
  }

  #adm-products-table tr.adm-prod-row.empty td {
    display: block !important;
    text-align: center !important;
    padding: 24px 12px !important;
  }

  #adm-products-table td {
    display: flex !important;
    padding: 0 !important;
    border: none !important;
    white-space: normal !important;
    background: transparent !important;
  }

  #adm-products-table td:first-child,
  #adm-products-table th:first-child {
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* 1. Product Area (Full Width Top) */
  #adm-products-table .adm-col-product {
    grid-area: product !important;
    width: 100% !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  #adm-products-table .adm-prod-info-group {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    position: relative !important;
  }

  #adm-products-table .adm-prod-thumb-wrap {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  #adm-products-table .adm-prod-art-thumb {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
  }

  #adm-products-table .adm-prod-meta-text {
    flex: 1 !important;
    min-width: 0 !important;
    padding-right: 36px !important; /* space for art thumbnail */
  }

  #adm-products-table .adm-prod-name {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    word-break: break-word !important;
  }

  #adm-products-table .adm-prod-subtitle {
    font-size: 10.5px !important;
    color: #64748b !important;
    margin-bottom: 4px !important;
    display: block !important;
  }

  #adm-products-table .adm-prod-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-top: 2px !important;
  }

  /* 2. Category Cell */
  #adm-products-table .adm-col-cat {
    grid-area: cat !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 3. Price Cell */
  #adm-products-table .adm-col-price {
    grid-area: price !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    font-size: 13.5px !important;
  }

  /* 4. Sizes Cell */
  #adm-products-table .adm-col-sizes {
    grid-area: sizes !important;
    display: flex !important;
    align-items: center !important;
    font-size: 11px !important;
    color: #64748b !important;
  }

  /* 5. Stock Cell */
  #adm-products-table .adm-col-stock {
    grid-area: stock !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    font-size: 12px !important;
  }

  /* 6. Actions Area (Full Width Bottom) */
  #adm-products-table .adm-col-actions {
    grid-area: actions !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  #adm-products-table .adm-actions-group {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #adm-products-table .adm-actions-group .action-pill {
    flex: 1 !important;
    min-height: 36px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
  }

  #adm-products-table .adm-actions-group .action-pill.edit {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
  }

  #adm-products-table .adm-actions-group .action-pill.delete {
    color: #ef4444 !important;
    border: 1px solid #fca5a5 !important;
    background: #fff5f5 !important;
  }

  .adm-label-mob {
    display: inline-block !important;
    font-size: 9.5px !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-right: 4px !important;
  }

  .adm-table-thumb {
    width: 38px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
  }

  /* Mobile Touch Targets for Table Actions */
  .action-pill {
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    touch-action: manipulation;
  }

  .action-pill:active {
    transform: scale(0.94);
  }

  .badge-tag {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 700;
  }

  /* Stock Matrix Stepper Controls */
  .stock-adjust-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    touch-action: manipulation;
    cursor: pointer;
    line-height: 1;
  }

  .stock-adjust-btn:active {
    background: #0f172a;
    color: #ffffff;
    transform: scale(0.92);
  }

  .stock-val {
    font-size: 12px;
    font-weight: 800;
    min-width: 20px;
    display: inline-block;
    text-align: center;
  }

  /* 6. Studio Quick Controls List */
  .studio-quick-list {
    gap: 10px;
  }

  .sql-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  /* 7. Settings Form on Mobile */
  .settings-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px;
    margin-bottom: 14px;
  }

  .settings-section h5 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
  }

  .settings-form input,
  .settings-form select {
    min-height: 44px;
    font-size: 15px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    width: 100%;
    padding: 10px 12px;
  }

  .settings-actions .button {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    background: #0f172a;
    color: var(--lime);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  }

  /* 8. Product Editor Modal on Mobile */
  .product-editor-modal {
    width: 95vw;
    max-width: 500px;
    max-height: 92vh;
    padding: 18px 14px;
    border-radius: 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pem-header {
    padding-bottom: 14px;
    margin-bottom: 18px;
  }

  .pem-header h2 {
    font-size: 20px;
    letter-spacing: -0.04em;
  }

  .pem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .size-stock-inputs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .pem-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .pem-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  .quick-add {
    padding: 10px 6px;
    font-size: 10px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   PRODUCT LIVE HIGHLIGHT & STOREFRONT SHORTCUTS
   ========================================================================== */
@keyframes dropHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.85);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(163, 230, 53, 0.4);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
    transform: scale(1);
  }
}

.product-card.product-card-highlight {
  animation: dropHighlightPulse 1.2s ease-in-out 3;
  border-radius: 8px;
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.action-pill.view-live {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  font-weight: 700;
  text-decoration: none;
}
.action-pill.view-live:hover {
  background: #0284c7;
  color: #ffffff;
}

.toast-action-btn {
  margin-left: 12px;
  padding: 4px 10px;
  background: var(--lime);
  color: #0f172a;
  border: none;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, background 0.15s ease;
}
.toast-action-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

@keyframes rowHighlightPulse {
  0% { background-color: rgba(163, 230, 53, 0.45); }
  50% { background-color: rgba(163, 230, 53, 0.2); }
  100% { background-color: transparent; }
}
.adm-prod-row.adm-prod-row-highlight {
  animation: rowHighlightPulse 2s ease-out 2;
}
