:root {
  color-scheme: light;
  --black: #070606;
  --ink: #181315;
  --burgundy: #6b1828;
  --burgundy-soft: #8a2d3d;
  --white: #ffffff;
  --paper: #f6f5f1;
  --grey: #746a6d;
  --line: #dfd8d9;
  --champagne: #d7b18a;
  --champagne-bright: #efd8bb;
  --champagne-pale: #f5e9da;
  --danger: #9f2638;
  --shadow: 0 18px 60px rgba(7, 6, 6, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

.announcement {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 7px 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.announcement__divider {
  width: 28px;
  height: 1px;
  background: var(--champagne);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(24, 19, 21, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
}

.brand__logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 2px;
}

.brand__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
}

.brand__copy small {
  color: var(--grey);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 30px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--champagne);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.cart-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding: 0 7px 0 17px;
  color: var(--white);
  background: var(--black);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.cart-trigger:hover {
  background: var(--burgundy);
}

.cart-trigger:active {
  transform: scale(0.97);
}

.cart-trigger.is-pulsing {
  animation: cart-pulse 520ms ease;
}

.cart-trigger__count {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--black);
  background: var(--champagne-bright);
  font-size: 12px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  overflow: hidden;
  color: var(--white);
  background: var(--burgundy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 720px;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(32px, 7vw, 118px);
  padding-right: 30px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--champagne-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #7a2030;
}

.hero h1,
.catalog h2,
.list-story h2,
.final-banner h2,
.cart-drawer h2,
.checkout-modal h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: 0.98;
}

.hero__lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.primary-link {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 0 20px;
  color: var(--black);
  background: var(--champagne-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 180ms ease, background 180ms ease;
}

.primary-link:hover {
  gap: 38px;
  background: var(--white);
}

.hero__facts {
  display: flex;
  gap: clamp(26px, 4vw, 56px);
  margin: 44px 0 0;
}

.hero__facts div {
  display: grid;
  gap: 5px;
}

.hero__facts dt {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.hero__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #efe4d8;
}

.hero__visual::before {
  position: absolute;
  inset: 10% 12% 0;
  content: "";
  border: 1px solid rgba(7, 6, 6, 0.12);
  border-bottom: 0;
}

.hero__visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16%;
  content: "";
  background: var(--black);
}

.hero__visual img {
  position: absolute;
  z-index: 2;
  bottom: -14%;
  left: 50%;
  width: min(74%, 670px);
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.2));
}

.hero__seal {
  position: absolute;
  z-index: 3;
  top: 38px;
  right: 36px;
  display: grid;
  width: 96px;
  height: 96px;
  place-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--burgundy);
  text-align: center;
  transform: rotate(7deg);
}

.hero__seal span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__seal strong {
  margin: 2px 0;
  color: var(--champagne-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}

.hero__note {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 13px 15px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.hero__note small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
}

.hero__note--left {
  bottom: 20%;
  left: 6%;
  color: var(--black);
  background: var(--champagne-bright);
}

.hero__note--right {
  right: 5%;
  bottom: 31%;
  color: var(--white);
  background: var(--burgundy);
}

.catalog {
  padding: 100px clamp(20px, 5vw, 80px) 120px;
  background: var(--white);
}

.catalog__intro {
  display: grid;
  max-width: 1400px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin: 0 auto 58px;
}

.catalog__intro h2 {
  max-width: 720px;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.02;
}

.catalog__intro > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;
}

.catalog__toolbar {
  display: flex;
  max-width: 1400px;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 11px 12px;
  background: var(--paper);
}

.filters {
  display: flex;
  gap: 4px;
}

.filter {
  min-height: 42px;
  padding: 0 17px;
  color: #5f5558;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.filter:hover {
  color: var(--black);
  background: rgba(255, 255, 255, 0.62);
}

.filter.is-active {
  color: var(--white);
  background: var(--black);
}

.sort-control {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--grey);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sort-control select {
  min-width: 130px;
  border: 0;
  outline: 0;
  color: var(--black);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.catalog__result {
  max-width: 1400px;
  margin: 26px auto 16px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  max-width: 1400px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 1.22 / 1;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
}

.product-media::after {
  position: absolute;
  inset: -45% -80%;
  content: "";
  background: rgba(255, 255, 255, 0.36);
  transform: rotate(24deg) translateX(-62%);
  transition: transform 650ms ease;
}

.product-card:hover .product-media::after {
  transform: rotate(24deg) translateX(62%);
}

.product-card:hover .gift-object {
  transform: translateY(-7px) rotate(-2deg);
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--burgundy);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--black);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.quick-add:hover {
  background: var(--burgundy);
  transform: rotate(90deg);
}

.gift-object {
  position: relative;
  z-index: 2;
  width: 45%;
  aspect-ratio: 1;
  color: var(--burgundy);
  transition: transform 280ms ease;
}

.gift-object::before,
.gift-object::after {
  position: absolute;
  content: "";
}

.gift-object::before {
  inset: 12%;
  border: 5px solid currentColor;
  background: var(--white);
  box-shadow: 12px 15px 0 rgba(107, 24, 40, 0.12);
}

.gift-object::after {
  top: 50%;
  left: 50%;
  width: 54%;
  height: 4px;
  background: var(--champagne);
  box-shadow: 0 -18px 0 var(--champagne), 0 18px 0 var(--champagne);
  transform: translate(-50%, -50%);
}

.gift-object span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  max-width: 78%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.5vw, 36px);
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.visual-blanket,
.visual-pillow,
.visual-coffee,
.visual-sofa,
.visual-dinner,
.visual-jetski,
.visual-luggage,
.visual-sunscreen,
.visual-drink,
.visual-paris,
.visual-dessert,
.visual-breakfast,
.visual-hotel,
.visual-spa,
.visual-aesthetics {
  background: var(--champagne-pale);
}

.visual-remote,
.visual-laptop,
.visual-server,
.visual-game-room,
.visual-chair,
.visual-controller,
.visual-wifi,
.visual-gpu,
.visual-rgb,
.visual-cables,
.visual-games,
.visual-skin,
.visual-assistant {
  background: #ead9dc;
}

.visual-book,
.visual-bed,
.visual-cinema,
.visual-diving,
.visual-restaurant,
.visual-therapy,
.visual-manual,
.visual-closet,
.visual-climate,
.visual-laundry,
.visual-search,
.visual-basket,
.visual-towel,
.visual-sensor {
  background: #e8e8e6;
}

.visual-headphones,
.visual-robot,
.visual-compass,
.visual-crown,
.visual-family,
.visual-streaming,
.visual-grill,
.visual-ride {
  background: #eee4d8;
}

.visual-pillow .gift-object::before,
.visual-sofa .gift-object::before {
  border-radius: 44% 44% 16% 16%;
}

.visual-remote .gift-object {
  width: 26%;
}

.visual-remote .gift-object::before {
  border-radius: 34px;
}

.visual-laptop .gift-object,
.visual-server .gift-object {
  width: 52%;
  aspect-ratio: 1.35 / 1;
}

.visual-coffee .gift-object::before {
  border-radius: 0 0 42% 42%;
}

.visual-book .gift-object::before {
  border-left-width: 13px;
}

.visual-headphones .gift-object::before {
  border-bottom-color: transparent;
  border-radius: 50% 50% 0 0;
}

.visual-robot .gift-object::before {
  border-radius: 50%;
}

.visual-bed .gift-object,
.visual-sofa .gift-object {
  width: 56%;
  aspect-ratio: 1.55 / 1;
}

.visual-cinema .gift-object::before {
  transform: rotate(-4deg);
}

.visual-dinner .gift-object::before {
  border-radius: 50% 50% 12% 12%;
}

.visual-compass .gift-object::before,
.visual-crown .gift-object::before,
.visual-diving .gift-object::before,
.visual-family .gift-object::before,
.visual-laundry .gift-object::before,
.visual-search .gift-object::before {
  border-radius: 50%;
}

.visual-game-room .gift-object,
.visual-gpu .gift-object,
.visual-hotel .gift-object,
.visual-closet .gift-object {
  width: 56%;
  aspect-ratio: 1.45 / 1;
}

.visual-chair .gift-object,
.visual-sunscreen .gift-object {
  width: 31%;
}

.visual-controller .gift-object::before,
.visual-ride .gift-object::before {
  border-radius: 50% 50% 32% 32%;
}

.visual-luggage .gift-object::before,
.visual-basket .gift-object::before {
  border-radius: 18%;
}

.visual-drink .gift-object::before,
.visual-dessert .gift-object::before {
  border-radius: 50% 50% 14% 14%;
}

.visual-jetski .gift-object {
  transform: rotate(-7deg);
}

.visual-rgb .gift-object::after {
  background: #6b1828;
  box-shadow: 0 -18px 0 #8a2d3d, 0 18px 0 #d7b18a;
}

.visual-laundry .gift-object::after {
  width: 42%;
  height: 42%;
  border: 4px solid var(--champagne);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.product-content {
  padding: 20px 2px 0;
}

.product-kicker {
  margin: 0 0 8px;
  color: #7a2030;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 56px;
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.12;
}

.product-description {
  min-height: 66px;
  margin: 13px 0 19px;
  color: var(--grey);
  font-size: 13px;
  line-height: 1.62;
}

.product-footer {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.product-price {
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
}

.add-button {
  align-self: stretch;
  padding: 0 17px;
  color: var(--black);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.add-button:hover {
  color: var(--white);
  background: var(--black);
}

.product-skeleton {
  aspect-ratio: 0.82;
  background: linear-gradient(100deg, #f1f1ef 35%, #fafafa 50%, #f1f1ef 65%);
  background-size: 200% 100%;
  animation: skeleton 1.3s infinite linear;
}

.list-story {
  display: grid;
  grid-template-columns: 0.25fr 0.9fr 0.85fr;
  gap: 54px;
  padding: 110px clamp(24px, 7vw, 120px);
  color: var(--white);
  background: var(--black);
}

.list-story__number {
  color: var(--champagne-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  line-height: 0.8;
}

.list-story h2 {
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.02;
}

.list-story__text {
  align-self: end;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.85;
}

.list-story__text p {
  margin: 0 0 18px;
}

.final-banner {
  padding: 90px 24px;
  color: var(--burgundy);
  background: var(--champagne-bright);
  text-align: center;
}

.final-banner p {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.final-banner h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
}

.final-banner a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 30px;
  padding: 0 22px;
  color: var(--white);
  background: var(--burgundy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 150px;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 80px);
  color: rgba(255, 255, 255, 0.6);
  background: var(--burgundy);
  font-size: 11px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand__logo {
  width: 66px;
  height: 66px;
}

.site-footer p {
  text-align: center;
}

.site-footer > a {
  justify-self: end;
  border-bottom: 1px solid var(--champagne);
  color: var(--white);
  font-weight: 700;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(7, 6, 6, 0.62);
  backdrop-filter: blur(5px);
}

.drawer-backdrop[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  display: grid;
  width: min(470px, 100%);
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--white);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.2);
  transform: translateX(105%);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cart-drawer__header {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow {
  margin-bottom: 6px;
}

.cart-drawer h2 {
  font-size: 34px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--black);
  background: var(--paper);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.icon-button:hover {
  color: var(--white);
  background: var(--black);
}

.cart-drawer__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 28px;
}

.empty-cart {
  display: grid;
  min-height: 100%;
  place-content: center;
  padding: 40px;
  color: var(--grey);
  text-align: center;
}

.empty-cart strong {
  margin-bottom: 8px;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.empty-cart p {
  max-width: 260px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__visual {
  display: grid;
  height: 72px;
  place-items: center;
  color: var(--burgundy);
  background: var(--champagne-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.cart-item__content {
  min-width: 0;
}

.cart-item h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.cart-item__price {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 28px 30px 28px;
  min-height: 28px;
  border: 1px solid var(--line);
}

.quantity button {
  color: var(--black);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.quantity span {
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.remove-item {
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  color: var(--grey);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-drawer__footer {
  padding: 22px 28px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-total,
.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total {
  margin-bottom: 18px;
}

.cart-total span,
.checkout-summary span {
  color: var(--grey);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-total strong,
.checkout-summary strong {
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.checkout-button {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: var(--burgundy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.checkout-button:hover:not(:disabled) {
  background: var(--black);
}

.checkout-button:active:not(:disabled) {
  transform: scale(0.985);
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.cart-drawer__footer > p {
  margin: 11px 0 0;
  color: var(--grey);
  font-size: 9px;
  text-align: center;
}

.modal-backdrop {
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.checkout-modal {
  position: relative;
  width: min(640px, 100%);
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checkout-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.checkout-modal h2 {
  max-width: 500px;
  font-size: 42px;
  line-height: 1.06;
}

.checkout-modal__lead {
  margin: 12px 0 28px;
  color: var(--grey);
  font-size: 13px;
}

#checkoutForm {
  display: grid;
  gap: 17px;
}

#checkoutForm label {
  display: grid;
  gap: 7px;
}

#checkoutForm label > span {
  color: #5f5558;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#checkoutForm input,
#checkoutForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--black);
  background: var(--white);
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#checkoutForm input {
  height: 48px;
  padding: 0 13px;
}

#checkoutForm textarea {
  min-height: 100px;
  resize: vertical;
  padding: 13px;
}

#checkoutForm input:focus,
#checkoutForm textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 24, 40, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-summary {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-error {
  min-height: 16px;
  margin: -4px 0 0;
  color: var(--danger);
  font-size: 11px;
  text-align: center;
}

.checkout-success {
  padding: 28px 4px 12px;
  text-align: center;
}

.checkout-success__mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.checkout-success h2 {
  margin: 0 auto;
}

.checkout-success p {
  max-width: 430px;
  margin: 14px auto 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.65;
}

.checkout-success code {
  display: inline-block;
  margin: 20px 0;
  padding: 9px 12px;
  color: var(--burgundy);
  background: var(--champagne-pale);
  font-size: 12px;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 130;
  bottom: 24px;
  left: 50%;
  max-width: min(90vw, 430px);
  padding: 13px 18px;
  color: var(--white);
  background: var(--black);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes cart-pulse {
  0%,
  100% {
    box-shadow: none;
  }
  45% {
    box-shadow: 0 0 0 8px rgba(215, 177, 138, 0.28);
  }
}

@keyframes skeleton {
  to {
    background-position-x: -200%;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  }

  .hero__content {
    padding-left: 50px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero__note--right {
    display: none;
  }

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

  .list-story {
    grid-template-columns: 0.2fr 0.9fr 0.9fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .announcement {
    min-height: 31px;
    padding-inline: 12px;
    font-size: 8px;
  }

  .announcement span:last-child,
  .announcement__divider {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 0 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .brand__copy strong {
    font-size: 15px;
  }

  .brand__copy small {
    max-width: 145px;
    overflow: hidden;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    display: none;
  }

  .cart-trigger {
    min-height: 40px;
    padding-left: 10px;
  }

  .cart-trigger__label {
    display: none;
  }

  .cart-trigger__count {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 735px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 340px;
  }

  .hero::before {
    background-size: 44px 44px;
  }

  .hero__content {
    justify-content: flex-start;
    padding: 54px 22px 34px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: 48px;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.65;
  }

  .primary-link {
    margin-top: 25px;
  }

  .hero__facts {
    display: none;
  }

  .hero__visual {
    min-height: 340px;
  }

  .hero__visual img {
    bottom: -22%;
    width: min(76%, 390px);
  }

  .hero__seal {
    top: 19px;
    right: 18px;
    width: 76px;
    height: 76px;
  }

  .hero__seal strong {
    font-size: 15px;
  }

  .hero__note--left {
    bottom: 24px;
    left: 17px;
  }

  .catalog {
    padding: 72px 16px 82px;
  }

  .catalog__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .catalog__intro h2 {
    font-size: 43px;
  }

  .catalog__intro > p {
    font-size: 13px;
  }

  .catalog__toolbar {
    display: grid;
    padding: 10px;
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    padding-inline: 13px;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-card h3,
  .product-description {
    min-height: 0;
  }

  .gift-object span {
    font-size: 34px;
  }

  .list-story {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 76px 22px;
  }

  .list-story__number {
    font-size: 54px;
  }

  .list-story h2 {
    font-size: 46px;
  }

  .final-banner {
    padding: 72px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 42px 20px;
    text-align: center;
  }

  .site-footer > a {
    justify-self: center;
  }

  .brand--footer {
    justify-self: center;
  }

  .cart-drawer__header,
  .cart-drawer__body,
  .cart-drawer__footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .checkout-modal {
    width: 100%;
    max-height: 94dvh;
    overflow-y: auto;
    padding: 38px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .checkout-modal h2 {
    padding-right: 44px;
    font-size: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero__visual img {
    width: 86%;
  }

  .catalog__intro h2,
  .list-story h2 {
    font-size: 39px;
  }

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

  .cart-item__visual {
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
