﻿:root {
  --bg: #fff8f4;
  --surface: #ffffff;
  --surface-soft: #fff2ec;
  --surface-strong: #fff4ee;
  --text: #25110d;
  --muted: #744a40;
  --line: rgba(250, 89, 35, 0.18);
  --primary: #fa5923;
  --primary-deep: #d94718;
  --shadow: 0 24px 60px rgba(140, 51, 19, 0.14);
  --header-gap: 100px;
}

@font-face {
  font-family: "Gilbert";
  src: url("image/Gilbert_Font/Gilbert_1.004_alpha/Gilbert_1.004_alpha/Gilbert Bold-Preview_1004.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "IrpinType";
  src: url("image/shrift/IrpinType-Bold.otf") format("opentype"),
       url("image/shrift/IrpinType-Bold.ttf") format("truetype");
  font-display: swap;
}

h1,
h2,
h3,
.panel-label,
.category-toggle,
.primary-button,
.secondary-button,
.ghost-button {
  font-family: "IrpinType", "Manrope", sans-serif;
  letter-spacing: 0.02em;
}

.catalog-pagination {
  width: 100%;
  margin-inline: auto;
}

.product-page-image,
.product-image,
.cart-item-image {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.96);
  background-position: center;
}

.product-page-image.is-preview-constrained {
  background-size: contain;
}

.lightbox-media.is-photo-open {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(12, 7, 6, 0.96);
}

.danger-button {
  color: #b62916;
  border: 1px solid rgba(182, 41, 22, 0.18);
  background: rgba(255, 237, 234, 0.88);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-contact-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 248, 244, 0.98), rgba(255, 239, 232, 0.96));
  box-shadow: 0 12px 30px rgba(140, 51, 19, 0.08);
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.footer-links a:hover {
  color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(140, 51, 19, 0.12);
}

.legal-shell {
  max-width: 920px;
}

.legal-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(250, 89, 35, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdfc 0%, var(--bg) 100%);
}

body::before {
  content: none;
}

body::after {
  content: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.hidden {
  display: none !important;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr) 48px 220px;
  gap: 16px;
  align-items: center;
  position: sticky;
  top: 10px;
  z-index: 30;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(250, 89, 35, 0.22);
  background: linear-gradient(135deg, rgba(250, 89, 35, 0.94), rgba(217, 71, 24, 0.96));
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  opacity: 0.12;
}

.topbar::before {
  background-image:
    url("image/other/icons8-iphone14-про-50.png"),
    url("image/other/icons8-айподс-про-макс-50.png"),
    url("image/other/icons8-apple-watch-50.png"),
    url("image/other/icons8-ноутбук-50.png"),
    url("image/other/icons8-контроллер-50.png"),
    url("image/other/icons8-ipad-50.png"),
    url("image/other/icons8-смартфон-50.png"),
    url("image/other/icons8-wi-fi-роутер-50.png"),
    url("image/other/icons8-imac-50.png"),
    url("image/other/icons8-наушники-50.png"),
    url("image/other/icons8-камера-50.png"),
    url("image/other/icons8-ноутбук-50.png"),
    url("image/other/icons8-ipad-50.png");
  background-repeat: no-repeat;
  background-position:
    4% 18%, 33% 74%, 58% 22%, 78% 70%, 94% 20%, 18% 46%,
    67% 84%, 47% 52%, 86% 58%, 11% 74%, 55% 74%, 73% 44%, 28% 18%;
  background-size:
    44px auto, 54px auto, 38px auto, 40px auto, 42px auto, 40px auto,
    34px auto, 32px auto, 42px auto, 40px auto, 36px auto, 34px auto, 36px auto;
  transform: rotate(11deg);
}

.topbar::after {
  background-image:
    url("image/other/icons8-ipad-50.png"),
    url("image/other/icons8-imac-50.png"),
    url("image/other/icons8-смартфон-50.png"),
    url("image/other/icons8-wi-fi-роутер-50.png"),
    url("image/other/icons8-наушники-50.png"),
    url("image/other/icons8-камера-50.png"),
    url("image/other/icons8-контроллер-50.png"),
    url("image/other/icons8-iphone14-про-50.png"),
    url("image/other/icons8-айподс-про-макс-50.png"),
    url("image/other/icons8-apple-watch-50.png"),
    url("image/other/icons8-смартфон-50.png"),
    url("image/other/icons8-imac-50.png");
  background-repeat: no-repeat;
  background-position:
    18% 42%, 48% 82%, 69% 34%, 88% 78%, 83% 46%, 38% 16%,
    26% 66%, 61% 60%, 9% 34%, 43% 34%, 74% 16%, 92% 40%;
  background-size:
    38px auto, 42px auto, 34px auto, 34px auto, 44px auto, 36px auto,
    36px auto, 30px auto, 44px auto, 30px auto, 30px auto, 38px auto;
  transform: rotate(-13deg);
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-image {
  width: 220px;
  height: auto;
}

.search-wrap {
  width: 100%;
  min-width: 0;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 50px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 244, 0.96);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

.search-box input::placeholder {
  color: #9d6a5d;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
}

.search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.top-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.top-actions-left {
  display: grid;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
}

.top-actions-right {
  justify-content: center;
  align-items: center;
}

.top-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.filter-panel {
  align-self: start;
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-panel-toggle {
  display: none;
}

.filter-note {
  position: sticky;
  top: 112px;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.pagination-button {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff8f4;
  color: var(--text);
  cursor: pointer;
}

.pagination-button.is-active {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: #fff;
}

.pagination-arrow {
  padding-inline: 12px;
}

.pagination-button.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.panel-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.ghost-button,
.secondary-button,
.primary-button,
.action-link,
.nav-link-button,
.full-width-button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
}

.ghost-button,
.secondary-button,
.nav-link-button,
select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.ghost-button,
.nav-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 244, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  color: #5b2012;
  text-decoration: none;
}

.button-with-icon {
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.button-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

.primary-button,
.action-link,
.full-width-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-button {
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  justify-items: center;
}

.cart-button .button-icon,
.add-to-cart-button .button-icon,
.product-page-cart .button-icon {
  margin-top: 0;
  align-self: center;
}

.add-to-cart-button span,
.product-page-cart span,
.cart-button span {
  line-height: 1;
}

.add-to-cart-button,
.product-page-cart {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
}

.orders-link-button {
  width: 100%;
}

.account-icon-button {
  width: 44px;
  min-width: 44px;
  padding: 10px;
}

.account-icon-button .button-icon {
  width: 18px;
  height: 18px;
}

.cart-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  transform: translateY(-1px);
  margin-left: 2px;
}

.top-actions-row .cart-button {
  display: inline-grid;
  grid-auto-flow: column;
  grid-template-columns: 15px auto auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-inline: 8px;
  gap: 6px;
}

.top-actions-row .cart-button .button-icon {
  transform: none;
  width: 15px;
  height: 15px;
}

.top-actions-row .cart-button > span:not(.cart-count) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.top-actions-row .cart-button .cart-count {
  transform: none;
  margin-left: 0;
  align-self: center;
}

.store-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.sticky-panel {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.filter-list,
.filter-note {
  display: grid;
  gap: 10px;
}

.filter-list {
  margin-top: 14px;
}

.category-dropdown {
  position: relative;
}

.category-toggle {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff4ee 0%, #fff 100%);
  color: var(--text);
}

.themed-select-toggle {
  background: linear-gradient(135deg, rgba(250, 89, 35, 0.12), rgba(255, 248, 244, 0.98));
  color: var(--primary-deep);
}

.category-toggle-arrow {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.category-menu {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff8f4;
}

.category-dropdown,
.sort-dropdown {
  position: relative;
}

.category-dropdown .category-menu,
.sort-dropdown .category-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  box-shadow: var(--shadow);
}

.category-option {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
}

.category-option.active {
  border-color: rgba(250, 89, 35, 0.28);
  background: linear-gradient(135deg, rgba(250, 89, 35, 0.12), rgba(255, 255, 255, 0.96));
  color: var(--primary-deep);
}

.filter-control {
  display: grid;
  gap: 8px;
}

.filter-control span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.filter-note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  position: static;
}

select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  background: #fff7f3;
}

.price-range-box {
  display: grid;
  gap: 10px;
}

.dual-range {
  position: relative;
  height: 26px;
}

.dual-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(250, 89, 35, 0.18);
  z-index: 1;
}

.price-manual-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.price-manual-field {
  display: grid;
  gap: 6px;
}

.price-manual-field span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.price-manual-field input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f4;
  appearance: textfield;
  -moz-appearance: textfield;
}

.price-manual-field input::-webkit-outer-spin-button,
.price-manual-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--primary-deep);
}

input[type="range"] {
  width: 100%;
  accent-color: #d84514;
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid #fff7f3;
  border-radius: 50%;
  background: #d84514;
  -webkit-appearance: none;
}

input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid #fff7f3;
  border-radius: 50%;
  background: #d84514;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
}

input[type="range"]::-moz-range-track {
  background: transparent;
}

.catalog-content {
  min-width: 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(140, 51, 19, 0.18);
}

.product-link,
.product-title-link,
.back-link {
  text-decoration: none;
}

.product-link {
  display: block;
}

.product-image,
.product-page-image,
.lightbox-media,
.cart-item-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image {
  min-height: 220px;
  border-bottom: 1px solid var(--line);
}

.product-image-one {
  background-image: linear-gradient(135deg, rgba(250, 89, 35, 0.95), rgba(255, 171, 141, 0.8));
}

.product-image-two {
  background-image: linear-gradient(135deg, rgba(255, 211, 195, 0.95), rgba(250, 89, 35, 0.95));
}

.product-image-three {
  background-image: linear-gradient(135deg, rgba(255, 146, 109, 0.95), rgba(124, 24, 0, 0.92));
}

.product-image-four {
  background-image: linear-gradient(135deg, rgba(255, 233, 224, 0.95), rgba(247, 109, 57, 0.92));
}

.product-image-five {
  background-image: linear-gradient(135deg, rgba(255, 125, 77, 0.95), rgba(255, 205, 186, 0.92));
}

.product-image-six {
  background-image: linear-gradient(135deg, rgba(255, 190, 166, 0.95), rgba(217, 71, 24, 0.98));
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 18px;
}

.product-title-link {
  color: inherit;
}

.product-body h3,
.product-page-info h1,
.cart-items-block h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

.product-body h3 {
  min-height: 62px;
  font-size: 1.55rem;
  line-height: 0.96;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-body h3.is-long-title {
  font-size: 1.28rem;
  line-height: 1.04;
}

.product-body p,
.footer-block p,
.product-page-description,
.cart-item-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-page-description {
  white-space: pre-wrap;
  line-height: 1.35;
}

.product-price {
  margin-top: auto;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.secondary-button,
.primary-button,
.action-link,
.nav-link-button,
.ghost-button,
.category-toggle,
.category-option {
  text-align: center;
  cursor: pointer;
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-strong);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.footer-block,
.cart-items-block,
.cart-summary,
.product-page-info {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.footer-block,
.cart-items-block,
.cart-summary {
  padding: 20px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
}

.product-gallery {
  display: grid;
  gap: 12px;
  position: relative;
}

.product-gallery-nav {
  position: absolute;
  inset: 50% 14px auto 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
  transform: translateY(-50%);
}

.product-gallery-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.38);
  color: rgba(124, 24, 0, 0.48);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(140, 51, 19, 0.08);
  pointer-events: auto;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  background: rgba(255, 248, 244, 0.92);
  color: var(--primary-deep);
  box-shadow: var(--shadow);
  transform: scale(1.04);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.arrow-icon-left {
  transform: rotate(180deg);
}

.product-media-button {
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background-color: var(--surface);
  cursor: zoom-in;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 2px solid transparent;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.product-thumb.active,
.product-thumb.is-active {
  border-color: var(--primary);
}

.product-page-info {
  padding: 28px;
}

.product-page-info h1 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.9;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.product-page-info h1.is-long-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.product-page-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.product-category {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 600;
}

.product-page-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.product-page-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary-deep);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 10, 8, 0.88);
  z-index: 80;
}

.lightbox-media {
  width: min(92vw, 920px);
  height: min(82vh, 760px);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
  background: transparent;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  min-width: 48px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(12, 7, 6, 0.82);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(12, 7, 6, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 4;
}

.lightbox-nav-prev {
  left: 24px;
}

.lightbox-nav-next {
  right: 24px;
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.orders-page,
.account-page {
  display: grid;
  grid-template-columns: 1fr;
}

.orders-block,
.account-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdfb;
  box-shadow: var(--shadow);
}

.orders-block h1,
.account-block h1 {
  margin: 10px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.orders-list {
  display: grid;
  gap: 16px;
}

.order-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff8f4;
}

.order-card-head,
.order-card-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.order-card-head {
  margin-bottom: 14px;
}

.order-card-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(250, 89, 35, 0.14);
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.order-card-items,
.order-card-delivery {
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.order-card-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 89, 35, 0.16);
  font-weight: 700;
}

.order-card-tracking {
  margin-top: 10px;
}

.order-card-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.order-cancel-button {
  min-width: 170px;
}

.account-note {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-auth,
.account-profile {
  margin-top: 28px;
}

.account-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.account-tab.is-active {
  border-color: rgba(217, 71, 24, 0.3);
  background: #fff3ec;
  color: var(--primary-deep);
}

.account-feedback {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff3ec;
  border: 1px solid rgba(217, 71, 24, 0.18);
  color: var(--primary-deep);
  line-height: 1.5;
}

.account-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.account-form label {
  display: grid;
  gap: 8px;
}

.account-form span,
.account-profile-grid span {
  font-size: 0.92rem;
  color: var(--muted);
}

.account-form input {
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.account-profile-card {
  max-width: 680px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff8f4;
}

.account-profile-card h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.account-profile-grid div {
  display: grid;
  gap: 6px;
}

.account-profile-grid strong {
  font-size: 1rem;
  color: var(--text);
}

.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.account-drawer.is-open {
  pointer-events: auto;
}

.account-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 14, 0.38);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.account-drawer.is-open .account-drawer-backdrop {
  opacity: 1;
}

.account-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100%;
  padding: 72px 22px 28px;
  background: #fffdfb;
  box-shadow: -24px 0 60px rgba(31, 21, 14, 0.16);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.account-drawer.is-open .account-drawer-panel {
  transform: translateX(0);
}

.account-drawer-close {
  margin-left: auto;
}

.account-drawer-back-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff8f4;
}

.account-drawer-title {
  margin: 10px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.account-feedback.is-error {
  background: #fff1f1;
  border-color: rgba(190, 50, 50, 0.2);
  color: #a52d2d;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.password-toggle {
  min-width: 96px;
  height: 50px;
}

.account-profile-actions {
  display: grid;
  gap: 12px;
}

.account-catalog-link {
  text-decoration: none;
}

.captcha-box {
  display: grid;
  gap: 0;
  margin: 6px auto 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

.captcha-widget {
  min-height: 78px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
}

.captcha-widget > div {
  margin: 0 auto;
  transform-origin: top center;
}

.captcha-local-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 17, 13, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.captcha-local-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.captcha-note {
  display: none;
}

.captcha-box[data-captcha-ready="0"] {
  border-color: transparent;
}

.captcha-box[data-captcha-ready="1"] {
  border-color: transparent;
}

.account-edit-form {
  margin-top: 18px;
}

.account-edit-actions {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-image {
  width: 96px;
  height: 96px;
  border-radius: 16px;
}

.cart-item-name {
  margin: 0 0 6px;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-deep);
}

.cart-remove {
  min-height: 34px;
  min-width: 34px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(217, 71, 24, 0.25);
  background: #fff4ee;
  color: var(--primary-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-remove .button-icon {
  width: 16px;
  height: 16px;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.quantity-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.quantity-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-of-type {
  margin-bottom: 18px;
}

.full-width-button {
  width: 100%;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 10, 8, 0.78);
  z-index: 90;
}

.checkout-card {
  position: relative;
  width: min(100%, 560px);
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  max-height: min(90vh, 760px);
  overflow-y: auto;
}

.checkout-card h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form span {
  color: var(--muted);
  font-weight: 600;
}

.checkout-helper {
  min-height: 22px;
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-form label {
  position: relative;
}

.checkout-form .nova-poshta-field {
  position: relative;
  z-index: 12;
}

.checkout-form .nova-poshta-field:focus-within {
  z-index: 28;
}

.checkout-form .nova-poshta-field.suggestions-open {
  z-index: 64;
}

.checkout-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 220px;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(140, 51, 19, 0.14);
}

.checkout-suggestion {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  background: #fff8f4;
  cursor: pointer;
}

.checkout-suggestion:hover {
  background: #fff0e8;
  color: var(--primary-deep);
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f4;
}

.checkout-form input::placeholder {
  color: #ae8a7f;
}

.checkout-form input.phone-prefill {
  color: #ae8a7f;
}

.checkout-close {
  top: 14px;
  right: 14px;
  background: rgba(37, 17, 13, 0.08);
  color: var(--text);
}

.checkout-submit {
  position: static;
  margin-top: 4px;
}

.dialog-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 10, 8, 0.62);
  z-index: 110;
}

.dialog-card {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 24px;
  background: #fffaf7;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(250, 89, 35, 0.18);
}

.dialog-card h3 {
  margin: 8px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.dialog-card p:last-of-type {
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.55;
}

@media (max-width: 1240px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-gap: 24px;
  }

  .store-layout,
  .product-page,
  .cart-page,
  .footer {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .logo-link {
    justify-content: flex-start;
  }

  .sticky-panel {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 100%);
    margin: 6px auto;
    padding: 10px;
    border-radius: 16px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-areas:
      "logo account"
      "search search"
      "actions actions";
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    align-items: center;
  }

  .logo-image {
    width: 132px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-media-button {
    min-height: 280px;
  }

  .topbar::before,
  .topbar::after {
    opacity: 0.08;
    inset: -10px;
    background-size:
      28px auto, 34px auto, 24px auto, 26px auto, 28px auto, 26px auto,
      22px auto, 22px auto, 28px auto, 22px auto, 22px auto, 26px auto;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .top-actions-left {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .logo-link {
    grid-area: logo;
    justify-content: flex-start;
  }

  .search-wrap {
    grid-area: search;
  }

  .account-icon-button {
    grid-area: account;
    justify-self: end;
    align-self: center;
  }

  .top-actions-row {
    display: contents;
  }

  .ghost-button,
  .secondary-button,
  .primary-button,
  .action-link,
  .nav-link-button,
  .full-width-button {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .button-icon {
    width: 14px;
    height: 14px;
  }

  .orders-link-button {
    width: auto;
    font-size: 0.92rem;
  }

  .search-box {
    min-height: 40px;
    grid-template-columns: 1fr 40px;
    gap: 8px;
    padding: 0 8px 0 12px;
    border-radius: 12px;
  }

  .search-box input,
  .search-box input::placeholder {
    font-size: 0.95rem;
  }

  .search-trigger {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .search-icon {
    width: 15px;
    height: 15px;
  }

  .account-icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .sticky-panel {
    padding: 12px;
    border-radius: 16px;
    max-height: none;
  }

.filter-panel-toggle {
  display: inline-flex;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .filter-panel.is-collapsed .filter-list,
  .filter-panel.is-collapsed .filter-note {
    display: none;
  }

  .filter-panel.is-collapsed {
    padding-bottom: 12px;
  }

  .store-layout,
  .cart-page,
  .orders-page,
  .account-page {
    gap: 14px;
  }

  .product-image {
    min-height: 148px;
  }

  .product-body {
    gap: 8px;
    padding: 12px;
  }

  .product-body h3 {
    min-height: auto;
    font-size: 1.18rem;
    line-height: 1;
  }

  .product-body p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .product-price {
    font-size: 1rem;
  }

  .product-actions {
    gap: 8px;
    margin-top: 2px;
  }

  .product-card .button-with-icon span,
  .product-card .primary-button span,
  .product-card .secondary-button span {
    font-size: 0.85rem;
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    grid-template-areas:
      "image info remove"
      "image qty total";
    gap: 10px;
    align-items: start;
  }

  .cart-item-image {
    grid-area: image;
    width: 74px;
    height: 74px;
    min-height: 74px;
  }

  .cart-item > div:first-of-type {
    grid-area: info;
    min-width: 0;
  }

  .cart-quantity {
    grid-area: qty;
    justify-self: start;
  }

  .cart-item strong {
    grid-area: total;
    align-self: center;
    justify-self: end;
    font-size: 0.92rem;
  }

  .cart-remove {
    grid-area: remove;
    align-self: start;
    justify-self: end;
  }

  .cart-summary,
  .orders-block,
  .account-block {
    padding: 16px;
    border-radius: 18px;
  }

  .orders-block h1,
  .account-block h1,
  .cart-items-block h1,
  .product-page-info h1 {
    font-size: 1.85rem;
  }

  .checkout-card,
  .dialog-card {
    width: min(100%, 100%);
    padding: 18px;
    border-radius: 18px;
  }

  .checkout-modal,
  .dialog-modal {
    padding: 10px;
    align-items: center;
  }

  .checkout-card {
    max-height: min(86vh, 760px);
    overflow-y: auto;
  }

  .checkout-close {
    top: 10px;
    right: 10px;
  }

  .checkout-card h2,
  .dialog-card h3 {
    font-size: 1.7rem;
  }

  .account-drawer-panel {
    width: 100vw;
    padding: 68px 14px 20px;
  }

  .account-profile-actions,
  .account-edit-actions {
    gap: 10px;
  }

  .account-drawer-back-link {
    display: none;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-size: 1rem;
    font-weight: 700;
  }

  .account-drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .account-drawer .panel-label {
    display: none;
  }

  .account-drawer-title {
    margin-top: 8px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-media {
    width: 100%;
    height: min(70vh, 520px);
    border-radius: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .lightbox-nav-prev {
    left: 14px;
  }

  .lightbox-nav-next {
    right: 14px;
  }
}

@media (max-width: 1024px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-areas:
      "logo account"
      "search search"
      "actions actions";
    gap: 10px;
    padding: 12px;
  }

  .top-actions-left {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .top-actions-row {
    display: contents;
  }

  .logo-link {
    grid-area: logo;
    justify-content: flex-start;
  }

  .search-wrap {
    grid-area: search;
  }

  .account-icon-button {
    grid-area: account;
    justify-self: end;
  }

  .logo-image {
    width: 120px;
  }

  .sticky-panel {
    position: static;
    max-height: none;
  }

  .filter-panel-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 12px;
    color: var(--text);
    background: #fff8f4;
    border: 1px solid var(--line);
  }

  .filter-panel-toggle span {
    display: inline !important;
  }

  .filter-panel.is-collapsed .filter-list,
  .filter-panel.is-collapsed .filter-note {
    display: none;
  }
}

@media (min-width: 641px) {
  .filter-panel-toggle {
    min-width: 42px;
    padding-inline: 10px;
  }

  .filter-panel-toggle span {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 8px;
  }

  .logo-image {
    width: 106px;
  }

  .top-actions-row {
    display: contents;
  }

  .top-actions-row .nav-link-button,
  .orders-link-button {
    min-height: 34px;
    padding: 6px 8px;
  }

  .top-actions-left {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .orders-link-button,
  .top-actions-row .nav-link-button {
    font-size: 0.74rem;
  }

  .catalog-pagination {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-pagination::-webkit-scrollbar {
    display: none;
  }

  .pagination-button {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 10px;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-image {
    min-height: 128px;
  }

  .product-body {
    padding: 10px;
  }

  .product-body h3 {
    font-size: 1.02rem;
    line-height: 1.08;
  }

  .product-body p {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .product-price {
    font-size: 0.92rem;
  }

  .product-actions .primary-button,
  .product-actions .secondary-button {
    min-height: 34px;
    padding: 7px 8px;
  }

  .product-card .button-with-icon {
    gap: 6px;
  }

  .product-card .button-with-icon span,
  .product-card .primary-button span,
  .product-card .secondary-button span {
    font-size: 0.78rem;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .cart-item-image {
    width: 64px;
    height: 64px;
    min-height: 64px;
    border-radius: 12px;
  }

  .cart-item-name {
    font-size: 0.88rem;
  }

  .cart-item-price,
  .cart-item strong {
    font-size: 0.84rem;
  }

  .cart-quantity {
    gap: 6px;
    padding: 4px;
  }

  .quantity-button {
    width: 26px;
    height: 26px;
  }

  .checkout-card,
  .dialog-card {
    padding: 16px 14px;
  }

  .checkout-form {
    gap: 10px;
  }

  .captcha-box {
    justify-items: center;
  }

  .checkout-modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 10px;
  }

  .checkout-card {
    margin: 0 auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 430px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-body {
    padding: 8px;
  }

  .product-body h3 {
    min-height: 2.3em;
    font-size: 0.94rem;
    line-height: 1.05;
  }

  .product-body p {
    min-height: 2.4em;
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .product-price {
    font-size: 0.86rem;
  }

  .product-actions {
    gap: 6px;
  }

  .product-card .button-with-icon span,
  .product-card .primary-button span,
  .product-card .secondary-button span {
    font-size: 0.7rem;
    line-height: 1.15;
    white-space: normal;
  }

  .product-actions .primary-button,
  .product-actions .secondary-button {
    min-height: 32px;
    padding: 6px 6px;
  }

  .captcha-widget {
    width: auto;
    min-height: 78px;
  }

  .captcha-widget > div {
    transform: none;
  }

  .checkout-suggestions {
    max-height: min(42vh, 260px);
    padding: 6px;
  }

  .checkout-suggestion {
    padding: 12px 10px;
    font-size: 0.94rem;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .captcha-widget > div {
    transform: none;
  }
}

.catalog-pagination {
  justify-content: center !important;
  flex-wrap: wrap !important;
  overflow-x: visible !important;
}

*,
*::before,
*::after,
input::placeholder,
textarea::placeholder,
option {
  font-family: "IrpinType", "Manrope", sans-serif !important;
}

.product-page-image,
.product-image,
.cart-item-image,
.lightbox-media {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

.product-media-button {
  cursor: zoom-in;
}

.lightbox {
  padding: 8px !important;
}

.lightbox-media {
  width: min(98vw, 1400px) !important;
  height: min(94vh, 980px) !important;
}

@media (max-width: 1024px) {
  .filter-panel-toggle {
    display: inline-flex !important;
    color: var(--text) !important;
    background: #fff8f4 !important;
    border: 1px solid var(--line) !important;
  }

  .filter-panel-toggle span {
    display: inline !important;
    color: inherit !important;
  }
}
