/* Шапка, подвал, модалка входа и боковая корзина.
   Геометрия и типографика повторяют эталон new.pizza-service.ru. */

:root {
  --ps-red: #E6050D;
  --ps-red-menu: #E31E25;
  --ps-orange: #FF8A0E;
  --ps-peach: #FBD5A6;
  --ps-brown: #4F1D05;
  --ps-white: #FFFFFF;
  --ps-gray: #4F4B4C;
  --ps-max: 1140px;
}

html {
  overflow-x: clip;
}

html,
body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  color: var(--ps-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
  background: #fff;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
}

#content {
  box-sizing: border-box;
  max-width: var(--ps-max);
  margin: 0 auto;
  padding: 40px 10px;
}

body.woocommerce-cart #content,
body.woocommerce-checkout #content,
body.woocommerce-shop #content {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.ps-page--cart,
.ps-page--checkout,
.ps-page--account {
  padding-bottom: 0;
}

.ps-page-title {
  margin: 16px 0 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ps-red);
}

.ps-breadcrumbs,
#breadcrumbs {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--ps-brown);
}

.ps-breadcrumbs a,
#breadcrumbs a {
  color: var(--ps-brown);
  text-decoration: none;
}

.ps-breadcrumbs a:hover,
#breadcrumbs a:hover {
  color: var(--ps-red);
}

.ps-breadcrumbs .breadcrumb_last,
#breadcrumbs .breadcrumb_last {
  color: var(--ps-brown);
}

.ps-linkbtn {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ---------- Иконка + подпись ---------- */

.ps-iconbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.ps-iconbox--gap-20 {
  gap: 20px;
}

.ps-iconbox__icon {
  display: block;
  flex: 0 0 auto;
  font-size: 35px;
  line-height: 1;
  text-decoration: none;
}

.ps-iconbox__icon svg {
  display: block;
  width: 1em !important;
  height: 1em !important;
  max-width: 100%;
  max-height: 100%;
}

.ps-iconbox__glyph {
  display: block;
}

.ps-iconbox__glyph--compact {
  display: none;
}

.ps-header.is-compact .ps-iconbox__glyph--default {
  display: none;
}

.ps-header.is-compact .ps-iconbox__glyph--compact {
  display: block;
}

.ps-iconbox__text {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  color: var(--ps-red);
}

.ps-iconbox__text a {
  color: inherit;
  text-decoration: none;
}

.ps-iconbox:hover .ps-iconbox__text {
  color: var(--ps-orange);
}

/* ---------- Шапка ---------- */

.ps-header-slot {
  position: relative;
  z-index: 300;
}

.ps-header {
  --ps-header-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ps-header-dur: 0.34s;
  position: sticky;
  top: 0;
  z-index: 300;
  max-width: var(--ps-max);
  width: 100%;
  margin: 12px auto 0;
  padding-top: 8px;
  box-sizing: border-box;
  transition:
    max-width var(--ps-header-dur) var(--ps-header-ease),
    margin var(--ps-header-dur) var(--ps-header-ease),
    padding-top var(--ps-header-dur) var(--ps-header-ease),
    width var(--ps-header-dur) var(--ps-header-ease),
    top var(--ps-header-dur) var(--ps-header-ease),
    left var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header.is-compact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  z-index: -1;
  width: 100%;
  height: 16px;
  transform: translateX(-50%);
  background: #fff;
  transition: height var(--ps-header-dur) var(--ps-header-ease), top var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__clip {
  border-radius: 30px;
  overflow: hidden;
  transition:
    border-radius var(--ps-header-dur) var(--ps-header-ease),
    box-shadow var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__shell {
  box-sizing: border-box;
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
  background-color: #fff8ef;
  background-image: url("../img/header-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition:
    padding var(--ps-header-dur) var(--ps-header-ease),
    border-radius var(--ps-header-dur) var(--ps-header-ease),
    background-color var(--ps-header-dur) var(--ps-header-ease),
    background-size var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__top {
  display: flex;
  flex-direction: row;
  height: 36px;
  max-height: 46px;
  margin-bottom: 10px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height var(--ps-header-dur) var(--ps-header-ease),
    margin-bottom var(--ps-header-dur) var(--ps-header-ease),
    opacity 0.22s ease;
}

.ps-header__contacts {
  flex: 0 0 50%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.ps-iconbox--phone {
  height: 30px;
}

.ps-iconbox--phone .ps-iconbox__icon {
  font-size: 30px;
}

.ps-iconbox--phone .ps-iconbox__text {
  font-size: 18.72px;
  font-weight: 700;
}

.ps-header__hours {
  padding-left: 10px;
}

.ps-header__hours span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  color: var(--ps-red);
  white-space: nowrap;
}

.ps-header__quick {
  flex: 0 0 50%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.ps-header__quick-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ps-header__main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 130px;
  transition:
    height var(--ps-header-dur) var(--ps-header-ease),
    min-height var(--ps-header-dur) var(--ps-header-ease),
    gap var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__brand {
  flex: 0 0 187px;
  width: 187px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition:
    width var(--ps-header-dur) var(--ps-header-ease),
    flex-basis var(--ps-header-dur) var(--ps-header-ease),
    gap var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__logo {
  flex: 0 0 auto;
  width: 187px;
  height: 130px;
  aspect-ratio: 187 / 130;
  box-sizing: border-box;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ps-red);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  transition:
    width var(--ps-header-dur) var(--ps-header-ease),
    height var(--ps-header-dur) var(--ps-header-ease),
    padding var(--ps-header-dur) var(--ps-header-ease),
    border-radius var(--ps-header-dur) var(--ps-header-ease),
    box-shadow var(--ps-header-dur) var(--ps-header-ease);
}

.ps-header__logo .custom-logo-link,
.ps-header__logo a,
.ps-header__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ps-header__logo img,
.ps-header__logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 187 / 130;
  object-fit: contain;
  /* SVG без красной плашки — слегка увеличиваем знак до ~5px от края фона */
  transform: scale(1.18);
  transform-origin: center center;
}

.ps-header__phone {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 8px 0 4px;
}

.ps-header__logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.ps-header__menu {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
}

.ps-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.ps-nav__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-between;
  gap: 5px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-nav__list > li {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 calc((100% - 30px) / 7);
  width: calc((100% - 30px) / 7);
  min-width: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border-radius: 30px;
  background: var(--ps-red-menu);
  text-align: center;
}

.ps-nav__list .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 40;
  min-width: 100%;
  width: max-content;
  max-width: 240px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(79, 29, 5, 0.16);
}

.ps-nav__list .sub-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--ps-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.ps-nav__list .sub-menu a:hover,
.ps-nav__list .sub-menu .current-menu-item > a {
  color: var(--ps-red);
  background: #fff8ef;
}

.ps-nav__list > li > a {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.ps-nav__list > li:nth-child(1) > a,
.ps-nav__list > li:nth-child(2) > a,
.ps-nav__list > li:nth-child(10) > a {
  font-size: 22px;
}

.ps-nav__list > li:hover > a,
.ps-nav__list > li.current-menu-item > a {
  color: var(--ps-orange);
}

.ps-header__aside {
  box-sizing: border-box;
  flex: 0 0 161px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  border-radius: 30px;
  background: var(--ps-red);
}

.ps-header__login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ps-header__login .ps-iconbox {
  padding-bottom: 0;
  border-bottom: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.ps-header__login .ps-iconbox--login,
.ps-header__login .ps-iconbox--login .ps-linkbtn,
.ps-header__login button.ps-linkbtn,
.ps-header__login a.ps-linkbtn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.ps-iconbox--login .ps-iconbox__icon {
  font-size: 25px;
}

.ps-iconbox--login .ps-iconbox__text,
.ps-iconbox--login .ps-iconbox__text a,
.ps-iconbox--login .ps-linkbtn {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ps-iconbox--login[data-ps-login] {
  cursor: pointer;
}

.ps-iconbox--login .ps-iconbox__icon svg .fil0 {
  fill: #fff;
}

.ps-iconbox--login:hover .ps-iconbox__text,
.ps-iconbox--login:hover .ps-iconbox__text a,
.ps-iconbox--login:hover .ps-linkbtn {
  color: var(--ps-orange);
}

.ps-iconbox--login:hover .ps-iconbox__icon svg .fil0 {
  fill: var(--ps-orange);
}

/* На красном aside корзина — оранжевая (как на эталоне). */
.ps-cart-toggle .ps-cart-toggle__icon svg .fil0 {
  fill: var(--ps-orange);
}

.ps-cart-toggle:hover .ps-cart-toggle__icon svg .fil0 {
  fill: #fff;
}

.ps-header__cart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  padding-top: 10px;
  text-align: center;
}

.ps-cart-toggle {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 10px;
  border: 0;
  border-radius: 30px;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--ps-orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ps-cart-toggle__total {
  color: var(--ps-orange);
  white-space: nowrap;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.ps-cart-toggle:hover,
.ps-cart-toggle:hover .ps-cart-toggle__total {
  color: #fff;
}

.ps-cart-toggle__icon {
  position: relative;
  display: block;
  font-size: 30px;
  line-height: 1;
}

.ps-cart-toggle__icon svg {
  display: block;
  width: 1em !important;
  height: 1em !important;
}

.ps-cart-toggle__qty {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  box-sizing: border-box;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ps-orange);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.ps-cart-toggle__qty[data-counter="0"] {
  display: none;
}

.ps-header__burger {
  display: none;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  margin-left: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 30px;
  background: var(--ps-red);
  cursor: pointer;
}

.ps-header__burger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ps-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ps-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.ps-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.ps-header-slot.is-pinned .ps-header,
.ps-header.is-compact {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-top: 0;
  box-sizing: border-box;
}

/* Отступ сверху только если admin bar реально fixed (не absolute на мобилке) */
body.admin-bar .ps-header-slot.is-pinned .ps-header,
body.admin-bar .ps-header.is-compact {
  top: var(--ps-admin-bar-offset, 0px);
}

.ps-header.is-compact::before {
  top: 0;
  height: 0;
}

.ps-header.is-compact .ps-header__clip {
  overflow: visible;
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(79, 29, 5, 0.08), 0 6px 18px rgba(79, 29, 5, 0.06);
}

.ps-header.is-compact .ps-header__shell {
  overflow: visible;
  border-radius: 0;
  padding: 0 16px;
  background-color: #fff;
  background-image: none;
}

.ps-header.is-compact .ps-header__top {
  height: 0;
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.ps-header.is-compact .ps-header__main {
  height: 52px;
  min-height: 52px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  gap: 16px;
}

.ps-header.is-compact .ps-header__brand {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  width: auto;
  min-width: 0;
  gap: 10px;
}

.ps-header.is-compact .ps-header__logo {
  order: 1;
  flex: 0 0 auto;
  width: 54px;
  height: 38px;
  aspect-ratio: auto;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: none;
}

.ps-header.is-compact .ps-header__logo-link,
.ps-header.is-compact .ps-header__logo a {
  height: 100%;
}

.ps-header.is-compact .ps-header__logo-img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

.ps-header.is-compact .ps-header__phone {
  order: 2;
  display: flex;
  width: auto;
  justify-content: flex-start;
  padding: 0;
}

.ps-header.is-compact .ps-header__phone .ps-iconbox {
  gap: 5px;
  height: auto;
}

.ps-header.is-compact .ps-header__phone .ps-iconbox__icon {
  font-size: 15px;
}

.ps-header.is-compact .ps-header__phone .ps-iconbox__text,
.ps-header.is-compact .ps-header__phone .ps-iconbox__text a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.ps-header.is-compact .ps-header__menu {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  align-items: center;
  align-self: center;
}

.ps-header.is-compact .ps-nav {
  display: flex;
  width: 100%;
  align-items: center;
}

.ps-header.is-compact .ps-nav__list {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  height: auto;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

.ps-header.is-compact .ps-nav__list > li {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  align-items: center;
}

.ps-header.is-compact .ps-nav__list > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: 0;
}

.ps-header.is-compact .ps-nav__list > li + li {
  box-shadow: none;
}

.ps-header.is-compact .ps-nav__list > li > a {
  position: relative;
  padding: 7px 9px;
  color: var(--ps-brown);
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ps-header.is-compact .ps-nav__list > li > a::after {
  display: none;
}

.ps-header.is-compact .ps-nav__list > li:hover > a,
.ps-header.is-compact .ps-nav__list > li.current-menu-item > a,
.ps-header.is-compact .ps-nav__list > li.current-menu-ancestor > a {
  color: var(--ps-red);
  background: rgba(230, 5, 13, 0.06);
}

.ps-header.is-compact .ps-nav__list br {
  display: none;
}

.ps-header.is-compact .ps-nav__list > li:hover > .sub-menu,
.ps-header.is-compact .ps-nav__list > li:focus-within > .sub-menu,
.ps-header.is-compact .ps-nav__list > li.is-open > .sub-menu {
  display: block;
}

.ps-header.is-compact .ps-nav__list .sub-menu {
  top: calc(100% + 6px);
  min-width: 170px;
  padding: 6px 0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(79, 29, 5, 0.14);
  border: 1px solid rgba(79, 29, 5, 0.06);
}

.ps-header.is-compact .ps-nav__list .sub-menu a {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ps-brown);
}

.ps-header.is-compact .ps-header__aside {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 14px;
  height: auto;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ps-header.is-compact .ps-header__login .ps-iconbox {
  flex-direction: column;
  gap: 1px;
  padding-bottom: 0;
  border-bottom: 0;
}

.ps-header.is-compact .ps-header__login .ps-iconbox__icon {
  font-size: 18px;
}

.ps-header.is-compact .ps-iconbox--login .ps-iconbox__icon svg .fil0 {
  fill: var(--ps-red);
}

.ps-header.is-compact .ps-iconbox--login:hover .ps-iconbox__icon svg .fil0 {
  fill: var(--ps-orange);
}

.ps-header.is-compact .ps-iconbox--login .ps-iconbox__text,
.ps-header.is-compact .ps-iconbox--login .ps-iconbox__text a,
.ps-header.is-compact .ps-iconbox--login .ps-linkbtn {
  display: block;
  color: var(--ps-brown);
  font-size: 11px;
  line-height: 1.1;
  text-decoration: none;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.ps-header.is-compact .ps-iconbox--login:hover .ps-iconbox__text,
.ps-header.is-compact .ps-iconbox--login:hover .ps-iconbox__text a,
.ps-header.is-compact .ps-iconbox--login:hover .ps-linkbtn {
  color: var(--ps-red);
}

.ps-header.is-compact .ps-header__cart {
  padding-top: 0;
  min-height: 0;
}

.ps-header.is-compact .ps-cart-toggle {
  flex-direction: column;
  gap: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--ps-orange);
}

.ps-header.is-compact .ps-cart-toggle__icon {
  font-size: 18px;
}

.ps-header.is-compact .ps-cart-toggle__icon svg .fil0 {
  fill: var(--ps-orange);
}

.ps-header.is-compact .ps-cart-toggle__total {
  color: var(--ps-brown);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

.ps-header.is-compact .ps-cart-toggle:hover,
.ps-header.is-compact .ps-cart-toggle:hover .ps-cart-toggle__total {
  color: var(--ps-red);
}

.ps-header.is-compact .ps-cart-toggle:hover .ps-cart-toggle__icon svg .fil0 {
  fill: var(--ps-red);
}

/* ---------- Модалка входа (единый вид wood / pizza) ---------- */

.ps-login {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: none;
}

.ps-login.is-open {
  display: block;
}

.ps-login__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.ps-login__card {
  position: relative;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.ps-login__title {
  margin: 0 28px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ps-red);
  text-align: center;
}

.ps-login__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--ps-red) !important;
  font-size: 28px;
  line-height: 32px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#ps-login .ps-form {
  box-sizing: border-box;
  width: 100%;
  margin-top: 18px;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

#ps-login .ps-form.is-hidden {
  display: none !important;
}

#ps-login .ps-form__group {
  margin-bottom: 14px;
}

#ps-login .ps-form__label {
  display: block;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--ps-brown);
}

#ps-login .ps-form__control,
#ps-login input.ps-form__control {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #d8d0c8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #495057 !important;
  appearance: none;
  -webkit-appearance: none;
}

#ps-login .ps-form__password {
  position: relative;
}

#ps-login .ps-form__password .ps-form__control {
  padding-right: 48px !important;
}

#ps-login .ps-form__pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 4px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F4B4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
  box-shadow: none !important;
  transform: translateY(-50%);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#ps-login .ps-form__pw-toggle.is-visible {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F4B4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 19c-7 0-11-7-11-7a21.8 21.8 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A10.94 10.94 0 0 1 12 5c7 0 11 7 11 7a21.8 21.8 0 0 1-2.16 3.19'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
}

#ps-login .ps-form__control:focus {
  outline: none !important;
  border-color: var(--ps-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 14, 0.2) !important;
}

#ps-login .ps-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ps-brown);
}

#ps-login .ps-form__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#ps-login .ps-form__link,
#ps-login .ps-form__foot .ps-linkbtn,
#ps-login button.ps-linkbtn {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--ps-red) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 18px !important;
  text-decoration: underline;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#ps-login .ps-form__message {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 18px;
  color: var(--ps-red);
}

#ps-login .ps-form__message.is-success {
  color: #2e7d32;
}

#ps-login .ps-form__message:empty {
  display: none;
}

#ps-login .ps-form__submit,
#ps-login button.ps-form__submit {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: var(--ps-red) !important;
  background-color: var(--ps-red) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  text-align: center;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#ps-login .ps-form__submit:hover,
#ps-login button.ps-form__submit:hover {
  background: var(--ps-orange) !important;
  background-color: var(--ps-orange) !important;
  color: #fff !important;
}

#ps-login .ps-form__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

#ps-login .ps-form__foot {
  margin: 14px 0 0;
  text-align: center;
}

/* legacy selectors kept for non-modal reuse */
.ps-form.is-hidden {
  display: none;
}

/* ---------- Боковая корзина ---------- */

.ps-cart-panel {
  position: fixed;
  inset: 0;
  z-index: 100001;
  visibility: hidden;
}

.ps-cart-panel.is-open {
  visibility: visible;
}

.ps-cart-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(79, 29, 5, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ps-cart-panel.is-open .ps-cart-panel__overlay {
  opacity: 1;
}

.ps-cart-panel__main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(400px, 100vw);
  max-width: 400px;
  padding: 22px 22px 28px;
  background: #fff;
  box-shadow: -10px 0 36px rgba(79, 29, 5, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ps-brown);
  font-family: Arial, Helvetica, sans-serif;
}

.ps-cart-panel.is-updating .ps-cart-panel__main {
  pointer-events: none;
  opacity: 0.72;
}

body.admin-bar .ps-cart-panel__main {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .ps-cart-panel__main {
    top: 46px;
  }
}

.ps-cart-panel.is-open .ps-cart-panel__main {
  transform: none;
}

.ps-cart-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff3e6;
  color: var(--ps-brown);
  font-size: 26px;
  line-height: 34px;
  cursor: pointer;
}

.ps-cart-panel__close:hover {
  color: #fff;
  background: var(--ps-red);
}

.ps-cart-panel__title {
  margin: 4px 48px 20px 0;
  padding: 0;
  color: var(--ps-red);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.ps-cart-panel__content,
.ps-cart-panel .widget_shopping_cart_content {
  flex: 1 1 auto;
  min-height: 0;
}

.ps-cart-panel .woocommerce-mini-cart {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ps-cart-panel .woocommerce-mini-cart-item,
.ps-cart-panel ul.cart_list li,
.ps-cart-panel ul.product_list_widget li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) 32px !important;
  column-gap: 12px !important;
  row-gap: 8px !important;
  align-items: start !important;
  margin: 0 0 12px !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e6dc !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ps-brown) !important;
  list-style: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
}

.ps-cart-panel .woocommerce-mini-cart-item::before,
.ps-cart-panel .woocommerce-mini-cart-item::after,
.ps-cart-panel ul.cart_list li::before,
.ps-cart-panel ul.cart_list li::after {
  content: none !important;
  display: none !important;
}

.ps-cart-panel .woocommerce-mini-cart-item > * {
  min-width: 0;
  max-width: 100%;
}

.ps-cart-panel .woocommerce-mini-cart-item > a:not(.remove) {
  grid-column: 1 / 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  color: var(--ps-brown) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ps-cart-panel .woocommerce-mini-cart-item > a:not(.remove):hover {
  color: var(--ps-red) !important;
}

.ps-cart-panel .woocommerce-mini-cart-item img {
  width: 76px;
  height: 76px;
  margin: 0;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
}

.ps-cart-panel .woocommerce-mini-cart-item .remove {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ps-red) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}

.ps-cart-panel .woocommerce-mini-cart-item .remove:hover {
  background: var(--ps-red);
  color: #fff !important;
}

.ps-cart-panel .woocommerce-mini-cart-item dl.variation,
.ps-cart-panel .woocommerce ul.cart_list li dl,
.ps-cart-panel .woocommerce ul.product_list_widget li dl,
.ps-cart-panel ul.cart_list li dl,
.ps-cart-panel ul.product_list_widget li dl {
  grid-column: 1 / -1;
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ps-brown);
}

.ps-cart-panel .woocommerce-mini-cart-item dl.variation dt,
.ps-cart-panel .woocommerce-mini-cart-item dl.variation dd {
  float: none !important;
  display: block;
  clear: both;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ps-cart-panel .woocommerce-mini-cart-item dl.variation dt {
  margin-top: 4px;
  font-weight: 700;
  color: var(--ps-brown);
}

.ps-cart-panel .woocommerce-mini-cart-item dl.variation dt:first-child {
  margin-top: 0;
}

.ps-cart-panel .woocommerce-mini-cart-item dl.variation dd p {
  margin: 0;
}

.ps-cart-panel .ps-cart-ctor {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ps-brown);
}

.ps-cart-panel .ps-cart-ctor__title {
  font-weight: 500;
}

.ps-cart-panel .ps-cart-ctor__label {
  font-weight: 700;
}

.ps-cart-panel .ps-cart-ctor__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
}

.ps-cart-panel .ps-cart-ctor__k {
  font-weight: 700;
}

.ps-cart-panel .ps-mini-qty--fixed {
  gap: 6px;
}

.ps-cart-panel .woocommerce-mini-cart-item .quantity {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--ps-brown) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  min-width: 0;
  max-width: 100%;
}

.ps-cart-panel .woocommerce-mini-cart-item .quantity .amount,
.ps-cart-panel .woocommerce-mini-cart-item .amount {
  color: var(--ps-red) !important;
  font-weight: 700;
}

.ps-cart-panel .ps-mini-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.ps-cart-panel .ps-mini-qty__controls {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid #f0d9c4;
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
}

.ps-cart-panel .ps-mini-qty__btn {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ps-red);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}

.ps-cart-panel .ps-mini-qty__plus {
  background: #2bb75e;
}

.ps-cart-panel .ps-mini-qty__btn:hover {
  filter: brightness(0.92);
}

.ps-cart-panel .ps-mini-qty__value {
  min-width: 26px;
  padding: 0 4px;
  color: var(--ps-brown);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.ps-cart-panel .ps-mini-qty__price {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ps-brown);
  font-weight: 600;
}

.ps-cart-panel .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 16px;
  padding: 16px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #f0e6dc;
  font-size: 16px;
  font-weight: 700;
  color: var(--ps-brown) !important;
}

.ps-cart-panel .woocommerce-mini-cart__total strong {
  font-weight: 700;
}

.ps-cart-panel .woocommerce-mini-cart__total .amount {
  color: var(--ps-red) !important;
  font-size: 24px;
  font-weight: 700;
}

.ps-cart-panel .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.ps-cart-panel .woocommerce-mini-cart__buttons a,
.ps-cart-panel .woocommerce-mini-cart__buttons .button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--ps-brown) !important;
  border-radius: 30px;
  background: #fff !important;
  color: var(--ps-brown) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ps-cart-panel .woocommerce-mini-cart__buttons a.checkout,
.ps-cart-panel .woocommerce-mini-cart__buttons .checkout {
  border-color: var(--ps-red) !important;
  background: var(--ps-red) !important;
  color: #fff !important;
}

.ps-cart-panel .woocommerce-mini-cart__buttons a:hover,
.ps-cart-panel .woocommerce-mini-cart__buttons .button:hover {
  border-color: var(--ps-orange) !important;
  background: var(--ps-orange) !important;
  color: #fff !important;
}

.ps-cart-panel .woocommerce-mini-cart__empty-message {
  margin: 28px 0;
  padding: 28px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--ps-brown);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.ps-cart-panel .ps-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 36px 0 24px;
  padding: 12px 8px 8px;
  text-align: center;
}

.ps-cart-panel .ps-cart-empty__img {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin: 0 auto;
}

.ps-cart-panel .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.72) !important;
}

body.ps-no-scroll {
  overflow: hidden;
}

/* ---------- Подвал ---------- */

.ps-footer {
  max-width: var(--ps-max);
  margin: 0 auto;
  padding: 0 0 40px;
}

.ps-footer__clip {
  border-radius: 30px;
  overflow: hidden;
}

.ps-footer__shell {
  box-sizing: border-box;
  padding: 20px 40px;
  border-radius: 30px;
  overflow: hidden;
  background-color: #fff8ef;
  background-image: url("../img/header-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ps-footer__pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.ps-footer__pill {
  display: flex;
  min-width: 0;
}

.ps-footer__pill .ps-iconbox {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  min-height: 55px;
  padding: 10px 15px;
  border-radius: 30px;
  background: var(--ps-red);
  align-items: center;
}

.ps-footer__pill .ps-iconbox__icon {
  font-size: 35px;
}

.ps-footer__pill .ps-iconbox__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: #fff;
}

.ps-footer__pill .ps-iconbox__text a {
  color: #fff;
}

.ps-footer__pill .ps-iconbox__icon svg .fil0 {
  fill: var(--ps-orange);
}

.ps-footer__pill .ps-iconbox:hover {
  background: var(--ps-orange);
}

.ps-footer__pill .ps-iconbox:hover .ps-iconbox__text,
.ps-footer__pill .ps-iconbox:hover .ps-iconbox__text a {
  color: #fff;
}

.ps-footer__pill .ps-iconbox__text br {
  display: block;
}

.ps-footer__pill .ps-iconbox:hover .ps-iconbox__icon svg .fil0 {
  fill: #fff;
}

.ps-footer__cols {
  display: grid;
  grid-template-columns: 200px 201px minmax(0, 1fr) 200px;
  column-gap: 20px;
  align-items: start;
}

.ps-footer__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ps-footer__col--company,
.ps-footer__col--catalog,
.ps-footer__col--contacts,
.ps-footer__col--address {
  flex: none;
  padding: 0;
}

.ps-footer__col--contacts {
  justify-content: flex-start;
  align-items: flex-start;
}

.ps-footer__heading {
  padding-bottom: 10px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: var(--ps-gray);
}

.ps-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-footer__menu a {
  display: block;
  padding: 5px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: var(--ps-gray);
  text-decoration: none;
}

.ps-footer__menu a:hover {
  color: var(--ps-red);
}

.ps-footer__badge {
  display: block;
  margin-bottom: 20px;
}

.ps-footer__badge img {
  display: block;
  width: 153px;
  height: 39px;
}

.ps-iconbox--footer-phone .ps-iconbox__icon {
  font-size: 30px;
}

.ps-iconbox--footer-phone .ps-iconbox__text,
.ps-iconbox--footer-phone .ps-iconbox__text a {
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
  color: var(--ps-red);
}

.ps-footer__hours {
  padding-left: 45px;
}

.ps-footer__hours span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  color: var(--ps-red);
}

.ps-footer__address {
  color: var(--ps-gray);
}

.ps-footer__address p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 18px;
}

.ps-footer__street {
  color: var(--ps-red);
  font-weight: 700;
}

.ps-footer__address-note {
  display: inline;
}

.ps-footer__copyright {
  margin-top: 20px;
}

.ps-footer__copyright p {
  margin: 0;
  font-size: 16px;
  line-height: 18px;
  color: var(--ps-brown);
}

/* ---------- Модальное окно товара ---------- */

.ps-modal-host {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ps-modal-host.is-open {
  display: flex;
}

.ps-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.ps-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(800px, 96vw);
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.ps-modal__scroll {
  position: relative;
  overflow: auto;
  max-height: 90vh;
  padding: 16px 14px 24px 20px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ff8a0e transparent;
}

.ps-modal__scroll::-webkit-scrollbar {
  width: 8px;
}

.ps-modal__scroll::-webkit-scrollbar-button {
  display: block;
  height: 43px;
}

.ps-modal__scroll::-webkit-scrollbar-track {
  background: rgba(233, 235, 234, 0.7);
  border-radius: 8px;
  margin: 43px 2px;
}

.ps-modal__scroll::-webkit-scrollbar-thumb {
  background: #ff8a0e;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.ps-modal__scroll::-webkit-scrollbar-thumb:hover {
  background: #e6050d;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.ps-modal--simple .ps-modal__dialog {
  width: min(800px, 96vw);
  height: auto;
  max-height: 90vh;
}

.ps-modal__close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 0;
  background: #d9dada;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
}

.ps-modal-host .ps-canvas__top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 8px 0 16px;
  overflow: visible;
}

.ps-modal-host .ps-canvas__hero {
  position: relative;
  flex: 0 0 280px;
  max-width: 280px;
  margin: 0;
}

.ps-modal-host .ps-canvas__info {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.ps-modal-host .ps-canvas__title-row {
  overflow: visible;
}

.ps-modal-host .ps-canvas__title {
  text-align: left;
}

.ps-modal-host .ps-canvas__desc {
  text-align: left;
  max-width: none;
  margin: 0 0 12px;
}

.ps-modal-host .ps-nutrition-bubble {
  overflow: visible;
}

.ps-modal-host .universal-constructor,
.ps-modal-host .pizza-constructor {
  max-width: none;
  margin: 8px 0 0;
}

@media (max-width: 768px) {
  .ps-modal-host {
    padding: 0;
    align-items: stretch;
  }
  .ps-modal__dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .ps-modal--simple .ps-modal__dialog {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100dvh;
  }
  .ps-modal__scroll {
    max-height: 100dvh;
    padding: 12px 12px 28px;
    -webkit-overflow-scrolling: touch;
  }
  .ps-modal__scroll::-webkit-scrollbar-button {
    height: 12px;
  }
  .ps-modal__scroll::-webkit-scrollbar-track {
    margin: 12px 2px;
  }
  .ps-modal__close {
    width: 40px;
    height: 40px;
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 4px;
  }
  .ps-modal-host .ps-canvas__top {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 4px 0 12px;
  }
  .ps-modal-host .ps-canvas__hero {
    flex-basis: auto;
    max-width: 220px;
  }
  .ps-modal-host .ps-canvas__title-row {
    justify-content: center;
    width: 100%;
    overflow: visible;
  }
  .ps-modal-host .ps-canvas__title,
  .ps-modal-host .ps-canvas__desc {
    text-align: center;
  }
  .ps-modal-host .ps-canvas__title {
    font-size: 20px;
    flex: 0 1 auto;
  }
  .ps-modal-host .ps-nutrition-bubble {
    width: auto;
    max-width: none;
    overflow: visible;
  }
  .ps-modal-host .universal-constructor,
  .ps-modal-host .pizza-constructor {
    margin-top: 4px;
  }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .ps-header,
  .ps-footer {
    max-width: none;
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
  }
  .ps-header-slot.is-pinned .ps-header,
  .ps-header.is-compact {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  body.woocommerce-cart #content,
  body.woocommerce-checkout #content,
  body.woocommerce-shop #content {
    max-width: none;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 1100px) {
  .ps-nav__list > li {
    flex-basis: calc((100% - 20px) / 5);
    width: calc((100% - 20px) / 5);
    height: auto;
    min-height: 52px;
  }
  .ps-header__main {
    height: auto;
  }
}

@media (max-width: 1024px) {
  .ps-header {
    width: auto;
    max-width: none;
    margin-top: 8px;
    margin-bottom: 4px;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
  }
  .ps-header.is-menu-open:not(.is-compact) {
    width: auto;
    max-width: none;
    margin-left: 10px;
    margin-right: 10px;
  }
  .ps-header-slot.is-pinned .ps-header,
  .ps-header.is-compact {
    width: 100%;
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .ps-header__clip,
  .ps-header__shell {
    overflow: visible;
  }
  .ps-header__aside {
    display: contents;
    background: transparent;
  }
  .ps-header__aside .ps-iconbox--login .ps-iconbox__icon svg .fil0,
  .ps-header__aside .ps-cart-toggle__icon svg .fil0,
  .ps-header__login .ps-iconbox--login .ps-iconbox__icon svg .fil0,
  .ps-header__cart .ps-cart-toggle__icon svg .fil0 {
    fill: var(--ps-orange);
  }
  .ps-header__aside .ps-iconbox--login .ps-iconbox__text,
  .ps-header__aside .ps-iconbox--login .ps-iconbox__text a,
  .ps-header__aside .ps-iconbox--login .ps-linkbtn,
  .ps-header__aside .ps-cart-toggle,
  .ps-header__aside .ps-cart-toggle__total,
  .ps-header__login .ps-iconbox--login .ps-iconbox__text,
  .ps-header__login .ps-iconbox--login .ps-iconbox__text a,
  .ps-header__login .ps-iconbox--login .ps-linkbtn,
  .ps-header__cart .ps-cart-toggle,
  .ps-header__cart .ps-cart-toggle__total {
    color: var(--ps-orange);
  }
  .ps-header__login .ps-iconbox--login:hover .ps-iconbox__icon svg .fil0,
  .ps-header__cart .ps-cart-toggle:hover .ps-cart-toggle__icon svg .fil0 {
    fill: var(--ps-red);
  }
  .ps-header__login .ps-iconbox--login:hover .ps-iconbox__text,
  .ps-header__login .ps-iconbox--login:hover .ps-iconbox__text a,
  .ps-header__login .ps-iconbox--login:hover .ps-linkbtn,
  .ps-header__cart .ps-cart-toggle:hover,
  .ps-header__cart .ps-cart-toggle:hover .ps-cart-toggle__total {
    color: var(--ps-red);
  }
  .ps-header__shell {
    padding: 10px 12px;
  }
  .ps-header__top {
    height: auto;
    margin-bottom: 8px;
  }
  .ps-header__quick {
    display: none;
  }
  .ps-header__contacts {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
  }
  .ps-header__contacts .ps-iconbox--phone {
    flex: 0 1 auto;
    min-width: 0;
  }
  .ps-iconbox--phone .ps-iconbox__icon {
    font-size: 22px;
    flex-shrink: 0;
  }
  .ps-iconbox--phone .ps-iconbox__text,
  .ps-iconbox--phone .ps-iconbox__text a {
    font-size: 15px;
    white-space: nowrap;
  }
  .ps-header__hours {
    min-width: 0;
    padding-left: 0;
    flex: 0 1 auto;
  }
  .ps-header__hours span {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }
  /* 4 равные колонки: меню | лого | вход | корзина */
  .ps-header__main {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "burger brand login cart";
    align-items: center;
    justify-items: center;
    column-gap: 6px;
    row-gap: 0;
    flex-wrap: nowrap;
    height: auto;
    min-height: 72px;
  }
  .ps-header.is-menu-open,
  .ps-header.is-menu-open .ps-header__shell,
  .ps-header.is-menu-open.is-compact .ps-header__shell {
    background-color: inherit;
  }
  .ps-header.is-menu-open .ps-header__shell {
    background-color: #fff8ef;
  }
  .ps-header.is-menu-open.is-compact .ps-header__shell {
    background-color: #fff;
  }
  .ps-header__burger {
    display: flex;
    grid-area: burger;
    order: unset;
    width: 100%;
    max-width: 72px;
    height: 72px;
    aspect-ratio: 1;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    flex: none;
    justify-self: center;
    align-self: center;
    background: transparent;
    gap: 6px;
    box-sizing: border-box;
  }
  .ps-header__burger span {
    background: var(--ps-red);
  }
  .ps-header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .ps-header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .ps-header__brand {
    grid-area: brand;
    order: unset;
    flex: none;
    width: 100%;
    max-width: 100%;
    justify-self: center;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .ps-header__logo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 187 / 130;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 14px;
  }
  .ps-header__logo .custom-logo-link,
  .ps-header__logo a,
  .ps-header__logo-link,
  .ps-header__logo-text {
    height: 100%;
  }
  .ps-header__logo img,
  .ps-header__logo-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 187 / 130;
    object-fit: contain;
    transform: scale(1.12);
    transform-origin: center center;
  }
  .ps-header.is-compact .ps-header__shell {
    padding: 8px 10px;
  }
  .ps-header.is-compact .ps-header__main {
    height: auto;
    min-height: 0;
    max-width: none;
    align-items: center;
    align-content: center;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
  }
  .ps-header.is-compact .ps-header__brand {
    flex: 0 0 auto;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    gap: 0;
  }
  .ps-header.is-compact .ps-header__phone {
    display: none;
  }
  .ps-header.is-compact .ps-header__logo {
    width: 100%;
    max-width: 64px;
    height: auto;
    max-height: 44px;
    aspect-ratio: 187 / 130;
    padding: 2px;
    border-radius: 10px;
  }
  .ps-header.is-compact .ps-header__burger {
    width: 100%;
    max-width: 48px;
    height: 48px;
    padding: 10px;
  }
  .ps-header.is-compact .ps-header__aside {
    display: contents;
    background: transparent;
  }
  .ps-header.is-compact .ps-header__login,
  .ps-header.is-compact .ps-header__cart {
    max-width: 56px;
    min-height: 0;
    height: auto;
    justify-content: center;
    padding: 0;
  }
  .ps-header.is-compact .ps-nav__list {
    background: transparent;
    height: auto;
  }
  .ps-header.is-compact .ps-nav__list > li {
    background: transparent;
    border-radius: 8px;
  }
  .ps-header.is-compact .ps-nav__list > li > a {
    color: var(--ps-red);
  }
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li:hover > a,
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li.current-menu-item > a,
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li.current-menu-ancestor > a {
    color: #fff;
    background: var(--ps-red);
  }
  .ps-header.is-compact .ps-iconbox--login .ps-iconbox__text,
  .ps-header.is-compact .ps-iconbox--login .ps-iconbox__text a,
  .ps-header.is-compact .ps-iconbox--login .ps-linkbtn {
    display: block;
    color: var(--ps-orange);
  }
  .ps-header.is-compact .ps-iconbox--login .ps-iconbox__icon svg .fil0 {
    fill: var(--ps-orange);
  }
  .ps-header.is-compact .ps-cart-toggle,
  .ps-header.is-compact .ps-cart-toggle__total {
    color: var(--ps-orange);
  }
  .ps-header.is-compact .ps-cart-toggle__icon svg .fil0 {
    fill: var(--ps-orange);
  }
  .ps-header__login,
  .ps-header__cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 72px;
    min-height: 72px;
    box-sizing: border-box;
  }
  .ps-header__login {
    grid-area: login;
    justify-self: center;
    align-self: center;
  }
  .ps-header__cart {
    grid-area: cart;
    justify-self: center;
    align-self: center;
    min-height: 72px;
    padding-top: 0;
  }
  .ps-header__login svg,
  .ps-header__cart svg {
    width: 24px !important;
    height: 24px !important;
  }
  .ps-header__login .ps-iconbox {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
  }
  .ps-header__cart .ps-cart-toggle {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 0;
    background: transparent !important;
  }
  .ps-iconbox--login .ps-iconbox__text,
  .ps-iconbox--login .ps-iconbox__text a,
  .ps-iconbox--login .ps-linkbtn {
    display: block;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
  }
  .ps-cart-toggle__total {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 600;
    text-align: center;
  }
  .ps-header__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    grid-area: unset;
    order: unset;
    flex: none;
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 8px;
    background: #fff8ef;
    box-shadow: 0 10px 28px rgba(79, 29, 5, 0.14);
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    visibility: hidden;
    pointer-events: none;
  }
  .ps-header__menu.is-open {
    visibility: visible;
    pointer-events: auto;
    max-height: min(72vh, calc(100dvh - 110px));
    background: #fff8ef;
    box-shadow: 0 10px 28px rgba(79, 29, 5, 0.14);
    margin: 0;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ps-header__menu .ps-nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .ps-header__menu .ps-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    align-items: stretch;
    justify-content: stretch;
    height: auto;
    width: 100%;
    max-width: 100%;
    background: transparent;
    margin: 0;
    padding: 0;
  }
  .ps-header__menu .ps-nav__list > li {
    position: relative;
    width: auto !important;
    flex-basis: auto !important;
    height: auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    text-align: center;
    display: block;
    transform: translateY(28px);
    opacity: 0;
    transition:
      transform 0.28s cubic-bezier(0.55, 0.055, 0.675, 0.19),
      opacity 0.22s linear;
  }
  .ps-header__menu .ps-nav__list > li.is-open {
    grid-column: 1 / -1;
  }
  .ps-header__menu.is-open .ps-nav__list > li {
    transform: translateY(0);
    opacity: 1;
    transition:
      transform 0.42s cubic-bezier(0.215, 0.61, 0.355, 1),
      opacity 0.42s linear;
  }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(1) { transition-delay: 0.03s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(2) { transition-delay: 0.05s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(3) { transition-delay: 0.07s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(4) { transition-delay: 0.09s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(5) { transition-delay: 0.11s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(6) { transition-delay: 0.13s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(7) { transition-delay: 0.15s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(8) { transition-delay: 0.17s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(9) { transition-delay: 0.19s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(10) { transition-delay: 0.21s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(11) { transition-delay: 0.23s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(12) { transition-delay: 0.25s; }
  .ps-header__menu.is-open .ps-nav__list > li:nth-child(13) { transition-delay: 0.27s; }
  .ps-header__menu:not(.is-open) .ps-nav__list > li:nth-child(1) { transition-delay: 0.12s; }
  .ps-header__menu:not(.is-open) .ps-nav__list > li:nth-child(2) { transition-delay: 0.09s; }
  .ps-header__menu:not(.is-open) .ps-nav__list > li:nth-child(3) { transition-delay: 0.06s; }
  .ps-header__menu:not(.is-open) .ps-nav__list > li:nth-child(4) { transition-delay: 0.03s; }
  .ps-header__menu:not(.is-open) .ps-nav__list > li:nth-child(n+5) { transition-delay: 0s; }
  .ps-header__menu .ps-nav__list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 7px 6px;
    border-radius: 8px;
    color: var(--ps-red);
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: normal;
    text-align: center;
    background: transparent;
  }
  .ps-header__menu .ps-nav__list > li > a:hover,
  .ps-header__menu .ps-nav__list > li.current-menu-item > a,
  .ps-header__menu .ps-nav__list > li.current-menu-ancestor > a,
  .ps-header__menu.is-open .ps-nav__list > li:hover > a,
  .ps-header__menu.is-open .ps-nav__list > li.current-menu-item > a,
  .ps-header__menu.is-open .ps-nav__list > li.current-menu-ancestor > a {
    color: #fff;
    background: var(--ps-red);
  }
  .ps-header__menu .ps-nav__list > li:hover > .sub-menu,
  .ps-header__menu .ps-nav__list > li:focus-within > .sub-menu,
  .ps-header__menu .ps-nav__list > li.is-open > .sub-menu,
  .ps-header__menu.is-open .ps-nav__list > li:hover > .sub-menu,
  .ps-header__menu.is-open .ps-nav__list > li:focus-within > .sub-menu,
  .ps-header__menu.is-open .ps-nav__list > li.is-open > .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 2px 0 4px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .ps-header__menu .ps-nav__list .sub-menu a {
    padding: 6px 4px;
    white-space: normal;
    color: var(--ps-brown);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    text-align: center;
    justify-content: center;
    background: transparent;
    border-radius: 6px;
    min-height: 28px;
  }
  .ps-header__menu .ps-nav__list .sub-menu a:hover,
  .ps-header__menu .ps-nav__list .sub-menu .current-menu-item > a {
    color: #fff;
    background: var(--ps-orange);
  }
  .ps-header.is-compact .ps-header__menu {
    background: #fff;
  }
  .ps-header.is-compact .ps-header__menu.is-open {
    background: #fff;
  }
  .ps-header.is-compact .ps-nav__list > li {
    background: transparent;
    border-radius: 8px;
  }
  .ps-header.is-compact .ps-nav__list > li > a {
    color: var(--ps-red);
  }
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li:hover > a,
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li.current-menu-item > a {
    color: #fff;
    background: var(--ps-red);
  }
  .ps-header.is-compact .ps-nav__list {
    height: auto;
  }
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ps-header.is-compact .ps-header__menu.is-open .ps-nav__list > li {
    width: auto !important;
  }
  .ps-header__login .ps-iconbox {
    position: relative;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .ps-iconbox--login .ps-iconbox__icon {
    font-size: 22px;
  }
  .ps-cart-toggle {
    font-size: 13px;
    padding: 6px 4px;
    gap: 4px;
  }
  .ps-cart-toggle__icon {
    font-size: 22px;
  }
  .ps-page-title,
  h1.ps-page-title,
  .ps-page__title {
    font-size: 20px;
    line-height: 1.25;
    margin: 4px 0 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  .ps-breadcrumbs,
  #breadcrumbs {
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #content {
    padding-top: 6px;
    padding-bottom: 24px;
  }
  .ps-catalog__desc {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 1.4;
  }
  .ps-footer {
    padding: 0 0 40px;
  }
  .ps-footer__shell {
    padding: 16px 20px;
  }
  .ps-footer__pills {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    column-gap: 10px;
  }
  .ps-footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }
  .ps-footer__col--company,
  .ps-footer__col--catalog,
  .ps-footer__col--contacts,
  .ps-footer__col--address {
    flex: none;
    padding: 0;
  }
  .ps-footer__col--address {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ps-footer__address {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .ps-footer__address br {
    display: none;
  }
  .ps-footer__address p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
  }
  .ps-footer__address .ps-footer__street {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
  }
  .ps-footer__address .ps-footer__street + .ps-footer__street {
    margin-top: 2px;
  }
  .ps-footer__address .ps-footer__address-note {
    display: block;
    margin-top: 10px;
    line-height: 1.4;
  }
  .ps-login__card {
    padding: 22px 16px 16px;
  }
  #ps-login .ps-form {
    margin-top: 14px;
    padding: 0;
  }
  .ps-cart-panel__main {
    width: min(400px, 100vw);
    max-width: 400px;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .ps-header__hours span {
    font-size: 12px;
  }
  .ps-page-title,
  h1.ps-page-title,
  .ps-page__title {
    font-size: 20px;
  }
  .ps-footer__pills {
    grid-template-columns: 1fr;
  }
  .ps-footer__cols {
    grid-template-columns: 1fr;
  }
  .ps-footer__col--company,
  .ps-footer__col--catalog,
  .ps-footer__col--contacts,
  .ps-footer__col--address {
    flex: none;
  }
  .ps-footer__col--address {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ps-footer__address {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .ps-footer__address br {
    display: none;
  }
  .ps-footer__address p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
  }
  .ps-footer__address .ps-footer__street {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
  }
  .ps-footer__address .ps-footer__street + .ps-footer__street {
    margin-top: 2px;
  }
  .ps-footer__address .ps-footer__address-note {
    display: block;
    margin-top: 10px;
    line-height: 1.4;
  }
  .ps-footer__hours {
    padding-left: 0;
  }
}

@media (max-width: 400px) {
  .ps-cart-toggle__total {
    font-size: 12px;
  }
}

.ps-page {
  padding: 0;
}

body.ps-has-elementor-content #content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.ps-page--builder {
  padding: 0;
}

.ps-page-title,
h1.ps-page-title,
.ps-page__title {
  margin: 16px 0 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ps-red);
}

.ps-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 64px;
  padding: 24px 16px 40px;
  text-align: center;
}

.ps-404__img {
  display: block;
  width: min(320px, 78%);
  height: auto;
  margin: 0 0 8px;
}

.ps-404 .ps-page__title {
  margin: 0 0 8px;
}

.ps-404__text {
  margin: 0 0 20px;
  max-width: 420px;
  color: var(--ps-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.ps-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ps-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 28px;
  border: 2px solid var(--ps-red);
  border-radius: 30px;
  background: var(--ps-red);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ps-404__btn:hover {
  background: var(--ps-orange);
  border-color: var(--ps-orange);
  color: #fff;
}

.ps-404__btn--ghost {
  background: transparent;
  color: var(--ps-red);
}

.ps-404__btn--ghost:hover {
  background: var(--ps-orange);
  border-color: var(--ps-orange);
  color: #fff;
}

.ps-home-seo,
.ps-page-text,
.ps-page-html {
  color: var(--ps-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
}

.ps-home-seo {
  margin: 24px 0 40px;
}

.ps-home-seo h2,
.ps-home-seo h3,
.ps-page-heading {
  margin: 20px 0 10px;
  color: var(--ps-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
}

.ps-home-seo p,
.ps-page-text p {
  margin: 0 0 12px;
}

.ps-home-seo ul,
.ps-page-text ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.ps-page-image img {
  max-width: 100%;
  height: auto;
}

.ps-page-button__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--ps-red);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.ps-page-button__link:hover {
  background: var(--ps-orange);
  color: #fff;
}

.ps-page-iconbox {
  margin: 0 0 12px;
}

.ps-page-iconbox__title {
  font-weight: 600;
  color: var(--ps-red);
}

@media (prefers-reduced-motion: reduce) {
  .ps-header,
  .ps-header__clip,
  .ps-header__shell,
  .ps-header__top,
  .ps-header__main,
  .ps-header__brand,
  .ps-header__logo,
  .ps-header.is-compact::before {
    transition: none !important;
  }
}
