/*
Theme Name: VeroBite Restaurant
Theme URI: https://theverobite.com/
Author: VeroBite
Description: Universal, performance-focused restaurant storefront for WooCommerce and VeroBite restaurant plugins.
Version: 0.2.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: verobite-restaurant
*/

:root {
  --vb-ink: #17130f;
  --vb-paper: #f3eee5;
  --vb-surface: #fffaf2;
  --vb-muted: #746a60;
  --vb-line: rgba(23, 19, 15, .12);
  --vb-accent: #ff6b2c;
  --vb-accent-deep: #d94812;
  --vb-gold: #d8a64b;
  --vb-leaf: #244d3b;
  --vb-radius: 28px;
  --vb-shadow: 0 30px 80px rgba(46, 31, 20, .14);
  --vb-shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--vb-paper);
  color: var(--vb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.vb-shell { width: var(--vb-shell); margin-inline: auto; }

.vb-announcement {
  padding: 10px 20px;
  background: var(--vb-ink);
  color: #fff;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--vb-line);
  background: rgba(255, 250, 242, .88);
  backdrop-filter: blur(22px);
}
.vb-header__row { min-height: 86px; display: flex; align-items: center; gap: 34px; }
.vb-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 180px; }
.vb-brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  color: #fff;
  background: var(--vb-accent);
  font-weight: 900;
  font-size: 1.15rem;
}
.vb-brand__name { display: block; font-family: Georgia, serif; font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; }
.vb-brand__tagline { display: block; color: var(--vb-muted); font-size: .7rem; line-height: 1.2; }
.vb-brand__logo { width: auto; max-width: 190px; max-height: 52px; object-fit: contain; }
.vb-nav { margin-left: auto; }
.vb-nav ul { display: flex; gap: 25px; align-items: center; list-style: none; padding: 0; margin: 0; }
.vb-nav a { position: relative; font-size: .82rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.vb-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--vb-accent); transition: right .2s ease; }
.vb-nav a:hover::after { right: 0; }
.vb-nav a:hover { color: var(--vb-accent-deep); }
.vb-header__actions { display: flex; gap: 10px; align-items: center; }
.vb-icon-button, .vb-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.vb-icon-button { width: 42px; height: 42px; display: grid; place-items: center; background: var(--vb-surface); border: 1px solid var(--vb-line); }
.vb-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; background: var(--vb-accent); color: #fff; }
.vb-button { box-shadow: 0 12px 28px rgba(217,72,18,.22); }
.vb-button:hover, .vb-icon-button:hover { transform: translateY(-3px); }
.vb-button--dark { background: var(--vb-ink); }
.vb-button--ghost { color: var(--vb-ink); background: transparent; border: 1px solid var(--vb-line); }
.vb-hero .vb-button--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.vb-menu-toggle { display: none; }
.vb-cart-count { min-width: 18px; height: 18px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--vb-ink); color: #fff; font-size: .65rem; }

.vb-hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; background: #18130f; color: #fff; }
.vb-hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -310px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.vb-hero__media { position: absolute; inset: 0; }
.vb-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.vb-hero__media { background: radial-gradient(circle at 78% 45%, rgba(243,106,33,.26), transparent 26%), radial-gradient(circle at 76% 50%, #423026 0, #18130f 48%); }
.vb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,9,.96) 0%, rgba(15,12,9,.78) 48%, rgba(15,12,9,.2) 100%); }
.vb-hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; padding-block: 92px; }
.vb-hero__content { max-width: 760px; }
.vb-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #ffd1b8; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.vb-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--vb-accent); }
.vb-hero h1, .vb-section-heading h2, .vb-page-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}
.vb-hero h1 { max-width: 760px; font-size: clamp(4rem, 7.5vw, 7.3rem); }
.vb-hero__lead { max-width: 590px; margin: 28px 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 2vw, 1.22rem); }
.vb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vb-hero__facts { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 42px; }
.vb-fact { padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); font-size: .8rem; }
.vb-hero-dish { position: relative; min-height: 480px; display: grid; place-items: center; }
.vb-hero-dish__plate { width: min(420px, 34vw); aspect-ratio: 1; position: relative; border-radius: 50%; background: radial-gradient(circle, #efb56d 0 8%, #b43d1e 9% 18%, #efc16f 19% 30%, #6d8a48 31% 37%, #f7e0ad 38% 57%, #eee6db 58% 66%, #fff 67% 70%, #c9b7a1 71% 72%, transparent 73%); filter: drop-shadow(0 38px 45px rgba(0,0,0,.55)); transform: rotate(-8deg); }
.vb-hero-dish__plate::before, .vb-hero-dish__plate::after { content: ""; position: absolute; border-radius: 50%; background: var(--vb-leaf); box-shadow: 28px 18px 0 #ba4924, -22px 28px 0 #e8b94c; }
.vb-hero-dish__plate::before { width: 32px; height: 18px; top: 31%; left: 36%; transform: rotate(24deg); }
.vb-hero-dish__plate::after { width: 22px; height: 13px; right: 31%; bottom: 35%; transform: rotate(-32deg); }
.vb-hero-dish__badge { position: absolute; right: 0; bottom: 36px; width: 132px; height: 132px; display: grid; place-items: center; padding: 20px; border-radius: 50%; background: var(--vb-accent); color: #fff; text-align: center; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.1; transform: rotate(8deg); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.vb-service-strip { position: relative; z-index: 3; margin-top: -38px; }
.vb-service-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 22px; background: var(--vb-surface); box-shadow: var(--vb-shadow); }
.vb-service-item { display: flex; align-items: center; gap: 16px; padding: 25px 28px; }
.vb-service-item + .vb-service-item { border-left: 1px solid var(--vb-line); }
.vb-service-item__icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,107,44,.12); color: var(--vb-accent-deep); font-weight: 900; }
.vb-service-item strong { display: block; font-family: Georgia, serif; font-size: 1.05rem; }
.vb-service-item span { color: var(--vb-muted); font-size: .78rem; }

.vb-section { padding: 112px 0; }
.vb-section--white { background: var(--vb-surface); }
.vb-section-heading { max-width: 720px; margin-bottom: 42px; }
.vb-section-heading h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.vb-section-heading p { max-width: 600px; color: var(--vb-muted); }
.vb-mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vb-mode-card { min-height: 310px; padding: 36px; border: 1px solid var(--vb-line); border-radius: var(--vb-radius); background: var(--vb-surface); box-shadow: 0 10px 34px rgba(43,30,20,.05); transition: transform .25s ease, box-shadow .25s ease; }
.vb-mode-card:hover { transform: translateY(-8px); box-shadow: var(--vb-shadow); }
.vb-mode-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: rgba(243,106,33,.12); color: var(--vb-accent-deep); font-size: 1.45rem; }
.vb-mode-card h3 { margin: 35px 0 8px; font-size: 1.45rem; }
.vb-mode-card p { color: var(--vb-muted); }
.vb-mode-card a { display: inline-block; margin-top: 12px; color: var(--vb-accent-deep); font-weight: 850; }

.vb-product-grid, ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0 !important; margin: 0 !important; }
.vb-product-card, ul.products li.product {
  position: relative;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  background: var(--vb-surface);
  box-shadow: 0 16px 50px rgba(54,36,22,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vb-product-card:hover, ul.products li.product:hover { transform: translateY(-7px); box-shadow: var(--vb-shadow); }
.vb-product-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: #eae2d8; }
.vb-product-card__image:has(img[src*="placeholder"]) { position: relative; background: radial-gradient(circle at 50% 52%, #efcb7f 0 13%, #c95025 14% 26%, #7c984d 27% 32%, #f2e2c1 33% 49%, #fffaf2 50% 58%, #d7c5ad 59% 60%, #e8ded0 61%); }
.vb-product-card__image:has(img[src*="placeholder"])::after { content: "Freshly prepared"; position: absolute; left: 18px; bottom: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(23,19,15,.8); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vb-product-card__image:has(img[src*="placeholder"]) img { opacity: 0; }
.vb-product-card__image img, ul.products li.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important; transition: transform .45s ease; }
.vb-product-card:hover img, ul.products li.product:hover img { transform: scale(1.04); }
.vb-product-card__body { padding: 22px; }
.vb-product-card__body h3, ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px !important; padding: 0 !important; font-family: Georgia, serif; font-size: 1.35rem !important; }
.vb-product-card__body p { color: var(--vb-muted); font-size: .88rem; }
.vb-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.vb-price, ul.products li.product .price { color: var(--vb-accent-deep) !important; font-weight: 900 !important; }
ul.products li.product .button { margin: 16px 20px 20px !important; }

.vb-page-heading { padding: 85px 0 45px; }
.vb-page-heading h1 { font-size: clamp(3rem, 7vw, 6rem); }
.vb-page-heading p { color: var(--vb-muted); max-width: 620px; }
.vb-content { padding-bottom: 100px; }
.vb-content article, .vb-woocommerce {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  background: var(--vb-surface);
  box-shadow: var(--vb-shadow);
}
.vb-content article + article { margin-top: 20px; }

.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button {
  border-radius: 999px !important;
  background: var(--vb-accent) !important;
  color: #fff !important;
  font-weight: 850 !important;
  padding: 14px 22px !important;
}
.woocommerce input, .woocommerce select, .woocommerce textarea,
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input {
  border: 1px solid var(--vb-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 14px; border-top-color: var(--vb-accent) !important; background: #fff; }
.woocommerce table.shop_table { border-color: var(--vb-line); border-radius: 16px; }
.woocommerce-checkout #payment { border-radius: 18px; background: #f2ede6; }

.vb-footer { padding: 75px 0 30px; background: var(--vb-ink); color: #fff; }
.vb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 55px; }
.vb-footer h2, .vb-footer h3 { margin-top: 0; }
.vb-footer p, .vb-footer a { color: rgba(255,255,255,.68); }
.vb-footer ul { list-style: none; padding: 0; }
.vb-footer li { margin: 7px 0; }
.vb-footer__bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .78rem; }

@media (max-width: 900px) {
  .vb-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; padding: 22px; background: var(--vb-paper); border-bottom: 1px solid var(--vb-line); }
  .vb-nav.is-open { display: block; }
  .vb-nav ul { align-items: stretch; flex-direction: column; }
  .vb-menu-toggle { display: grid; }
  .vb-header__actions .vb-button { display: none; }
  .vb-mode-grid, .vb-product-grid, ul.products { grid-template-columns: 1fr 1fr !important; }
  .vb-footer__grid { grid-template-columns: 1fr 1fr; }
  .vb-hero__layout { grid-template-columns: 1fr; }
  .vb-hero-dish { display: none; }
}
@media (max-width: 620px) {
  :root { --vb-shell: min(100% - 26px, 1180px); --vb-radius: 18px; }
  .vb-announcement { font-size: .68rem; }
  .vb-header__row { min-height: 68px; gap: 8px; }
  .vb-brand { min-width: 0; margin-right: auto; }
  .vb-brand__tagline { display: none; }
  .vb-nav { top: 68px; }
  .vb-hero { min-height: 640px; }
  .vb-hero__layout { padding-block: 85px 110px; }
  .vb-hero__media::after { background: linear-gradient(0deg, rgba(15,12,9,.94), rgba(15,12,9,.36)); }
  .vb-section { padding: 70px 0; }
  .vb-mode-grid, .vb-product-grid, ul.products, .vb-footer__grid { grid-template-columns: 1fr !important; }
  .vb-mode-card { min-height: 0; }
  .vb-service-strip { margin-top: -28px; }
  .vb-service-strip__grid { grid-template-columns: 1fr; }
  .vb-service-item + .vb-service-item { border-left: 0; border-top: 1px solid var(--vb-line); }
}
