/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-inter"}],"variableName":"inter"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.49%;descent-override: 22.56%;line-gap-override: 0.00%;size-adjust: 107.06%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}.__variable_f367f3 {--font-inter: '__Inter_f367f3', '__Inter_Fallback_f367f3'
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"variable":"--font-mono"}],"variableName":"jetbrainsMono"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/886030b0b59bc5a7-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/67957d42bae0796d-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/f911b923c6adde36-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/939c4f875ee75fbb-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__JetBrains_Mono_3c557b';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__JetBrains_Mono_Fallback_3c557b';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_3c557b {font-family: '__JetBrains_Mono_3c557b', '__JetBrains_Mono_Fallback_3c557b';font-style: normal
}.__variable_3c557b {--font-mono: '__JetBrains_Mono_3c557b', '__JetBrains_Mono_Fallback_3c557b'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* Mastercard 2024 Design System */

:root {
  /* Mastercard Brand Colors */
  --mc-red: #EB001B;
  --mc-orange: #FF5F00;
  --mc-yellow: #F79E1B;

  /* Backgrounds */
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;
  --bg-dark: #1A1A1A;

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #9B9B9B;
  --text-inverse: #FFFFFF;

  /* Semantic Colors */
  --success: #00A859;
  --error: #D32F2F;
  --warning: #F79E1B;
  --info: #2196F3;

  /* Borders & Shadows */
  --border: #E5E5E5;
  --border-strong: #CCCCCC;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mc-logo {
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
}

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-alt);
}

.nav-link-checkout {
  background: var(--bg-alt);
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link-cta {
  background: var(--mc-orange);
  color: white;
  font-weight: 600;
}

.nav-link-cta:hover {
  background: #E55500;
  color: white;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--mc-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav {
    padding: 12px 4vw;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-brand-text {
    max-width: 100px;
  }

  .nav-brand-title {
    font-size: 0.85rem;
  }

  .nav-brand-subtitle {
    display: none;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 2px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .nav-link-cta {
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 10px 3vw;
  }

  .nav-brand-text {
    display: none;
  }

  .nav-links {
    gap: 1px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}

/* Mobile hamburger menu */
.mobile-menu-btn {
  display: none;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover {
  background: var(--bg-alt);
  color: var(--text-primary);
}

.mobile-dropdown {
  position: absolute;
  top: 100%;
  right: 4vw;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4px;
  min-width: 140px;
  z-index: 200;
}

.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background: var(--bg-alt);
  color: var(--text-primary);
}

.hide-mobile {
  display: inline-flex;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .hide-mobile {
    display: none;
  }
}

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

.hero {
  padding: 60px 5vw 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 200px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-watermark svg {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-badge:nth-child(1) {
  border-left: 3px solid var(--mc-red);
}

.hero-badge:nth-child(2) {
  border-left: 3px solid var(--mc-orange);
}

.hero-badge:nth-child(3) {
  border-left: 3px solid var(--mc-yellow);
}

/* ========================================
   SECTION & PRODUCTS
   ======================================== */

.section {
  padding: 40px 5vw 60px;
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

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

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 95, 0, 0.1);
  color: var(--mc-orange);
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1 1;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-in-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 168, 89, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--success);
}

/* Mobile Product Cards */
@media (max-width: 600px) {
  .section {
    padding: 24px 4vw 40px;
  }

  .section-header {
    margin-bottom: 20px;
  }

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

  .product-card {
    padding: 20px;
  }

  .product-card .btn {
    width: 100%;
  }

  .hero {
    padding: 40px 4vw 50px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn:disabled,
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--mc-orange);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 95, 0, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: #E55500;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 95, 0, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--mc-orange);
  border: 2px solid var(--mc-orange);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 95, 0, 0.08);
}

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

.btn-outline:hover:not(:disabled) {
  background: var(--bg-alt);
  border-color: var(--text-secondary);
}

.btn-full {
  width: 100%;
}

/* ========================================
   CHECKOUT LAYOUT
   ======================================== */

.checkout-section {
  padding: 32px 5vw 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-gap: 32px;
  gap: 32px;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.checkout-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.checkout-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ========================================
   CHECKOUT STEPPER
   ======================================== */

.checkout-stepper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.stepper-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stepper-item {
  display: flex;
  align-items: center;
  flex: 1 1;
  position: relative;
}

.stepper-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.stepper-number {
  font-size: 0.85rem;
  font-weight: 600;
}

.stepper-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 10px;
  white-space: nowrap;
}

.stepper-connector {
  flex: 1 1;
  height: 2px;
  background: var(--border);
  margin: 0 16px;
}

/* Stepper States */
.stepper-item.completed .stepper-marker {
  background: var(--mc-orange);
  border-color: var(--mc-orange);
  color: white;
}

.stepper-item.completed .stepper-label {
  color: var(--text-secondary);
}

.stepper-item.completed .stepper-connector {
  background: var(--mc-orange);
}

.stepper-item.current .stepper-marker {
  border-color: var(--mc-orange);
  background: linear-gradient(135deg, var(--mc-red) 0%, var(--mc-orange) 50%, var(--mc-yellow) 100%);
  color: white;
}

.stepper-item.current .stepper-label {
  color: var(--text-primary);
  font-weight: 600;
}

.stepper-pulse {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.7; }
}

.stepper-item.upcoming .stepper-marker {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .stepper-label {
    display: none;
  }

  .stepper-connector {
    margin: 0 8px;
  }

  .checkout-stepper {
    padding: 16px;
  }
}

/* ========================================
   ORDER SUMMARY
   ======================================== */

.order-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: -moz-fit-content;
  height: fit-content;
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}

.order-summary-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.order-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-item-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.order-item-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  margin-top: 8px;
}

.total-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.total-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========================================
   AUTH PAGES
   ======================================== */

.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5vw;
  background: var(--bg-alt);
}

.auth-card {
  max-width: 420px;
  width: 100%;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.auth-card-wide {
  max-width: 520px;
}

/* Profile Preview Card */
.profile-preview {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.profile-preview h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.profile-preview dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 8px 16px;
  gap: 8px 16px;
  margin: 0;
}

.profile-preview dt {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.profile-preview dd {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

/* IDV Status */
.idv-status {
  margin: 20px 0;
  text-align: center;
}

.status-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Form Actions */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.form-actions .btn {
  flex: 1 1;
  min-width: 120px;
}

/* Form Select */
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select:focus {
  outline: none;
  border-color: var(--mc-orange);
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  margin-bottom: 16px;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.auth-tab {
  flex: 1 1;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.auth-tab.active {
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 12px;
}

.aadhaar-inline-form {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: -8px;
}

/* Passkey Offer */
.passkey-offer {
  text-align: center;
}

.passkey-offer-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--mc-orange);
}

.passkey-offer-benefits {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.passkey-offer-benefits h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.passkey-offer-benefits ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.passkey-offer-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.passkey-offer-benefits li svg {
  color: var(--success);
  flex-shrink: 0;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 12px;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--text-primary);
}

/* Registration Options */
.reg-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.reg-option:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.reg-option-featured {
  border-color: var(--mc-orange);
  background: linear-gradient(to right, rgba(255, 95, 0, 0.03), transparent);
}

.reg-option-featured:hover {
  border-color: var(--mc-orange);
  box-shadow: 0 4px 12px rgba(255, 95, 0, 0.15);
}

.reg-option-badge {
  position: absolute;
  top: -8px;
  right: 16px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  background: var(--mc-orange);
  border-radius: var(--radius-full);
}

.reg-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.reg-option-featured .reg-option-icon {
  background: rgba(255, 95, 0, 0.1);
  color: var(--mc-orange);
}

.reg-option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}

.reg-option-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reg-option-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reg-option-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.reg-option:hover .reg-option-arrow {
  transform: translateX(4px);
  color: var(--text-secondary);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-link {
  color: var(--mc-orange);
  font-weight: 600;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Mobile Auth */
@media (max-width: 480px) {
  .auth-section {
    padding: 24px 4vw;
  }

  .auth-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .auth-title {
    font-size: 1.5rem;
  }

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

/* Mobile Checkout */
@media (max-width: 600px) {
  .checkout-section {
    padding: 20px 4vw 40px;
  }

  .checkout-card {
    padding: 20px;
  }

  .checkout-heading {
    font-size: 1.25rem;
  }

  .checkout-actions {
    flex-direction: column;
  }

  .checkout-actions .btn {
    width: 100%;
  }

  .order-summary {
    padding: 20px;
  }

  .order-summary-title {
    font-size: 1rem;
  }
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--mc-orange);
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.1);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-hint code {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
}

/* ========================================
   NOTICES / ALERTS
   ======================================== */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-info {
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.2);
  color: #1565C0;
}

.notice-success {
  background: rgba(0, 168, 89, 0.08);
  border: 1px solid rgba(0, 168, 89, 0.2);
  color: #00703C;
}

.notice-warning {
  background: rgba(247, 158, 27, 0.1);
  border: 1px solid rgba(247, 158, 27, 0.3);
  color: #8B5A00;
}

.notice-error {
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  color: #C62828;
}

/* ========================================
   IDV SECTION
   ======================================== */

.idv-section {
  background: var(--bg);
  border: 2px solid var(--mc-orange);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.idv-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.idv-header svg {
  color: var(--mc-orange);
  flex-shrink: 0;
}

.idv-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.idv-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.idv-content {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 32px;
  gap: 32px;
}

@media (max-width: 700px) {
  .idv-content {
    grid-template-columns: 1fr;
  }
}

/* Desktop QR Code Container */
.idv-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-image {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: white;
}

.qr-instruction {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Mobile Launch Button Container */
.idv-mobile-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.idv-mobile-launch p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.idv-mobile-launch .btn-lg {
  padding: 16px 48px;
  font-size: 1.1rem;
  width: 100%;
  max-width: 300px;
}

.idv-help-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.idv-help-text a {
  color: var(--mc-orange);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .idv-mobile-launch .btn-lg {
    max-width: 100%;
  }
}

.idv-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.session-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  word-break: break-all;
}

.session-url {
  font-size: 0.75rem;
}

/* KUA Toggle */
.kua-toggle-section {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
}

.kua-toggle-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.kua-toggle-header svg {
  color: var(--mc-orange);
}

.kua-toggle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kua-toggle-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.kua-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.kua-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.kua-switch-wrapper {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.kua-switch {
  opacity: 0;
  width: 0;
  height: 0;
}

.kua-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--error);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.kua-switch-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.kua-switch:checked + .kua-switch-slider {
  background: var(--success);
}

.kua-switch:checked + .kua-switch-slider::before {
  transform: translateX(24px);
}

.kua-switch:focus + .kua-switch-slider {
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.2);
}

.kua-toggle-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  color: var(--text-secondary);
}

/* Spinner */
.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--mc-orange);
  animation: spin 0.8s linear infinite;
}

.spinner-large {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* KUA Validation */
.kua-validation-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.kua-validation-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.kua-validation-header svg {
  color: var(--success);
  flex-shrink: 0;
}

.kua-validation-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.kua-validation-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.validation-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.validation-result.approved {
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid var(--success);
}

.validation-result.rejected {
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid var(--error);
}

.validation-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.validation-status {
  font-size: 1rem;
  font-weight: 700;
}

.validation-result.approved .validation-status {
  color: var(--success);
}

.validation-result.rejected .validation-status {
  color: var(--error);
}

.match-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  margin-bottom: 16px;
}

.match-result.match-go {
  border-left: 4px solid var(--success);
}

.match-result.match-no-go {
  border-left: 4px solid var(--error);
}

.match-confidence {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.match-decision {
  font-size: 0.9rem;
  font-weight: 700;
}

.match-result.match-go .match-decision {
  color: var(--success);
}

.match-result.match-no-go .match-decision {
  color: var(--error);
}

/* KUA PII Card */
.kua-pii-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}

.kua-pii-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.kua-pii-data {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 8px 16px;
  gap: 8px 16px;
  font-size: 0.9rem;
}

.kua-pii-data dt {
  font-weight: 600;
  color: var(--text-muted);
}

.kua-pii-data dd {
  color: var(--text-primary);
}

/* ========================================
   LIGHTBOX / MODAL
   ======================================== */

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-panel {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-xl);
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.lightbox-spinner {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.lightbox-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  margin-top: auto;
  padding: 24px 5vw;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

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

/* Mobile Footer */
@media (max-width: 600px) {
  .footer {
    padding: 20px 4vw;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-disclaimer {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ========================================
   ERROR PAGE
   ======================================== */

.error-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.error-icon {
  flex-shrink: 0;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-muted {
  color: var(--text-secondary);
}

.text-small {
  font-size: 0.85rem;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }

/* ========================================
   MASTERCARD ANIMATION
   ======================================== */

@keyframes mc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.mc-circles {
  display: inline-flex;
  position: relative;
  width: 36px;
  height: 24px;
}

.mc-circles::before,
.mc-circles::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 0;
}

.mc-circles::before {
  left: 0;
  background: var(--mc-red);
}

.mc-circles::after {
  right: 0;
  background: var(--mc-yellow);
}

.mc-circles.loading::before,
.mc-circles.loading::after {
  animation: mc-pulse 1.2s ease-in-out infinite;
}

.mc-circles.loading::after {
  animation-delay: 0.2s;
}

/* ========================================
   CATEGORY FILTER
   ======================================== */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.category-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover {
  border-color: var(--mc-orange);
  color: var(--mc-orange);
}

.category-btn.active {
  background: var(--mc-orange);
  border-color: var(--mc-orange);
  color: white;
}

@media (max-width: 600px) {
  .category-filter {
    gap: 6px;
  }

  .category-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ========================================
   PRODUCT IMAGES
   ======================================== */

.product-image-container {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg-alt);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ========================================
   ADMIN PAGE
   ======================================== */

.admin-section {
  padding: 32px 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table th {
  background: var(--bg-alt);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255, 95, 0, 0.02);
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 28px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: 28px;
}

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

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #B71C1C;
}

.product-thumb {
  width: 48px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* Admin Form Modal */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.admin-modal {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.admin-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.admin-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .admin-table {
    display: block;
    overflow-x: auto;
  }

  .admin-section {
    padding: 20px 4vw;
  }
}

/* ========================================
   AGE RESTRICTION BADGES & MODAL
   ======================================== */

.product-image-container {
  position: relative;
}

.age-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--error);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  z-index: 1;
}

.category-age-badge {
  display: inline-flex;
  margin-left: 6px;
  background: var(--error);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.category-btn.active .category-age-badge {
  background: white;
  color: var(--error);
}

.product-card.age-restricted {
  border-color: rgba(211, 47, 47, 0.3);
}

.product-card.age-restricted:hover {
  border-color: rgba(211, 47, 47, 0.5);
}

/* Age Verification Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-xl);
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-body {
  text-align: center;
}

.age-warning-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--warning);
}

.modal-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.age-confirm-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-actions .btn {
  flex: 1 1;
}

/* Age gate notice in checkout */
.age-gate-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(247, 158, 27, 0.1);
  border: 1px solid rgba(247, 158, 27, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.age-gate-notice svg {
  flex-shrink: 0;
  color: var(--warning);
}

.age-gate-notice-text {
  flex: 1 1;
}

.age-gate-notice-text strong {
  display: block;
  font-size: 0.95rem;
  color: #8B5A00;
  margin-bottom: 2px;
}

.age-gate-notice-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .modal {
    padding: 24px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* ========================================
   CHECKOUT STEP 2 - DETAILS
   ======================================== */

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.detail-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.detail-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-card-header svg {
  color: var(--mc-orange);
  flex-shrink: 0;
}

.detail-card-body {
  padding: 18px;
}

.detail-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.detail-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
  line-height: 1.5;
}

.detail-address {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.detail-aadhaar {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-mono);
  background: var(--bg);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* ========================================
   CHECKOUT STEP 5 - COMPLETE
   ======================================== */

.success-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

.success-header .checkout-heading {
  margin-top: 16px;
  margin-bottom: 0;
}

.success-header + .checkout-description {
  text-align: center;
}

.success-icon {
  filter: drop-shadow(0 4px 12px rgba(0, 168, 89, 0.3));
}

.delivery-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 700px) {
  .delivery-cards {
    grid-template-columns: 1fr;
  }
}

.delivery-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow 0.2s ease;
}

.delivery-card:hover {
  box-shadow: var(--shadow-sm);
}

.delivery-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.delivery-card-header svg {
  color: var(--mc-orange);
}

.delivery-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.delivery-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.delivery-status {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--success);
  margin: 0 0 8px 0;
}

.tracking-id {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.tracking-id code {
  font-family: var(--font-mono);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* KUA Comparison Section */
.kua-comparison {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}

.kua-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kua-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--mc-red), var(--mc-orange), var(--mc-yellow));
  border-radius: 2px;
}

.kua-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .kua-grid {
    grid-template-columns: 1fr;
  }
}

.kua-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.kua-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.kua-data {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 8px 16px;
  gap: 8px 16px;
  font-size: 0.85rem;
  margin: 0;
}

.kua-data dt {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.kua-data dd {
  color: var(--text-primary);
  margin: 0;
  word-break: break-word;
}

/* Match Breakdown */
.match-breakdown {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.match-breakdown h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--border);
}

.breakdown-item.match {
  border-left-color: var(--success);
  background: rgba(0, 168, 89, 0.04);
}

.breakdown-item.mismatch {
  border-left-color: var(--error);
  background: rgba(211, 47, 47, 0.04);
}

.breakdown-field {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: capitalize;
}

.breakdown-status {
  font-size: 0.85rem;
  font-weight: 600;
}

.breakdown-item.match .breakdown-status {
  color: var(--success);
}

.breakdown-item.mismatch .breakdown-status {
  color: var(--error);
}

.breakdown-score {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Match Result in KUA */
.match-pending {
  border-left-color: var(--warning);
  background: rgba(247, 158, 27, 0.08);
}

.match-pending .match-decision {
  color: var(--warning);
}

/* Stat Cards for Admin/Settings */
.stat-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Account & Settings Page Styles
   ============================================ */

/* Account Section */
.account-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.settings-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 24px;
}

.account-section .section-header,
.settings-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.account-section .section-title,
.settings-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.account-section .section-subtitle,
.settings-section .section-subtitle {
  color: var(--muted);
  font-size: 1rem;
}

/* Account Grid Layout */
.account-grid {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

@media (min-width: 768px) {
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-grid .account-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Account Cards */
.account-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.account-card:hover {
  box-shadow: var(--shadow-md);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.account-card-header svg {
  color: var(--mc-orange);
  flex-shrink: 0;
}

.account-card-body {
  padding: 20px;
}

/* Account Data List */
.account-data {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin: 0;
}

.account-data dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.account-data dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

/* Account Card Variants */
.account-card-success {
  border-color: var(--success);
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.02), var(--bg));
}

.account-card-success .account-card-header {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.account-card-success .account-card-header svg {
  color: var(--success);
}

.account-card-warning {
  border-color: var(--warning);
  background: linear-gradient(to bottom, rgba(247, 158, 27, 0.02), var(--bg));
}

.account-card-warning .account-card-header {
  background: rgba(247, 158, 27, 0.08);
  border-color: rgba(247, 158, 27, 0.2);
}

.account-card-warning .account-card-header svg {
  color: var(--warning);
}

/* Match Status */
.match-status-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text);
}

.match-status-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.account-card-success .match-status-title {
  color: var(--success);
}

.account-card-warning .match-status-title {
  color: #8B5A00;
}

/* Settings Cards */
.settings-section .card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease;
}

.settings-section .card:hover {
  box-shadow: var(--shadow-sm);
}

.settings-section .card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-section .card h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--mc-orange);
  border-radius: 2px;
}

/* Settings Form Elements */
.settings-section select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-section select:hover {
  border-color: var(--mc-orange);
}

.settings-section select:focus {
  outline: none;
  border-color: var(--mc-orange);
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.1);
}

/* Settings Table Styles */
.settings-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.settings-section table th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-align: left;
  padding: 12px 0;
  border-bottom: 2px solid var(--border);
}

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

.settings-section table tr:last-child td {
  border-bottom: none;
}

.settings-section table tr:hover td {
  background: var(--surface);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .account-section,
  .settings-section {
    padding: 24px 16px;
  }

  .account-section .section-title,
  .settings-section .section-title {
    font-size: 1.5rem;
  }

  .account-card-header {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .account-card-body {
    padding: 16px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .settings-section .card {
    padding: 16px !important;
  }
}

/* ============================================
   Admin Panel Styles
   ============================================ */

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.admin-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab:hover {
  color: var(--text);
  background: var(--surface);
}

.admin-tab.active {
  color: var(--mc-orange);
  border-bottom-color: var(--mc-orange);
}

.admin-tab svg {
  flex-shrink: 0;
}

.admin-tab-count {
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--surface);
  border-radius: var(--radius-full);
  color: var(--muted);
}

.admin-tab.active .admin-tab-count {
  background: rgba(255, 95, 0, 0.1);
  color: var(--mc-orange);
}

/* Admin Card */
.admin-card {
  padding: 0 !important;
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.admin-card-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.admin-card-header h3::before {
  display: none;
}

.admin-card-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.admin-card-footer {
  padding: 16px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* Admin Stats Row */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

/* Admin Table */
.admin-table-container {
  overflow-x: auto;
  padding: 20px 24px 24px 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-table th {
  text-align: left;
  padding: 16px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.5;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: var(--surface);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table code {
  font-size: 0.9rem;
  padding: 4px 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  letter-spacing: 0.5px;
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 28px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: 28px;
}

/* Admin Actions */
.admin-actions {
  display: flex;
  gap: 8px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.badge-orange {
  background: rgba(255, 95, 0, 0.1);
  color: var(--mc-orange);
}

.badge-gray {
  background: var(--surface);
  color: var(--muted);
}

.badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

/* Mapping Grid */
.mapping-grid {
  padding: 24px;
}

.mapping-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mapping-row:last-child {
  border-bottom: none;
}

.mapping-label {
  font-weight: 500;
  color: var(--text);
}

.mapping-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.mapping-select:hover,
.mapping-select:focus {
  border-color: var(--mc-orange);
  outline: none;
}

/* Button Variants */
.btn-xs {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-danger {
  background: var(--error);
  color: white;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-danger:disabled {
  background: #fca5a5;
  cursor: not-allowed;
}

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

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--mc-orange);
}

/* Notice Variants */
.notice-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #166534;
}

.notice-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* Admin Notice */
.admin-card .notice {
  margin: 16px 24px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* Empty State */
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--muted);
}

/* Text Utilities */
.text-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Modal Improvements */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal-md {
  max-width: 480px;
}

.modal-title {
  margin: 0 0 24px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-tabs {
    flex-wrap: wrap;
  }

  .admin-tab {
    flex: 1 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .admin-tab svg {
    display: none;
  }

  .admin-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .admin-table-container {
    padding: 16px;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 14px;
  }

  .admin-card-header {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .mapping-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

