/* RestApp customer shop templates — body.shop-theme-{key} */

body.shop-theme-root {
  --shop-primary: var(--color-base, 249, 115, 22);
  --shop-radius: 1rem;
  --shop-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Shared premium cards */
body[class*="shop-theme-"] #main-content main {
  padding-bottom: 5rem;
}
body[class*="shop-theme-"] .shadow-md,
body[class*="shop-theme-"] .shadow-sm {
  box-shadow: var(--shop-shadow) !important;
}

/* ===== default ===== */
body.shop-theme-default {
  background: #f8fafc;
}

/* ===== mipiace (hero / pizzería) ===== */
body.shop-theme-mipiace {
  background: #ffffff;
  --color-base: 15, 23, 42;
}
body.shop-theme-mipiace .mx-auto.min-h-svh {
  max-width: 32rem;
  background: #fff;
}
body.shop-theme-mipiace header,
body.shop-theme-mipiace nav,
body.shop-theme-mipiace [class*="sticky"] {
  background: #0f172a !important;
  color: #fff !important;
  border-color: transparent !important;
}
body.shop-theme-mipiace header a,
body.shop-theme-mipiace nav a,
body.shop-theme-mipiace header span,
body.shop-theme-mipiace nav span {
  color: #fff !important;
}
body.shop-theme-mipiace .bg-skin-base,
body.shop-theme-mipiace [class*="bg-skin"] {
  background-color: #E53935 !important;
}
body.shop-theme-mipiace .text-skin-base {
  color: #E53935 !important;
}
body.shop-theme-mipiace footer {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border: 0 !important;
}
body.shop-theme-mipiace footer span,
body.shop-theme-mipiace footer a {
  color: #cbd5e1 !important;
}
body.shop-theme-mipiace img {
  border-radius: 0.75rem;
}

/* ===== ocean ===== */
body.shop-theme-ocean {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 40%, #fff 100%);
  --color-base: 2, 132, 199;
}
body.shop-theme-ocean .bg-skin-base { background-color: #0284c7 !important; }
body.shop-theme-ocean .text-skin-base { color: #0369a1 !important; }

/* ===== forest ===== */
body.shop-theme-forest {
  background: linear-gradient(180deg, #dcfce7 0%, #f0fdf4 50%, #fff 100%);
  --color-base: 5, 150, 105;
}
body.shop-theme-forest .bg-skin-base { background-color: #059669 !important; }

/* ===== sunset ===== */
body.shop-theme-sunset {
  background: linear-gradient(180deg, #ffedd5 0%, #fff7ed 45%, #fff 100%);
  --color-base: 234, 88, 12;
}
body.shop-theme-sunset header,
body.shop-theme-sunset nav {
  background: linear-gradient(90deg, #ea580c, #f97316) !important;
  color: #fff !important;
}
body.shop-theme-sunset header a,
body.shop-theme-sunset nav a,
body.shop-theme-sunset header span { color: #fff !important; }

/* ===== royal ===== */
body.shop-theme-royal {
  background: #faf5ff;
  --color-base: 124, 58, 237;
}
body.shop-theme-royal .bg-skin-base { background-color: #7c3aed !important; }
body.shop-theme-royal .rounded-lg { border-radius: 1.25rem !important; }

/* ===== coffee ===== */
body.shop-theme-coffee {
  background: #faf6f1;
  --color-base: 120, 53, 15;
}
body.shop-theme-coffee .bg-skin-base { background-color: #78350f !important; }
body.shop-theme-coffee footer { background: #451a03 !important; color: #fde68a !important; }

/* ===== berry ===== */
body.shop-theme-berry {
  background: #fdf2f8;
  --color-base: 219, 39, 119;
}
body.shop-theme-berry .bg-skin-base { background-color: #db2777 !important; }

/* ===== neon dark ===== */
body.shop-theme-neon {
  background: #020617;
  color: #e2e8f0;
  --color-base: 34, 211, 238;
}
body.shop-theme-neon .dark\:bg-gray-900,
body.shop-theme-neon .bg-white,
body.shop-theme-neon #main-content,
body.shop-theme-neon main {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
}
body.shop-theme-neon .text-gray-900,
body.shop-theme-neon .text-gray-800 {
  color: #f1f5f9 !important;
}
body.shop-theme-neon .text-gray-500,
body.shop-theme-neon .text-gray-600 {
  color: #94a3b8 !important;
}
body.shop-theme-neon .bg-skin-base {
  background: linear-gradient(90deg, #22d3ee, #a855f7) !important;
}
body.shop-theme-neon footer {
  background: #020617 !important;
  border-color: #1e293b !important;
}

/* ===== minimal ===== */
body.shop-theme-minimal {
  background: #ffffff;
  --color-base: 23, 23, 23;
}
body.shop-theme-minimal .shadow-md,
body.shop-theme-minimal .shadow-sm {
  box-shadow: none !important;
  border: 1px solid #e5e5e5 !important;
}
body.shop-theme-minimal .bg-skin-base {
  background-color: #171717 !important;
  border-radius: 0 !important;
}
body.shop-theme-minimal .rounded-lg,
body.shop-theme-minimal .rounded-xl {
  border-radius: 0.25rem !important;
}

/* ===== tropical ===== */
body.shop-theme-tropical {
  background: linear-gradient(180deg, #ccfbf1 0%, #f0fdfa 40%, #fff 100%);
  --color-base: 13, 148, 136;
}
body.shop-theme-tropical .bg-skin-base {
  background: linear-gradient(90deg, #0d9488, #65a30d) !important;
}
body.shop-theme-tropical header,
body.shop-theme-tropical nav {
  background: #0f766e !important;
  color: #fff !important;
}
body.shop-theme-tropical header a,
body.shop-theme-tropical nav a,
body.shop-theme-tropical header span { color: #fff !important; }

/* Theme badge strip for preview in settings */
.shop-theme-swatch {
  display: flex;
  height: 2.75rem;
  min-height: 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e5e7eb;
}
.shop-theme-swatch span {
  flex: 1 1 0;
  min-width: 1.5rem;
  display: block;
  height: 100%;
}

/* ShopThemesPro */
/* ShopThemesPro — Sushi Oro */
body.shop-theme-sushi_oro {
  --color-base: 212, 175, 55;
  background: #111111 !important;
  color: #F7F1E3;
}
body.shop-theme-sushi_oro .dark\:bg-gray-900,
body.shop-theme-sushi_oro .bg-white,
body.shop-theme-sushi_oro #main-content,
body.shop-theme-sushi_oro main {
  background-color: #111111 !important;
  color: #F7F1E3 !important;
}
body.shop-theme-sushi_oro header,
body.shop-theme-sushi_oro nav,
body.shop-theme-sushi_oro [class*="sticky"] {
  background: #1C1C1C !important;
  color: #F7F1E3 !important;
  border-color: #2a2a2a !important;
}
body.shop-theme-sushi_oro header a,
body.shop-theme-sushi_oro nav a,
body.shop-theme-sushi_oro header span,
body.shop-theme-sushi_oro nav span {
  color: #F7F1E3 !important;
}
body.shop-theme-sushi_oro .bg-skin-base,
body.shop-theme-sushi_oro [class*="bg-skin"] {
  background-color: #D4AF37 !important;
  color: #111111 !important;
}
body.shop-theme-sushi_oro .text-skin-base {
  color: #D4AF37 !important;
}
body.shop-theme-sushi_oro .text-gray-900,
body.shop-theme-sushi_oro .text-gray-800 {
  color: #F7F1E3 !important;
}
body.shop-theme-sushi_oro .text-gray-500,
body.shop-theme-sushi_oro .text-gray-600 {
  color: #c4b89a !important;
}
body.shop-theme-sushi_oro .border-gray-200,
body.shop-theme-sushi_oro .border-gray-100 {
  border-color: #2a2a2a !important;
}
body.shop-theme-sushi_oro footer {
  background: #0a0a0a !important;
  border-color: #D4AF37 !important;
  color: #c4b89a !important;
}
body.shop-theme-sushi_oro footer a,
body.shop-theme-sushi_oro footer span {
  color: #c4b89a !important;
}
body.shop-theme-sushi_oro img {
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
body.shop-theme-sushi_oro .shadow-md,
body.shop-theme-sushi_oro .shadow-sm {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}



/* ========== L2 THEME SHELLS (real structure, not only color) ========== */
.theme-shell-hero {
  border-radius: 0 0 1.5rem 1.5rem;
  min-height: 280px;
  margin-left: 0;
  margin-right: 0;
}
.theme-shell-hero__bg {
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 45%, #0f0f0f 100%);
}
.theme-shell-hero__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%);
}
.theme-shell-hero__title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.theme-shell-hero__sub { color: rgba(255,255,255,0.85); }
.theme-shell-hero__stars { color: #F5C451; }
.theme-shell-hero__btn {
  background: var(--shop-theme-primary, #D4AF37);
  color: #111;
}
.theme-shell-hero__btn:hover { filter: brightness(1.08); }

/* Layout dark: order-type as premium panels */
[data-theme-layout="dark"] .shop-menu-section .grid > a,
body.shop-theme-root[class*="shop-theme-"] [data-theme-layout="dark"] .group.flex.items-center.border {
  border-radius: 1rem;
}

/* Product cards denser / more restaurant-like under dark themes */
body[class*="shop-theme-"][class*="sushi"],
body.shop-theme-sushi_oro {
  --theme-card-radius: 1rem;
}
body.shop-theme-sushi_oro .theme-shell-hero__bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,0.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(245,196,81,0.12), transparent 35%),
    linear-gradient(165deg, #0a0a0a 0%, #141414 50%, #0d0d0d 100%);
}
body.shop-theme-sushi_oro .theme-shell-hero__btn {
  background: linear-gradient(90deg, #D4AF37, #F5C451);
  color: #111;
  letter-spacing: 0.02em;
}
body.shop-theme-sushi_oro .theme-shell-hero__logo {
  ring-color: #D4AF37;
  border: 2px solid #D4AF37;
}

/* Order type selector — sushi: gold frame, dark tiles */
body.shop-theme-sushi_oro [class*="order"],
body.shop-theme-sushi_oro .shop-cart-root section + div {
  /* structural hooks via descendants */
}
body.shop-theme-sushi_oro .shop-cart-root .grid.grid-cols-1.gap-4 button,
body.shop-theme-sushi_oro .shop-cart-root button.group {
  border-radius: 1rem !important;
}

/* Category chips row */
body.shop-theme-sushi_oro .shop-menu-section + div,
body.shop-theme-sushi_oro #shop-menu-anchor {
  gap: 0.75rem;
}
body.shop-theme-sushi_oro #shop-menu-anchor .grid.grid-cols-2 > a {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 1rem !important;
  min-height: 4.5rem;
}
body.shop-theme-sushi_oro #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base {
  background: linear-gradient(135deg, #D4AF37, #b8962e) !important;
  border-color: #D4AF37 !important;
  color: #111 !important;
}
body.shop-theme-sushi_oro #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base span,
body.shop-theme-sushi_oro #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base * {
  color: #111 !important;
}

/* Product item cards */
body.shop-theme-sushi_oro [wire\:key*="menu-item-"],
body.shop-theme-sushi_oro .shop-cart-root .group.relative {
  /* cards get dark panel look */
}
body.shop-theme-sushi_oro .shop-cart-root .border.shadow-sm.rounded-lg,
body.shop-theme-sushi_oro .shop-cart-root .rounded-lg.border {
  background: #161616 !important;
  border: 1px solid #2e2e2e !important;
  border-radius: 1rem !important;
  overflow: hidden;
}
body.shop-theme-sushi_oro .shop-cart-root button.bg-skin-base,
body.shop-theme-sushi_oro .shop-cart-root .bg-skin-base {
  background: #D4AF37 !important;
  color: #111 !important;
  border-radius: 9999px !important;
  font-weight: 700;
}

/* Search bar */
body.shop-theme-sushi_oro input#menu_name,
body.shop-theme-sushi_oro input[type="text"] {
  background: #1a1a1a !important;
  border-color: #333 !important;
  color: #F7F1E3 !important;
  border-radius: 9999px !important;
}

/* Hide flat header strip when hero shell is present */
body.shop-theme-sushi_oro .theme-shell-hero + section {
  display: none;
}

/* mipiace / hero layouts also get shell treatment */
body.shop-theme-mipiace .theme-shell-hero__bg {
  background:
    radial-gradient(circle at 70% 20%, rgba(229,57,53,0.35), transparent 40%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}
body.shop-theme-mipiace .theme-shell-hero__btn {
  background: #E53935;
  color: #fff;
}

/*
 * Mi Piace Pro: complete visual layer for the migrated mipiacerd.shop design.
 * The DOM and actions remain RestaAPP/Livewire; this block only changes the
 * presentation so the same theme can be selected by another restaurant.
 */
body.shop-theme-mipiace {
  --mipiace-navy: #0f172a;
  --mipiace-red: #e53935;
  --mipiace-green: #059669;
  --mipiace-gold: #ffb300;
  background: #f8fafc !important;
  color: #0f172a;
}

body.shop-theme-mipiace .mx-auto.min-h-svh {
  width: 100% !important;
  max-width: 100% !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.shop-theme-mipiace .mx-auto.min-h-svh > .flex[class*="mt-4"] {
  margin-top: 0 !important;
}

body.shop-theme-mipiace #main-content,
body.shop-theme-mipiace #main-content main {
  background: #f8fafc !important;
}

body.shop-theme-mipiace header[class*="lg:block"] {
  position: sticky;
  top: 0;
  z-index: 50;
}

body.shop-theme-mipiace header[class*="lg:block"] nav {
  margin-top: 0 !important;
  border-radius: 0 !important;
  background: var(--mipiace-navy) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

body.shop-theme-mipiace header[class*="lg:hidden"] nav {
  background: var(--mipiace-navy) !important;
  border-color: transparent !important;
}

body.shop-theme-mipiace .theme-shell-hero {
  width: 100%;
  max-width: 72rem;
  min-height: clamp(24rem, 68vh, 44rem);
  margin: 0 auto 2rem;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

body.shop-theme-mipiace .theme-shell-hero__bg {
  background:
    radial-gradient(circle at 70% 20%, rgba(229, 57, 53, 0.35), transparent 40%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}

body.shop-theme-mipiace .theme-shell-hero__overlay {
  background: linear-gradient(to top, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.10) 62%, rgba(2, 6, 23, 0.38));
}

body.shop-theme-mipiace .theme-shell-hero__logo {
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

body.shop-theme-mipiace .theme-shell-hero__title {
  font-weight: 900;
  letter-spacing: -0.025em;
}

body.shop-theme-mipiace .theme-shell-hero__btn {
  background: var(--mipiace-red) !important;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(229, 57, 53, 0.42);
}

body.shop-theme-mipiace .shop-cart-root,
body.shop-theme-mipiace #shop-menu-anchor {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

body.shop-theme-mipiace .shop-cart-root {
  width: 100% !important;
  max-width: none !important;
  overflow-x: visible !important;
}

body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a {
  min-height: 4.5rem;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important;
}

body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base {
  background: var(--mipiace-navy) !important;
  border-color: var(--mipiace-navy) !important;
  color: #fff !important;
}

body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base * {
  color: #fff !important;
}

body.shop-theme-mipiace .shop-cart-root .border.shadow-sm.rounded-lg,
body.shop-theme-mipiace .shop-cart-root .rounded-lg.border {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  border-radius: 1rem !important;
  overflow: hidden;
}

body.shop-theme-mipiace .shop-cart-root button.bg-skin-base,
body.shop-theme-mipiace .shop-cart-root .bg-skin-base {
  background: var(--mipiace-red) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-weight: 700;
}

/* The active order type is also a rounded bordered card. Give this selector
   enough specificity to keep the active red surface in light mode; otherwise
   the generic white card rule wins and hides the white active text. */
body.shop-theme-mipiace .shop-cart-root .mipiace-order-type-selector > div > div > button.bg-skin-base {
  background: var(--mipiace-red) !important;
  border-color: var(--mipiace-red) !important;
  color: #fff !important;
}

body.shop-theme-mipiace .shop-cart-root .mipiace-order-type-selector > div > div > button.bg-skin-base * {
  color: inherit;
}

body.shop-theme-mipiace footer .mipiace-footer-contact {
  color: #cbd5e1;
}

body.shop-theme-mipiace footer .mipiace-footer-contact a:hover {
  color: #fff !important;
}

body.shop-theme-mipiace > footer {
  border-top: 1px solid #1e293b !important;
  background: #0f172a !important;
  color: #94a3b8 !important;
  padding: 2.5rem 1rem !important;
  text-align: center;
}

body.shop-theme-mipiace > footer .mipiace-footer-brand {
  color: #94a3b8;
}

body.shop-theme-mipiace > footer > div {
  max-width: 72rem !important;
}

body.shop-theme-mipiace > footer > div > .sm\:flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

body.shop-theme-mipiace > footer > div > .sm\:flex > .flex {
  margin-top: 0 !important;
  justify-content: center;
}

body.shop-theme-mipiace > footer a {
  color: #cbd5e1;
}

body.shop-theme-mipiace > footer a:hover {
  color: #fff;
}

@media (max-width: 1023px) {
  body.shop-theme-mipiace .theme-shell-hero {
    min-height: 60vh;
    border-radius: 0 0 1.25rem 1.25rem;
  }
}

/* Original mipiacerd.shop structure: full-width fixed bar, full-bleed hero and menu shell. */
body.shop-theme-mipiace #main-content main {
  padding-top: 0;
}

body.shop-theme-mipiace .mipiace-public-nav nav {
  min-height: 4.25rem;
}

body.shop-theme-mipiace .theme-shell-hero {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  min-height: 68vh;
  margin: 0 0 2.5rem;
  transform: translateX(-50%);
  border-radius: 0;
  box-shadow: none;
}

body.shop-theme-mipiace .theme-shell-hero > .relative.z-10 {
  width: 100%;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

body.shop-theme-mipiace .theme-shell-hero__title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

body.shop-theme-mipiace .theme-shell-hero__sub {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

body.shop-theme-mipiace .theme-shell-hero__cta {
  margin-top: 2rem;
}

body.shop-theme-mipiace .theme-shell-hero__btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

body.shop-theme-mipiace .mipiace-menu-picker,
body.shop-theme-mipiace .mipiace-legacy-search {
  display: none !important;
}

/* Keep the real order-type selector visible. Delivery/pickup/dine-in are
   backed by the Livewire cart and must remain available in this theme. */
body.shop-theme-mipiace .mipiace-order-type-selector {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

body.shop-theme-mipiace .mipiace-order-type-selector > div {
  border-color: rgba(229, 57, 53, 0.2) !important;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.10), rgba(15, 23, 42, 0.04)) !important;
}

body.shop-theme-mipiace .mipiace-order-type-selector h2 {
  color: #0f172a !important;
}

body.shop-theme-mipiace .mipiace-order-type-selector p {
  color: #64748b !important;
}

body.shop-theme-mipiace .mipiace-waiter-control > div {
  margin: 0 !important;
  gap: 0 !important;
}

body.shop-theme-mipiace .mipiace-waiter-control > div:first-child > button {
  width: 2.75rem;
  height: 2.75rem;
  justify-content: center;
  padding: 0.7rem !important;
  font-size: 0 !important;
  line-height: 1;
  background: #e53935 !important;
  color: #fff !important;
  border-radius: 9999px !important;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.28);
}

body.shop-theme-mipiace .mipiace-waiter-control > div:first-child > button svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.shop-theme-mipiace .mipiace-menu-intro,
body.shop-theme-mipiace .mipiace-products,
body.shop-theme-mipiace .mipiace-category-filter {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

body.shop-theme-mipiace .mipiace-menu-intro {
  padding-bottom: 0.25rem;
}

body.shop-theme-mipiace .mipiace-stat-card {
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  text-align: center;
}

body.shop-theme-mipiace .mipiace-stat-card > span {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
}

body.shop-theme-mipiace .mipiace-stat-card > small {
  margin-top: 0.6rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.shop-theme-mipiace .mipiace-search-panel {
  border: 1px solid #e2e8f0;
  border-radius: 1.875rem;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0f172a !important;
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

body.shop-theme-mipiace .mipiace-search-label {
  background: #0f172a !important;
  color: #fff !important;
}

body.shop-theme-mipiace .mipiace-search-label span,
body.shop-theme-mipiace .mipiace-search-label svg {
  color: #fff !important;
}

body.shop-theme-mipiace .mipiace-category-filter {
  margin-top: -0.25rem;
}

body.shop-theme-mipiace .mipiace-category-desktop {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.shop-theme-mipiace .mipiace-category-filter > div:first-child {
  padding: 0.5rem;
  border-radius: 0.875rem;
  background: #f8fafc;
}

body.shop-theme-mipiace .mipiace-category-filter nav {
  gap: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.shop-theme-mipiace .mipiace-category-filter nav button {
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  padding: 0.7rem 1rem;
}

body.shop-theme-mipiace .mipiace-category-filter nav button[class*="bg-skin-base"] {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

body.shop-theme-mipiace .mipiace-category-filter nav button:not(.bg-skin-base) span {
  color: #334155 !important;
}

body.shop-theme-mipiace .mipiace-category-filter nav button.bg-skin-base span {
  color: #fff !important;
}

body.shop-theme-mipiace .mipiace-products {
  padding-left: 1rem;
  padding-right: 1rem;
}

body.shop-theme-mipiace .mipiace-products h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 800;
}

body.shop-theme-mipiace .mipiace-product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

body.shop-theme-mipiace .mipiace-product-grid > div {
  min-width: 0;
}

body.shop-theme-mipiace .mipiace-product-grid > div > div {
  min-height: 100%;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body.shop-theme-mipiace .mipiace-product-grid > div > div:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.11);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  body.shop-theme-mipiace .mipiace-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.shop-theme-mipiace .mipiace-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.shop-theme-mipiace #main-content main {
    padding-top: 0;
  }

  body.shop-theme-mipiace .theme-shell-hero,
  body.shop-theme-mipiace .theme-shell-hero > .relative.z-10 {
    min-height: 60vh;
  }

  body.shop-theme-mipiace .mipiace-search-label {
    width: 100%;
    justify-content: center;
  }
}

/* Mi Piace keeps the original dark header while exposing the shared language
   selector and the app's real light/dark preference controls. */
body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-control,
body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-language button {
  color: #fff !important;
  background: transparent !important;
}

body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-control:hover,
body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-language button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-language > div {
  position: relative;
}

body.shop-theme-mipiace .mipiace-public-nav .mipiace-nav-language [id^="language-dropdown-"] {
  color: #0f172a;
  background: #fff;
}

/* Mi Piace dark mode: the global toggle adds .dark to <html>.  The original
   light layout above intentionally uses !important, so these scoped rules
   must also be explicit to keep every visible surface in the same palette. */
html.dark body.shop-theme-mipiace {
  color-scheme: dark;
  background: #020617 !important;
  color: #e2e8f0 !important;
}

html.dark body.shop-theme-mipiace .mx-auto.min-h-svh,
html.dark body.shop-theme-mipiace #main-content,
html.dark body.shop-theme-mipiace #main-content > .flex,
html.dark body.shop-theme-mipiace #main-content main {
  background: #020617 !important;
  color: #e2e8f0 !important;
}

html.dark body.shop-theme-mipiace .mipiace-menu-intro,
html.dark body.shop-theme-mipiace .mipiace-products,
html.dark body.shop-theme-mipiace .mipiace-category-filter,
html.dark body.shop-theme-mipiace .mipiace-products h3 {
  color: #f8fafc !important;
}

html.dark body.shop-theme-mipiace .mipiace-menu-intro h1,
html.dark body.shop-theme-mipiace .mipiace-menu-intro h2,
html.dark body.shop-theme-mipiace .mipiace-menu-intro h3 {
  color: #f8fafc !important;
  text-shadow: 0 1px 14px rgba(15, 23, 42, 0.55);
}

html.dark body.shop-theme-mipiace .mipiace-stat-card,
html.dark body.shop-theme-mipiace .mipiace-product-grid > div > div,
html.dark body.shop-theme-mipiace .shop-cart-root .border.shadow-sm.rounded-lg,
html.dark body.shop-theme-mipiace .shop-cart-root .rounded-lg.border {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
}

html.dark body.shop-theme-mipiace .mipiace-stat-card > small,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-slate-500,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-gray-500,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-gray-600,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-gray-700,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-gray-800,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-gray-900,
html.dark body.shop-theme-mipiace .mipiace-product-grid .text-slate-900 {
  color: #cbd5e1 !important;
}

html.dark body.shop-theme-mipiace .mipiace-product-grid .text-white,
html.dark body.shop-theme-mipiace .mipiace-product-grid h1,
html.dark body.shop-theme-mipiace .mipiace-product-grid h2,
html.dark body.shop-theme-mipiace .mipiace-product-grid h3,
html.dark body.shop-theme-mipiace .mipiace-product-grid h4,
html.dark body.shop-theme-mipiace .mipiace-product-grid strong {
  color: #f8fafc !important;
}

html.dark body.shop-theme-mipiace .mipiace-search-panel,
html.dark body.shop-theme-mipiace .mipiace-category-filter > div:first-child,
html.dark body.shop-theme-mipiace .mipiace-category-filter nav,
html.dark body.shop-theme-mipiace .mipiace-category-desktop {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

html.dark body.shop-theme-mipiace .mipiace-search-panel input,
html.dark body.shop-theme-mipiace .mipiace-search-panel select,
html.dark body.shop-theme-mipiace .mipiace-search-panel textarea {
  background: transparent !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

html.dark body.shop-theme-mipiace .mipiace-search-panel .relative > div {
  background: #020617 !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

html.dark body.shop-theme-mipiace .mipiace-search-panel .relative > div button {
  color: #cbd5e1 !important;
}

html.dark body.shop-theme-mipiace .mipiace-order-type-selector > div {
  border-color: rgba(248, 113, 113, 0.35) !important;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.62), rgba(15, 23, 42, 0.96)) !important;
}

html.dark body.shop-theme-mipiace .mipiace-order-type-selector h2 {
  color: #f8fafc !important;
}

html.dark body.shop-theme-mipiace .mipiace-order-type-selector p {
  color: #cbd5e1 !important;
}

html.dark body.shop-theme-mipiace .mipiace-search-panel input::placeholder,
html.dark body.shop-theme-mipiace .mipiace-search-panel textarea::placeholder {
  color: #94a3b8 !important;
}

html.dark body.shop-theme-mipiace .mipiace-category-filter nav button,
html.dark body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a {
  background: #0f172a !important;
  border-color: #475569 !important;
  color: #e2e8f0 !important;
}

html.dark body.shop-theme-mipiace .mipiace-category-filter nav button:not([class*="bg-skin-base"]) span,
html.dark body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a:not(.bg-skin-base) * {
  color: #cbd5e1 !important;
}

html.dark body.shop-theme-mipiace .mipiace-category-filter nav button[class*="bg-skin-base"],
html.dark body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base {
  background: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
}

html.dark body.shop-theme-mipiace .mipiace-category-filter nav button[class*="bg-skin-base"] *,
html.dark body.shop-theme-mipiace #shop-menu-anchor .grid.grid-cols-2 > a.bg-skin-base * {
  color: #fff !important;
}

html.dark body.shop-theme-mipiace .mipiace-products a,
html.dark body.shop-theme-mipiace .mipiace-products button {
  color: #e2e8f0;
}

html.dark body.shop-theme-mipiace .mipiace-products .bg-white,
html.dark body.shop-theme-mipiace .mipiace-products [class*="bg-gray-50"],
html.dark body.shop-theme-mipiace .mipiace-products [class*="bg-slate-50"] {
  background: #1e293b !important;
}

html.dark body.shop-theme-mipiace > footer {
  background: #020617 !important;
  border-color: #334155 !important;
}
