/*
Theme Name: Hello Pub
Theme URI: https://www.hellopub.ro/
Author: Hello Pub
Description: Temă pentru Hello Pub Vaslui: meniul cu comandă online direct pe prima pagină, coș lateral, sos la alegere, livrare sau ridicare personală. Necesită WooCommerce.
Version: 1.4.2
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hellopub
Tags: e-commerce, food-and-drink, one-column, custom-logo, custom-menu
*/

/* ==========================================================================
   Font (Archivo, găzduit în temă – licență OFL în assets/fonts/OFL.txt)
   ========================================================================== */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --hp-ink: #141414;
  --hp-ink-2: #3d3d3d;
  --hp-muted: #6b6b6b;
  --hp-line: #e7e6e3;
  --hp-line-2: #d9d8d4;
  --hp-soft: #f4f4f2;
  --hp-img: #f1f0ec;
  --hp-white: #ffffff;
  --hp-dark-2: #232323;
  --hp-dark-3: #2e2e2e;
  --hp-on-dark: #cfcfcf;
  --hp-accent: #ff6a13;
  --hp-accent-soft: #fff3ea;
  --hp-accent-track: #ffe0cc;
  --hp-accent-ink: #7a2e05;
  --hp-open: #12b76a;
  --hp-closed: #f04438;

  --hp-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hp-radius: 20px;
  --hp-radius-sm: 14px;
  --hp-container: 1360px;
  --hp-topbar-h: 68px;
  --hp-menubar-h: 120px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hp-topbar-h) + var(--hp-menubar-h) + 12px); }
body {
  margin: 0;
  font-family: var(--hp-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--hp-ink);
  background: var(--hp-white);
  -webkit-font-smoothing: antialiased;
}
body.hp-lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hp-ink); }
a:hover { color: #c2410c; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--hp-accent); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--hp-accent); color: var(--hp-ink); font-weight: 700; }
.hp-skip:focus { top: 12px; }

.hp-container { width: 100%; max-width: var(--hp-container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hp-h1 { margin: 0 0 20px; font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.hp-h2 { margin: 0 0 20px; font-weight: 800; font-stretch: 112%; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.hp-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hp-muted); }
.hp-icon { flex: none; }

/* Prices */
.woocommerce-Price-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .12s ease, filter .12s ease;
}
.hp-btn:hover { filter: brightness(0.96); }
.hp-btn:active { transform: translateY(1px); }
.hp-btn--accent { background: var(--hp-accent); color: var(--hp-ink); font-weight: 800; }
.hp-btn--accent:hover { color: var(--hp-ink); }
.hp-btn--dark { background: var(--hp-ink); color: var(--hp-white); }
.hp-btn--dark:hover { color: var(--hp-white); filter: none; background: #2a2a2a; }
.hp-btn--light { background: var(--hp-white); color: var(--hp-ink); min-height: 44px; border-radius: 999px; padding: 0 18px; font-size: 15px; }
.hp-btn--outline { background: transparent; color: var(--hp-ink); box-shadow: inset 0 0 0 2px var(--hp-ink); }
.hp-btn--block { display: flex; width: 100%; }
.hp-btn--split { justify-content: space-between; text-align: left; }
.hp-btn--split > span { white-space: nowrap; }
.hp-cart .hp-btn--split { font-size: 16px; padding: 0 18px; }
.hp-btn.is-disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.hp-topbar { position: sticky; top: 0; z-index: 50; background: var(--hp-ink); color: var(--hp-white); }
.admin-bar .hp-topbar { top: 32px; }
.hp-topbar__inner { min-height: var(--hp-topbar-h); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; }

.hp-logo { color: var(--hp-white); text-decoration: none; }
.hp-logo:hover { color: var(--hp-white); }
.hp-logo--image img { max-height: 48px; width: auto; }
.hp-wordmark { font-weight: 900; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.hp-wordmark__dot { color: var(--hp-accent); }

.hp-mode { display: inline-flex; padding: 4px; border-radius: 999px; background: #262626; }
.hp-mode__btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--hp-on-dark); font-weight: 600; font-size: 14px; }
.hp-mode__btn[aria-pressed="true"] { background: var(--hp-white); color: var(--hp-ink); }

.hp-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hp-on-dark); }
.hp-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-open); box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18); }
.hp-status.is-closed .hp-status__dot { background: var(--hp-closed); box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.18); }

.hp-nav { margin-left: auto; }
.hp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font-size: 15px; }
.hp-nav__list a { color: var(--hp-on-dark); text-decoration: none; }
.hp-nav__list a:hover, .hp-nav__list .current-menu-item a { color: var(--hp-white); }

.hp-topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--hp-white); text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.hp-topbar__phone:hover { color: var(--hp-accent); }
.hp-topbar__phone .hp-icon { color: var(--hp-accent); }

.hp-cartbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--hp-accent); color: var(--hp-ink);
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.hp-cartbtn:hover { color: var(--hp-ink); filter: brightness(0.96); }
.hp-cartbtn .woocommerce-Price-amount { font-weight: 700; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hp-hero { background: var(--hp-ink); color: var(--hp-white); }
.hp-hero__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; padding-top: 36px; padding-bottom: 40px; }
.hp-hero__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hp-hero__title { margin: 0; font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; letter-spacing: -0.03em; }
.hp-hero__hl { display: block; color: var(--hp-accent); }
.hp-hero__lead { margin: 0; font-size: 18px; color: var(--hp-on-dark); max-width: 560px; }
.hp-hero__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.hp-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hp-hero__facts .hp-icon { color: var(--hp-accent); }

.hp-hero__promos { flex: 1 1 540px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp-promo { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--hp-dark-2); }
.hp-promo__img { position: relative; aspect-ratio: 16 / 10; background: var(--hp-dark-3); }
.hp-promo__img img { width: 100%; height: 100%; object-fit: cover; }
.hp-promo__img .hp-noimg { color: #6b6b6b; background: var(--hp-dark-3); }
.hp-promo__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--hp-accent); color: var(--hp-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hp-promo__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hp-promo__name { margin: 0; font-size: 19px; font-weight: 700; font-stretch: 105%; line-height: 1.2; }
.hp-promo__desc { margin: 0; font-size: 14px; color: #bdbdbd; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-promo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.hp-promo__price { font-size: 22px; font-weight: 800; }

/* ==========================================================================
   Menu bar (search, categories, filters)
   ========================================================================== */
.hp-menubar { position: sticky; top: var(--hp-topbar-h); z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--hp-line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .hp-menubar { top: calc(var(--hp-topbar-h) + 32px); }
.hp-menubar__inner { padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.hp-menubar__row { display: flex; gap: 12px; align-items: center; }
.hp-search { display: flex; align-items: center; gap: 8px; flex: 0 0 260px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--hp-soft); color: var(--hp-muted); }
.hp-search input { border: 0; outline: none; background: transparent; font-size: 15px; color: var(--hp-ink); width: 100%; min-width: 0; }
.hp-search:focus-within { box-shadow: 0 0 0 2px var(--hp-ink); }

.hp-catnav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; scroll-behavior: smooth; }
.hp-catnav::-webkit-scrollbar { display: none; }
.hp-catnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--hp-ink-2); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.hp-catnav a:hover { background: var(--hp-soft); color: var(--hp-ink); }
.hp-catnav a.is-active { background: var(--hp-ink); color: var(--hp-white); }

.hp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hp-line-2); background: var(--hp-white); color: var(--hp-ink); font-weight: 600; font-size: 14px; }
.hp-chip[aria-pressed="true"] { background: var(--hp-ink); border-color: var(--hp-ink); color: var(--hp-white); }

/* ==========================================================================
   Layout: menu + cart
   ========================================================================== */
.hp-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 32px; padding-bottom: 72px; }
.hp-menu { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.hp-empty { margin: 0; font-size: 17px; color: var(--hp-muted); }

.hp-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 18px; }
.hp-cat__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.hp-cat__sub { color: var(--hp-muted); font-size: 15px; }

.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.hp-grid--compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }

/* Card */
.hp-card { display: flex; flex-direction: column; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden; background: var(--hp-white); transition: box-shadow .15s ease, transform .15s ease; }
.hp-card--full:hover { box-shadow: 0 10px 30px rgba(20, 20, 20, 0.08); }
.hp-card__img { position: relative; aspect-ratio: 4 / 3; background: var(--hp-img); }
.hp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hp-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a8a6a0; background: var(--hp-img); }
.hp-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--hp-ink); color: var(--hp-white); }
.hp-tag--picant { background: #fde4de; color: #8a1c0a; }
.hp-tag--de-post { background: #e3f4e8; color: #14532d; }
.hp-tag--pentru-2 { background: var(--hp-accent-soft); color: var(--hp-accent-ink); }

.hp-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hp-card__name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; }
.hp-card__meta { font-size: 13px; color: var(--hp-muted); }
.hp-card__desc { margin: 0; font-size: 14px; line-height: 1.45; color: var(--hp-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.hp-card__price { font-size: 20px; font-weight: 800; }

.hp-add { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--hp-ink); color: var(--hp-white); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.hp-add:hover { color: var(--hp-white); background: #2a2a2a; }
.hp-add--round { width: 44px; padding: 0; font-size: 22px; flex: none; }
.hp-qty { display: none; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--hp-ink); flex: none; }
.hp-qty__btn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--hp-white); font-weight: 700; font-size: 18px; line-height: 1; }
.hp-qty__btn--plus { background: var(--hp-accent); color: var(--hp-ink); }
.hp-qty__num { min-width: 22px; text-align: center; color: var(--hp-white); font-weight: 700; }
.hp-card.is-in-cart .hp-add { display: none; }
.hp-card.is-in-cart .hp-qty { display: inline-flex; }
.hp-soldout { font-size: 14px; font-weight: 600; color: var(--hp-muted); }

/* Compact card */
.hp-card--compact { flex-direction: row; align-items: center; border: 0; border-radius: 16px; background: var(--hp-soft); min-height: 64px; }
.hp-card--compact .hp-card__body { flex-direction: row; align-items: center; padding: 8px 8px 8px 16px; gap: 12px; }
.hp-card--compact .hp-card__name { font-size: 15px; font-weight: 600; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hp-card--compact .hp-card__body { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name foot" "meta foot"; row-gap: 0; }
.hp-card--compact .hp-card__name { grid-area: name; }
.hp-card--compact .hp-card__meta { grid-area: meta; }
.hp-card--compact .hp-card__foot { grid-area: foot; margin: 0; padding: 0; }
.hp-card--compact .hp-qty__btn { width: 36px; height: 36px; }

/* ==========================================================================
   Cart
   ========================================================================== */
.hp-cart { flex: 1 1 360px; position: sticky; top: calc(var(--hp-topbar-h) + var(--hp-menubar-h) + 16px); max-height: calc(100vh - var(--hp-topbar-h) - var(--hp-menubar-h) - 32px); overflow: auto; border: 1px solid var(--hp-line); border-radius: 24px; background: var(--hp-white); box-shadow: 0 12px 40px rgba(20, 20, 20, 0.08); scroll-margin-top: calc(var(--hp-topbar-h) + var(--hp-menubar-h) + 16px); }
.admin-bar .hp-cart { top: calc(var(--hp-topbar-h) + var(--hp-menubar-h) + 48px); }
.hp-cart__inner { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hp-cart__head { display: flex; align-items: baseline; gap: 12px; }
.hp-cart__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 24px; letter-spacing: -0.02em; }
.hp-cart__mode { margin-left: auto; font-size: 14px; color: var(--hp-muted); }
.hp-cart__close { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--hp-soft); align-items: center; justify-content: center; }
.hp-cart__empty { margin: 0; color: var(--hp-muted); font-size: 15px; }
.hp-cart__note { margin: 10px 0 0; font-size: 13px; color: var(--hp-muted); text-align: center; }
.hp-cart__cta { position: sticky; bottom: -22px; margin: -6px -22px -22px; padding: 12px 22px 18px; background: var(--hp-white); border-radius: 0 0 24px 24px; box-shadow: 0 -10px 20px -14px rgba(20, 20, 20, 0.25); }

.hp-progress { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--hp-accent-soft); }
.hp-progress__text { font-size: 14px; font-weight: 600; color: var(--hp-accent-ink); }
.hp-progress__track { display: block; height: 8px; border-radius: 999px; background: var(--hp-accent-track); overflow: hidden; }
.hp-progress__bar { display: block; height: 100%; border-radius: 999px; background: var(--hp-accent); transition: width .3s ease; }

.hp-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hp-line { display: flex; align-items: flex-start; gap: 12px; }
.hp-line__qty { display: inline-flex; align-items: center; gap: 2px; flex: none; padding: 2px; border: 1px solid var(--hp-line); border-radius: 999px; }
.hp-line__qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--hp-soft); font-weight: 700; font-size: 15px; }
.hp-line__qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.hp-line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.hp-line__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.hp-line__extra { font-size: 13px; color: var(--hp-muted); }
.hp-line__total { padding-top: 6px; font-weight: 700; font-size: 15px; }

.hp-upsell { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--hp-line); }
.hp-upsell__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-upsell__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--hp-line); border-radius: 14px; background: var(--hp-white); font-weight: 600; font-size: 14px; text-align: left; }
.hp-upsell__btn:hover { border-color: var(--hp-ink); }
.hp-upsell__price { font-weight: 400; font-size: 13px; color: var(--hp-muted); }

.hp-totals { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--hp-line); font-size: 15px; }
.hp-totals__row { display: flex; justify-content: space-between; gap: 12px; }
.hp-totals__row--muted { color: var(--hp-muted); }
.hp-totals__row--total { align-items: baseline; padding-top: 4px; font-weight: 800; font-size: 18px; }
.hp-totals__row--total span:last-child { font-size: 24px; font-stretch: 112%; }

.hp-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 20, 0.55); }

/* Mobile cart bar */
.hp-cartbar { display: none; }

/* Toast */
.hp-toast { position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--hp-ink); color: var(--hp-white); font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); }
.hp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.hp-busy .hp-add, .hp-busy .hp-qty__btn, .hp-busy .hp-line__qty button { cursor: progress; }

/* ==========================================================================
   Options dialog
   ========================================================================== */
.hp-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 24px; background: var(--hp-white); color: var(--hp-ink); overflow: auto; }
.hp-dialog::backdrop { background: rgba(20, 20, 20, 0.55); }
.hp-dialog__form { position: relative; margin: 0; }
.hp-dialog__media { height: 200px; background: var(--hp-img); }
.hp-dialog__media.has-img .hp-noimg { display: none; }
.hp-dialog__media img { width: 100%; height: 100%; object-fit: cover; }
.hp-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--hp-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(20, 20, 20, 0.15); }
.hp-dialog__body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hp-dialog__intro { display: flex; flex-direction: column; gap: 6px; }
.hp-dialog__title { margin: 0; font-weight: 800; font-stretch: 110%; font-size: 24px; letter-spacing: -0.02em; }
.hp-dialog__meta { margin: 0; font-size: 14px; color: var(--hp-muted); }
.hp-dialog__meta:empty { display: none; }
.hp-dialog__desc { margin: 0; font-size: 15px; color: var(--hp-ink-2); }

.hp-choice { border: 0; margin: 0; padding: 0; }
.hp-choice legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.hp-choice legend span { font-weight: 400; color: var(--hp-muted); }
.hp-choice__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-choice__opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 2px solid var(--hp-line); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.hp-choice__opt input { accent-color: var(--hp-ink); width: 18px; height: 18px; margin: 0; }
.hp-choice__opt:has(input:checked) { border-color: var(--hp-accent); background: var(--hp-accent-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.hp-footer { background: var(--hp-ink); color: var(--hp-on-dark); font-size: 15px; }
.hp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.hp-footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hp-footer__col p { margin: 0; }
.hp-footer__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--hp-white); }
.hp-footer a { color: var(--hp-on-dark); }
.hp-footer a:hover { color: var(--hp-white); }
.hp-footer .hp-footer__strong { color: var(--hp-white); font-weight: 600; }
.hp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2a2a2a; font-size: 14px; }
.hp-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   Pages (checkout, account, generic)
   ========================================================================== */
.hp-page { padding-top: 48px; padding-bottom: 72px; }
.hp-content { font-size: 17px; line-height: 1.65; color: var(--hp-ink-2); }
.hp-content > *:first-child { margin-top: 0; }
.hp-back { margin: 0 0 24px; }
.hp-back a { text-decoration: none; font-weight: 600; }
.hp-404 { text-align: center; }

/* ==========================================================================
   Finalizarea comenzii (checkout clasic) – premium
   ========================================================================== */
.hp-checkout { max-width: 1180px; }
.hp-checkout .hp-h1 { margin-bottom: 8px; }
.hp-checkout .hp-content { font-size: 16px; line-height: 1.5; color: var(--hp-ink); }
html.hp-co-loading .hp-checkout form.checkout { opacity: 0.4; pointer-events: none; transition: opacity .2s; }

/* Sus: înapoi + livrare / ridicare */
.hp-co-top { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; }
.hp-co-back { align-self: flex-start; color: var(--hp-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.hp-co-back:hover { color: var(--hp-ink); }
.hp-co-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; }
.hp-co-mode__opt { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 2px solid var(--hp-line); border-radius: 18px; background: var(--hp-white); color: var(--hp-ink); text-align: left; transition: border-color .15s, background .15s; }
.hp-co-mode__opt:hover { border-color: var(--hp-line-2); }
.hp-co-mode__opt[aria-pressed="true"] { border-color: var(--hp-ink); background: var(--hp-soft); box-shadow: inset 0 0 0 1px var(--hp-ink); }
.hp-co-mode__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--hp-accent-soft); color: var(--hp-accent-ink); }
.hp-co-mode__opt[aria-pressed="true"] .hp-co-mode__icon { background: var(--hp-accent); color: var(--hp-ink); }
.hp-co-mode__text { display: flex; flex-direction: column; gap: 2px; }
.hp-co-mode__text strong { font-size: 16px; font-weight: 700; }
.hp-co-mode__text span { font-size: 14px; color: var(--hp-muted); }
.hp-co-pickup { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--hp-ink-2); }

/* Layout: formular stânga, comanda dreapta */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); grid-template-areas: "details heading" "details review"; grid-template-rows: auto 1fr; gap: 0 32px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-area: details; display: flex; flex-direction: column; gap: 20px; counter-reset: hpstep; }
.woocommerce-checkout #order_review_heading { grid-area: heading; }
.woocommerce-checkout #order_review { grid-area: review; position: sticky; top: calc(var(--hp-topbar-h) + 16px); }
.admin-bar.woocommerce-checkout #order_review { top: calc(var(--hp-topbar-h) + 48px); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
.woocommerce-shipping-fields:empty { display: none; }

/* Carduri de secțiune, numerotate */
.woocommerce-billing-fields, .woocommerce-additional-fields { padding: 26px; border: 1px solid var(--hp-line); border-radius: 24px; background: var(--hp-white); }
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #order_review_heading { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 22px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; color: var(--hp-ink); }
.woocommerce-billing-fields > h3::before, .woocommerce-additional-fields > h3::before { counter-increment: hpstep; content: counter(hpstep); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--hp-ink); color: var(--hp-white); font-size: 15px; font-stretch: 100%; }
#order_review_heading { margin: 0; padding: 26px 26px 0; border: 1px solid var(--hp-line); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--hp-white); }
.woocommerce-checkout #order_review { padding: 8px 26px 26px; border: 1px solid var(--hp-line); border-top: 0; border-radius: 0 0 24px 24px; background: var(--hp-white); box-shadow: 0 24px 48px -24px rgba(20, 20, 20, 0.18); }

/* Câmpuri */
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.woocommerce form .form-row { float: none; width: auto; margin: 0; padding: 0; }
.woocommerce form .form-row-wide, .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
.woocommerce form .form-row.hp-field-hidden, .hp-field-hidden { display: none !important; }
.hp-fieldset-title { grid-column: 1 / -1; margin-top: 10px !important; padding-top: 18px !important; border-top: 1px solid var(--hp-line); }
.hp-fieldset-title h4 { margin: 0; font-size: 16px; font-weight: 700; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--hp-ink-2); }
.woocommerce form .form-row label .optional { font-weight: 400; color: var(--hp-muted); }
.woocommerce form .form-row .required { color: var(--hp-accent); text-decoration: none; border: 0; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--hp-line-2); border-radius: 14px; background: #fcfcfb; font-size: 16px; color: var(--hp-ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.woocommerce form .form-row input.input-text::placeholder, .woocommerce form .form-row textarea::placeholder { color: #a3a29d; }
.woocommerce form .form-row textarea { min-height: 96px; resize: vertical; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--hp-ink); background: var(--hp-white); box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #d92d20; background: #fff8f7; }
.woocommerce form .form-row .description { margin: 6px 0 0; padding: 0; background: none; color: var(--hp-muted); font-size: 13px; }
.woocommerce form .form-row .description::before { display: none; }
.woocommerce-checkout .woocommerce-input-wrapper strong { font-weight: 600; }

/* Cash / Card */
.hp-pay-field > label { margin-bottom: 10px !important; font-size: 15px !important; color: var(--hp-ink) !important; }
.hp-pay-field .woocommerce-input-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-pay-field input.input-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-pay-field label.radio .required, .hp-pay-field label.radio abbr { display: none; }
.hp-pay-field input.input-radio + label { position: relative; display: flex !important; align-items: center; gap: 10px; min-height: 58px; margin: 0 !important; padding: 0 16px 0 46px !important; border: 2px solid var(--hp-line); border-radius: 14px; font-weight: 700 !important; font-size: 16px !important; color: var(--hp-ink) !important; cursor: pointer; }
.hp-pay-field input.input-radio + label::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--hp-line-2); border-radius: 50%; background: var(--hp-white); }
.hp-pay-field input.input-radio:checked + label { border-color: var(--hp-ink); background: var(--hp-soft); }
.hp-pay-field input.input-radio:checked + label::before { border: 6px solid var(--hp-ink); }
.hp-pay-field input.input-radio:focus-visible + label { outline: 3px solid var(--hp-accent); outline-offset: 2px; }

/* Rezumatul comenzii */
.woocommerce-checkout-review-order-table { width: 100%; border: 0 !important; border-collapse: collapse; font-size: 15px; margin: 0 0 8px !important; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0 !important; border: 0 !important; background: none !important; text-align: left; vertical-align: top; font-weight: 400; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table tfoot th + td { text-align: right; white-space: nowrap; }
.woocommerce-checkout-review-order-table .cart_item td { padding: 12px 0 !important; border-bottom: 1px solid var(--hp-line) !important; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 700; color: var(--hp-muted); }
.woocommerce-checkout-review-order-table .product-total { font-weight: 700; }
.woocommerce-checkout-review-order-table dl.variation { margin: 4px 0 0; font-size: 13px; font-weight: 400; color: var(--hp-muted); display: flex; flex-wrap: wrap; gap: 0 6px; }
.woocommerce-checkout-review-order-table dl.variation dt { margin: 0; font-weight: 400; }
.woocommerce-checkout-review-order-table dl.variation dd { margin: 0 8px 0 0; color: var(--hp-accent-ink); font-weight: 600; }
.woocommerce-checkout-review-order-table dl.variation p { margin: 0; }
.woocommerce-checkout-review-order-table tfoot tr:first-child th, .woocommerce-checkout-review-order-table tfoot tr:first-child td { padding-top: 16px !important; }
.woocommerce-checkout-review-order-table tfoot th, .woocommerce-checkout-review-order-table tfoot td { color: var(--hp-ink-2); }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { padding-top: 16px !important; border-top: 1px solid var(--hp-line) !important; color: var(--hp-ink); font-size: 18px; font-weight: 800 !important; }
.woocommerce-checkout-review-order-table .order-total td strong, .woocommerce-checkout-review-order-table .order-total .amount { font-size: 26px; font-stretch: 110%; }
.woocommerce-checkout-review-order-table .order-total small { display: block; font-size: 12px; font-weight: 400; color: var(--hp-muted); }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin: 0; }
.woocommerce-shipping-methods label { font-weight: 600; color: var(--hp-ink); }

/* Plata */
.woocommerce-checkout #payment { background: none !important; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 8px 0 0; padding: 0 !important; border: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--hp-soft); line-height: 1.4; }
.woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 700; color: var(--hp-ink); }
.woocommerce-checkout #payment ul.payment_methods li input[type=radio] { margin: 0 8px 0 0; accent-color: var(--hp-ink); }
.woocommerce-checkout #payment div.payment_box { margin: 6px 0 0 !important; padding: 0 !important; background: none !important; color: var(--hp-muted); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.woocommerce-checkout #payment div.form-row.place-order { margin: 0 !important; padding: 18px 0 0 !important; }
.woocommerce-privacy-policy-text p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--hp-muted); }
.woocommerce-privacy-policy-text a { color: var(--hp-ink-2); }
.woocommerce #place_order, .woocommerce button.button.alt, .woocommerce a.button.alt {
  display: flex; width: 100%; justify-content: center; align-items: center; min-height: 60px; border: 0; border-radius: 16px;
  background: var(--hp-accent); color: var(--hp-ink); font-weight: 800; font-size: 18px; letter-spacing: 0.01em; transition: filter .15s, transform .1s;
}
.woocommerce #place_order:hover { filter: brightness(0.95); color: var(--hp-ink); }
.woocommerce #place_order:active { transform: translateY(1px); }
.hp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.hp-co-trust { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--hp-muted); text-align: center; }
.woocommerce-checkout .blockUI.blockOverlay { border-radius: 24px; }
.woocommerce a.button, .woocommerce button.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--hp-ink); color: var(--hp-white); font-weight: 700; text-decoration: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: var(--hp-soft); }
.woocommerce-error { background: #fde4de; color: #8a1c0a; }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ==========================================================================
   About
   ========================================================================== */
.hp-about__hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.hp-about__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; }
.hp-about__title { margin: 0; font-weight: 800; font-stretch: 118%; font-size: clamp(38px, 5vw, 60px); line-height: 0.98; letter-spacing: -0.03em; }
.hp-about__story { max-width: 560px; }
.hp-about__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hp-about__media { flex: 1 1 480px; min-height: 420px; display: flex; border-radius: 24px; overflow: hidden; background: var(--hp-img); }
.hp-about__media .hp-noimg { min-height: 420px; }
.hp-about__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.hp-about__reviews { background: var(--hp-soft); padding: 56px 0; }
.hp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hp-review { margin: 0; padding: 24px; border-radius: 20px; background: var(--hp-white); display: flex; flex-direction: column; gap: 14px; }
.hp-review blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.hp-review figcaption { font-size: 14px; font-weight: 600; color: var(--hp-muted); }
.hp-about__contact { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 56px; padding-bottom: 72px; }
.hp-about__info { flex: 1 1 320px; font-size: 16px; }
.hp-about__info p { margin: 0 0 16px; }
.hp-about__map { flex: 2 1 480px; min-height: 340px; border-radius: 24px; overflow: hidden; background: var(--hp-img); }
.hp-about__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ==========================================================================
   Urmărirea comenzii
   ========================================================================== */
.hp-trackpage { max-width: 760px; }
.hp-thankyou { margin-bottom: 32px; }
.woocommerce-order-received .hp-entry > .hp-h1 { display: none; }
.woocommerce-order-received .woocommerce-thankyou-order-received { display: none; }
.hp-track { display: flex; flex-direction: column; gap: 22px; padding: 28px; border: 1px solid var(--hp-line); border-radius: 24px; background: var(--hp-white); box-shadow: 0 12px 40px rgba(20, 20, 20, 0.08); }
.hp-track__head { display: flex; flex-direction: column; gap: 8px; }
.hp-track__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.hp-track__sub { margin: 0; font-size: 17px; color: var(--hp-ink-2); }
.hp-track--rejected .hp-track__title { color: #8a1c0a; }
.hp-track__eta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--hp-accent-soft); color: var(--hp-accent-ink); }
.hp-track__eta-label { display: block; font-size: 14px; font-weight: 600; }
.hp-track__eta-value { display: block; font-size: 24px; font-weight: 800; font-stretch: 110%; color: var(--hp-ink); }

.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.hp-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 22px; font-size: 14px; color: var(--hp-muted); }
.hp-step::before { content: ""; position: absolute; top: 6px; left: 0; right: -8px; height: 4px; border-radius: 999px; background: var(--hp-line); }
.hp-step:last-child::before { right: 0; }
.hp-step__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--hp-white); border: 3px solid var(--hp-line-2); z-index: 1; }
.hp-step.is-done::before { background: var(--hp-ink); }
.hp-step.is-done .hp-step__dot { background: var(--hp-ink); border-color: var(--hp-ink); }
.hp-step.is-current .hp-step__dot { background: var(--hp-accent); border-color: var(--hp-accent); box-shadow: 0 0 0 5px rgba(255, 106, 19, 0.25); animation: hp-blink 1.6s ease-in-out infinite; }
.hp-step.is-done .hp-step__label, .hp-step.is-current .hp-step__label { color: var(--hp-ink); font-weight: 700; }
.hp-step__time { font-size: 13px; font-variant-numeric: tabular-nums; }
@keyframes hp-blink { 50% { box-shadow: 0 0 0 9px rgba(255, 106, 19, 0.08); } }

.hp-track__summary { padding-top: 18px; border-top: 1px solid var(--hp-line); }
.hp-track__items { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hp-track__items li { display: flex; gap: 10px; }
.hp-track__qty { min-width: 28px; font-weight: 700; }
.hp-track__name small { display: block; color: var(--hp-muted); font-size: 13px; }
.hp-track__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.hp-track__total strong { font-size: 22px; }
.hp-track__addr { margin: 8px 0 0; font-size: 14px; color: var(--hp-muted); }
.hp-track__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-track__actions .hp-btn { min-height: 48px; }
.hp-track__keep { margin: 0; font-size: 14px; color: var(--hp-muted); }
.hp-linkbtn { padding: 0; border: 0; background: none; color: var(--hp-ink); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   Contact
   ========================================================================== */
.hp-contact__hero { background: var(--hp-ink); color: var(--hp-white); padding: 64px 0 120px; }
.hp-eyebrow--dark { color: var(--hp-accent); }
.hp-contact__title { margin: 12px 0 16px; max-width: 820px; font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.hp-contact__lead { margin: 0; max-width: 620px; font-size: 18px; color: var(--hp-on-dark); }
.hp-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: -72px; position: relative; }
.hp-ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; border-radius: 24px; background: var(--hp-white); border: 1px solid var(--hp-line); box-shadow: 0 12px 40px rgba(20, 20, 20, 0.08); }
.hp-ccard__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--hp-accent-soft); color: var(--hp-accent-ink); }
.hp-ccard__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hp-muted); }
.hp-ccard__value { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hp-ccard__value--sm { font-size: 20px; font-stretch: 105%; }
.hp-ccard__note { margin: 0 0 14px; font-size: 15px; color: var(--hp-muted); }
.hp-ccard .hp-btn { margin-top: auto; }
.hp-status-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--hp-ink-2); font-weight: 600; }
.hp-status-inline .hp-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-open); box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18); }
.hp-status-inline.is-closed .hp-status__dot { background: var(--hp-closed); box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.18); }
.hp-contact__map { margin-top: 32px; }
.hp-contact__map iframe { display: block; width: 100%; height: 440px; border: 0; border-radius: 24px; background: var(--hp-img); }
.hp-contact__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 28px; padding-bottom: 72px; color: var(--hp-ink-2); }
.hp-chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.hp-chip--link:hover { border-color: var(--hp-ink); color: var(--hp-ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hp-topbar__phone span { display: none; }
}

@media (max-width: 1023px) {
  /* Pe telefon/tabletă antetul nu mai e fix; rămâne lipită doar bara de categorii. */
  :root { --hp-topbar-h: 0px; --hp-menubar-h: 116px; }
  .hp-topbar, .admin-bar .hp-topbar { position: relative; top: 0; }
  .hp-menubar, .admin-bar .hp-menubar { top: 0; }
  .hp-menubar__inner { display: grid; grid-template-columns: minmax(130px, 38%) minmax(0, 1fr); grid-template-areas: "cat cat" "search filters"; gap: 8px; padding-top: 8px; padding-bottom: 10px; }
  .hp-menubar__row { display: contents; }
  .hp-catnav { grid-area: cat; }
  .hp-search { grid-area: search; min-height: 40px; }
  .hp-filters { grid-area: filters; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hp-filters::-webkit-scrollbar { display: none; }
  .hp-chip { flex: none; min-height: 40px; }
  .hp-toast { bottom: 100px; }
  .hp-lock .hp-toast { top: 16px; bottom: auto; transform: translate(-50%, -20px); }
  .hp-lock .hp-toast.is-visible { transform: translate(-50%, 0); }
  .hp-nav, .hp-status { display: none; }
  .hp-topbar__inner { gap: 10px 12px; }
  .hp-mode { order: 5; width: 100%; }
  .hp-mode__btn { flex: 1; }
  .hp-cartbtn { margin-left: auto; }
  .hp-cartbtn__sep, .hp-cartbtn .hp-js-subtotal { display: none; }
  .hp-topbar__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: #262626; }

  .hp-hero__inner { padding-top: 24px; padding-bottom: 24px; gap: 20px; }
  .hp-hero__lead, .hp-hero__facts li:nth-child(n+3) { display: none; }
  .hp-hero__promos { grid-template-columns: 1fr; }
  .hp-promo { flex-direction: row; }
  .hp-promo__img { width: 120px; flex: none; aspect-ratio: auto; }

  .hp-catnav { margin: 0 -24px; padding: 0 24px; }

  .hp-layout { padding-bottom: 120px; }
  .hp-cart {
    position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; top: auto; max-height: 88vh;
    border-radius: 24px 24px 0 0; border: 0; transform: translateY(105%); transition: transform .25s ease; flex: none; width: 100%;
  }
  .hp-cart.is-open { transform: translateY(0); }
  .hp-cart__close { display: inline-flex; }
  .hp-cart__mode { margin-left: 0; }
  .hp-cart__head { align-items: center; }
  .hp-cart__head .hp-cart__title { margin-right: auto; }

  .hp-cartbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--hp-white); border-top: 1px solid var(--hp-line); }
  .hp-cartbar.is-empty { display: none; }
  .hp-cartbar__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--hp-accent); color: var(--hp-ink); font-weight: 800; font-size: 16px; }
  .hp-cartbar__left { display: inline-flex; align-items: center; gap: 10px; }
  .hp-cartbar__count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--hp-ink); color: var(--hp-white); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; grid-template-areas: "details" "heading" "review"; gap: 0; }
  .woocommerce-checkout #customer_details { margin-bottom: 20px; }
  .woocommerce-checkout #order_review { position: static; }
}

@media (max-width: 640px) {
  .hp-container { padding-left: 16px; padding-right: 16px; }
  .hp-contact__hero { padding: 40px 0 96px; }
  .hp-contact__map iframe { height: 320px; }
  .hp-contact__social { padding-bottom: 48px; }
  .hp-co-mode { grid-template-columns: 1fr; }
  .hp-co-mode__opt { min-height: 64px; }
  .woocommerce-billing-fields, .woocommerce-additional-fields { padding: 20px 16px; border-radius: 20px; }
  #order_review_heading { padding: 20px 16px 0; }
  .woocommerce-checkout #order_review { padding: 4px 16px 20px; }
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; gap: 14px; }
  .woocommerce form .form-row { grid-column: 1 / -1; }
  .hp-track { padding: 20px; gap: 18px; }
  .hp-steps { grid-template-columns: 1fr; gap: 0; }
  .hp-step { padding: 0 0 18px 30px; }
  .hp-step::before { top: 16px; bottom: 0; left: 6px; right: auto; width: 4px; height: auto; }
  .hp-step:last-child::before { display: none; }
  .hp-step__label, .hp-step__time { line-height: 16px; }
  .hp-track__actions .hp-btn { flex: 1 1 100%; }

  /* Bannerul de sus, compact: meniul trebuie să se vadă repede. */
  .hp-hero__inner { padding-top: 18px; padding-bottom: 20px; gap: 16px; }
  .hp-hero__text { gap: 10px; }
  .hp-hero__title { font-size: 30px; font-stretch: 108%; }
  .hp-hero__facts { font-size: 14px; }
  .hp-hero__facts li:nth-child(n+2) { display: none; }
  .hp-hero__promos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .hp-hero__promos::-webkit-scrollbar { display: none; }
  .hp-promo { flex: 0 0 86%; scroll-snap-align: start; }
  .hp-promo__img { width: 104px; }
  .hp-promo__body { padding: 12px 14px; gap: 4px; }
  .hp-promo__name { font-size: 16px; }
  .hp-promo__desc { -webkit-line-clamp: 1; font-size: 13px; }
  .hp-promo__price { font-size: 18px; }
  .hp-promo .hp-btn--light { min-height: 40px; padding: 0 14px; white-space: nowrap; }
  .hp-catnav { margin: 0 -16px; padding: 0 16px; }
  .hp-menu { gap: 36px; }
  .hp-cat__title { font-size: 24px; }

  /* Lista pe mobil: text stânga, poză dreapta */
  .hp-grid { grid-template-columns: 1fr; gap: 0; }
  .hp-card--full { flex-direction: row-reverse; border: 0; border-bottom: 1px solid var(--hp-line); border-radius: 0; padding: 14px 0; gap: 14px; }
  .hp-card--full:hover { box-shadow: none; }
  .hp-card--full .hp-card__img { width: 112px; height: 112px; flex: none; aspect-ratio: auto; border-radius: 16px; overflow: hidden; }
  .hp-card--full .hp-tag { top: 6px; left: 6px; font-size: 11px; padding: 2px 8px; }
  .hp-card--full .hp-card__body { padding: 0; }
  .hp-card--full .hp-card__name { font-size: 16px; }
  .hp-card--full .hp-card__desc { font-size: 13px; }
  .hp-card--full .hp-card__price { font-size: 16px; }
  .hp-card--full .hp-add { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hp-grid--compact { gap: 8px; }

  .hp-dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .hp-choice__grid { grid-template-columns: 1fr; }
  .hp-about__hero { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
