:root {
  --cream: #ffffff;
  --charcoal: #171717;
  --drawer-bg: #0b0b0b;
  --warm-banner: #f0d4b8;
  --yellow-banner: #f4dc6a;
  --orange: #e96b35;
  --orange-hover: #d85f2e;
  --text: #202020;
  --text-muted: #4a4a4a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-card: 12px;
  --radius-thumb: 8px;
  --header-h: 50px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
}

body.no-scroll {
  overflow: hidden;
  height: 100dvh;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 10px;
  background: #0b0b0b;
  color: #fff;
}

.site-header__logo {
  justify-self: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #fff;
}

.site-header__actions {
  display: flex;
  justify-content: flex-end;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
}

/* Drawer */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.45);
}

.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: min(86vw, 340px);
  max-height: 100dvh;
  background: var(--drawer-bg);
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 24px 32px;
}

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

.nav-drawer__logo,
.site-footer__logo {
  margin: 0;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nav-drawer__tagline,
.site-footer__tagline {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #9a9a9a;
  max-width: 18rem;
}

.nav-drawer__heading,
.site-footer__heading {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

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

.nav-drawer__links a {
  display: block;
  padding: 10px 0 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #fff;
}

.site-footer__links a {
  display: block;
  padding: 7px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.nav-drawer__locale {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-drawer__locale .locale-btn {
  display: block;
}

.nav-drawer__label {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.nav-drawer__legal {
  margin-top: auto;
  padding-top: 28px;
}

.nav-drawer .legal-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.nav-drawer .legal-links a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
  color: #9a9a9a;
}

/* Shared locale / legal (drawer + footer) */
.locale-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  padding-top: 18px;
}

.locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
}

.locale-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.copy-line {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: #7a7a7a;
}

.locale-menu {
  position: fixed;
  z-index: 80;
  left: 24px;
  bottom: 80px;
  min-width: 180px;
  padding: 6px;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.locale-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.locale-menu button:hover {
  background: #f5f5f5;
}

/* Search — slide-down bar under header */
.search-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 39;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}

.search-bar.is-open {
  max-height: min(55vh, 360px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  transform: translateY(0);
}

.search-bar[hidden] {
  display: block;
}

.search-bar__form {
  margin: 0;
}

.search-bar__field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  color: #202124;
}

.search-bar__icon {
  flex: 0 0 auto;
  color: #6b6b6b;
}

.search-bar__field input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #202124;
  font-size: 16px;
  line-height: 1.3;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-bar__field input[type="search"]::placeholder {
  color: #8a8a8a;
}

.search-bar__field input[type="search"]::-webkit-search-decoration,
.search-bar__field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-bar__close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202124;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.search-bar__results {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px 10px;
}

.search-bar__results ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-bar__results a {
  display: block;
  padding: 10px 4px;
  border-top: 1px solid #e5e5e5;
  color: #202124;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.search-bar__results p {
  margin: 0;
  padding: 10px 4px 4px;
  border-top: 1px solid #e5e5e5;
  color: #5a5a5a;
  font-size: 14px;
}

/* Shop grid — compact two-column, full-bleed covers */
.main {
  flex: 0 0 auto;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 16px 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 18px;
  align-items: start;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card__image-link {
  display: block;
}

.product-card__image-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}

.product-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__title {
  margin: 10px 0 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  min-height: calc(1.4em * 3);
  overflow-wrap: break-word;
  word-break: normal;
}

.product-card__title a {
  font: inherit;
  color: inherit;
}

.product-card__price {
  margin: 0;
  font-family: "Inter", var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #686868;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Product detail */
.pdp {
  width: 100%;
  font-family: "Inter", var(--sans);
  color: #202124;
}

.pdp__hero {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
  max-height: 310px;
  width: 100%;
}

.pdp__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  gap: 10px;
  margin: 12px 0 24px;
  justify-content: start;
}

.pdp__thumb {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: var(--radius-thumb);
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 0;
}

.pdp__thumb.is-active {
  outline-color: var(--yellow-banner);
}

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

.pdp__title {
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
  font-family: "Inter", var(--sans);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.32;
  color: #202124;
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.pdp__price {
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  font-family: "Inter", var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: #686868;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.pdp .btn--buy {
  display: flex;
  width: 100%;
  min-height: 56px;
  height: 56px;
  margin: 0 0 28px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f0441e;
  color: #fff;
  font-family: "Inter", var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.pdp .btn--buy:hover {
  background: #d63b1a;
}

.btn--buy {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f0441e;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 28px;
}

.btn--buy:hover {
  background: #d63b1a;
}

.btn--primary {
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--charcoal);
  color: #fff;
  font-size: 14px;
}

.pdp__description {
  margin: 0;
  padding: 28px 0 8px;
  border-top: 1px solid #e5e5e5;
}

.pdp__description h2 {
  margin: 0 0 12px;
  font-family: "Inter", var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #202124;
}

.pdp__description p {
  margin: 0;
  font-family: "Inter", var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #3c4043;
  max-width: none;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

/* Simple pages */
.page-simple {
  padding-top: 8px;
  padding-bottom: 8px;
}

.page-simple h1 {
  font-size: 24px;
  margin: 0 0 14px;
  font-weight: 700;
}

.page-simple p,
.page-simple dl {
  color: var(--text-muted);
  font-size: 14px;
}

.page-simple h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
  letter-spacing: -0.01em;
}

.page-simple .legal-meta {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-simple h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 6px;
}

.page-simple ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
  color: var(--text-muted);
  font-size: 14px;
}

.page-simple li {
  margin: 4px 0;
  line-height: 1.55;
}

.faq dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 14px;
}

.faq dd {
  margin: 4px 0 0;
}

/* Help & Support */
.help-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--header-h) - 280px);
  background: #fff;
  margin: -12px -16px -28px;
  padding: 72px 24px 88px;
  font-family: var(--sans);
  text-align: center;
}

.help-page__inner {
  width: 100%;
  max-width: 22.5rem;
}

.help-page__title {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0b0b0b;
}

.help-page__lede {
  margin: 0 0 28px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #5f5f5f;
}

.help-page__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #f0441e;
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}

.help-page__note {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #8a8a8a;
}

@media (min-width: 720px) {
  .help-page {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    padding: 96px 24px;
  }

  .help-page__title {
    font-size: 32px;
  }
}

/* Contact */
.contact-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--header-h) - 280px);
  background: #fff;
  margin: -12px -16px -28px;
  padding: 80px 24px 96px;
  font-family: var(--sans);
  color: #202124;
}

.contact-page__inner {
  width: 100%;
  max-width: 28rem;
}

.contact-page__title {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0b0b0b;
}

.contact-page__lede {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #5f5f5f;
}

.contact-page__rule {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.contact-page__section {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #0b0b0b;
}

.contact-page__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #0b0b0b;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.contact-page__email:hover {
  color: #f0441e;
}

.contact-page__email-mark {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

@media (min-width: 720px) {
  .contact-page {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    padding: 96px 24px 112px;
  }

  .contact-page__title {
    font-size: 32px;
  }
}

.account-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.account-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
}

.account-form input,
.account-form textarea {
  padding: 11px;
  border: 1px solid #d8d4cf;
  border-radius: 8px;
  background: #fff;
}

/* Site footer */
.site-footer {
  flex: 0 0 auto;
  background: #0b0b0b;
  color: #fff;
  padding: 40px 22px 28px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: 430px;
  margin: 0 auto;
}

.site-footer__logo {
  font-size: 26px;
  letter-spacing: 0.18em;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__links--legal a {
  color: #b3b3b3;
  font-size: 13px;
}

.site-footer__bar {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .locale-row {
  margin-top: 0;
  padding-top: 0;
}

/* Tablet */
@media (min-width: 720px) {
  .site-header {
    padding: 0 20px;
  }

  .main,
  .site-footer__inner,
  .search-bar__field,
  .search-bar__results {
    max-width: 720px;
  }

  .main {
    padding: 20px 24px 40px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 24px;
  }

  .pdp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr);
    column-gap: 28px;
    align-items: start;
    max-width: none;
  }

  .pdp__hero {
    max-height: none;
  }

  .pdp__thumbs {
    margin: 12px 0 0;
  }

  .pdp__info {
    padding-top: 4px;
  }

  .pdp .btn--buy {
    margin-bottom: 28px;
  }

  .site-footer {
    padding: 44px 24px 32px;
  }
}

/* Desktop */
@media (min-width: 1100px) {
  .site-header {
    padding: 0 32px;
  }

  .main,
  .site-footer__inner,
  .search-bar__field,
  .search-bar__results {
    max-width: 1120px;
  }

  .main {
    padding: 28px 32px 56px;
  }

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

  .pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    column-gap: 48px;
    align-items: start;
    max-width: none;
  }

  .pdp__hero {
    max-height: none;
  }

  .pdp__thumbs {
    margin: 14px 0 0;
  }

  .pdp__info {
    padding-top: 8px;
  }

  .pdp .btn--buy {
    width: 290px;
    max-width: 100%;
    margin-bottom: 32px;
  }

  .site-footer {
    padding: 48px 32px 36px;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
