:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-border: #e8e8e8;
  --color-flag-red: #bc002d;
  --header-height: 72px;
  --page-pad-x: clamp(18px, 3.2vw, 32px);
  --font-brand: "Outfit", sans-serif;
  --font-ui: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}

.site-header__left,
.site-header__right {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.site-header__right {
  justify-content: flex-end;
  gap: 20px;
}

.site-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-brand);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  opacity: 0.65;
  outline: none;
}

.icon-btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-btn svg {
  width: 28px;
  height: 28px;
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.currency-btn:hover,
.currency-btn:focus-visible {
  opacity: 0.65;
  outline: none;
}

.currency-btn__flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.currency-btn__flag::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-flag-red);
  transform: translate(-50%, -50%);
}

.currency-btn__flag-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
  flex-shrink: 0;
  background: #fff;
}

.currency-btn__chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.locale-toolbar {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.locale-toolbar.is-open .currency-btn__chevron {
  transform: rotate(180deg);
}

.locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.locale-btn:hover,
.locale-btn:focus-visible {
  opacity: 0.65;
  outline: none;
}

.locale-btn__part {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.currency-menu--locale {
  min-width: 220px;
}

.locale-menu__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.locale-menu__text strong {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.locale-menu__text em {
  font-style: normal;
  font-size: 0.75rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.currency-switch {
  position: relative;
}

.currency-switch.is-open .currency-btn__chevron {
  transform: rotate(180deg);
}

.currency-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  min-width: 148px;
  max-height: min(360px, 70vh);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.currency-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}

.currency-menu__item img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid #e5e5e5;
  background: #f5f5f5;
}

.currency-menu__item:hover,
.currency-menu__item.is-selected {
  background: #f5f5f5;
}

.site-main {
  min-height: calc(100vh - var(--header-height));
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1c1c1c;
}

.hero-carousel__track {
  position: relative;
  width: 100%;
}

.hero-carousel__slide {
  display: none;
  width: 100%;
}

.hero-carousel__slide.is-active {
  display: block;
  animation: hero-fade 0.55s ease;
}

.hero-carousel__link {
  display: block;
  line-height: 0;
}

.hero-carousel__image {
  display: block;
  width: 100%;
  height: clamp(320px, 58vw, calc(100vh - var(--header-height)));
  max-height: 860px;
  object-fit: cover;
  object-position: center right;
}

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-carousel__dots[hidden] {
  display: none;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

@keyframes hero-fade {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

.collection-list {
  padding: clamp(56px, 7vw, 90px) var(--page-pad-x) clamp(64px, 8vw, 100px);
  background: #fff;
}

.collection-list__inner {
  width: min(100%, 1555px);
  margin: 0 auto;
}

.collection-list__title {
  margin: 0 0 46px;
  font-family: var(--font-brand);
  font-size: clamp(2.15rem, 2.9vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--color-text);
}

.collection-list__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection-list__item {
  display: block;
  transition: opacity 0.2s ease;
}

.collection-list__item:hover,
.collection-list__item:focus-visible {
  opacity: 0.85;
  outline: none;
}

.collection-list__image {
  display: block;
  width: 100%;
  height: auto;
}

.new-arrivals {
  padding: 0 var(--page-pad-x) clamp(64px, 8vw, 100px);
  background: #fff;
}

.new-arrivals__inner {
  width: min(100%, 1555px);
  margin: 0 auto;
}

.new-arrivals__title {
  margin: 0 0 40px;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 2.6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--color-text);
}

.new-arrivals__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  opacity: 0.88;
  outline: none;
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 2px;
  overflow: hidden;
  background: #f0f0f0;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  color: #5c4630;
  background: #d8c3a3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-card__title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-text);
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.product-card__price-current {
  color: var(--color-text);
}

.product-card__price-compare {
  color: #a3a3a3;
  text-decoration: line-through;
}

@media (max-width: 1024px) {
  .collection-list__inner {
    width: min(100%, 1037px);
  }

  .collection-list__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 17px;
  }

  .new-arrivals__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-carousel__image {
    height: clamp(280px, 95vw, 520px);
    object-position: 68% center;
  }

  .hero-carousel__dots {
    bottom: 12px;
  }

  .collection-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

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

  .product-card__title {
    font-size: 0.9375rem;
  }

  .product-card__price {
    font-size: 0.875rem;
  }

  :root {
    --header-height: 60px;
  }

  .site-header__right {
    gap: 6px;
  }

  .site-header__brand {
    font-size: 1.5rem;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .icon-btn svg {
    width: 24px;
    height: 24px;
  }

  .menu-btn svg {
    width: 26px;
    height: 26px;
  }

  .locale-btn span {
    display: none;
  }

  .locale-btn .currency-btn__chevron {
    display: none;
  }

  .locale-btn {
    gap: 6px;
  }

  .locale-toolbar {
    gap: 0;
  }

  .currency-btn span {
    display: none;
  }

  .currency-btn__chevron {
    display: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  --footer-bg: #faf8f2;
  --footer-border: #e6e2d8;
  padding: clamp(48px, 6vw, 72px) var(--page-pad-x) 36px;
  background: var(--footer-bg);
  color: var(--color-text);
}

.site-footer__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.site-footer__heading {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__text {
  margin: 0 0 22px;
  max-width: 36em;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3a3a3a;
}

.site-footer__form {
  display: flex;
  align-items: center;
  max-width: 420px;
  border: 1px solid #1a1a1a;
  background: #fff;
}

.site-footer__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: transparent;
}

.site-footer__input::placeholder {
  color: #9a9a9a;
}

.site-footer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.site-footer__submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__submit:hover,
.site-footer__submit:focus-visible {
  opacity: 0.65;
  outline: none;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li + li {
  margin-top: 12px;
}

.site-footer__links a {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #2a2a2a;
  transition: opacity 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  opacity: 0.65;
  outline: none;
}

.site-footer__divider {
  height: 1px;
  margin: clamp(36px, 5vw, 52px) 0 28px;
  background: var(--footer-border);
}

.site-footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d8d4cc;
  border-radius: 4px;
  background: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #1a1a1a;
}

.pay-badge--visa {
  color: #1a1f71;
  font-style: italic;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.pay-badge--discover {
  color: #f76b1c;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}

.pay-badge--mastercard {
  gap: 0;
  padding: 0 6px;
}

.pay-badge--mastercard i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.pay-badge--mastercard i:first-child {
  background: #eb001b;
}

.pay-badge--mastercard i:last-child {
  margin-left: -6px;
  background: #f79e1b;
  opacity: 0.92;
}

.pay-badge--diners {
  color: #0079be;
  font-size: 0.55rem;
}

.pay-badge--amex {
  color: #fff;
  background: #2e77bc;
  border-color: #2e77bc;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}

.pay-badge--jcb {
  color: #fff;
  background: #0b4ea2;
  border-color: #0b4ea2;
}

.pay-badge--paypal {
  gap: 0;
  color: #003087;
  font-size: 0.6875rem;
  font-style: italic;
}

.pay-badge--paypal span {
  color: #009cde;
}

.pay-badge--apple::before {
  content: "";
  width: 12px;
  height: 14px;
  margin-right: 3px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M13.2 10.6c0-2 1.6-3 1.7-3.1-0.9-1.4-2.4-1.5-2.9-1.6-1.2-0.1-2.4 0.7-3 0.7-0.6 0-1.6-0.7-2.7-0.7-1.4 0-2.6 0.8-3.3 2.1-1.4 2.5-0.4 6.1 1 8.1 0.7 1 1.5 2.1 2.6 2 1 0 1.4-0.7 2.7-0.7s1.6 0.7 2.7 0.7c1.1 0 1.8-1 2.5-2 0.8-1.1 1.1-2.2 1.1-2.3-0.1 0-2.1-0.8-2.1-3.2zm-2-5.9c0.6-0.7 1-1.7 0.9-2.7-0.9 0-1.9 0.6-2.5 1.3-0.5 0.6-1 1.6-0.9 2.6 1 0.1 1.9-0.5 2.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M13.2 10.6c0-2 1.6-3 1.7-3.1-0.9-1.4-2.4-1.5-2.9-1.6-1.2-0.1-2.4 0.7-3 0.7-0.6 0-1.6-0.7-2.7-0.7-1.4 0-2.6 0.8-3.3 2.1-1.4 2.5-0.4 6.1 1 8.1 0.7 1 1.5 2.1 2.6 2 1 0 1.4-0.7 2.7-0.7s1.6 0.7 2.7 0.7c1.1 0 1.8-1 2.5-2 0.8-1.1 1.1-2.2 1.1-2.3-0.1 0-2.1-0.8-2.1-3.2zm-2-5.9c0.6-0.7 1-1.7 0.9-2.7-0.9 0-1.9 0.6-2.5 1.3-0.5 0.6-1 1.6-0.9 2.6 1 0.1 1.9-0.5 2.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pay-badge--apple::after {
  content: "Pay";
  font-size: 0.75rem;
  font-weight: 600;
}

.pay-badge--google {
  gap: 2px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.pay-badge--google b {
  font-weight: 700;
  color: #4285f4;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  text-align: center;
  color: #5a5a5a;
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__form {
    max-width: none;
  }
}

/* —— Product detail —— */
.product-detail {
  padding: clamp(24px, 4vw, 40px) var(--page-pad-x) clamp(48px, 6vw, 80px);
  background: #fff;
}

.product-detail__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-gallery__thumb {
  display: block;
  width: 72px;
  height: 90px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: #f2f2f2;
  transition: border-color 0.2s ease;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible {
  border-color: #1a1a1a;
  outline: none;
}

.product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-gallery__placeholder,
.product-gallery__main-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 6px;
  color: #8a8a8a;
  font-size: 0.75rem;
  text-align: center;
}

.product-gallery__main-placeholder {
  min-height: 0;
  background: #f2f2f2;
}

.product-gallery__main-placeholder small {
  font-size: 0.6875rem;
  color: #aaa;
}

.product-gallery__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 28px;
  color: #666;
}

.product-gallery__more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.product-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-info__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-info__price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 28px;
  font-size: 1.125rem;
}

.product-info__price-compare {
  color: #9a9a9a;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.product-option {
  margin-bottom: 22px;
}

.product-option__label {
  margin-bottom: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-option__swatches,
.product-option__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-option__swatch,
.product-option__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-size: 0.875rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-option__swatch.is-selected,
.product-option__size.is-selected,
.product-option__swatch:hover,
.product-option__size:hover,
.product-option__swatch:focus-visible,
.product-option__size:focus-visible {
  border-color: #1a1a1a;
  outline: none;
}

.product-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.product-qty__btn {
  width: 44px;
  background: #f3f1ec;
  font-size: 1.1rem;
  line-height: 1;
  transition: opacity 0.15s ease;
}

.product-qty__btn:hover,
.product-qty__btn:focus-visible {
  opacity: 0.7;
  outline: none;
}

.product-qty__input {
  width: 56px;
  border: 0;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  text-align: center;
  font: inherit;
  font-size: 0.9375rem;
  background: #fff;
  -moz-appearance: textfield;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.product-actions__cart,
.product-actions__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: opacity 0.2s ease;
}

.product-actions__cart {
  background: #f3f1ec;
  color: #1a1a1a;
}

.product-actions__buy {
  background: #1a1a1a;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-actions__cart:hover,
.product-actions__buy:hover,
.product-actions__cart:focus-visible,
.product-actions__buy:focus-visible {
  opacity: 0.82;
  outline: none;
}

.product-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e8e8e8;
}

.product-share__label {
  font-size: 0.875rem;
  color: #666;
}

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

.product-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #444;
  transition: opacity 0.15s ease;
}

.product-share__link:hover,
.product-share__link:focus-visible {
  opacity: 0.6;
  outline: none;
}

.product-share__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.product-tabs {
  margin-top: clamp(40px, 6vw, 64px);
}

.product-tabs__nav {
  display: flex;
  gap: 0;
}

.product-tabs__tab {
  min-width: 96px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.product-tabs__tab.is-active {
  border-color: #ddd;
  border-bottom-color: #fff;
}

.product-tabs__panel {
  display: none;
  min-height: 120px;
  margin-top: -1px;
  padding: 28px 24px;
  border: 1px solid #ddd;
}

.product-tabs__panel.is-active {
  display: block;
}

.product-tabs__content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #333;
}

.product-tabs__content--empty {
  color: #9a9a9a;
}

@media (max-width: 960px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .product-gallery__thumb,
  .product-gallery__more {
    width: 64px;
  }

  .product-gallery__thumb {
    height: 80px;
  }
}

@media (max-width: 640px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    flex-direction: row;
    overflow-x: auto;
    order: 2;
  }

  .product-gallery__main {
    order: 1;
  }

  .product-gallery__more {
    display: none;
  }
}

/* 装修排版：分类 / 商品列数 */
.collection-list__grid--grid-2,
.new-arrivals__grid--grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-list__grid--grid-3,
.new-arrivals__grid--grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-list__grid--grid-4,
.new-arrivals__grid--grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-list__grid--grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.new-arrivals__grid--row {
  display: flex;
  gap: 17px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.new-arrivals__grid--row > li {
  flex: 0 0 min(240px, 70vw);
  scroll-snap-align: start;
}

.collection-list__placeholder,
.product-card__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  background: color-mix(in srgb, var(--color-accent, #8b7355) 18%, #f3f0eb);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.section-empty {
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  color: var(--color-muted);
}

/* 分类商品列表页 */
.category-page__header {
  padding: clamp(36px, 5vw, 64px) var(--page-pad-x) clamp(20px, 3vw, 32px);
}

.category-page__header-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.category-page__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--color-muted, #888);
}

.category-page__crumb a {
  color: inherit;
  text-decoration: none;
}

.category-page__crumb a:hover,
.category-page__crumb a:focus-visible {
  color: var(--color-text);
  text-decoration: underline;
}

.category-page__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.category-page__desc {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-muted, #666);
}

.category-page__count {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-muted, #888);
}

.category-page__products {
  padding-top: 8px;
}

.category-page__back {
  margin: 8px 0 0;
  text-align: center;
}

.category-page__back a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.hero-carousel__image--placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--color-primary, #111), var(--color-accent, #8b7355));
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
}

/* 商品优惠券提示 */
.product-coupons {
  margin: 16px 0 8px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--color-accent, #8b7355) 10%, #f7f4ef);
  border: 1px solid color-mix(in srgb, var(--color-accent, #8b7355) 28%, transparent);
}

.product-coupons__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted, #666);
  margin-bottom: 8px;
}

.product-coupons__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.product-coupons__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.product-coupons__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent, #8b7355);
}

.product-coupons__text {
  flex: 1;
  min-width: 140px;
}

.product-coupons__code {
  font-size: 0.75rem;
  color: var(--color-muted, #666);
  letter-spacing: 0.04em;
}

.product-info__stock {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted, #666);
}

/* 购物车角标 */
.icon-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

/* 购物车抽屉 */
html.is-cart-open {
  overflow: hidden;
}

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

.cart-drawer[aria-hidden="false"] {
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.cart-drawer[aria-hidden="false"] .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer[aria-hidden="false"] .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 8px 20px 20px;
}

.cart-drawer__empty {
  padding: 48px 8px;
  text-align: center;
  color: var(--color-muted);
}

.cart-drawer__continue {
  margin-top: 12px;
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-line__thumb img,
.cart-line__ph {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #f3f0eb;
  display: block;
}

.cart-line__title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-line__meta,
.cart-line__price {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.cart-line__price {
  color: var(--color-text);
  font-weight: 600;
}

.cart-line__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.cart-line__qty button,
.cart-line__qty input {
  border: 0;
  background: #fff;
  height: 32px;
  font: inherit;
}

.cart-line__qty button {
  width: 32px;
  cursor: pointer;
}

.cart-line__qty input {
  width: 40px;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-line__qty input::-webkit-outer-spin-button,
.cart-line__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.cart-line__remove {
  align-self: start;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-muted);
}

.cart-line__remove svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.cart-drawer__label {
  display: block;
  margin: 16px 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.cart-drawer__textarea,
.cart-drawer__input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.cart-drawer__notice {
  margin: 12px 0;
  padding: 10px 12px;
  background: #fff4bf;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cart-drawer__discount-btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.cart-drawer__discount-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-drawer__apply {
  border: 0;
  background: #efefef;
  padding: 0 16px;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.cart-drawer__discount-msg {
  margin: 0;
  font-size: 0.8125rem;
  color: #1b7a3d;
}

.cart-drawer__discount-msg.is-error {
  color: #b42318;
}

.cart-drawer__foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-drawer__ship-hint {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.cart-drawer__ship-hint.is-success {
  color: #1b7a3d;
}

.cart-drawer__ship-hint svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.cart-drawer__tax-note {
  margin: 0 0 14px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.cart-drawer__paypal,
.cart-drawer__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cart-drawer__paypal {
  background: #ffc439;
  color: #003087;
  margin-bottom: 10px;
  border-radius: 4px;
}

.cart-drawer__checkout {
  background: #111;
  color: #fff;
  border-radius: 4px;
}

.cart-drawer__checkout svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Checkout */
.checkout-body {
  background: #fff;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 100vh;
}

.checkout__main {
  padding: 32px clamp(20px, 4vw, 48px) 56px;
  display: flex;
  justify-content: flex-end;
}

.checkout__main-inner {
  width: 100%;
  max-width: 560px;
}

.checkout__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout__brand a {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.checkout__locale {
  flex-shrink: 0;
}

.checkout__locale .currency-menu {
  right: 0;
  left: auto;
}

.checkout__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.checkout__steps a,
.checkout__step {
  color: inherit;
  border: 0;
  background: none;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.checkout__step:disabled {
  opacity: 0.55;
  cursor: default;
}

.checkout__step.is-active,
.checkout__steps strong {
  color: var(--color-text);
  font-weight: 700;
}

.checkout__express {
  margin-bottom: 8px;
}

.checkout__express-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.checkout__paypal {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #ffc439;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.checkout__paypal:hover {
  filter: brightness(0.97);
}

.checkout__paypal-logo {
  width: 92px;
  height: 24px;
}

.checkout__or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 20px 0 4px;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.checkout__or::before,
.checkout__or::after {
  content: "";
  height: 1px;
  background: var(--color-border);
}

.checkout__section-head,
.checkout__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 22px 0 14px;
}

.checkout__section-head h2,
.checkout__heading {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.checkout__section-head a {
  font-size: 0.875rem;
  color: #1773b0;
  text-decoration: none;
}

.checkout__muted-text {
  margin: -4px 0 16px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.checkout-field {
  display: block;
  position: relative;
  margin-bottom: 12px;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  height: 52px;
  padding: 18px 14px 6px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.checkout-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: #1773b0;
  box-shadow: 0 0 0 1px #1773b0;
}

.checkout-field__label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #737373;
  font-size: 0.9375rem;
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.checkout-field.is-float input:focus + .checkout-field__label,
.checkout-field.is-float input:not(:placeholder-shown) + .checkout-field__label,
.checkout-field.is-float.is-filled .checkout-field__label,
.checkout-field.is-select .checkout-field__label {
  top: 10px;
  transform: none;
  font-size: 0.6875rem;
}

.checkout-field.is-select select {
  padding-top: 20px;
  padding-bottom: 4px;
}

.checkout-field--phone .checkout-field__prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: #737373;
  font-size: 0.875rem;
  pointer-events: none;
}

.checkout-field--phone input {
  padding-left: 48px;
}

.checkout-field--phone .checkout-field__label {
  left: 48px;
}

.checkout-field--phone.is-filled .checkout-field__label,
.checkout-field--phone input:focus + .checkout-field__label,
.checkout-field--phone input:not(:placeholder-shown) + .checkout-field__label {
  left: 48px;
}

.checkout-field--compact {
  margin-bottom: 0;
}

.checkout-field--compact input {
  height: 48px;
}

.checkout-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 10px;
  font-size: 0.875rem;
  color: #545454;
}

.checkout-check input {
  margin-top: 3px;
}

.checkout-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout__link-btn {
  display: inline-block;
  margin: 0 0 12px;
  border: 0;
  background: none;
  color: #1773b0;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.checkout__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.checkout__back {
  color: #1773b0;
  text-decoration: none;
  font-size: 0.875rem;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.checkout__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.checkout__continue:hover {
  opacity: 0.92;
}

.checkout__copy {
  margin-top: 48px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.checkout__summary {
  background: #f5f5f5;
  border-left: 1px solid #e6e6e6;
  padding: 40px clamp(20px, 3.5vw, 48px);
}

.checkout__summary-inner {
  position: sticky;
  top: 28px;
  max-width: 420px;
}

.checkout-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.checkout-line__thumb {
  position: relative;
  width: 64px;
  height: 64px;
}

.checkout-line__thumb img,
.checkout-line__thumb span {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  display: block;
}

.checkout-line__thumb em {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(114, 114, 114, 0.9);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 20px;
  text-align: center;
}

.checkout-line__body h3 {
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-line__body p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.checkout-line > strong {
  font-size: 0.875rem;
  white-space: nowrap;
}

.checkout__coupon {
  margin: 8px 0 18px;
  padding-top: 4px;
}

.checkout__coupon-note {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.checkout__coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.checkout__apply-btn {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #c8c8c8;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.checkout__apply-btn:hover {
  background: #111;
}

.checkout__coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.checkout__chip {
  border: 1px dashed #bdbdbd;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  color: #444;
}

.checkout__chip.is-active {
  border-style: solid;
  border-color: #1b7a3d;
  color: #1b7a3d;
  background: #eef8f1;
}

.checkout__coupon-msg {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: #1b7a3d;
}

.checkout__coupon-msg.is-error {
  color: #b42318;
}

.checkout__totals {
  border-top: 1px solid #e1e1e1;
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.checkout__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.checkout__muted {
  color: var(--color-muted);
}

.checkout__row--discount {
  color: #1b7a3d;
}

.checkout__row--total {
  padding-top: 14px;
  border-top: 1px solid #e1e1e1;
  align-items: baseline;
}

.checkout__row--total span:first-child {
  font-size: 1rem;
  font-weight: 500;
}

.checkout__row--total strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout__row--total em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-right: 6px;
  vertical-align: 2px;
}

.checkout-ship-options,
.checkout-pay-options {
  display: grid;
  gap: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}

.checkout-ship-option,
.checkout-pay-option {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e6e6e6;
  cursor: pointer;
  background: #fff;
}

.checkout-pay-option {
  grid-template-columns: 20px 1fr;
}

.checkout-ship-option:last-child,
.checkout-pay-option:last-child {
  border-bottom: 0;
}

.checkout-ship-option.is-selected,
.checkout-pay-option.is-selected {
  background: #f0f5ff;
}

.checkout-ship-option__body {
  display: grid;
  gap: 2px;
}

.checkout-ship-option__body strong {
  font-size: 0.9375rem;
}

.checkout-ship-option__body em {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.checkout-ship-option__price {
  font-size: 0.875rem;
  font-weight: 600;
}

.checkout-review-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
}

.checkout-review-card > div {
  display: grid;
  gap: 4px;
  grid-column: 1;
}

.checkout-review-card span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.checkout-review-card strong {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.checkout-review-card button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  border: 0;
  background: none;
  color: #1773b0;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.checkout__success {
  margin-top: 24px;
  padding: 24px;
  border-radius: 8px;
  background: #eef8f1;
  text-align: center;
}

.checkout__success h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.checkout__success p {
  margin: 0 0 16px;
  color: #333;
}

.checkout__success .checkout__continue {
  width: 100%;
}

.checkout__submit-error {
  margin: 12px 0 0;
  color: #b42318;
  font-size: 0.875rem;
}

.order-success {
  padding: 48px 20px 72px;
}

.order-success__inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.order-success__card {
  padding: 36px 28px;
  border: 1px solid var(--color-border, #e8e4dc);
  background: #fff;
}

.order-success__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.order-success__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.order-success__text {
  margin: 0 0 28px;
  color: #555;
  line-height: 1.5;
}

.order-success__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
}

.order-success__meta dt {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}

.order-success__meta dd {
  margin: 0;
  font-weight: 600;
  word-break: break-all;
}

.order-success__ship {
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.order-success__ship h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.order-success__ship p {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

.order-success__lines {
  list-style: none;
  margin: 0 0 20px;
  padding: 20px 0 0;
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.order-success__line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.order-success__thumb {
  position: relative;
  width: 72px;
  height: 72px;
  background: #f4f2ec;
  overflow: hidden;
}

.order-success__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-success__thumb em {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-success__line-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.order-success__line-body strong {
  font-size: 0.95rem;
}

.order-success__line-body span {
  font-size: 0.85rem;
  opacity: 0.65;
}

.order-success__totals {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.order-success__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-success__totals-total {
  font-size: 1.05rem;
}

.order-success__actions {
  margin-top: 28px;
}

.order-success__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--color-primary, #111);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.order-success__btn:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .order-success__meta {
    grid-template-columns: 1fr;
  }

  .order-success__card {
    padding: 28px 18px;
  }
}

@media (max-width: 900px) {
  .checkout {
    grid-template-columns: 1fr;
  }

  .checkout__summary {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--color-border);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .checkout__summary-inner {
    position: static;
    max-width: none;
  }

  .checkout__main {
    justify-content: center;
    padding-top: 24px;
  }

  .checkout-grid--2 {
    grid-template-columns: 1fr;
  }

  .checkout__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .checkout__continue {
    width: 100%;
    min-width: 0;
  }
}


