/* -------------------------------------------------------------------
   Isha Modesty Creation — Visual Design System & Card Layout Fixes
   ------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Color Tokens */
  --bg-canvas: #FAF7F2;          /* Warm Linen / Soft Cream */
  --surface-white: #FFFFFF;      /* Crisp White */
  --surface-card: #FAF7F4;       /* Subtle Warm Card Fill */
  --border-soft: #EFE9E0;        /* Soft Warm Border */
  --border-warm: #E4DCD3;        /* Slightly darker border for accents */
  
  --primary-bronze: #8C6D58;     /* Muted Warm Bronze / Sandstone */
  --primary-bronze-dark: #745743;
  --secondary-rose: #D8A48F;     /* Soft Dusty Rose / Terracotta */
  --secondary-rose-light: #F7EDE8;
  
  --text-espresso: #2A2421;      /* Deep Espresso / Charcoal */
  --text-taupe: #7A6F66;         /* Warm Slate / Soft Taupe */
  --text-light: #A3978C;        /* Light Taupe */
  
  --whatsapp-green: #25D366;     /* WhatsApp Forest Green */
  --whatsapp-dark: #1EBE5A;
  --out-of-stock: #C85A5A;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(42, 36, 33, 0.04);
  --shadow-md: 0 4px 16px rgba(42, 36, 33, 0.06);
  --shadow-lg: 0 10px 30px rgba(42, 36, 33, 0.08);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

@keyframes popBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge-pop {
  animation: popBadge 0.35s ease-out;
}

/* Global SVG & WhatsApp Icon Sizing Safeguard */
img.wa-icon, svg.wa-icon, .btn-whatsapp svg, .btn-add-bag svg, svg.w-4, svg.h-4, .card-content svg, .card-actions-grid svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-espresso);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-espresso);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.arch-pattern-bg {
  background-color: var(--bg-canvas);
  background-image: radial-gradient(var(--border-warm) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-espresso);
  line-height: 1.25;
}

p, span, label, input, select, button, textarea {
  font-family: var(--font-sans);
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-bronze);
  color: #FFFFFF;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announcement-bar svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor;
}

/* Header & Navigation */
.site-header {
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  user-select: none;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-rose-light);
  border: 1px solid var(--secondary-rose);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bronze);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-espresso);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--primary-bronze);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

.icon-btn {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  color: var(--text-espresso);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  min-height: 40px;
  transition: background-color 0.15s ease;
}

.icon-btn:hover {
  background-color: var(--surface-white);
  border-color: var(--primary-bronze);
  color: var(--primary-bronze);
}

.icon-btn .badge-count {
  background-color: var(--primary-bronze);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  min-width: 20px;
  text-align: center;
}

.instagram-badge {
  background-color: #FAF0EC;
  border-color: #F0D5CA;
  color: #B55D48;
}

.instagram-badge:hover {
  background-color: #F7E4DC;
  border-color: #E2B2A2;
  color: #923C27;
}

/* Floating Sticky Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: var(--text-espresso);
  color: #FFFFFF;
  border: 1px solid var(--text-espresso);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.15rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.floating-cart-btn:hover {
  transform: translateY(-2px);
  background-color: #1A1513;
}

/* Hero Section */
.hero-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-3xl);
  padding: 2rem 1.25rem;
  margin: 1.25rem 0 1.75rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .hero-card {
    padding: 3rem 2.5rem;
    text-align: left;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
  }
}

.hero-arch-decor {
  position: absolute;
  right: -20px;
  bottom: -40px;
  opacity: 0.06;
  pointer-events: none;
  width: 260px;
  height: 260px;
}

.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary-rose-light);
  border: 1px solid var(--secondary-rose);
  color: var(--primary-bronze);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-heading {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-espresso);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 2.5rem;
  }
}

.hero-description {
  color: var(--text-taupe);
  font-size: 0.92rem;
  max-width: 540px;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-features {
    justify-content: flex-start;
  }
}

.hero-visual-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.hero-mini-item {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}

.hero-mini-item h4 {
  font-size: 0.85rem;
  color: var(--primary-bronze);
}

.hero-mini-item p {
  font-size: 0.72rem;
  color: var(--text-taupe);
  margin-top: 0.15rem;
}

/* Controls Bar */
.controls-wrapper {
  margin-bottom: 1.5rem;
}

.search-bar-box {
  position: relative;
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 2.8rem;
  font-size: 0.9rem;
  color: var(--text-espresso);
  outline: none;
  min-height: 44px;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-bronze);
  box-shadow: 0 0 0 3px rgba(140, 109, 88, 0.12);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  color: var(--text-taupe);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-pill.active {
  background-color: var(--primary-bronze);
  border-color: var(--primary-bronze);
  color: #FFFFFF;
  font-weight: 600;
}

/* Product Grid */
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.catalog-title {
  font-size: 1.3rem;
  color: var(--text-espresso);
}

.catalog-count {
  font-size: 0.82rem;
  color: var(--text-taupe);
  font-weight: 500;
}

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

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Fixed Product Card Container (h-48 md:h-56 bg-[#F2ECE4]) */
.product-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-md);
}

.card-image-wrapper {
  width: 100%;
  height: 192px; /* h-48 */
  position: relative;
  overflow: hidden;
  background-color: #F2ECE4;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .card-image-wrapper {
    height: 224px; /* md:h-56 */
  }
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.card-image-wrapper:hover .card-image {
  transform: scale(1.04);
}

.card-stock-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-in-stock {
  background-color: #E8F9EE;
  color: #1E8E44;
  border: 1px solid #A8E9BD;
}

.badge-out-of-stock {
  background-color: #FDF0F0;
  color: #C85A5A;
  border: 1px solid #F5C6C6;
}

.card-fabric-tag {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-soft);
  color: var(--text-espresso);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-sm);
}

.card-content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 768px) {
  .card-content {
    padding: 0.95rem;
  }
}

.card-category {
  font-size: 0.68rem;
  color: var(--primary-bronze);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-espresso);
  margin-bottom: 0.25rem;
  line-height: 1.25;
  cursor: pointer;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1rem;
  }
}

/* Variants */
.variant-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-taupe);
  margin-top: 0.35rem;
  margin-bottom: 0.2rem;
  display: block;
}

.variant-colors-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.variant-color-chip {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  color: var(--text-espresso);
  font-size: 0.7rem;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.15s ease;
}

.variant-color-chip.active {
  border-color: var(--primary-bronze);
  background-color: var(--secondary-rose-light);
  color: var(--primary-bronze);
  font-weight: 600;
  box-shadow: 0 0 0 1.5px var(--primary-bronze);
}

.variant-sizes-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.variant-size-pill {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  color: var(--text-espresso);
  font-size: 0.68rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.variant-size-pill.active {
  border-color: var(--primary-bronze);
  background-color: var(--primary-bronze);
  color: #FFFFFF;
  font-weight: 600;
}

.card-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.card-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  background-color: var(--bg-canvas);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-espresso);
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-display {
  font-size: 0.78rem;
  font-weight: 600;
  width: 24px;
  text-align: center;
}

.price-tag {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-espresso);
}

.price-symbol {
  font-size: 0.85rem;
  color: var(--primary-bronze);
  font-weight: 600;
}

.card-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Sleek Aesthetic Brand-Themed WhatsApp Button */
.btn-whatsapp {
  background-color: var(--text-espresso);
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 0.85rem;
  min-height: 40px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-sans);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.btn-add-bag {
  background-color: var(--primary-bronze);
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 0.85rem;
  min-height: 38px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background-color 0.15s ease;
}

.btn-add-bag:hover {
  background-color: var(--primary-bronze-dark);
}

/* Modal & Slide-Over Drawer */
.modal-overlay, .drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(42, 36, 33, 0.45);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.open, .drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--surface-white);
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.drawer-title {
  font-size: 1.15rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.25rem;
}

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

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-espresso);
}

.cart-item-variants {
  font-size: 0.75rem;
  color: var(--text-taupe);
  margin-top: 0.1rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-bronze);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.3rem;
  font-size: 1rem;
}

.cart-remove-btn:hover {
  color: var(--out-of-stock);
}

.customer-area-box {
  margin-bottom: 1rem;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
}

.customer-area-box label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-espresso);
  display: block;
  margin-bottom: 0.35rem;
}

.customer-area-input {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  outline: none;
  background-color: var(--surface-white);
}

.drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-soft);
  background-color: var(--bg-canvas);
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Footer Section */
.site-footer {
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  padding: 2.5rem 0 1.25rem 0;
}

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

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

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

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

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-espresso);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

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

.footer-list li {
  margin-bottom: 0.4rem;
}

.footer-list a {
  color: var(--text-taupe);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-list a:hover {
  color: var(--primary-bronze);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Admin Dashboard Styles */
.admin-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

.form-control {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-espresso);
  outline: none;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--primary-bronze);
}

.image-upload-box {
  border: 2px dashed var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 1rem;
  text-align: center;
  background-color: var(--bg-canvas);
  cursor: pointer;
}

.thumb-preview {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.switch-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  min-height: 44px;
}

.switch-input {
  display: none;
}

.switch-slider {
  width: 44px;
  height: 24px;
  background-color: var(--border-warm);
  border-radius: var(--radius-full);
  position: relative;
  transition: background-color 0.15s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFFFFF;
  top: 3px;
  left: 3px;
  transition: transform 0.15s ease;
}

.switch-input:checked + .switch-slider {
  background-color: var(--whatsapp-green);
}

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

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background-color: var(--bg-canvas);
  padding: 0.75rem 0.85rem;
  font-weight: 600;
  color: var(--text-espresso);
  border-bottom: 1px solid var(--border-soft);
}

.admin-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.btn-primary {
  background-color: var(--primary-bronze);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  background-color: var(--primary-bronze-dark);
}

.btn-danger {
  background-color: #FDF0F0;
  border: 1px solid #F5C6C6;
  color: #C85A5A;
  padding: 0.45rem 0.75rem;
  min-height: 38px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.pin-lock-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-canvas);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pin-lock-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-3xl);
  padding: 2.25rem 1.75rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pin-input-box {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.pin-digit-input {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  outline: none;
}

.sticky-mobile-save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 45;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sticky-mobile-save-bar {
    display: none;
  }
}
