@font-face {
  font-family: DM Sans;
  src: url('/fonts/dm-sans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url('/fonts/dm-sans-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 550 800;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url('/fonts/dm-serif-text.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url('/fonts/dm-serif-text-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #28383a;
  --muted: #566469;
  --paper: #fcfbf8;
  --line: #dcded7;
  --sky: #dce8e9;
  --blush: #f4e2dc;
  --serif: 'DM Serif Text', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --content: min(1320px, calc(100% - clamp(32px, 8vw, 144px)));
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--paper);
  font: 400 1rem/1.55 var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #536e9f;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font: 400 1em/1.08 var(--serif);
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
}
h2 {
  font-size: clamp(2.3rem, 3.6vw, 3.6rem);
}
h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: white;
  padding: 12px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.mast {
  background: var(--paper);
  position: relative;
  z-index: 4;
}
.header-inner,
.footer-inner {
  width: var(--content);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.header-inner {
  min-height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 400 2.65rem/1 var(--serif);
  letter-spacing: -0.075em;
  white-space: nowrap;
  padding-bottom: 5px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 56px);
  margin: auto;
  font-size: 0.96rem;
}
.nav a,
.footer-inner nav a {
  padding: 10px 1px;
}
.nav a:hover,
.nav [aria-current='page'],
.footer-inner nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #71827d;
}
.header-tools,
.saved-link,
.bag-link {
  display: flex;
  align-items: center;
}
.header-tools {
  gap: 13px;
}
.saved-link,
.bag-link {
  gap: 8px;
  font-size: 0.94rem;
  min-height: 42px;
}
.header-tools b {
  background: var(--sky);
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 20px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  padding: 10px;
}
.menu-toggle span {
  width: 21px;
  height: 1.5px;
  display: block;
  background: var(--ink);
  margin: 5px 0;
}
.mobile-nav {
  border-bottom: 1px solid var(--line);
  padding: 6px 6% 15px;
  background: var(--paper);
}
.mobile-nav a {
  display: block;
  padding: 10px;
}
main {
  outline: none;
  min-height: 60vh;
}
.hero,
.catalog,
.small-guides,
.page,
.detail,
.breadcrumbs,
.saved-page,
.guide-page,
.checkout-page,
.confirmation {
  width: var(--content);
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: clamp(430px, 36vw, 555px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--sky);
}
.hero-copy {
  padding: clamp(35px, 4.8vw, 80px);
  align-self: center;
}
.hero h1 {
  font-size: clamp(3.25rem, 5.05vw, 5.75rem);
  line-height: 1.015;
  letter-spacing: -0.055em;
}
.hero-copy em {
  font-weight: 400;
}
.hero-copy p {
  max-width: 34ch;
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  color: #48585a;
  line-height: 1.6;
  margin-top: 23px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2vw, 34px);
  margin-top: 28px;
}
.button,
.choice,
.quantity button {
  border: 1px solid var(--ink);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: white;
  border-radius: 100px;
  padding: 12px 23px;
  min-height: 48px;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.18s ease;
}
.button:hover {
  background: #405356;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #b1b9b3;
}
.button.secondary:hover {
  background: #e8ece8;
}
.text-link {
  font-weight: 600;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  font-size: 0.94rem;
}
button.text-link {
  padding: 6px 0;
  border: 0;
  background: none;
}
.hero-visual {
  position: relative;
  background: #e3d8c6;
  min-width: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;
}
.home-catalog {
  margin-block: clamp(42px, 4.5vw, 72px) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 25px;
}
.section-head .text-link {
  white-space: nowrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 32px);
}
.product {
  min-width: 0;
}
.product-photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #e3e1d6;
  aspect-ratio: 1.36;
}
.product:nth-child(3n + 2) .product-photo {
  background: #dae5e6;
}
.product:nth-child(3n + 3) .product-photo {
  background: #ebd5ce;
}
.product-photo > a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}
.product-photo > a:hover img {
  transform: scale(1.035);
}
.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(252, 251, 248, 0.95);
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.heart[aria-pressed='true'] {
  background: var(--blush);
  color: #7b4d48;
}
.heart[aria-pressed='true'] svg {
  fill: currentColor;
}
.product-info {
  padding: 16px 1px 0;
}
.meta,
.product-info p,
.breadcrumb-link,
.field-help {
  font-size: 0.91rem;
  color: var(--muted);
}
.product-info p {
  margin-top: 5px;
}
.product-info h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.small-guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-block: 60px 80px;
}
.small-guides > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border-radius: 13px;
  background: #e9eddf;
}
.small-guides > a + a {
  background: var(--blush);
}
.small-guides strong {
  font: 400 clamp(1.45rem, 2vw, 2.25rem)/1.2 var(--serif);
  letter-spacing: -0.035em;
  display: block;
}
.small-guides small {
  display: block;
  font-size: 0.94rem;
  margin-top: 4px;
  color: #465251;
}
.guide-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #81917c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font: 400 1.8rem var(--serif);
}
.list-symbol {
  border-radius: 7px;
  width: 32px;
  height: 38px;
  border-color: #997d75;
  transform: rotate(-5deg);
  margin-inline: 5px;
  position: relative;
}
.list-symbol::after {
  content: '';
  width: 16px;
  height: 8px;
  border-block: 1.5px solid #866e68;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
}
.footer-inner {
  justify-content: space-between;
  min-height: 104px;
}
.small-brand {
  font-size: 2rem;
}
.footer-inner nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-inner .footer-info {
  margin-left: auto;
}
.info-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.info-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 18px;
}
.info-sections,
.contact-form {
  max-width: 66ch;
}
.info-sections section {
  border-top: 1px solid var(--line);
  padding-block: 22px;
}
.info-sections h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}
.info-sections p + p,
.info-sections p + a {
  display: block;
  margin-top: 12px;
}
.contact-form {
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.contact-form .hint {
  margin-block: 15px 20px;
}
.form-status:not(:empty) {
  margin-top: 15px;
  color: #285545;
  font-weight: 600;
}
.form-status.invalid {
  color: #81372c;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-block: 19px 27px;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumb-divider {
  height: 13px;
  width: 1px;
  transform: rotate(24deg);
  background: #9ca7a2;
}
.page,
.saved-page,
.checkout-page,
.guide-page,
.confirmation {
  padding-block: clamp(24px, 3vw, 46px) 42px;
}
.page-header {
  margin-bottom: 35px;
}
.page-header p,
.lead {
  margin-top: 15px;
  max-width: 55ch;
  font-size: 1.07rem;
  color: var(--muted);
}
.detail {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(30px, 6vw, 110px);
  align-items: start;
}
.detail-photo {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 18px;
  background: #e4e0db;
}
.detail h1,
.page h1,
.saved-page h1,
.guide-page h1,
.checkout-page h1,
.confirmation h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.6rem);
}
.detail-copy {
  padding-block: 12px;
}
.detail-copy > .meta {
  margin-bottom: 12px;
}
.detail-copy .lead {
  margin-top: 13px;
}
.details-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.details-list h2 {
  font: 600 1rem/1.4 var(--sans);
  letter-spacing: 0;
}
.items-list {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
}
.items-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 7px 0;
  font-size: 1rem;
  color: #485658;
}
.items-list li span:first-child {
  min-width: 28px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.price {
  font-size: 1.45rem;
  font-weight: 600;
  display: block;
  margin-block: 18px 3px;
}
.detail .actions {
  margin-top: 18px;
  gap: 12px;
}
.related {
  margin-top: 70px;
}
.guide-page {
  max-width: 950px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 0;
  background: var(--sky);
  border-radius: 20px;
  overflow: hidden;
}
.guide-form {
  padding: clamp(25px, 4vw, 60px);
}
.guide-picture {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.guide-progress {
  color: #516466;
  font-size: 0.94rem;
  margin-bottom: 13px;
}
.guide-form h1 {
  font-size: clamp(2.25rem, 3.6vw, 3.6rem);
  margin-bottom: 20px;
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #b9c6c3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  padding: 13px 16px;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--ink);
  background: #fff;
}
.choice input {
  margin: 0;
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  flex: none;
}
.guide-form .actions {
  margin-top: 23px;
}
.hint {
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.result-box {
  background: var(--sky);
  padding: clamp(24px, 4vw, 50px);
  border-radius: 18px;
  margin-bottom: 24px;
}
.result-box .actions {
  margin-top: 15px;
}
.result-box p {
  max-width: 55ch;
  margin-top: 14px;
}
.empty {
  padding: 35px 30px;
  background: #ebefea;
  border-radius: 16px;
  max-width: 720px;
}
.empty h2 {
  font-size: 2rem;
}
.empty p {
  margin: 10px 0 16px;
}
.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  gap: 32px;
}
.cart-items {
  display: grid;
  gap: 16px;
}
.cart-row {
  display: grid;
  grid-template-columns: 105px 1fr auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.cart-row img {
  width: 105px;
  height: 100px;
  object-fit: cover;
  border-radius: 11px;
}
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}
.quantity button {
  border-color: #ccd2ca;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.summary {
  background: #ebefea;
  border-radius: 15px;
  padding: 24px;
  align-self: start;
}
.summary h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.summary .total-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}
.summary .button {
  width: 100%;
  margin-top: 13px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.fields label {
  display: grid;
  gap: 5px;
}
.fields label.wide {
  grid-column: 1/-1;
}
.fields input,
.fields textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #aab5b0;
  border-radius: 8px;
  padding: 9px 12px;
  background: white;
}
.fields textarea {
  font: inherit;
  resize: vertical;
  min-height: 125px;
}
.feedback {
  color: #81372c;
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 10;
  max-width: calc(100% - 32px);
  padding: 10px 21px;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.toast.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
.static-note,
.loading {
  color: var(--muted);
  padding: 16px 0;
}
@media (max-width: 850px) {
  .header-inner {
    gap: 12px;
    min-height: 76px;
  }
  .nav {
    gap: 22px;
  }
  .hero {
    min-height: 375px;
    grid-template-columns: 49% 51%;
  }
  .hero-copy {
    padding: 32px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 5.8vw, 4rem);
  }
  .hero-copy p {
    font-size: 1rem;
    margin-top: 17px;
  }
  .actions {
    gap: 14px;
  }
  .hero .actions {
    align-items: flex-start;
  }
  .product-photo {
    aspect-ratio: 1.1;
  }
  .small-guides > a {
    padding: 23px 20px;
    gap: 14px;
  }
  .cart-grid {
    gap: 20px;
  }
}
@media (max-width: 680px) {
  :root {
    --content: calc(100% - 32px);
  }
  .header-inner {
    min-height: 69px;
  }
  .brand {
    font-size: 2.15rem;
    gap: 7px;
  }

  .nav {
    display: none;
  }
  .header-tools {
    margin-left: auto;
    gap: 6px;
  }
  .saved-link {
    padding: 0 6px;
  }
  .saved-link > span {
    display: none;
  }
  .header-tools .account-link,
  .header-tools .bag-link {
    flex-direction: column;
    gap: 0;
    position: relative;
    justify-content: center;
  }
  .header-tools .account-link > span,
  .header-tools .bag-link > span {
    display: block;
    font-size: 0.68rem;
    line-height: 1.3;
  }
  .header-tools .bag-link b {
    position: absolute;
    top: -2px;
    right: -8px;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    display: flex;
    flex-direction: column-reverse;
    border-radius: 16px;
    min-height: 0;
  }
  .hero-visual {
    aspect-ratio: 1.78;
  }
  .hero-copy {
    align-self: stretch;
    padding: 25px 25px 28px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 9.6vw, 3.6rem);
    line-height: 1.02;
  }
  .hero-copy h1 br {
    display: none;
  }
  .hero-copy h1 br::after {
    content: ' ';
  }
  .hero-copy h1 em::before {
    content: ' ';
  }
  .hero-copy p {
    margin-top: 13px;
    max-width: 35ch;
  }
  .hero .actions {
    margin-top: 18px;
    align-items: center;
    gap: 19px;
  }
  .button {
    min-height: 46px;
    padding: 10px 18px;
  }
  .section-head {
    margin-bottom: 17px;
    gap: 10px;
  }
  .section-head h2 {
    font-size: clamp(1.95rem, 7vw, 2.7rem);
  }
  .section-head .text-link {
    font-size: 0.875rem;
  }
  .home-catalog {
    margin-top: 35px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .product-photo {
    border-radius: 10px;
    aspect-ratio: 1;
  }
  .heart {
    width: 39px;
    height: 39px;
    right: 6px;
    top: 6px;
  }
  .product-info {
    padding: 10px 1px 0;
  }
  .product-info h3 {
    font-size: 1.55rem;
  }
  .product-info p {
    font-size: 0.87rem;
  }
  .small-guides {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-block: 37px 46px;
  }
  .small-guides > a {
    padding: 20px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    padding-block: 20px;
  }
  .footer-inner nav {
    gap: 8px 17px;
  }
  .footer-inner .footer-info {
    flex-basis: 100%;
    margin-left: 0;
  }
  .info-with-photo,
  .contact-form .fields {
    grid-template-columns: 1fr;
  }
  .info-photo {
    max-width: 400px;
  }
  .footer-inner nav a {
    padding: 4px 0;
  }
  .small-brand {
    flex: 0 0 100%;
  }
  .breadcrumbs {
    margin-block: 10px 20px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .detail-photo {
    aspect-ratio: 1.33;
  }
  .detail-copy {
    padding: 8px 2px;
  }
  .detail h1 {
    font-size: 3rem;
  }
  .related {
    margin-top: 35px;
  }
  .page-header {
    margin-bottom: 23px;
  }
  .page,
  .saved-page,
  .guide-page,
  .checkout-page {
    padding-top: 14px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-picture {
    display: none;
  }
  .guide-form {
    padding: 24px 20px;
  }
  .cart-grid {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .cart-row img {
    width: 72px;
    height: 78px;
  }
  .row-total {
    grid-column: 2;
  }
  .fields {
    gap: 12px;
  }
  .page-header p {
    margin-top: 10px;
  }
}
@media (max-width: 375px) {
  .hero-copy {
    padding: 20px;
  }
  .button {
    padding-inline: 15px;
  }
  .header-tools {
    gap: 2px;
  }
  .product-info h3 {
    font-size: 1.36rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.account-link {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  font-size: 0.94rem;
}
.account-panel,
.account-orders,
.account-settings,
.recovery-box {
  max-width: 720px;
}
.account-panel,
.account-settings,
.recovery-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 32px);
}
.account-form {
  display: grid;
  gap: 16px;
}
.account-form .button {
  justify-self: start;
}
.account-form .fields {
  grid-template-columns: 1fr;
}
.account-form [role='status']:empty {
  display: none;
}
.account-form [role='status'] {
  color: #81372c;
}
.account-links,
.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-block: 15px 24px;
}
.account-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.account-panel .account-links {
  margin-bottom: 0;
}
.account-settings {
  margin-top: 28px;
}
.account-settings summary {
  cursor: pointer;
  font-weight: 600;
}
.account-settings p,
.account-settings form {
  margin-block: 18px;
}
.account-orders h2,
.recovery-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.order-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.order-line small {
  display: block;
  color: var(--muted);
}
.recovery-box {
  background: var(--sky);
  margin-block: 18px;
}
.recovery-box code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  margin-block: 12px;
}
.catalog-filters {
  display: flex;
  align-items: end;
  gap: 14px 20px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.catalog-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}
.catalog-filters input,
.catalog-filters select {
  border: 1px solid #adb6b1;
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: white;
  font: inherit;
}
.cart-remove {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
}
.checkout-methods {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
.checkout-methods legend {
  font-weight: 600;
  margin-bottom: 6px;
}
@media (max-width: 1020px) and (min-width: 681px) {
  .header-tools {
    gap: 11px;
  }
  .header-tools a > span {
    display: none;
  }
}
@media (max-width: 680px) {
  .header-tools .account-link,
  .header-tools .bag-link {
    min-width: 28px;
    justify-content: center;
  }
  .catalog-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filters input,
  .catalog-filters select,
  .catalog-filters label {
    min-width: 0;
    width: 100%;
  }
}
.history-order {
  border-block-end: 1px solid var(--line);
  padding: 14px 0;
}
.history-order summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  flex-wrap: wrap;
}
.history-order summary strong:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.history-order small {
  display: block;
  color: var(--muted);
}
.history-order[open] summary {
  margin-bottom: 14px;
}
.history-order .total-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.history-order > p {
  margin: 6px 0;
  color: var(--muted);
}
@media (max-width: 530px) {
  .history-order summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }
  .history-order summary > span:nth-child(2) {
    grid-row: 2;
    color: var(--muted);
  }
  .history-order summary > strong {
    grid-column: 2;
    grid-row: 1;
  }
}
