/*
Theme Name: BNN Menu
Theme URI: https://bepnhanang.vn
Author: Bep Nha Nang
Description: Lightweight mobile-first WooCommerce menu theme for Bep Nha Nang.
Version: 0.1.2
Text Domain: bnn-menu
License: GPL-2.0-or-later
*/

:root {
  --bnn-primary: #d8609d;
  --bnn-primary-hover: #b5477f;
  --bnn-secondary: #8e3c61;
  --bnn-background: #fffafc;
  --bnn-soft-background: #fff0f5;
  --bnn-text: #38262f;
  --bnn-heading: #8e3c61;
  --bnn-button-background: #d8609d;
  --bnn-button-text: #ffffff;
  --bnn-sale-badge: #e76793;
  --bnn-border: #efcfdd;
  --bnn-muted: #796b70;
  --bnn-red: var(--bnn-primary);
  --bnn-red-dark: var(--bnn-primary-hover);
  --bnn-green: var(--bnn-heading);
  --bnn-cream: var(--bnn-background);
  --bnn-ink: var(--bnn-text);
  --bnn-line: var(--bnn-border);
  --bnn-card: #ffffff;
  --bnn-radius: 18px;
  --bnn-shadow: 0 10px 30px rgba(142, 60, 97, 0.12);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bnn-cream);
  color: var(--bnn-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bnn-container { width: min(1180px, calc(100% - 32px)); max-width: 100%; min-width: 0; box-sizing: border-box; margin-inline: auto; }
.bnn-main { min-height: 60vh; }

/* Shared WooCommerce defaults, kept intentionally small. */
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--bnn-line); }
.woocommerce-error { border-color: #e7a8ae; color: #8f1f2a; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-bottom: 1px solid var(--bnn-line); text-align: left; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 700; }
.woocommerce form .form-row input, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--bnn-line); border-radius: 10px; background: #fff; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border: 0; border-radius: 999px; background: var(--bnn-red); color: #fff; padding: 12px 18px; font-weight: 800; cursor: pointer; }

@media (min-width: 760px) {
  .bnn-container { width: min(1180px, calc(100% - 48px)); }
}
