/* KAPADOKYA - CORREZIONE FINALE: tema chiaro obbligatorio */
:root {
  color-scheme: only light !important;
  --kap-bg: #f5f7f4;
  --kap-surface: #ffffff;
  --kap-surface-2: #f9faf8;
  --kap-text: #17201c;
  --kap-muted: #65716b;
  --kap-border: #dfe6e1;
  --kap-green: #08785d;
  --kap-green-dark: #075c49;
  --kap-red: #bd2d2d;
  --kap-shadow: 0 10px 30px rgba(20, 40, 31, .08);
}

html,
body {
  color-scheme: only light !important;
  background: var(--kap-bg) !important;
  color: var(--kap-text) !important;
}

body {
  min-height: 100vh;
}

header,
nav,
.navbar,
.topbar,
.site-header,
.app-header,
.bottom-nav,
.mobile-nav,
footer,
.site-footer {
  background-color: var(--kap-surface) !important;
  color: var(--kap-text) !important;
  border-color: var(--kap-border) !important;
}

main,
.page,
.page-content,
.content,
.container,
.wrapper,
.menu-section,
.cart-section,
.checkout-section {
  color: var(--kap-text) !important;
}

.card,
.product-card,
.menu-card,
.category-card,
.cart-card,
.cart-item,
.order-card,
.checkout-card,
.panel,
.box,
.modal-content,
.dropdown-menu,
.admin-card,
.stat-card {
  background: var(--kap-surface) !important;
  color: var(--kap-text) !important;
  border-color: var(--kap-border) !important;
  box-shadow: var(--kap-shadow);
}

.product-card img,
.menu-card img,
.product-image,
.product-photo,
.card img {
  background: #fff !important;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6,
.product-name,
.product-title,
.card-title,
.menu-title,
label,
strong {
  color: var(--kap-text) !important;
}

p,
small,
.text-muted,
.muted,
.subtitle,
.description,
.product-description {
  color: var(--kap-muted) !important;
}

a {
  color: var(--kap-green-dark);
}

input,
select,
textarea,
.form-control,
.form-select {
  color-scheme: only light !important;
  background: #fff !important;
  color: var(--kap-text) !important;
  border-color: #cfd9d3 !important;
}

input::placeholder,
textarea::placeholder {
  color: #89938e !important;
  opacity: 1;
}

button,
.btn,
.button,
.add-to-cart,
.checkout-button,
.primary-button {
  color-scheme: only light !important;
}

.btn-primary,
.button-primary,
.primary-button,
.add-to-cart,
.checkout-button {
  background: var(--kap-green) !important;
  color: #fff !important;
  border-color: var(--kap-green) !important;
}

.btn-primary:hover,
.button-primary:hover,
.primary-button:hover,
.add-to-cart:hover,
.checkout-button:hover {
  background: var(--kap-green-dark) !important;
  border-color: var(--kap-green-dark) !important;
}

.price,
.product-price,
.menu-price,
.total,
.cart-total {
  color: var(--kap-red) !important;
  font-weight: 800 !important;
}

table,
thead,
tbody,
tr,
th,
td {
  color: var(--kap-text) !important;
  border-color: var(--kap-border) !important;
}

table,
tbody,
td {
  background: var(--kap-surface) !important;
}

thead,
th {
  background: #edf3ef !important;
}

hr {
  border-color: var(--kap-border) !important;
}

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    color-scheme: only light !important;
    background: var(--kap-bg) !important;
    color: var(--kap-text) !important;
  }

  header, nav, footer,
  .navbar, .topbar, .site-header, .app-header,
  .card, .product-card, .menu-card, .cart-card,
  .cart-item, .order-card, .checkout-card, .panel,
  .box, .modal-content, .admin-card, .stat-card {
    background: var(--kap-surface) !important;
    color: var(--kap-text) !important;
    border-color: var(--kap-border) !important;
  }

  input, select, textarea,
  .form-control, .form-select {
    background: #fff !important;
    color: var(--kap-text) !important;
  }
}

@media (max-width: 768px) {
  body {
    background: #f7f8f6 !important;
  }

  .card,
  .product-card,
  .menu-card,
  .cart-card,
  .checkout-card {
    border-radius: 16px !important;
  }

  .product-card img,
  .menu-card img,
  .product-image,
  .product-photo {
    min-height: 150px;
    max-height: 220px;
    width: 100%;
    object-fit: cover;
  }
}

/* HERO_NO_IMAGE_PATCH_20260717 */
.hero-image,
.hero-media,
.hero-visual,
.hero-right,
.home-hero__media,
.home-hero__image,
.banner-image,
.banner-media,
.promo-hero__media,
.promo-hero__image {
  display: none !important;
}

.hero,
.home-hero,
.hero-section,
.hero-card,
.home-hero-card,
.banner-hero,
.promo-hero {
  grid-template-columns: 1fr !important;
}

.hero,
.home-hero,
.hero-section,
.hero-card,
.home-hero-card,
.banner-hero,
.promo-hero,
.hero-content,
.home-hero__content {
  background-image: none !important;
}

.hero-content,
.home-hero__content,
.hero-text,
.home-hero__text {
  max-width: 100% !important;
}
