/*
Theme Name: House of Pizza Gniezno
Theme URI: https://houseofpizza.com.pl/
Author: Codex
Author URI: https://openai.com/
Description: Gotowy motyw WordPress dla House of Pizza Gniezno, inspirowany szybkim zamawianiem, kategoriami menu i promocjami znanymi z nowoczesnych stron pizzerii.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: houseofpizza-gniezno
Tags: restaurant, food, custom-logo, custom-menu, featured-images
*/

:root {
  --hop-ink: #101216;
  --hop-muted: #626a73;
  --hop-line: #dde5df;
  --hop-paper: #f4f7f3;
  --hop-white: #ffffff;
  --hop-red: #e0313b;
  --hop-red-dark: #b71928;
  --hop-green: #078854;
  --hop-mint: #e7fbf1;
  --hop-yellow: #f4c441;
  --hop-shadow: 0 22px 55px rgba(16, 18, 22, 0.14);
  --hop-radius: 8px;
  --hop-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hop-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 243, 0.96) 420px),
    var(--hop-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(244, 196, 65, 0.82);
  outline-offset: 3px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(16, 18, 22, 0.08);
  box-shadow: 0 12px 35px rgba(16, 18, 22, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner {
  width: min(calc(100% - 32px), var(--hop-max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--hop-white);
  background: linear-gradient(135deg, var(--hop-red), var(--hop-red-dark));
  border: 1px solid rgba(16, 18, 22, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(224, 49, 59, 0.28);
}

.brand-name {
  display: grid;
  line-height: 1.02;
}

.brand-name small {
  color: var(--hop-green);
  font-size: 12px;
  font-weight: 800;
}

.custom-logo {
  max-width: 210px;
  max-height: 58px;
  object-fit: contain;
}

.restaurant-logo {
  width: auto;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 18, 22, 0.07);
  font-size: 14px;
  font-weight: 850;
}

.header-nav .menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  color: rgba(16, 18, 22, 0.78);
  border-radius: 7px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-nav a:hover {
  color: var(--hop-red);
  background: rgba(224, 49, 59, 0.08);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-link,
.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--hop-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(16, 18, 22, 0.07);
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.phone-link:hover,
.cart-link:hover {
  background: var(--hop-white);
  border-color: rgba(224, 49, 59, 0.32);
  transform: translateY(-2px);
}

.cart-link {
  gap: 8px;
}

.cart-link b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: var(--hop-white);
  background: var(--hop-red);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1;
}

.header-order {
  min-height: 42px;
  padding-inline: 16px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--hop-white);
  background: linear-gradient(135deg, var(--hop-red), var(--hop-red-dark));
  border: 1px solid rgba(183, 25, 40, 0.7);
  border-radius: var(--hop-radius);
  box-shadow: 0 14px 28px rgba(224, 49, 59, 0.2);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--hop-red-dark);
  border-color: var(--hop-red-dark);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--hop-ink);
  background: var(--hop-white);
  border-color: rgba(16, 18, 22, 0.22);
  box-shadow: 0 12px 26px rgba(16, 18, 22, 0.08);
}

.button.green {
  color: var(--hop-white);
  background: linear-gradient(135deg, var(--hop-green), #056a43);
  border-color: rgba(7, 136, 84, 0.7);
  box-shadow: 0 14px 28px rgba(7, 136, 84, 0.2);
}

.nav-toggle {
  display: none;
  width: 46px;
  padding: 0;
  color: var(--hop-ink);
  background: var(--hop-white);
  border-color: rgba(16, 18, 22, 0.14);
  box-shadow: 0 12px 24px rgba(16, 18, 22, 0.08);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  min-height: calc(100svh - 76px);
  padding: 58px 0 66px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0.42)),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: var(--hop-white);
  background-position: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  color: var(--hop-ink);
  background: rgba(244, 196, 65, 0.96);
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: var(--hop-radius);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions,
.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-promo-note {
  margin: 16px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
}

.hero-status {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 10px 14px;
  color: var(--hop-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-status strong {
  text-transform: uppercase;
}

.hero-status-open strong {
  color: #88f0b7;
}

.hero-status-closing strong {
  color: var(--hop-yellow);
}

.hero-status-closed strong {
  color: #ff9ea4;
}

.order-panel {
  color: var(--hop-ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--hop-radius);
  box-shadow: var(--hop-shadow);
  backdrop-filter: blur(14px);
}

.order-panel header,
.order-panel footer {
  padding: 18px;
}

.order-panel header {
  border-bottom: 1px solid var(--hop-line);
}

.order-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.order-field {
  display: grid;
  gap: 8px;
  padding: 18px;
}

label {
  color: var(--hop-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--hop-ink);
  background: var(--hop-white);
  border: 1px solid var(--hop-line);
  border-radius: var(--hop-radius);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(16, 18, 22, 0.03);
}

textarea {
  min-height: 130px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hop-line);
}

.quick-fact {
  padding: 15px;
  border-right: 1px solid var(--hop-line);
}

.quick-fact:last-child {
  border-right: 0;
}

.quick-fact strong {
  display: block;
  font-size: 18px;
}

.quick-fact span {
  color: var(--hop-muted);
  font-size: 13px;
  font-weight: 700;
}

.payment-note {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--hop-muted);
  border-top: 1px solid var(--hop-line);
  font-size: 13px;
  font-weight: 800;
}

.delivery-check-message {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--hop-muted);
  font-size: 13px;
  font-weight: 800;
}

.delivery-check-message.is-success {
  color: var(--hop-green);
}

.delivery-check-message.is-error {
  color: var(--hop-red);
}

.section {
  padding: 74px 0;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title-row h2,
.content-area h1,
.content-area h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title-row p {
  max-width: 440px;
  margin: 0;
  color: var(--hop-muted);
  font-weight: 700;
}

.promo-strip {
  background: linear-gradient(135deg, #08764b, var(--hop-green));
  color: var(--hop-white);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card,
.menu-card,
.category-card,
.info-card {
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: var(--hop-radius);
  box-shadow: 0 18px 44px rgba(16, 18, 22, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promo-card:hover,
.menu-card:hover,
.category-card:hover,
.info-card:hover,
.mini-card:hover {
  border-color: rgba(224, 49, 59, 0.32);
  box-shadow: 0 24px 58px rgba(16, 18, 22, 0.16);
  transform: translateY(-3px);
}

.promo-card {
  min-height: 172px;
  padding: 22px;
  color: var(--hop-ink);
}

.promo-card b {
  display: block;
  margin-bottom: 10px;
  color: var(--hop-red);
  font-size: 14px;
  text-transform: uppercase;
}

.promo-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tab {
  flex: 0 0 auto;
  color: var(--hop-ink);
  background: var(--hop-white);
  border-color: rgba(16, 18, 22, 0.14);
  box-shadow: 0 10px 20px rgba(16, 18, 22, 0.06);
}

.category-tab.is-active {
  color: var(--hop-white);
  background: var(--hop-ink);
  border-color: var(--hop-ink);
}

.menu-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  color: var(--hop-white);
  background: var(--hop-ink);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 220ms ease, opacity 220ms ease;
}

.category-card:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.category-card h3 {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  font-size: 26px;
  text-transform: uppercase;
}

.menu-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--hop-line);
}

.menu-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.menu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.menu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  color: var(--hop-white);
  background: var(--hop-ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.menu-badge.is-vege {
  background: var(--hop-green);
}

.menu-badge.is-new {
  color: var(--hop-ink);
  background: var(--hop-yellow);
}

.menu-badge.is-spicy,
.menu-badge.is-bestseller {
  background: var(--hop-red);
}

.menu-card h3 {
  min-height: 2.35em;
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.menu-card p {
  min-height: 4.8em;
  margin: 0;
  color: var(--hop-muted);
  font-size: 14px;
  font-weight: 650;
}

.menu-card .menu-ingredients {
  min-height: auto;
  color: var(--hop-ink);
}

.menu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
}

.menu-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  color: var(--hop-muted);
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.menu-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--hop-red);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.price-list span {
  display: grid;
  gap: 2px;
  min-width: 52px;
  padding: 7px 8px;
  color: var(--hop-red);
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.05;
}

.price-list b {
  color: var(--hop-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 18px;
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: var(--hop-radius);
  box-shadow: 0 18px 44px rgba(16, 18, 22, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mini-card span {
  color: var(--hop-green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.mini-card b {
  color: var(--hop-red);
  font-size: 24px;
  line-height: 1;
}

.compact-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--hop-line);
  color: var(--hop-muted);
  font-weight: 800;
}

.compact-list b {
  font-size: 15px;
}

.split-section {
  background: linear-gradient(180deg, #ffffff, #f7f9f6);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
}

.split-image {
  overflow: hidden;
  border: 1px solid rgba(16, 18, 22, 0.12);
  border-radius: var(--hop-radius);
  box-shadow: var(--hop-shadow);
}

.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 800;
}

.feature-list li::before {
  content: "";
  flex: 0 0 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--hop-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--hop-mint);
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(16, 18, 22, 0.92), rgba(16, 18, 22, 0.68)),
    url("https://images.unsplash.com/photo-1565299507177-b0ac66763828?auto=format&fit=crop&w=1700&q=82") center / cover;
  color: var(--hop-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: stretch;
}

.info-card {
  padding: 24px;
  color: var(--hop-ink);
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
}

.hours {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hop-line);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  padding: 8px 10px;
  color: var(--hop-white);
  background: var(--hop-ink);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.configurator-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.configurator-modal[hidden] {
  display: none !important;
}

.configurator-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 22, 0.62);
  backdrop-filter: blur(8px);
}

.configurator-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 18, 22, 0.24);
}

.configurator-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  min-height: 40px;
  padding: 0;
  color: var(--hop-ink);
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.12);
  box-shadow: none;
  font-size: 28px;
  line-height: 1;
}

.configurator-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.configurator-head h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.configurator-item-name {
  margin: 0;
  color: var(--hop-muted);
  font-size: 18px;
  font-weight: 800;
}

.configurator-grid {
  display: grid;
  gap: 16px;
}

.config-field {
  display: grid;
  gap: 8px;
}

.config-half {
  padding: 14px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.config-half label {
  color: var(--hop-ink);
}

.config-half input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

.configurator-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.config-addon-list {
  display: grid;
  gap: 10px;
}

.config-addon {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  color: var(--hop-ink);
  font-weight: 700;
  text-transform: none;
}

.config-addon input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.config-field > .config-addon {
  margin-top: 10px;
}

.hop-checkout-note {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.hop-checkout-note p {
  margin: 0;
}

.hop-checkout-note p + p {
  margin-top: 8px;
}

.hop-checkout-zone {
  color: var(--hop-muted);
  font-weight: 700;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 72px;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  display: grid;
  gap: 24px;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: 0;
}

.woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--hop-line);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--hop-white);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 18, 22, 0.08);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 18px;
  border-top: 1px solid var(--hop-line);
  vertical-align: middle;
}

.woocommerce table.shop_table thead th {
  border-top: 0;
  background: #f7f9f6;
  color: var(--hop-ink);
  font-size: 13px;
  text-transform: uppercase;
}

.woocommerce table.shop_table .product-name a {
  color: var(--hop-ink);
  font-weight: 900;
  text-decoration: none;
}

.woocommerce table.shop_table .variation,
.woocommerce table.shop_table .wc-item-meta {
  margin-top: 8px;
  color: var(--hop-muted);
  font-size: 14px;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce table.shop_table .product-remove a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  color: var(--hop-red) !important;
  text-decoration: none;
}

.woocommerce .quantity .qty {
  width: 82px;
  min-height: 44px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  text-align: center;
  font-weight: 900;
}

.woocommerce-cart .cart-collaterals {
  display: grid;
  justify-content: end;
}

.woocommerce-cart .cart_totals {
  width: min(100%, 440px) !important;
  padding: 22px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.woocommerce-cart .cart_totals h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button {
  min-height: 48px;
  padding: 14px 20px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--hop-red) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .checkout-button:hover {
  background: #111 !important;
  color: #fff !important;
}

.woocommerce .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.woocommerce .coupon .input-text {
  min-height: 48px;
  min-width: 220px;
  padding: 0 14px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  background: #f7f9f6;
  color: var(--hop-ink);
  box-shadow: 0 12px 30px rgba(16, 18, 22, 0.06);
}

.woocommerce-message {
  border-top-color: var(--hop-green);
}

.woocommerce-info {
  border-top-color: #f3c969;
}

.woocommerce-error {
  border-top-color: var(--hop-red);
}

.wc-block-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 368px);
  gap: 42px;
  align-items: start;
}

.wc-block-cart__main,
.wc-block-cart__sidebar {
  width: 100% !important;
  padding: 0 !important;
}

.wc-block-cart-items {
  border-top: 1px solid var(--hop-line);
  border-bottom: 1px solid var(--hop-line);
}

.wc-block-cart-items__header {
  color: var(--hop-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.wc-block-cart-items__row {
  padding: 24px 0 !important;
  border-top: 1px solid var(--hop-line);
}

.wc-block-cart-item__image img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.wc-block-cart-item__wrap {
  display: grid;
  gap: 8px;
}

.wc-block-cart-item__product .wc-block-components-product-name {
  color: var(--hop-ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.wc-block-cart-item__prices,
.wc-block-cart-item__total {
  color: var(--hop-red);
  font-size: 30px;
  font-weight: 900;
}

.wc-block-components-product-metadata {
  color: var(--hop-muted);
  font-size: 14px;
  line-height: 1.45;
}

.wc-block-components-quantity-selector {
  min-height: 62px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  overflow: hidden;
}

.wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector__input {
  min-width: 44px;
  font-weight: 800;
}

.wc-block-cart-item__remove-link {
  color: var(--hop-ink) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.wc-block-cart__sidebar {
  padding: 22px !important;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 18, 22, 0.08);
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-heading-block,
.wc-block-cart__sidebar h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-heading-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hop-line);
}

.wc-block-components-totals-wrapper {
  border-color: var(--hop-line) !important;
}

.wc-block-components-totals-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.wc-block-components-totals-item__label {
  color: var(--hop-ink);
  font-size: 20px;
  font-weight: 800;
}

.wc-block-components-totals-item__value {
  display: block !important;
  margin-left: auto;
  color: var(--hop-ink);
  font-size: 20px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.wc-block-cart__submit-container {
  padding-top: 18px;
}

.wc-block-cart__submit-button,
.wc-block-components-button {
  min-height: 52px !important;
  border-radius: 8px !important;
  background: var(--hop-red) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button:hover {
  background: #111 !important;
  color: #fff !important;
}

.wc-block-components-panel__button {
  color: var(--hop-ink);
  font-weight: 800;
}

.wc-block-components-totals-coupon__button {
  text-transform: none;
}

.hop-cross-sell {
  margin-top: 24px;
  padding: 22px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.hop-cross-sell h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.hop-cross-sell p {
  margin: 0 0 16px;
  color: var(--hop-muted);
  font-weight: 700;
}

.hop-cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hop-cross-sell-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 8px;
}

.hop-cross-sell-card strong {
  font-size: 18px;
  line-height: 1.15;
}

.hop-cross-sell-card span {
  color: var(--hop-muted);
  font-size: 14px;
  font-weight: 700;
}

.hop-cross-sell-card b {
  color: var(--hop-red);
  font-size: 20px;
  line-height: 1;
}

.hop-order-board-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.hop-order-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.hop-order-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 18, 22, 0.08);
}

.hop-order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.hop-order-card-top strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.hop-order-card-top span {
  color: var(--hop-muted);
  font-size: 13px;
  font-weight: 700;
}

.hop-order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hop-order-status-new .hop-order-badge {
  color: var(--hop-ink);
  background: var(--hop-yellow);
}

.hop-order-status-preparing .hop-order-badge {
  color: var(--hop-white);
  background: var(--hop-red);
}

.hop-order-status-ready .hop-order-badge {
  color: var(--hop-white);
  background: var(--hop-green);
}

.hop-order-status-completed .hop-order-badge {
  color: var(--hop-white);
  background: var(--hop-ink);
}

.hop-order-status-cancelled .hop-order-badge {
  color: var(--hop-white);
  background: #7b8794;
}

.hop-order-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.hop-order-card p {
  margin: 0;
  color: var(--hop-muted);
  font-weight: 700;
}

.hop-order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hop-order-items span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hop-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hop-kitchen-screen {
  padding-bottom: 28px;
}

.hop-kitchen-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.hop-kitchen-toolbar h1 {
  margin-bottom: 6px;
}

.hop-kitchen-toolbar p {
  margin: 0;
  color: var(--hop-muted);
  font-size: 15px;
  font-weight: 700;
}

.hop-kitchen-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hop-kitchen-alert-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  color: var(--hop-ink);
  background: #fff4c4;
  border: 1px solid rgba(16, 18, 22, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.hop-kitchen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hop-kitchen-column {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

.hop-kitchen-column-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.hop-kitchen-column-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
}

.hop-kitchen-column-head span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hop-kitchen-column-head.hop-order-status-new span {
  color: var(--hop-ink);
  background: var(--hop-yellow);
}

.hop-kitchen-column-head.hop-order-status-preparing span {
  color: var(--hop-white);
  background: var(--hop-red);
}

.hop-kitchen-column-head.hop-order-status-ready span {
  color: var(--hop-white);
  background: var(--hop-green);
}

.hop-kitchen-empty {
  padding: 18px;
  background: var(--hop-white);
  border: 1px dashed rgba(16, 18, 22, 0.14);
  border-radius: 8px;
  color: var(--hop-muted);
  font-weight: 700;
}

.hop-kitchen-order {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--hop-white);
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 18, 22, 0.08);
}

.hop-kitchen-order.is-new {
  border-color: rgba(226, 41, 33, 0.45);
  box-shadow: 0 0 0 3px rgba(226, 41, 33, 0.12), 0 18px 40px rgba(16, 18, 22, 0.12);
  animation: hopKitchenPulse 1.4s ease-in-out 3;
}

@keyframes hopKitchenPulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.hop-kitchen-order-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.hop-kitchen-order-top strong {
  font-size: 30px;
  line-height: 1;
}

.hop-kitchen-order-top span {
  color: var(--hop-muted);
  font-size: 16px;
  font-weight: 900;
}

.hop-kitchen-order h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.hop-kitchen-order p {
  margin: 0;
  color: var(--hop-muted);
  font-size: 15px;
  font-weight: 700;
}

.hop-kitchen-items {
  display: grid;
  gap: 8px;
}

.hop-kitchen-items span {
  display: block;
  padding: 8px 10px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hop-kitchen-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hop-kitchen-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hop-print-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

body.wp-admin.toplevel_page_hop-restaurant,
body.wp-admin.restauracja_page_hop-order-board,
body.wp-admin.restauracja_page_hop-kitchen-screen,
body.wp-admin.restauracja_page_hop-kitchen-printer,
body.wp-admin.post-type-hop_menu_item,
body.wp-admin.post-type-hop_promo,
body.wp-admin.post-type-hop_addon,
body.wp-admin.post-type-hop_delivery_zone {
  background: #eef1ee;
}

body.wp-admin.toplevel_page_hop-restaurant #wpcontent,
body.wp-admin.restauracja_page_hop-order-board #wpcontent,
body.wp-admin.restauracja_page_hop-kitchen-screen #wpcontent,
body.wp-admin.restauracja_page_hop-kitchen-printer #wpcontent,
body.wp-admin.post-type-hop_menu_item #wpcontent,
body.wp-admin.post-type-hop_promo #wpcontent,
body.wp-admin.post-type-hop_addon #wpcontent,
body.wp-admin.post-type-hop_delivery_zone #wpcontent {
  color: #101216;
}

body.wp-admin.toplevel_page_hop-restaurant .wrap {
  max-width: 1420px;
  margin: 24px 24px 48px 0;
}

body.wp-admin.toplevel_page_hop-restaurant .wrap > h1 {
  margin: 0;
  padding: 26px 28px;
  background: #101216;
  color: #fff;
  border-radius: 8px 8px 0 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

body.wp-admin.toplevel_page_hop-restaurant .wrap > p {
  margin: 0;
  padding: 0 28px 24px;
  background: #101216;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

body.wp-admin.toplevel_page_hop-restaurant form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--hop-line);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 60px rgba(16, 18, 22, 0.08);
}

body.wp-admin.toplevel_page_hop-restaurant form h2 {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 16px 18px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-left: 6px solid var(--hop-red);
  border-radius: 8px;
  color: #101216;
  font-size: 22px;
  font-weight: 900;
}

body.wp-admin.toplevel_page_hop-restaurant form h2:first-of-type {
  margin-top: 0;
}

body.wp-admin.toplevel_page_hop-restaurant form p {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

body.wp-admin.toplevel_page_hop-restaurant form label strong {
  display: block;
  margin-bottom: 8px;
  color: #101216;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin.toplevel_page_hop-restaurant form input[type="text"],
body.wp-admin.toplevel_page_hop-restaurant form input[type="url"],
body.wp-admin.toplevel_page_hop-restaurant form input[type="number"],
body.wp-admin.toplevel_page_hop-restaurant form textarea,
body.wp-admin.toplevel_page_hop-restaurant form select,
body.wp-admin .hop-admin-grid input[type="text"],
body.wp-admin .hop-admin-grid input[type="url"],
body.wp-admin .hop-admin-grid input[type="number"],
body.wp-admin .hop-admin-grid textarea,
body.wp-admin .hop-admin-grid select {
  min-height: 44px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  box-shadow: none;
}

body.wp-admin.toplevel_page_hop-restaurant form textarea {
  min-height: 112px;
}

body.wp-admin.toplevel_page_hop-restaurant form .submit {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
}

body.wp-admin.toplevel_page_hop-restaurant form .button-primary,
body.wp-admin.toplevel_page_hop-restaurant .button-primary {
  min-height: 46px;
  padding: 8px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--hop-red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin.toplevel_page_hop-restaurant .notice {
  margin: 16px 0;
  border-radius: 8px;
}

body.wp-admin.toplevel_page_hop-restaurant .notice.inline {
  margin: 18px 0;
}

body.wp-admin.post-type-hop_menu_item .wrap,
body.wp-admin.post-type-hop_promo .wrap,
body.wp-admin.post-type-hop_addon .wrap,
body.wp-admin.post-type-hop_delivery_zone .wrap {
  max-width: 1540px;
  margin: 24px 24px 48px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(16, 18, 22, 0.08);
}

body.wp-admin.post-type-hop_menu_item .wrap h1,
body.wp-admin.post-type-hop_promo .wrap h1,
body.wp-admin.post-type-hop_addon .wrap h1,
body.wp-admin.post-type-hop_delivery_zone .wrap h1 {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0 12px 18px 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

body.wp-admin.post-type-hop_menu_item .page-title-action,
body.wp-admin.post-type-hop_promo .page-title-action,
body.wp-admin.post-type-hop_addon .page-title-action,
body.wp-admin.post-type-hop_delivery_zone .page-title-action,
body.wp-admin.post-type-hop_menu_item .button,
body.wp-admin.post-type-hop_promo .button,
body.wp-admin.post-type-hop_addon .button,
body.wp-admin.post-type-hop_delivery_zone .button {
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: #101216;
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

body.wp-admin.post-type-hop_menu_item .page-title-action:hover,
body.wp-admin.post-type-hop_promo .page-title-action:hover,
body.wp-admin.post-type-hop_addon .page-title-action:hover,
body.wp-admin.post-type-hop_delivery_zone .page-title-action:hover,
body.wp-admin.post-type-hop_menu_item .button:hover,
body.wp-admin.post-type-hop_promo .button:hover,
body.wp-admin.post-type-hop_addon .button:hover,
body.wp-admin.post-type-hop_delivery_zone .button:hover {
  background: var(--hop-red);
  color: #fff;
}

body.wp-admin.post-type-hop_menu_item .subsubsub,
body.wp-admin.post-type-hop_promo .subsubsub,
body.wp-admin.post-type-hop_addon .subsubsub,
body.wp-admin.post-type-hop_delivery_zone .subsubsub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 16px;
}

body.wp-admin.post-type-hop_menu_item .subsubsub li,
body.wp-admin.post-type-hop_promo .subsubsub li,
body.wp-admin.post-type-hop_addon .subsubsub li,
body.wp-admin.post-type-hop_delivery_zone .subsubsub li {
  color: transparent;
}

body.wp-admin.post-type-hop_menu_item .subsubsub a,
body.wp-admin.post-type-hop_promo .subsubsub a,
body.wp-admin.post-type-hop_addon .subsubsub a,
body.wp-admin.post-type-hop_delivery_zone .subsubsub a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  color: #101216;
  font-weight: 800;
  text-decoration: none;
}

body.wp-admin.post-type-hop_menu_item .search-box input[type="search"],
body.wp-admin.post-type-hop_promo .search-box input[type="search"],
body.wp-admin.post-type-hop_addon .search-box input[type="search"],
body.wp-admin.post-type-hop_delivery_zone .search-box input[type="search"],
body.wp-admin.post-type-hop_menu_item .tablenav select,
body.wp-admin.post-type-hop_promo .tablenav select,
body.wp-admin.post-type-hop_addon .tablenav select,
body.wp-admin.post-type-hop_delivery_zone .tablenav select {
  min-height: 38px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table,
body.wp-admin.post-type-hop_promo .wp-list-table,
body.wp-admin.post-type-hop_addon .wp-list-table,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table {
  overflow: hidden;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(16, 18, 22, 0.06);
}

body.wp-admin.post-type-hop_menu_item .wp-list-table thead th,
body.wp-admin.post-type-hop_promo .wp-list-table thead th,
body.wp-admin.post-type-hop_addon .wp-list-table thead th,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead th {
  background: #101216;
  color: #fff;
  font-weight: 900;
  border-bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table thead a,
body.wp-admin.post-type-hop_promo .wp-list-table thead a,
body.wp-admin.post-type-hop_addon .wp-list-table thead a,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead a,
body.wp-admin.post-type-hop_menu_item .wp-list-table thead span,
body.wp-admin.post-type-hop_promo .wp-list-table thead span,
body.wp-admin.post-type-hop_addon .wp-list-table thead span,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead span {
  color: #fff;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody td,
body.wp-admin.post-type-hop_promo .wp-list-table tbody td,
body.wp-admin.post-type-hop_addon .wp-list-table tbody td,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
  vertical-align: middle;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_promo .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_addon .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody tr:nth-child(odd) {
  background: #fbfcfb;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table .row-title,
body.wp-admin.post-type-hop_promo .wp-list-table .row-title,
body.wp-admin.post-type-hop_addon .wp-list-table .row-title,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table .row-title {
  color: #101216;
  font-size: 16px;
  font-weight: 900;
}

body.wp-admin.post-type-hop_menu_item .column-hop_price,
body.wp-admin.post-type-hop_menu_item .column-hop_available,
body.wp-admin.post-type-hop_menu_item .column-hop_badges {
  font-weight: 900;
}

body.wp-admin.post-type-hop_menu_item #post-body-content,
body.wp-admin.post-type-hop_promo #post-body-content,
body.wp-admin.post-type-hop_addon #post-body-content,
body.wp-admin.post-type-hop_delivery_zone #post-body-content {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(16, 18, 22, 0.06);
}

body.wp-admin.post-type-hop_menu_item #titlediv #title,
body.wp-admin.post-type-hop_promo #titlediv #title,
body.wp-admin.post-type-hop_addon #titlediv #title,
body.wp-admin.post-type-hop_delivery_zone #titlediv #title {
  min-height: 56px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

body.wp-admin.post-type-hop_menu_item #wp-content-editor-container,
body.wp-admin.post-type-hop_promo #wp-content-editor-container,
body.wp-admin.post-type-hop_addon #wp-content-editor-container,
body.wp-admin.post-type-hop_delivery_zone #wp-content-editor-container {
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  overflow: hidden;
}

body.wp-admin.post-type-hop_menu_item #poststuff .postbox,
body.wp-admin.post-type-hop_promo #poststuff .postbox,
body.wp-admin.post-type-hop_addon #poststuff .postbox,
body.wp-admin.post-type-hop_delivery_zone #poststuff .postbox {
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(16, 18, 22, 0.06);
}

body.wp-admin.post-type-hop_menu_item #poststuff .postbox-header,
body.wp-admin.post-type-hop_promo #poststuff .postbox-header,
body.wp-admin.post-type-hop_addon #poststuff .postbox-header,
body.wp-admin.post-type-hop_delivery_zone #poststuff .postbox-header {
  background: #f7f9f6;
}

body.wp-admin.post-type-hop_menu_item #poststuff h2.hndle,
body.wp-admin.post-type-hop_promo #poststuff h2.hndle,
body.wp-admin.post-type-hop_addon #poststuff h2.hndle,
body.wp-admin.post-type-hop_delivery_zone #poststuff h2.hndle {
  font-weight: 900;
}

body.wp-admin .hop-admin-grid {
  gap: 14px 16px !important;
}

body.wp-admin .hop-admin-panel {
  padding: 16px;
  background: #fff;
}

body.wp-admin .hop-admin-help {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  color: var(--hop-muted);
  font-weight: 800;
}

body.wp-admin .hop-admin-grid p {
  margin: 0 0 14px;
  padding: 14px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

body.wp-admin .hop-admin-grid label,
body.wp-admin .hop-admin-panel label {
  display: block;
  margin-bottom: 8px;
  color: #101216;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin .hop-admin-panel input[type="text"],
body.wp-admin .hop-admin-panel input[type="url"],
body.wp-admin .hop-admin-panel input[type="number"],
body.wp-admin .hop-admin-panel select,
body.wp-admin .hop-admin-panel textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  box-shadow: none;
}

body.wp-admin .hop-admin-section-label {
  margin: 4px 0 10px;
}

body.wp-admin .hop-admin-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

body.wp-admin .hop-admin-check-grid label,
body.wp-admin .hop-admin-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
  font-size: 13px;
  text-transform: none;
}

body.wp-admin .hop-admin-check-grid input,
body.wp-admin .hop-admin-toggle input {
  margin: 0;
}

body.wp-admin .hop-admin-toggle {
  background: #101216;
  color: #fff;
}

body.wp-admin .hop-admin-toggle span {
  color: #fff;
  font-weight: 900;
}

body.wp-admin .hop-kitchen-screen,
body.wp-admin .hop-order-board,
body.wp-admin .hop-kitchen-printer-page {
  width: calc(100% - 28px);
  max-width: 1680px;
  margin: 22px 20px 32px 0;
  padding: 24px;
  background: #101216;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(16, 18, 22, 0.22);
}

body.wp-admin .hop-kitchen-toolbar {
  padding: 22px;
  background: #191d23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

body.wp-admin .hop-kitchen-toolbar h1,
body.wp-admin .hop-order-board h1,
body.wp-admin .hop-kitchen-printer-page h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
}

body.wp-admin .hop-kitchen-toolbar p,
body.wp-admin .hop-order-board > p,
body.wp-admin .hop-kitchen-printer-page > p {
  color: rgba(255, 255, 255, 0.72);
}

body.wp-admin .hop-kitchen-toolbar-actions .button,
body.wp-admin .hop-order-actions .button,
body.wp-admin .hop-kitchen-order-actions .button,
body.wp-admin .hop-kitchen-ticket-actions .button,
body.wp-admin .hop-order-board-filters .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #101216;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

body.wp-admin .hop-kitchen-toolbar-actions .button.button-secondary,
body.wp-admin .hop-order-actions .button.secondary,
body.wp-admin .hop-kitchen-order-actions .button.secondary,
body.wp-admin .hop-kitchen-ticket-actions .button.secondary,
body.wp-admin .hop-order-board-filters .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.wp-admin .hop-kitchen-toolbar-actions .button:hover,
body.wp-admin .hop-order-actions .button:hover,
body.wp-admin .hop-kitchen-order-actions .button:hover,
body.wp-admin .hop-kitchen-ticket-actions .button:hover,
body.wp-admin .hop-order-board-filters .button:hover {
  background: var(--hop-red);
  color: #fff;
}

body.wp-admin .hop-kitchen-grid {
  align-items: start;
}

body.wp-admin .hop-kitchen-column {
  min-height: 520px;
  background: #f5f7f4;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(16, 18, 22, 0.05);
}

body.wp-admin .hop-kitchen-column-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 18, 22, 0.08);
}

body.wp-admin .hop-kitchen-column-head h2 {
  color: #101216;
  font-size: 28px;
  font-weight: 900;
}

body.wp-admin .hop-kitchen-order {
  color: #101216;
  border: 0;
  box-shadow: 0 16px 34px rgba(16, 18, 22, 0.13);
}

body.wp-admin .hop-kitchen-order-top strong {
  color: var(--hop-red);
}

body.wp-admin .hop-kitchen-order h3 {
  font-size: 24px;
  font-weight: 900;
}

body.wp-admin .hop-kitchen-order .compact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wp-admin .hop-kitchen-order .compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f7f9f6;
  border: 1px solid var(--hop-line);
  border-radius: 8px;
}

body.wp-admin .hop-kitchen-order .compact-list span {
  color: var(--hop-muted);
  font-weight: 800;
}

body.wp-admin .hop-kitchen-order .compact-list b {
  color: #101216;
  font-weight: 900;
}

body.wp-admin .hop-kitchen-items span {
  font-size: 15px;
  line-height: 1.45;
}

body.wp-admin .hop-kitchen-order-actions {
  padding-top: 4px;
}

body.wp-admin .hop-kitchen-order-actions .button {
  flex: 1 1 auto;
  min-width: 116px;
  background: #101216;
  color: #fff;
}

body.wp-admin .hop-kitchen-order-actions .button.secondary {
  background: #eef1ee;
  color: #101216;
}

body.wp-admin .hop-kitchen-order-actions .button[href*="hop_new_status=preparing"] {
  background: #f3c969;
  color: #101216;
}

body.wp-admin .hop-kitchen-order-actions .button[href*="hop_new_status=ready"] {
  background: var(--hop-green);
  color: #fff;
}

body.wp-admin .hop-kitchen-order-actions .button[href*="hop_new_status=cancelled"] {
  background: #7b8794;
  color: #fff;
}

body.wp-admin .hop-kitchen-alert-note {
  color: #101216;
}

/* Restaurant admin v2 */
body.wp-admin.post-type-hop_menu_item,
body.wp-admin.post-type-hop_promo,
body.wp-admin.post-type-hop_addon,
body.wp-admin.post-type-hop_delivery_zone,
body.wp-admin.taxonomy-hop_menu_category,
body.wp-admin.toplevel_page_hop-restaurant,
body.wp-admin.restauracja_page_hop-order-board,
body.wp-admin.restauracja_page_hop-kitchen-screen,
body.wp-admin.restauracja_page_hop-kitchen-printer {
  --hop-admin-bg: #f4f6f2;
  --hop-admin-panel: #ffffff;
  --hop-admin-panel-soft: #f8faf6;
  --hop-admin-ink: #111318;
  --hop-admin-muted: #59616b;
  --hop-admin-line: #dce4dc;
  --hop-admin-red: #e72d3d;
  --hop-admin-green: #15804d;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(244,246,242,0.95) 280px),
    var(--hop-admin-bg);
}

body.wp-admin.post-type-hop_menu_item #wpcontent,
body.wp-admin.post-type-hop_promo #wpcontent,
body.wp-admin.post-type-hop_addon #wpcontent,
body.wp-admin.post-type-hop_delivery_zone #wpcontent,
body.wp-admin.taxonomy-hop_menu_category #wpcontent,
body.wp-admin.toplevel_page_hop-restaurant #wpcontent {
  padding-left: 32px;
}

body.wp-admin.post-type-hop_menu_item .wrap,
body.wp-admin.post-type-hop_promo .wrap,
body.wp-admin.post-type-hop_addon .wrap,
body.wp-admin.post-type-hop_delivery_zone .wrap,
body.wp-admin.taxonomy-hop_menu_category .wrap,
body.wp-admin.toplevel_page_hop-restaurant .wrap {
  max-width: 1500px;
  margin: 28px 32px 52px 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.wp-admin.post-type-hop_menu_item .wrap > h1,
body.wp-admin.post-type-hop_promo .wrap > h1,
body.wp-admin.post-type-hop_addon .wrap > h1,
body.wp-admin.post-type-hop_delivery_zone .wrap > h1,
body.wp-admin.taxonomy-hop_menu_category .wrap > h1,
body.wp-admin.toplevel_page_hop-restaurant .wrap > h1 {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 0 0 18px;
  padding: 24px 28px;
  background: var(--hop-admin-ink);
  color: #fff;
  border-radius: 8px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 18px 50px rgba(17,19,24,0.18);
}

body.wp-admin.post-type-hop_addon .wrap > h1::after,
body.wp-admin.post-type-hop_delivery_zone .wrap > h1::after,
body.wp-admin.post-type-hop_menu_item .wrap > h1::after,
body.wp-admin.taxonomy-hop_menu_category .wrap > h1::after {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin.post-type-hop_menu_item .wrap > h1::after {
  content: "pozycje i warianty";
}

body.wp-admin.post-type-hop_addon .wrap > h1::after {
  content: "sosy i dodatki";
}

body.wp-admin.post-type-hop_delivery_zone .wrap > h1::after {
  content: "dostawa";
}

body.wp-admin.taxonomy-hop_menu_category .wrap > h1::after {
  content: "kategorie";
}

body.wp-admin.post-type-hop_menu_item .page-title-action,
body.wp-admin.post-type-hop_promo .page-title-action,
body.wp-admin.post-type-hop_addon .page-title-action,
body.wp-admin.post-type-hop_delivery_zone .page-title-action,
body.wp-admin.taxonomy-hop_menu_category .page-title-action {
  top: -76px;
  margin-left: 16px;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--hop-admin-red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

body.wp-admin.post-type-hop_menu_item .subsubsub,
body.wp-admin.post-type-hop_promo .subsubsub,
body.wp-admin.post-type-hop_addon .subsubsub,
body.wp-admin.post-type-hop_delivery_zone .subsubsub {
  float: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 18px;
}

body.wp-admin.post-type-hop_menu_item .subsubsub a,
body.wp-admin.post-type-hop_promo .subsubsub a,
body.wp-admin.post-type-hop_addon .subsubsub a,
body.wp-admin.post-type-hop_delivery_zone .subsubsub a {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hop-admin-ink);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(17,19,24,0.05);
}

body.wp-admin.post-type-hop_menu_item .subsubsub a.current,
body.wp-admin.post-type-hop_promo .subsubsub a.current,
body.wp-admin.post-type-hop_addon .subsubsub a.current,
body.wp-admin.post-type-hop_delivery_zone .subsubsub a.current {
  background: var(--hop-admin-ink);
  color: #fff;
  border-color: var(--hop-admin-ink);
}

body.wp-admin.post-type-hop_menu_item .search-box,
body.wp-admin.post-type-hop_promo .search-box,
body.wp-admin.post-type-hop_addon .search-box,
body.wp-admin.post-type-hop_delivery_zone .search-box,
body.wp-admin.taxonomy-hop_menu_category .search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17,19,24,0.06);
}

body.wp-admin.post-type-hop_menu_item .search-box input[type="search"],
body.wp-admin.post-type-hop_promo .search-box input[type="search"],
body.wp-admin.post-type-hop_addon .search-box input[type="search"],
body.wp-admin.post-type-hop_delivery_zone .search-box input[type="search"],
body.wp-admin.taxonomy-hop_menu_category .search-form input[type="search"] {
  min-width: 280px;
  min-height: 44px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  box-shadow: none;
}

body.wp-admin.post-type-hop_menu_item .tablenav,
body.wp-admin.post-type-hop_promo .tablenav,
body.wp-admin.post-type-hop_addon .tablenav,
body.wp-admin.post-type-hop_delivery_zone .tablenav,
body.wp-admin.taxonomy-hop_menu_category .tablenav {
  min-height: 54px;
  margin: 0 0 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
}

body.wp-admin.post-type-hop_menu_item .tablenav select,
body.wp-admin.post-type-hop_promo .tablenav select,
body.wp-admin.post-type-hop_addon .tablenav select,
body.wp-admin.post-type-hop_delivery_zone .tablenav select,
body.wp-admin.taxonomy-hop_menu_category .tablenav select {
  min-height: 40px;
  border-color: var(--hop-admin-line);
  border-radius: 8px;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table,
body.wp-admin.post-type-hop_promo .wp-list-table,
body.wp-admin.post-type-hop_addon .wp-list-table,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table {
  overflow: hidden;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 18px 46px rgba(17,19,24,0.08);
}

body.wp-admin.post-type-hop_menu_item .wp-list-table thead th,
body.wp-admin.post-type-hop_promo .wp-list-table thead th,
body.wp-admin.post-type-hop_addon .wp-list-table thead th,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead th,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table thead th {
  padding: 16px 14px;
  background: var(--hop-admin-ink);
  border-bottom: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table thead a,
body.wp-admin.post-type-hop_promo .wp-list-table thead a,
body.wp-admin.post-type-hop_addon .wp-list-table thead a,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead a,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table thead a,
body.wp-admin.post-type-hop_menu_item .wp-list-table thead span,
body.wp-admin.post-type-hop_promo .wp-list-table thead span,
body.wp-admin.post-type-hop_addon .wp-list-table thead span,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table thead span,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table thead span {
  color: #fff;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody tr,
body.wp-admin.post-type-hop_promo .wp-list-table tbody tr,
body.wp-admin.post-type-hop_addon .wp-list-table tbody tr,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody tr,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table tbody tr {
  background: #fff;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_promo .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_addon .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody tr:nth-child(odd),
body.wp-admin.taxonomy-hop_menu_category .wp-list-table tbody tr:nth-child(odd) {
  background: var(--hop-admin-panel-soft);
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody tr:hover,
body.wp-admin.post-type-hop_promo .wp-list-table tbody tr:hover,
body.wp-admin.post-type-hop_addon .wp-list-table tbody tr:hover,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody tr:hover,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table tbody tr:hover {
  background: #fff4f5;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table tbody td,
body.wp-admin.post-type-hop_promo .wp-list-table tbody td,
body.wp-admin.post-type-hop_addon .wp-list-table tbody td,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table tbody td,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(220,228,220,0.8);
  color: var(--hop-admin-muted);
  vertical-align: middle;
}

body.wp-admin.post-type-hop_menu_item .wp-list-table .row-title,
body.wp-admin.post-type-hop_promo .wp-list-table .row-title,
body.wp-admin.post-type-hop_addon .wp-list-table .row-title,
body.wp-admin.post-type-hop_delivery_zone .wp-list-table .row-title,
body.wp-admin.taxonomy-hop_menu_category .wp-list-table .row-title {
  color: var(--hop-admin-ink);
  font-size: 17px;
  font-weight: 900;
}

body.wp-admin.post-type-hop_menu_item .row-actions,
body.wp-admin.post-type-hop_promo .row-actions,
body.wp-admin.post-type-hop_addon .row-actions,
body.wp-admin.post-type-hop_delivery_zone .row-actions,
body.wp-admin.taxonomy-hop_menu_category .row-actions {
  margin-top: 8px;
  color: var(--hop-admin-line);
}

body.wp-admin.post-type-hop_menu_item .row-actions a,
body.wp-admin.post-type-hop_promo .row-actions a,
body.wp-admin.post-type-hop_addon .row-actions a,
body.wp-admin.post-type-hop_delivery_zone .row-actions a,
body.wp-admin.taxonomy-hop_menu_category .row-actions a {
  color: var(--hop-admin-muted);
  font-weight: 800;
}

body.wp-admin.post-type-hop_menu_item #poststuff,
body.wp-admin.post-type-hop_promo #poststuff,
body.wp-admin.post-type-hop_addon #poststuff,
body.wp-admin.post-type-hop_delivery_zone #poststuff {
  padding-top: 0;
}

body.wp-admin.post-type-hop_menu_item #post-body-content,
body.wp-admin.post-type-hop_promo #post-body-content,
body.wp-admin.post-type-hop_addon #post-body-content,
body.wp-admin.post-type-hop_delivery_zone #post-body-content {
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17,19,24,0.07);
}

body.wp-admin.post-type-hop_menu_item #titlediv #title,
body.wp-admin.post-type-hop_promo #titlediv #title,
body.wp-admin.post-type-hop_addon #titlediv #title,
body.wp-admin.post-type-hop_delivery_zone #titlediv #title {
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hop-admin-ink);
  font-size: 28px;
  font-weight: 900;
  box-shadow: none;
}

body.wp-admin.post-type-hop_menu_item #poststuff .postbox,
body.wp-admin.post-type-hop_promo #poststuff .postbox,
body.wp-admin.post-type-hop_addon #poststuff .postbox,
body.wp-admin.post-type-hop_delivery_zone #poststuff .postbox {
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17,19,24,0.07);
}

body.wp-admin.post-type-hop_menu_item #poststuff .postbox-header,
body.wp-admin.post-type-hop_promo #poststuff .postbox-header,
body.wp-admin.post-type-hop_addon #poststuff .postbox-header,
body.wp-admin.post-type-hop_delivery_zone #poststuff .postbox-header {
  min-height: 58px;
  border-bottom: 1px solid var(--hop-admin-line);
  background: var(--hop-admin-panel-soft);
}

body.wp-admin.post-type-hop_menu_item #poststuff h2.hndle,
body.wp-admin.post-type-hop_promo #poststuff h2.hndle,
body.wp-admin.post-type-hop_addon #poststuff h2.hndle,
body.wp-admin.post-type-hop_delivery_zone #poststuff h2.hndle {
  color: var(--hop-admin-ink);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin .hop-admin-panel {
  padding: 22px;
  background: #fff;
}

body.wp-admin .hop-admin-help {
  margin: 0 0 18px;
  padding: 15px 18px;
  background: #fff7f8;
  border: 1px solid #f5cdd2;
  border-left: 6px solid var(--hop-admin-red);
  border-radius: 8px;
  color: var(--hop-admin-ink);
  font-weight: 800;
}

body.wp-admin .hop-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px !important;
}

body.wp-admin .hop-admin-grid p,
body.wp-admin .hop-admin-panel > p:not(.hop-admin-help):not(.hop-admin-section-label) {
  margin: 0;
  padding: 16px;
  background: var(--hop-admin-panel-soft);
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
}

body.wp-admin .hop-admin-grid label,
body.wp-admin .hop-admin-panel label:not(.hop-admin-toggle):not(.hop-admin-check-grid label) {
  display: block;
  margin: 0 0 8px;
  color: var(--hop-admin-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.wp-admin .hop-admin-panel input[type="text"],
body.wp-admin .hop-admin-panel input[type="url"],
body.wp-admin .hop-admin-panel input[type="number"],
body.wp-admin .hop-admin-panel select,
body.wp-admin .hop-admin-panel textarea,
body.wp-admin.taxonomy-hop_menu_category input[type="text"],
body.wp-admin.taxonomy-hop_menu_category input[type="number"],
body.wp-admin.taxonomy-hop_menu_category textarea,
body.wp-admin.taxonomy-hop_menu_category select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hop-admin-ink);
  box-shadow: none;
}

body.wp-admin .hop-admin-panel input:focus,
body.wp-admin .hop-admin-panel select:focus,
body.wp-admin .hop-admin-panel textarea:focus,
body.wp-admin.taxonomy-hop_menu_category input:focus,
body.wp-admin.taxonomy-hop_menu_category select:focus,
body.wp-admin.taxonomy-hop_menu_category textarea:focus {
  border-color: var(--hop-admin-red);
  box-shadow: 0 0 0 3px rgba(231,45,61,0.12);
  outline: none;
}

body.wp-admin .hop-admin-section-label {
  margin: 22px 0 12px;
  color: var(--hop-admin-ink);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

body.wp-admin .hop-admin-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

body.wp-admin .hop-admin-check-grid label,
body.wp-admin .hop-admin-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hop-admin-ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
}

body.wp-admin .hop-admin-check-grid label:hover {
  border-color: #f3a8b0;
  background: #fff7f8;
}

body.wp-admin .hop-admin-check-grid input,
body.wp-admin .hop-admin-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

body.wp-admin .hop-admin-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

body.wp-admin .hop-admin-toggle {
  background: var(--hop-admin-ink);
  border-color: var(--hop-admin-ink);
  color: #fff;
}

body.wp-admin .hop-admin-toggle span {
  color: inherit;
}

body.wp-admin .hop-admin-toggle-light {
  background: #fff;
  border-color: var(--hop-admin-line);
  color: var(--hop-admin-ink);
}

body.wp-admin.toplevel_page_hop-restaurant form {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--hop-admin-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,19,24,0.08);
}

body.wp-admin.toplevel_page_hop-restaurant form h2 {
  padding: 18px 20px;
  background: var(--hop-admin-ink);
  border: 0;
  border-left: 6px solid var(--hop-admin-red);
  color: #fff;
}

body.wp-admin.toplevel_page_hop-restaurant form p {
  padding: 16px;
  background: var(--hop-admin-panel-soft);
  border-color: var(--hop-admin-line);
}

body.wp-admin .button,
body.wp-admin .button-secondary,
body.wp-admin .button-primary {
  border-radius: 8px !important;
}

@media (max-width: 960px) {
  body.wp-admin .hop-admin-grid,
  body.wp-admin .hop-admin-check-grid,
  body.wp-admin .hop-admin-status-grid,
  body.wp-admin.toplevel_page_hop-restaurant form {
    grid-template-columns: 1fr;
  }

  body.wp-admin.post-type-hop_menu_item #wpcontent,
  body.wp-admin.post-type-hop_promo #wpcontent,
  body.wp-admin.post-type-hop_addon #wpcontent,
  body.wp-admin.post-type-hop_delivery_zone #wpcontent,
  body.wp-admin.taxonomy-hop_menu_category #wpcontent,
  body.wp-admin.toplevel_page_hop-restaurant #wpcontent {
    padding-left: 16px;
  }
}

.site-footer {
  padding: 34px 0;
  color: var(--hop-white);
  background: var(--hop-ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.content-area {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 70px 0;
}

.content-area a {
  color: var(--hop-red);
  font-weight: 800;
  text-decoration: underline;
}

.post-card {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hop-line);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: fixed;
    inset: 82px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 18, 22, 0.1);
    border-radius: 8px;
    box-shadow: var(--hop-shadow);
  }

  .header-nav .menu {
    display: contents;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--hop-line);
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .promo-grid,
  .menu-grid,
  .category-grid,
  .mini-grid,
  .hop-cross-sell-grid,
  .hop-order-board-grid,
  .hop-kitchen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .header-actions .button {
    display: none;
  }

  .cart-link,
  .phone-link {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .restaurant-logo,
  .custom-logo {
    max-width: 158px;
    max-height: 48px;
  }

  .hero h1,
  .page-title {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .quick-facts,
  .promo-grid,
  .menu-grid,
  .category-grid,
  .mini-grid,
  .hop-cross-sell-grid,
  .hop-order-board-grid,
  .hop-kitchen-grid {
    grid-template-columns: 1fr;
  }

  .hop-kitchen-toolbar {
    display: grid;
    align-items: start;
  }

  .section {
    padding: 54px 0;
  }

  .section-title-row,
  .footer-inner {
    display: grid;
    align-items: start;
  }

  .order-panel {
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.16);
  }

  .configurator-dialog {
    padding: 18px;
  }

  .configurator-actions {
    display: grid;
  }

  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main {
    width: min(100% - 22px, 1180px);
    margin-top: 24px;
  }

  .woocommerce-cart h1,
  .woocommerce-checkout h1,
  .woocommerce-cart .entry-title,
  .woocommerce-checkout .entry-title {
    font-size: 38px;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: grid;
    border-bottom: 1px solid var(--hop-line);
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 0;
    text-align: right !important;
  }

  .woocommerce table.shop_table_responsive tr td.product-name,
  .woocommerce-page table.shop_table_responsive tr td.product-name {
    display: block;
    text-align: left !important;
  }

  .woocommerce .coupon {
    display: grid;
  }

  .woocommerce .coupon .input-text,
  .woocommerce .coupon .button,
  .woocommerce-cart table.cart td.actions .button {
    width: 100% !important;
  }

  .wc-block-cart {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wc-block-cart-items__row {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px;
  }

  .wc-block-cart-item__total {
    font-size: 24px;
  }

  .wc-block-cart__sidebar {
    padding: 18px !important;
  }

  .split-image img {
    height: 320px;
  }
}
