@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #12141c;
  --navy: #171b2e;
  --muted: #6b7280;
  --line: #d7d9e0;
  --soft: #eceef3;
  --bg: #ffffff;
  --radius: 22px;
  --radius-lg: 28px;
  --pill: 999px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible {
  outline: none;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.btn:focus,
.btn:focus-visible,
.btn:active {
  outline: none;
  box-shadow: none;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover,
.btn--navy:active {
  background: #0f1324;
}

.btn--outline {
  background: #fff;
  border-color: #2a2f3d;
  color: var(--ink);
}

.btn--ghost-light {
  background: rgba(18, 20, 28, 0.35);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--navy);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.icon-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-round--soft {
  background: rgba(40, 44, 56, 0.45);
  color: #fff;
}

.icon-round--light {
  background: #fff;
  color: var(--navy);
}

.wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  line-height: 1;
  z-index: 2;
}

.wish.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* —— Sticky topbar —— */
.topbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px 0 0;
  pointer-events: none;
}

.topbar-fixed .topbar {
  pointer-events: auto;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 70vh;
  height: 70vh;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 65% at 50% 48%, rgba(18, 24, 28, 0.55), rgba(18, 24, 28, 0.18) 70%, transparent 100%),
    linear-gradient(180deg, rgba(30, 36, 40, 0.18), rgba(20, 26, 30, 0.35)),
    #c8ced2 url("../assets/hero-leaves.png?v=11") center / cover no-repeat;
}

.hero__bg::after {
  content: none;
}

.hero__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px 20px 48px;
}

.hero__brand {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* —— Site menu —— */
.site-menu[hidden] {
  display: none !important;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 28, 0.45);
  backdrop-filter: blur(2px);
}

.site-menu__panel {
  position: absolute;
  top: 16px;
  right: max(16px, calc((100vw - var(--container, 1120px)) / 2));
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 18px 18px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(20, 24, 36, 0.08);
}

.site-menu__title {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-menu__links {
  display: grid;
  gap: 4px;
}

.site-menu__links a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

html {
  scroll-padding-top: 88px;
}

/* —— Login modal —— */
.login-modal[hidden] {
  display: none !important;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 28, 0.55);
  backdrop-filter: blur(3px);
}

.login-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  background: #fff;
  border-radius: 28px;
  padding: 28px 26px 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.login-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f3f4f7;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
}

.login-modal h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.login-modal p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.login-modal form {
  display: grid;
  gap: 12px;
}

.login-modal label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.login-modal input {
  width: 100%;
  border: 1px solid rgba(20, 24, 36, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #f7f8fb;
}

/* —— Sections —— */
.section {
  padding: 56px 0;
}

.section--soft {
  background: #f7f8fb;
}

.h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

/* —— Popular carousel —— */
.section--popular {
  overflow: hidden;
}

.popular-head {
  margin-bottom: 22px;
}

.popular-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-nav__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(215, 217, 224, 0.9);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.carousel-nav__btn:focus,
.carousel-nav__btn:focus-visible,
.carousel-nav__btn:active {
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-nav__btn--prev {
  left: 8px;
}

.carousel-nav__btn--next {
  right: 8px;
}

.popular-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.popular-carousel.is-animating {
  pointer-events: none;
}

.popular-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.popular-carousel__track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.popular-carousel .product-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  cursor: pointer;
}

.product-card--hit {
  cursor: pointer;
}

.product-card .media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef0f4;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-card h3 {
  margin: 12px 0 4px;
  font-size: 1rem;
  font-weight: 500;
}

.product-card .price {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
}

.product-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.product-actions .btn {
  border-color: #c8cbd4;
  color: #3a3f4d;
  background: #fff;
}

/* —— Product modal —— */
body.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 28, 0.55);
  backdrop-filter: blur(3px);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  max-height: min(92vh, calc(100vw * 9 / 16));
  overflow: auto;
  background: #f3f4f7;
  border-radius: 28px;
  padding: 22px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.product-card--modal {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  height: 100%;
  align-items: stretch;
}

.product-card--modal .media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}

.product-card--modal .media img {
  object-fit: cover;
}

.product-card--modal__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.product-card--modal h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.product-modal__meta {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  flex: 1;
  overflow: auto;
}

.product-modal__label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-modal__meta p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.product-card--modal .price {
  font-size: 1.25rem;
}

.product-card--modal .product-actions {
  margin-top: auto;
}

@media (max-width: 720px) {
  .product-modal__dialog {
    width: min(100%, 520px);
    aspect-ratio: auto;
    max-height: 92vh;
  }

  .product-card--modal {
    grid-template-columns: 1fr;
  }

  .product-card--modal .media {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

/* —— Catalog mosaic —— */
.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 460px;
}

.mosaic--row {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  min-height: 0;
  margin-top: 16px;
}

.mosaic__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e7e9ef;
  min-height: 210px;
  color: var(--ink);
  display: block;
}

.mosaic__item--tall {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.mosaic__item--sm {
  min-height: 168px;
}

.mosaic__item--dark {
  color: #fff;
}

.mosaic__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.mosaic__item--plain .mosaic__bg {
  display: none;
}

.mosaic__label {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mosaic__label small {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
}

.mosaic__label strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.mosaic__item--sm .mosaic__label strong {
  font-size: 1.1rem;
}

.mosaic__go {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

/* —— Catalog —— */
.catalog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.breadcrumbs {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.filters__left {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.filter-select__label {
  pointer-events: none;
}

.filter-select__control {
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 0 18px 0 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2312141c' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  min-width: 7.5rem;
}

.filter-select__control:focus,
.filter-select__control:focus-visible,
.filter-select__control:active {
  outline: none;
  box-shadow: none;
}

.filters__right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.field {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  min-width: 160px;
  color: var(--ink);
}

.field:focus,
.field:focus-visible,
.field:active {
  outline: none;
  border-color: var(--line);
  box-shadow: none;
}

/* —— Custom selects (site style) —— */
.vs-select {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.vs-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vs-select__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 0 18px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2312141c' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  min-width: 7.5rem;
  text-align: left;
}

.vs-select--field .vs-select__trigger {
  height: 42px;
  width: 100%;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 36px 0 14px;
  background-color: #fff;
  background-position: right 14px center;
  font-weight: 500;
}

.vs-select.is-open .vs-select__trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2312141c' d='M1 5l4-4 4 4'/%3E%3C/svg%3E");
}

.vs-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  min-width: max(100%, 220px);
  max-height: min(320px, 50vh);
  overflow: auto;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.vs-select--field .vs-select__panel {
  left: auto;
  right: 0;
}

.vs-select__panel[hidden] {
  display: none !important;
}

.vs-select__option {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 14px;
  padding: 11px 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.vs-select__option.is-active {
  background: var(--navy);
  color: #fff;
}

.filters__right .vs-select {
  display: block;
}

.catalog-empty {
  margin: 28px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.product-card .sku {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inserts__lead {
  margin: -8px 0 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
}

.section--inserts {
  background: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: var(--ink);
  font-weight: 600;
}

.pagination[hidden] {
  display: none !important;
}

.page {
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.page.is-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.page:focus,
.page:focus-visible {
  outline: none;
}

/* —— Catalog page —— */
.page-catalog {
  background: #fff;
}

.catalog-page {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.catalog-page__head {
  margin-bottom: 28px;
}

.catalog-page__head .breadcrumbs {
  margin-top: 8px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.catalog-groups {
  position: sticky;
  top: 96px;
}

.catalog-group {
  margin-bottom: 36px;
}

.catalog-group:last-child {
  margin-bottom: 0;
}

.catalog-group__item {
  display: block;
  padding: 10px 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: #2a2e36;
  letter-spacing: -0.01em;
  line-height: 1.45;
  scroll-margin-top: 110px;
}

.catalog-group__item.is-active {
  font-weight: 800;
  color: var(--ink);
}

.catalog-products {
  min-width: 0;
}

@media (max-width: 960px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog-groups {
    position: static;
  }
}

/* —— Collab —— */
.collab {
  position: relative;
  min-height: clamp(360px, 42vw, 480px);
  overflow: hidden;
  color: var(--ink);
  background: var(--soft);
  display: grid;
  place-items: center;
  text-align: center;
}

.collab__bg {
  display: none;
}

.collab__inner {
  position: relative;
  width: min(100% - 48px, 760px);
  padding: 72px 20px;
  z-index: 1;
}

.collab__watermark {
  position: absolute;
  inset: 18% 0 auto;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(18, 20, 28, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.collab h2 {
  position: relative;
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collab h2 span {
  font-weight: 600;
  font-size: 0.72em;
  letter-spacing: 0;
  opacity: 0.75;
  margin: 0 0.15em;
}

.collab p {
  position: relative;
  margin: 0 auto 12px;
  max-width: 640px;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.collab__cta {
  position: relative;
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 28px;
  border-radius: var(--pill);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

/* —— About —— */
.about-box {
  background: var(--soft);
  border-radius: 40px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 80px);
  display: grid;
  align-items: center;
  min-height: 0;
}

.about-box__text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}

.about-box__eyebrow {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-box__lead {
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-box__body {
  margin: 0 auto 14px;
  max-width: 560px;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--muted);
}

.about-box__body:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .about-box {
    border-radius: 28px;
    padding: 36px 22px;
  }
}

/* —— Footer —— */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 40px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.footer__logo {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer__meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #fff;
}

a.footer__meta-row {
  color: inherit;
}

.socials {
  display: flex;
  gap: 10px;
}

.footer__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.footer__btns .btn {
  padding: 16px 22px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__meta {
  display: grid;
  gap: 12px;
}

.footer__meta-row .icon-round {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

.footer__legal {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__legal a {
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .mosaic--row {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic__item--tall {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar {
    padding: 8px 8px 8px 14px;
  }

  .topbar .btn--outline {
    display: none;
  }

  .popular-carousel,
  .catalog-grid,
  .footer__btns,
  .mosaic,
  .mosaic--row {
    grid-template-columns: 1fr;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filters__right .field {
    width: 100%;
  }

  .catalog-head {
    flex-direction: column;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-groups {
    position: static;
  }

  .section {
    padding: 40px 0;
  }
}

/* —— Account —— */
.page-account {
  background: #fff;
}

.account-page {
  padding: 110px 0 80px;
  min-height: 100vh;
}

.account-page__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.account-page__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px;
  background: var(--soft);
  border-radius: 22px;
}

.account-tabs__item {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--pill);
  font-weight: 600;
  color: var(--ink);
}

.account-tabs__item.is-active {
  background: var(--navy);
  color: #fff;
}

.account-panel {
  background: #fff;
}

.account-panel__head {
  margin-bottom: 22px;
}

.account-panel__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
}

.account-panel__sub {
  margin: 0;
  color: var(--muted);
}

.account-empty {
  margin: 0;
  padding: 36px 28px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  border-radius: 24px;
  font-weight: 500;
}

.account-list {
  display: grid;
  gap: 14px;
}

.account-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--soft);
  border-radius: 22px;
}

.account-row__media {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.account-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-row__body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.account-row__body .price {
  margin: 0 0 10px;
  font-weight: 700;
}

.account-row__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--pill);
  padding: 4px 8px;
}

.account-row__qty button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.account-row__side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.account-row__remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.cart-summary {
  margin-top: 22px;
  padding: 22px;
  background: var(--soft);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-summary__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.1rem;
}

.cart-summary__row strong {
  font-size: 1.4rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}

.orders-list {
  display: grid;
  gap: 14px;
}

.order-card {
  padding: 22px 24px;
  background: var(--soft);
  border-radius: 22px;
}

.order-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.order-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.order-card__price {
  margin: 10px 0 0 !important;
  color: var(--ink) !important;
  font-weight: 800;
  font-size: 1.1rem;
}

.order-card__status {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.order-card__status--soft {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.holiday-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.holiday-card {
  padding: 22px;
  background: var(--soft);
  border-radius: 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.holiday-card__date {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.holiday-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.holiday-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 500;
}

.holiday-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 980px) {
  .account-grid,
  .holiday-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .account-row {
    grid-template-columns: 72px 1fr;
  }

  .account-row__side {
    grid-column: 1 / -1;
    justify-items: start;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .account-grid,
  .holiday-grid {
    grid-template-columns: 1fr;
  }

  .account-page__head {
    align-items: stretch;
  }
}
