:root {
  --card-radius: 1.25rem;
  --pizza-primary: #e63926;
  --pizza-primary-dark: #c92f20;
  --pizza-secondary: #ffb703;
  --pizza-soft: #fff3e8;
  --pizza-soft-strong: #ffe1d2;
}
body {
  background: #f8f9fa;
}
a {
  color: var(--pizza-primary);
}
a:hover {
  color: var(--pizza-primary-dark);
}
.site-header .navbar-brand {
  letter-spacing: 0.02em;
}
.header-phone {
  font-weight: 700;
  color: var(--pizza-primary) !important;
  text-decoration: none;
}
.hero-section {
  background: linear-gradient(180deg, #fff, #f8f9fa);
}
.catalog-toolbar,
.content-card,
.promo-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.footer-link {
  color: inherit;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--pizza-primary);
}
.product-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08) !important;
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e9ecef;
}
.product-image-link {
  display: block;
  background: #e9ecef;
}
.product-link {
  color: #212529;
  text-decoration: none;
}
.product-link:hover {
  color: var(--pizza-primary);
}
.price {
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 800;
}
.product-main-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: #e9ecef;
}
.product-price-box {
  background: #fff;
}
.btn-pizza,
.btn-dark {
  background: var(--pizza-primary);
  border-color: var(--pizza-primary);
  color: #fff;
}
.btn-pizza:hover,
.btn-dark:hover {
  background: var(--pizza-primary-dark);
  border-color: var(--pizza-primary-dark);
  color: #fff;
}
.btn-outline-pizza,
.btn-outline-dark {
  border-color: var(--pizza-primary);
  color: var(--pizza-primary);
}
.btn-outline-pizza:hover,
.btn-outline-dark:hover {
  background: var(--pizza-primary);
  border-color: var(--pizza-primary);
  color: #fff;
}
.cart-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pizza-soft-strong);
  border-radius: 0.5rem;
  min-width: 135px;
  min-height: 38px;
}
.cart-qty-control .btn {
  border: 0;
  background: transparent;
  font-weight: 700;
  color: var(--pizza-primary);
}
.cart-qty-text {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
}
.cart-control-product .cart-qty-control {
  min-height: 48px;
  min-width: 170px;
}
.extra-add-card {
  position: relative;
  cursor: pointer;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.extra-add-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
  border-color: var(--pizza-primary) !important;
}
.extra-add-card.is-selected {
  border-color: var(--pizza-primary) !important;
  box-shadow: 0 0.75rem 1.5rem rgba(230, 57, 38, 0.12);
  background: var(--pizza-soft) !important;
}
.extra-add-count {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--pizza-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  z-index: 2;
}
.extra-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #e9ecef;
  flex: 0 0 72px;
}
.extra-subsection-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #212529;
}
.configured-instances-list {
  display: grid;
  gap: 0.75rem;
}
.configured-select-all-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--pizza-primary);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: var(--pizza-soft);
  cursor: pointer;
  font-weight: 700;
  margin: 0;
}
.configured-select-all-row:has(input:not(:checked)) {
  background: #fff;
  border-color: #dee2e6;
  color: #212529;
}
.configured-instance-row {
  cursor: pointer;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.configured-instance-row:hover,
.configured-instance-row.is-active {
  border-color: var(--pizza-primary) !important;
  box-shadow: 0 0.5rem 1rem rgba(230, 57, 38, 0.12);
  background: var(--pizza-soft) !important;
}
.configured-instance-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: start;
}
.configured-instance-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
.configured-instance-checkbox {
  accent-color: var(--pizza-primary);
}
.configured-instance-title {
  line-height: 1.2;
}
.configured-instance-remove {
  border: 0;
  background: transparent;
  color: var(--pizza-primary);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.configured-instance-remove:hover {
  color: var(--pizza-primary-dark);
}
.configured-instance-extras,
.configured-instance-price {
  grid-column: 1 / -1;
}
.configured-instance-price {
  color: #6c757d;
  font-size: 0.875rem;
}
.configured-extra {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f3f5;
  border-radius: 999px;
  padding: 0.2rem 0.45rem 0.2rem 0.6rem;
  margin: 0.15rem 0.2rem 0.15rem 0;
  max-width: 100%;
  vertical-align: middle;
}
.configured-extra-name {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.configured-extra-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--pizza-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.configured-extra-remove {
  border: 0;
  background: transparent;
  color: #dc3545;
  font-weight: 700;
  line-height: 1;
  padding: 0 0.15rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.cart-category-title a {
  color: #212529;
  text-decoration: none;
}
.cart-category-title a:hover {
  color: var(--pizza-primary);
}
.cart-line {
  border-bottom: 1px solid #edf0f2;
  padding: 0.9rem 0;
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line-title {
  color: #212529;
  font-weight: 700;
  text-decoration: none;
}
.cart-line-title:hover {
  color: var(--pizza-primary);
}
.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-total-box {
  position: sticky;
  top: 90px;
}
.delivery-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.delivery-zones span {
  background: var(--pizza-soft);
  border: 1px solid var(--pizza-soft-strong);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
}
.map-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  background: #e9ecef;
}
.map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pre-line {
  white-space: pre-line;
}
@media (max-width: 575.98px) {
  .configured-extra-name {
    max-width: 180px;
  }
  .extra-image {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .cart-qty-control {
    min-width: 120px;
  }
  .cart-control-product .cart-qty-control {
    min-width: 150px;
  }
}

/* Service pages */
.delivery-zones-text {
  font-weight: 700;
  line-height: 1.65;
}
.map-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 420px;
  min-height: 320px;
  padding-top: 0;
  border-radius: 1rem;
  background: #e9ecef;
}
.map-responsive iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.map-responsive-lg {
  height: 460px;
}
.contact-list {
  display: grid;
  gap: 0.75rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #edf0f2;
  border-radius: 1rem;
  color: #212529;
  text-decoration: none;
  background: #fff;
}
.contact-link:hover {
  border-color: var(--pizza-primary);
  background: var(--pizza-soft);
  color: #212529;
}
.contact-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pizza-primary);
  color: #fff;
  font-weight: 800;
  flex: 0 0 2.2rem;
}
.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.empty-cart-image {
  display: block;
  max-width: min(100%, 520px);
  max-height: 320px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 575.98px) {
  .map-responsive,
  .map-responsive-lg {
    height: 320px;
    min-height: 260px;
  }
}

/* Navigation state */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.disabled {
  color: var(--pizza-primary) !important;
  font-weight: 800;
  pointer-events: none;
  cursor: default;
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.disabled::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--pizza-primary);
  border-radius: 999px;
  margin-top: 0.2rem;
}

/* Product assembly configurator */
.configured-instance-row {
  cursor: pointer;
}
.configured-instance-row.is-active {
  border-color: var(--pizza-primary) !important;
  box-shadow: 0 0.5rem 1rem rgba(230, 57, 38, 0.12);
  background: var(--pizza-soft) !important;
}
.configured-instance-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
}
.configured-instance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.configured-instance-title {
  line-height: 1.2;
}
.configured-instance-qty,
.configured-instance-base,
.configured-instance-extras,
.configured-instance-price {
  grid-column: 1 / -1;
}
.configured-instance-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.cart-qty-control-sm {
  min-width: 120px;
  min-height: 34px;
}
.configured-block-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6c757d;
  margin-bottom: 0.35rem;
}
.configured-base-list,
.configured-removed {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.configured-base-chip,
.configured-removed-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.45rem 0.2rem 0.6rem;
  max-width: 100%;
  font-size: 0.9rem;
}
.configured-base-chip {
  background: #fff;
  border: 1px solid var(--pizza-soft-strong);
}
.configured-removed-chip {
  background: #f1f3f5;
  color: #6c757d;
}
.configured-base-remove,
.configured-base-restore {
  border: 0;
  background: transparent;
  color: var(--pizza-primary);
  font-weight: 800;
  line-height: 1;
  padding: 0 0.15rem;
  cursor: pointer;
}
.configured-base-restore {
  color: #198754;
}
.configured-instance-remove {
  align-self: start;
}

@media (max-width: 575.98px) {
  .configured-instance-layout {
    grid-template-columns: 1fr auto;
  }
  .configured-instance-head {
    align-items: flex-start;
  }
}

/* Form validation: show state only for touched fields or after submit */
[data-validate-form] .is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.08);
}
[data-validate-form] .is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.08);
}
.form-error-box:empty {
  display: none !important;
}

[data-validate-form] .form-control.is-invalid,
[data-validate-form] .form-select.is-invalid,
[data-validate-form] textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12) !important;
}
[data-validate-form] .form-control.is-valid,
[data-validate-form] .form-select.is-valid,
[data-validate-form] textarea.is-valid {
  border-color: #198754 !important;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.12) !important;
}

/* Delivery page */
.delivery-public-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.delivery-price-list {
  max-width: 520px;
}
.delivery-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid #eef0f2;
}
.delivery-price-city {
  font-weight: 600;
}
.delivery-price-dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted #c9ced3;
  transform: translateY(-0.2rem);
}
.delivery-price-value {
  white-space: nowrap;
  text-align: right;
}
.admin-delivery-form textarea {
  resize: vertical;
}
.delivery-zone-admin-item {
  background: #fff;
}
@media (max-width: 575.98px) {
  .delivery-public-card {
    padding: 1.1rem !important;
  }
  .delivery-price-list {
    max-width: none;
  }
  .delivery-price-row {
    gap: 0.45rem;
  }
}
.promotions-intro {
  max-width: 760px;
}
#promotionsAdmin .form-label {
  margin-bottom: 0.25rem;
}

/* Promotions admin and front output */
.promotion-admin-form {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.promotion-admin-form .form-label {
  font-size: 0.875rem;
  font-weight: 600;
}
.promo-products-box {
  max-height: 340px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  padding: 0.85rem;
  background: #fff;
}
.promo-products-box details {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.45rem 0;
}
.promo-products-box details:first-of-type {
  border-top: 0;
}
.promo-products-box summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.promotion-catalog-banner {
  background: #fff;
  background-size: cover;
  background-position: center;
}
.promotion-catalog-banner.has-image {
  position: relative;
  color: #111;
}
.promotion-catalog-banner-body {
  max-width: 720px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
}
.promotion-product-note {
  background: #fff3f3;
  color: #9b1c1c;
  border: 1px solid rgba(220, 53, 69, 0.2);
}
.promotion-product-alert {
  background: #fff8f8;
  border-color: rgba(220, 53, 69, 0.2) !important;
}
.promotion-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}
@media (max-width: 575.98px) {
  .promotion-admin-form {
    padding: 1rem !important;
  }
  .promo-products-box {
    max-height: 260px;
  }
  .promotion-catalog-banner-body {
    padding: 1rem;
  }
  .promo-card-image {
    height: 150px;
  }
}

/* Promotion constructor blocks */
.promo-toggle-block {
  transition:
    opacity 0.15s ease,
    background-color 0.15s ease;
}
.promo-toggle-block.promo-block-disabled {
  opacity: 0.55;
  background: #f8f9fa;
}
.promo-toggle-block.promo-block-disabled .promo-block-fields {
  pointer-events: none;
}
.promo-products-group {
  background: #fff;
}

/* Promotions constructor v2 */
.promo-toggle-block.promo-block-disabled {
  opacity: 0.55;
  background: #f8f9fa;
}
.promotion-banner-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
}
.promotion-banner-slider .promotion-catalog-banner {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 180px;
}
.promotion-banner-slider[data-count="1"] {
  overflow-x: visible;
}
.promotion-catalog-banner {
  background: #fff;
  background-size: cover;
  background-position: center;
}
.promotion-catalog-banner.has-image {
  position: relative;
  color: #111;
}
.promotion-catalog-banner-body {
  max-width: 720px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
}
@media (max-width: 767.98px) {
  .promotion-banner-slider .promotion-catalog-banner {
    min-height: 160px;
  }
  .promotion-catalog-banner-body {
    padding: 1rem;
  }
}

/* Promotion constructor final */
.promo-admin-card {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.promo-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
}
.promo-admin-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.promo-banner-pages {
  max-height: 180px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #fff;
}
.promo-toggle-block.promo-block-disabled {
  opacity: 0.55;
  background: #f8f9fa;
}
.promo-toggle-block.promo-block-disabled .promo-block-fields {
  pointer-events: none;
}

/* Promotion admin cards */
.promo-admin-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.promo-admin-card-banner {
  width: 100%;
  height: 96px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
}
@media (max-width: 575.98px) {
  .promo-admin-card-banner {
    height: 82px;
  }
}

/* Promotions admin cleanup */
.promo-admin-card-active {
  border-color: #198754 !important;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.12);
}
.promo-admin-card-inactive {
  border-color: #ced4da !important;
  background: #f8f9fa !important;
}
.promo-block-disabled {
  opacity: 0.55;
  background: #f8f9fa;
}
.promo-block-disabled .promo-block-fields {
  filter: grayscale(0.15);
}

/* Promotions admin constructor */
.promo-block-disabled {
  opacity: 0.45;
  filter: grayscale(20%);
}
.promo-help-panel {
  border-left: 4px solid #dc3545 !important;
}
.promo-admin-card-active {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.08);
}
.promo-admin-card-inactive {
  border-color: #dee2e6 !important;
  opacity: 0.92;
}
.promo-card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
@media (max-width: 576px) {
  .promo-card-image {
    height: 110px;
  }
}

/* Dynamic promotion bonus UI */
.dynamic-bonus-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.25;
}
.dynamic-bonus-info-warning {
  color: #6b4b00;
  background: #fff3cd;
  border: 1px solid #ffec99;
}
.dynamic-bonus-info-success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}
.dynamic-bonus-info-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.15rem;
  cursor: pointer;
}
.cart-bonus-block {
  border-top: 1px dashed #dee2e6;
  padding-top: 1rem;
}
.cart-bonus-line {
  border-radius: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
  border: 1px solid transparent;
}
.cart-bonus-line-active {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.cart-bonus-line-disabled {
  background: #fff7ed;
  border-color: #fed7aa;
  opacity: 0.92;
}
.cart-bonus-status {
  margin-top: 0.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
}
.cart-bonus-status-active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.cart-bonus-status-inactive {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.category-seo-text,
.product-seo-text {
  margin-top: 40px;
  padding: 28px 0 10px;
  color: #222;
  line-height: 1.7;
  font-size: 16px;
}

.category-seo-text h2,
.product-seo-text h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.category-seo-text h3,
.product-seo-text h3 {
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.category-seo-text p,
.product-seo-text p {
  margin: 0 0 16px;
}

.category-seo-text ul,
.product-seo-text ul,
.category-seo-text ol,
.product-seo-text ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.category-seo-text li,
.product-seo-text li {
  margin-bottom: 8px;
}

.category-seo-text strong,
.product-seo-text strong {
  font-weight: 700;
}

.category-seo-text a,
.product-seo-text a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .category-seo-text,
  .product-seo-text {
    margin-top: 28px;
    padding-top: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .category-seo-text h2,
  .product-seo-text h2 {
    font-size: 23px;
  }

  .category-seo-text h3,
  .product-seo-text h3 {
    font-size: 19px;
  }
}

/* compact catalog + responsive product view */
.catalog-toolbar .form-label{margin-bottom:.25rem;font-size:.85rem;color:#5f6670!important}.catalog-toolbar .form-control,.catalog-toolbar .form-select{min-height:34px}.catalog-toolbar .form-check-input{margin-top:.18rem}.catalog-toolbar .btn{padding:.35rem .75rem}.catalog-head{gap:1rem}.catalog-view-switch{display:inline-flex;gap:.35rem}.catalog-view-btn{width:34px;height:34px;border:1px solid #d7dce2;background:#fff;border-radius:.55rem;display:inline-flex;align-items:center;justify-content:center;color:#495057;transition:.15s ease}.catalog-view-btn svg{width:21px;height:21px;fill:currentColor}.catalog-view-btn:hover{background:#f1f3f5;border-color:#adb5bd;color:#212529}.catalog-view-btn.is-active{background:var(--pizza-primary);border-color:var(--pizza-primary);color:#fff}.catalog-product-col{display:flex}.catalog-product-col>.product-card{width:100%}@media (min-width:1400px){.catalog-product-col.col-xxl{flex:0 0 auto;width:20%}}@media (min-width:992px) and (max-width:1399.98px){.catalog-product-col{flex:0 0 auto;width:25%}}@media (min-width:768px) and (max-width:991.98px){.catalog-product-col{flex:0 0 auto;width:33.333333%}}@media (max-width:767.98px){.catalog-product-col{flex:0 0 auto;width:50%}.product-image{height:130px}.product-card .card-body{padding:.8rem}.product-card .card-title{font-size:1rem}.price{font-size:1.08rem}.cart-add-btn{padding:.28rem .55rem;font-size:.8rem}}
.catalog-products-list>.catalog-product-col{width:100%!important}.catalog-products-list .product-card{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:170px}.catalog-products-list .product-image-link{height:100%}.catalog-products-list .product-image{height:100%;min-height:170px;border-radius:0;object-fit:cover}.catalog-products-list .product-card .card-body{min-width:0}.catalog-products-list .card-text{flex-grow:0!important}@media (max-width:767.98px){.catalog-products-list .product-card{grid-template-columns:118px minmax(0,1fr);min-height:120px}.catalog-products-list .product-image{min-height:120px}.catalog-products-list .product-card .card-body{padding:.7rem}.catalog-products-list .card-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.catalog-products-list .product-card .d-flex.justify-content-between{align-items:flex-start!important;flex-direction:column;gap:.45rem!important}}

/* compact mobile menu */
.site-header .navbar{padding-top:.45rem;padding-bottom:.45rem}.site-header .navbar-toggler{padding:.35rem .5rem;border-radius:.7rem}.site-header .nav-link{position:relative;border-radius:.45rem;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.site-header .nav-link:hover{background:#f1f3f5;color:#212529}.site-header .nav-link.active{color:var(--pizza-primary)!important;font-weight:700;background:transparent}.site-header .nav-link.active::after{content:"";position:absolute;left:.5rem;right:.5rem;bottom:.1rem;height:2px;background:var(--pizza-primary);border-radius:99px}@media (max-width:1199.98px){.site-header .navbar-collapse{max-height:calc(100vh - 68px);overflow-y:auto;padding:.45rem 0 .7rem}.site-header .navbar-nav{gap:.05rem}.site-header .nav-link{padding:.38rem .5rem!important;margin:.02rem 0}.site-header .nav-link:hover{background:#f2f4f6}.site-header .nav-link.active::after{left:.5rem;right:.5rem;bottom:0}.header-phone{font-size:.95rem}.site-header .navbar-brand{font-size:1.2rem}}

/* mobile menu overlay + separator + pagination */
.nav-section-divider{display:block}
@media (min-width:1200px){
  .nav-section-divider{width:1px;height:26px;background:#d8dde3;margin:0 .45rem}
}
@media (max-width:1199.98px){
  .site-header .container{position:static}
  .site-header .navbar-collapse{
    position:fixed;
    top:62px;
    left:0;
    width:90vw;
    max-width:520px;
    height:calc(100vh - 62px);
    max-height:none;
    overflow-y:auto;
    background:#fff;
    padding:.45rem .85rem 1rem;
    box-shadow:10px 0 30px rgba(0,0,0,.14);
    z-index:1050;
  }
  .mobile-nav-backdrop{
    display:none;
    position:fixed;
    top:62px;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,.08);
    z-index:1040;
    cursor:pointer;
  }
  .site-header .navbar-collapse.show ~ .mobile-nav-backdrop,
  .site-header .navbar-collapse.collapsing ~ .mobile-nav-backdrop{display:block}
  .site-header .nav-link{padding:.32rem .45rem!important;line-height:1.25}
  .site-header .nav-link:hover{background:#e9ecef;color:#111}
  .nav-section-divider{height:1px;background:#d8dde3;margin:.38rem 0 .28rem}
}
.catalog-pagination .page-link{color:#333;border-color:#d8dde3}
.catalog-pagination .page-link:hover{background:#f1f3f5;color:#111}
.catalog-pagination .page-item.active .page-link{background:var(--pizza-primary);border-color:var(--pizza-primary);color:#fff}
.catalog-count strong{color:#212529}
.catalog-bottom-pagination:empty{display:none!important}
@media (max-width:575.98px){.catalog-head{align-items:flex-start!important}.catalog-pagination{order:3;width:100%;margin-top:.5rem}.catalog-view-switch{margin-left:auto}}

.admin-dashboard-section { margin-top: 1.25rem; }
.admin-dashboard-title { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; color: #6c757d; text-transform: uppercase; letter-spacing: .04em; }
.admin-stat-button-danger { border: 1px solid #dc3545 !important; color: #dc3545 !important; background: #fff !important; }
.admin-stat-button-danger:hover { background: #fff5f5 !important; color: #b02a37 !important; }

/* Compact responsive product modifier/addon grid */
.product-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-extra-col {
  min-width: 0;
}
.product-extra-grid .extra-add-card {
  min-height: 128px;
  padding: 0.75rem;
  border-radius: 1rem !important;
}
.product-extra-grid .extra-card-main {
  min-width: 0;
}
.product-extra-grid .extra-card-info {
  min-width: 0;
}
.product-extra-grid .extra-image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}
.product-extra-grid .extra-add-card strong {
  font-size: 0.98rem;
  line-height: 1.15;
}
.product-extra-grid .extra-add-card .small {
  font-size: 0.82rem;
}
.product-extra-grid .extra-add-card .fw-bold {
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.extra-full-description {
  width: 100%;
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid #edf0f2;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #6c757d;
}
.product-extra-section {
  margin-top: 1.5rem !important;
}
.extra-subsection {
  margin-bottom: 1.25rem !important;
}
.extra-subsection-title {
  margin-bottom: 0.55rem;
}
@media (min-width: 768px) {
  .product-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .product-extra-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .product-extra-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .product-extra-grid {
    gap: 0.55rem;
  }
  .product-extra-grid .extra-add-card {
    min-height: 118px;
    padding: 0.6rem;
  }
  .extra-full-description {
    font-size: 0.76rem;
    line-height: 1.3;
  }
  .product-extra-grid .extra-image {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .product-extra-grid .extra-add-card strong {
    font-size: 0.9rem;
  }
}

/* Stable header phone: no wrapping when the window width changes */
.site-header .navbar > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
}
.site-header .navbar-brand,
.site-header .navbar-toggler,
.site-header .header-phone {
  flex: 0 0 auto;
}
.site-header .navbar-collapse {
  min-width: 0;
}
.site-header .navbar-nav {
  min-width: 0;
}
.site-header .nav-link {
  white-space: nowrap;
}
.header-phone {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
}
.header-phone-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  fill: currentColor;
}
.header-phone-text {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 1399.98px) {
  .header-phone-text {
    display: none !important;
  }
  .site-header .header-phone {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0 !important;
    border-radius: 0.65rem;
  }
}
@media (max-width: 1199.98px) {
  .site-header .navbar > .container {
    gap: 0.55rem;
  }
  .site-header .navbar-brand {
    margin-right: auto;
  }
  .site-header .header-phone.d-xl-none {
    order: 2;
  }
  .site-header .navbar-toggler {
    order: 3;
  }
}

.extra-short-description{line-height:1.2;margin-top:2px;}


/* Fix: the mobile phone button must not override Bootstrap d-xl-none on desktop/tablet-wide widths */
@media (min-width: 1200px) {
  .site-header .header-phone.d-xl-none {
    display: none !important;
  }
}
@media (max-width: 1199.98px) {
  .site-header .header-phone-item {
    display: none !important;
  }
}
