/*
 * Atelier: evening and festive wear after Stiletto. A warm paper page,
 * near-black text, large tight capital headings, rounded photos, small bold
 * rounded buttons, black bars with pale lime type, a maroon feature band.
 * Phone first (390px).
 */

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: clip;
}

:lang(bn) body {
  font-size: 15px;
  line-height: 1.75;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.2;
}

:lang(bn) h1,
:lang(bn) h2,
:lang(bn) h3 {
  line-height: 1.45;
}

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

.skip-link:focus {
  position: fixed !important;
  top: 8px;
  left: 8px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--color-background);
}

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

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 16px;
}

.page-width--narrow {
  max-width: 760px;
}

@media (min-width: 750px) {
  .page-width {
    padding: 0 40px;
  }
}

.section {
  padding: 48px 0;
}

/* ---------- Price, quantity, pagination (core snippets) ---------- */

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

.price--large {
  font-size: 18px;
}

.price__compare {
  font-size: 0.85em;
  opacity: 0.5;
}

.price--on-sale .price__sale {
  color: var(--color-sale);
}

.price__savings {
  flex-basis: 100%;
  color: var(--color-sale);
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-sale);
  color: #fff;
  font-size: 12px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.2);
}

.quantity__button {
  width: 42px;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
}

.quantity__button .icon {
  width: 14px;
  height: 14px;
  margin: 0 auto;
}

.quantity__input {
  width: 36px;
  border: 0;
  background: none;
  text-align: center;
  -moz-appearance: textfield;
}

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

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  text-decoration: none;
}

.pagination .pagination__current {
  border-bottom: 2px solid currentColor;
  font-weight: 600;
}

/* ---------- Drawers, sheet ---------- */

.drawer > summary {
  list-style: none;
}

.drawer > summary::-webkit-details-marker {
  display: none;
}

.drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
}

.drawer__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: min(400px, 90vw);
  background: #fff;
  color: #1f1f1f;
  overflow-y: auto;
  animation: drawer-in-left 0.25s ease;
}

.drawer__panel--left {
  left: 0;
}

.drawer__panel--right {
  right: 0;
  animation-name: drawer-in-right;
}

details.drawer:not([open]) .drawer__panel,
details.drawer:not([open]) .drawer__overlay {
  display: none;
}

.is-closing .drawer__panel,
.is-closing .drawer__overlay {
  opacity: 0;
  transition: opacity 0.2s ease;
}

@keyframes drawer-in-left {
  from {
    transform: translateX(-100%);
  }
}

@keyframes drawer-in-right {
  from {
    transform: translateX(100%);
  }
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.drawer__title {
  font-family: var(--font-heading);
  font-size: 18px;
}

.drawer__count {
  font-size: 14px;
  opacity: 0.6;
}

.drawer-search {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
}

.drawer-search .icon {
  position: absolute;
  left: 0;
  opacity: 0.5;
}

.drawer-search input {
  width: 100%;
  height: 44px;
  padding: 0 0 0 30px;
  border: 0;
  background: none;
}

.drawer-search input:focus {
  outline: none;
}

.menu-drawer__list,
.menu-drawer__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

:lang(en) .menu-drawer__link {
  text-transform: uppercase;
}

:lang(bn) .menu-drawer__link {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.menu-drawer__link::-webkit-details-marker {
  display: none;
}

.menu-drawer__link .icon {
  width: 16px;
  height: 16px;
}

.menu-drawer__sublist a {
  display: block;
  padding: 10px 20px 10px 32px;
  text-decoration: none;
}

.menu-drawer__footer {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 16px 20px 24px;
}

.menu-drawer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
}

.menu-drawer__language {
  margin-bottom: 8px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.cart-drawer .drawer__overlay {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer .drawer__panel {
  width: min(420px, 92vw);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  animation: none;
}

.cart-drawer.is-open .drawer__overlay {
  opacity: 1;
}

.cart-drawer.is-open .drawer__panel {
  transform: none;
}

.cart-drawer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 20px 20px;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
}

.sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  padding: 22px 18px 24px;
  overflow-y: auto;
  background: #fff;
  color: #1f1f1f;
  animation: sheet-in 0.25s ease;
}

@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
}

.sheet__close {
  position: absolute;
  top: 6px;
  right: 6px;
}

@media (min-width: 750px) {
  .sheet__panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: 480px;
    transform: translate(-50%, -50%);
    animation: none;
  }
}

.quick-buy__head {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-right: 32px;
}

.quick-buy__image {
  width: 96px;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

.quick-buy__title {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.3;
}

.quick-buy__head .text-link {
  margin-top: 8px;
}

/* ---------- Pages, FAQ, contact ---------- */

.rich-text {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.rich-text--start {
  justify-items: start;
  text-align: left;
}

.rich-text__heading {
  font-size: calc(28px * var(--heading-scale));
}

.page__title {
  margin-bottom: 24px;
  font-size: calc(30px * var(--heading-scale));
}

.page__title--center {
  text-align: center;
}

.contact {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact__text {
  text-align: center;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.12);
  text-decoration: none;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(var(--color-foreground-rgb), 0.06);
}

.contact__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

:lang(en) .contact__label {
  text-transform: uppercase;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form .icon {
  position: absolute;
  left: 14px;
  opacity: 0.5;
}

.search-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.2);
  background: var(--color-background);
}

.search-form--page {
  max-width: 560px;
  margin: 0 auto 24px;
}

.search__count {
  margin-bottom: 18px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.not-found {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.not-found .search-form--page {
  width: 100%;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 0;
  text-align: center;
}

.empty .icon {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* ---------- Cart lines ---------- */

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

.line {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.line__media {
  flex-shrink: 0;
  width: 84px;
  background: #f1f1f1;
}

.line__media img {
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

.line__details {
  display: grid;
  flex: 1;
  gap: 4px;
  align-content: start;
  min-width: 0;
}

.line__origin {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.line__title {
  font-weight: 500;
  text-decoration: none;
}

.line__variant {
  font-size: 13px;
  opacity: 0.7;
}

.line__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.line__bottom .quantity {
  height: 38px;
}

.line__bottom .quantity__button {
  width: 34px;
}

.line__price {
  display: grid;
  justify-items: end;
  font-weight: 500;
}

.line__saved {
  color: var(--color-sale);
  font-size: 12px;
}

.line__remove {
  justify-self: start;
  font-size: 12px;
  opacity: 0.6;
}

.summary {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.summary__saved {
  color: var(--color-sale);
  font-size: 14px;
}

.summary__note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f5f5f5;
  font-size: 14px;
}

.summary form {
  margin: 0;
}

/* ---------- Scroll reveal, reduced motion ---------- */

.has-animations [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.has-animations [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .has-animations [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Atelier's look (Stiletto) ---------- */

/*
 * Stiletto's language, measured from its demo: paper page #f8f7f3, text
 * #111; a wide display face in tight capitals for headings and product
 * names; a plain sans for body text; photos with 6px corners on #f5f5f5;
 * buttons with 8px corners in small bold spaced capitals; black bars
 * (announcement, ticker, footer) with pale lime #ebf2c9 type; a maroon
 * band and a sand box for the offer.
 */

:root {
  --ink: #111111;
  --paper: #f8f7f3;
  --lime: #ebf2c9;
  --lime-soft: #f3f7df;
}

body {
  font-size: 15px;
  letter-spacing: -0.015em;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

:lang(en) :is(h1, h2) {
  text-transform: uppercase;
}

:lang(bn) :is(h1, h2, h3) {
  line-height: 1.35;
}

.section {
  padding: 48px 0;
}

.rte > * + * {
  margin-top: 12px;
}

.rte ul,
.rte ol {
  padding-left: 20px;
}

.rte table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rte th,
.rte td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(var(--color-foreground-rgb), 0.15);
  text-align: left;
}

.rte h3 {
  margin-top: 24px;
  font-size: 18px;
}

.rte a,
.text-link {
  color: var(--color-accent);
}

.text-link {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid var(--color-button);
  border-radius: 8px;
  background: var(--color-button);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

:lang(en) .button {
  text-transform: uppercase;
}

:lang(bn) .button {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.button:hover {
  opacity: 0.85;
}

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

.button--small {
  min-height: 34px;
  padding: 5px 14px;
  font-size: 13px;
}

.button--full {
  width: 100%;
}

.button--outline {
  background: transparent;
  color: var(--color-foreground);
  border-color: rgba(var(--color-foreground-rgb), 0.6);
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button--ghost {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.button--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  list-style: none;
}

.icon-button::-webkit-details-marker {
  display: none;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-busy .spinner,
.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Section heading ---------- */

.head {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-bottom: 24px;
}

.head__title {
  font-size: calc(30px * var(--heading-scale));
}

@media (min-width: 750px) {
  .head__title {
    font-size: calc(40px * var(--heading-scale));
  }
}

/* ---------- Countdown ---------- */

.countdown {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.countdown__part {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.countdown__part strong {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.countdown__part small {
  font-size: 10px;
  letter-spacing: 0.1em;
}

:lang(en) .countdown__part small {
  text-transform: uppercase;
}

.countdown__sep {
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: currentColor;
  color: transparent;
  opacity: 0.35;
}

.countdown--small .countdown__part strong {
  font-size: 14px;
}

/* ---------- Announcement ---------- */

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
}

.announcement__items {
  display: grid;
  min-width: 0;
  text-align: center;
}

.announcement__item {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.announcement__item.is-active {
  opacity: 1;
}

.announcement__item:not(.is-active) {
  visibility: hidden;
}

.announcement__item a {
  text-decoration: none;
}

.announcement__arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(90deg);
}

.announcement__arrow--next {
  transform: rotate(-90deg);
}

.announcement__arrow .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-background);
  border-bottom: 1px solid rgba(var(--color-foreground-rgb), 0.12);
}

.header--overlay {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  border-bottom-color: transparent;
  background: transparent;
  color: var(--paper);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  min-height: 60px;
}

.menu-drawer {
  margin-left: -10px;
}

.header__logo {
  min-width: 0;
  text-decoration: none;
}

.header__logo-image {
  width: var(--logo-width);
  max-height: 46px;
  object-fit: contain;
}

.header__shop-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.04em;
}

:lang(en) .header__shop-name {
  text-transform: uppercase;
}

.header__nav,
.header__language,
.header__account {
  display: none;
}

.header__icons {
  display: flex;
  align-items: center;
  margin-right: -10px;
}

.header__cart {
  position: relative;
}

.header__cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-foreground);
  color: var(--color-background);
  font-size: 10px;
  line-height: 1;
}

.header__cart-count.is-bumped {
  animation: bump 0.4s ease;
}

@keyframes bump {
  50% {
    transform: scale(1.3);
  }
}

.language-toggle {
  min-height: 30px;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: none;
  font-size: 12px;
  cursor: pointer;
}

@media (min-width: 990px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    min-height: 72px;
  }

  .menu-drawer {
    display: none;
  }

  .header__nav {
    display: block;
    justify-self: center;
  }

  .header__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
  }

  :lang(en) .header__link {
    text-transform: uppercase;
  }

  .header__link::-webkit-details-marker {
    display: none;
  }

  .header__link .icon {
    width: 14px;
    height: 14px;
  }

  .header__link:hover,
  .header__link[aria-current] {
    color: var(--color-accent);
  }

  .header__dropdown {
    position: relative;
  }

  .header__submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: -20px;
    min-width: 210px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    background: var(--paper);
    color: var(--ink);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }

  .header__submenu a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
  }

  .header__language,
  .header__account {
    display: inline-flex;
  }

  .header__language {
    margin-right: 6px;
  }
}

.drawer__panel {
  background: var(--paper);
  color: var(--ink);
}

.drawer__header {
  border-bottom-color: rgba(17, 17, 17, 0.12);
}

.menu-drawer__list,
.menu-drawer__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

:lang(en) .menu-drawer__link {
  text-transform: uppercase;
}

.menu-drawer__link::-webkit-details-marker {
  display: none;
}

.menu-drawer__group[open] > .menu-drawer__link .icon {
  transform: rotate(45deg);
}

.menu-drawer__sublist a {
  display: block;
  padding: 10px 20px 10px 32px;
  text-decoration: none;
}

.menu-drawer__footer {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 16px 20px 24px;
}

.menu-drawer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
}

.menu-drawer__language {
  margin-bottom: 8px;
}

.sheet__panel,
.cart-drawer .drawer__panel {
  background: var(--paper);
  color: var(--ink);
}

.line {
  border-bottom-color: rgba(17, 17, 17, 0.12);
}

.summary__note {
  border-radius: 6px;
  background: #efe9dd;
}

/* ---------- Floating product card ---------- */

.float-card {
  display: flex;
  gap: 14px;
  width: min(300px, calc(100% - 32px));
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.float-card__image {
  width: 84px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.float-card__info {
  display: grid;
  gap: 4px;
  align-content: start;
  font-size: 13px;
}

.float-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
}

:lang(en) .float-card__title {
  text-transform: uppercase;
}

.float-card__link {
  justify-self: start;
  margin-top: 4px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92vh;
  color: var(--paper);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0.4)
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-top: 96px;
}

.hero__heading {
  max-width: 10ch;
  font-size: calc(46px * var(--heading-scale));
}

:lang(bn) .hero__heading {
  max-width: 14ch;
}

.hero__text {
  max-width: 36ch;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.float-card--hero {
  position: relative;
  z-index: 2;
  margin: auto 16px 24px auto;
}

@media (min-width: 750px) {
  .hero__heading {
    font-size: calc(78px * var(--heading-scale));
  }

  .float-card--hero {
    position: absolute;
    right: 32px;
    bottom: 32px;
    margin: 0;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-heading);
  font-size: 22px;
  white-space: nowrap;
}

:lang(en) .marquee__group {
  text-transform: uppercase;
}

.marquee__mark {
  font-size: 12px;
  color: var(--color-accent);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Statement ---------- */

.statement {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.statement__label {
  font-size: 15px;
}

.statement__text {
  font-family: var(--font-heading);
  font-size: calc(26px * var(--heading-scale));
  line-height: 1.12;
}

:lang(en) .statement__text {
  text-transform: uppercase;
}

@media (min-width: 750px) {
  .statement__text {
    max-width: 24ch;
    font-size: calc(42px * var(--heading-scale));
  }
}

/* ---------- Rows ---------- */

.rail {
  position: relative;
}

.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 66%;
  gap: 14px;
  margin: 0 -16px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  list-style: none;
}

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

.rail__item {
  scroll-snap-align: start;
}

.rail__arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.rail__arrow--prev {
  left: -10px;
}

.rail__arrow--prev .icon {
  transform: rotate(180deg);
}

.rail__arrow--next {
  right: -10px;
}

.rail__arrow:disabled {
  opacity: 0.3;
}

@media (min-width: 750px) {
  .rail__track {
    grid-auto-columns: calc((100% - 28px) / 3);
    margin: 0;
    padding: 0;
    scroll-padding: 0;
  }
}

@media (min-width: 990px) {
  .rail__track {
    grid-auto-columns: calc((100% - 48px) / 4.2);
    gap: 16px;
  }

  .rail__arrow {
    display: grid;
  }
}

/* ---------- Category cards ---------- */

.category {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
}

.category__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category:hover .category__image {
  transform: scale(1.04);
}

.category__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: -0.01em;
}

:lang(en) .category__bar {
  text-transform: uppercase;
}

.category__bar .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Countdown box ---------- */

.countbox {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
}

.countbox__title {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.06em;
}

:lang(en) .countbox__title {
  text-transform: uppercase;
}

.countbox__text {
  font-size: 14px;
}

@media (min-width: 990px) {
  .countbox {
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 22px 48px;
    text-align: left;
  }
}

/* ---------- Feature block ---------- */

.feature {
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  color: #111;
}

.feature__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature__text {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 20px 36px;
  text-align: center;
  align-content: center;
}

.feature__label {
  font-size: 11px;
  letter-spacing: 0.16em;
}

:lang(en) .feature__label {
  text-transform: uppercase;
}

.feature__heading {
  font-size: calc(34px * var(--heading-scale));
}

.feature__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.feature__buttons .text-link {
  color: #111;
}

.feature__rail {
  margin-top: 28px;
}

@media (min-width: 750px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }

  .feature__image {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .feature__heading {
    font-size: calc(52px * var(--heading-scale));
  }
}

/* ---------- Banner with card ---------- */

.bannercard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  color: var(--paper);
}

.bannercard__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bannercard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.bannercard__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-top: 40px;
}

.bannercard--end .bannercard__content {
  justify-items: end;
  text-align: right;
}

.bannercard__heading {
  font-size: calc(48px * var(--heading-scale));
}

.bannercard__text {
  max-width: 36ch;
}

.float-card--banner {
  position: relative;
  z-index: 2;
  margin: auto auto 24px 16px;
}

@media (min-width: 750px) {
  .bannercard__heading {
    font-size: calc(80px * var(--heading-scale));
  }

  .float-card--banner {
    position: absolute;
    left: 32px;
    bottom: 32px;
    margin: 0;
  }
}

/* ---------- Sale split ---------- */

.salesplit {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  background: #1c1c1c;
  color: var(--lime-soft);
}

.salesplit__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(1);
}

.salesplit__left,
.salesplit__right {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  align-content: center;
  padding: 28px 24px;
}

.salesplit__small {
  font-family: var(--font-heading);
  font-size: 20px;
}

.salesplit__big {
  font-family: var(--font-heading);
  font-size: calc(64px * var(--heading-scale));
  line-height: 0.95;
}

:lang(en) :is(.salesplit__small, .salesplit__big) {
  text-transform: uppercase;
}

.salesplit__note {
  font-size: 14px;
  opacity: 0.8;
}

.salesplit__heading {
  font-size: calc(40px * var(--heading-scale));
}

@media (min-width: 750px) {
  .salesplit {
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
  }

  .salesplit__right {
    border-left: 1px solid rgba(243, 247, 223, 0.4);
  }

  .salesplit__big {
    font-size: calc(96px * var(--heading-scale));
  }

  .salesplit__heading {
    font-size: calc(56px * var(--heading-scale));
  }

  .salesplit__left,
  .salesplit__right {
    padding: 40px 56px;
  }
}

/* ---------- Recreate the look ---------- */

.look {
  display: grid;
  gap: 28px;
}

.look__photo {
  position: relative;
}

.look__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.look__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  padding: 0;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.4);
  cursor: pointer;
}

.look__side {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.look__heading {
  font-size: calc(32px * var(--heading-scale));
}

.look__slider {
  display: flex;
  align-items: center;
  gap: 6px;
}

.look__slider .icon-button:first-child .icon {
  transform: rotate(90deg);
}

.look__slider .icon-button:last-child .icon {
  transform: rotate(-90deg);
}

.look__cards {
  display: grid;
  width: min(240px, 60vw);
  margin: 0;
  padding: 0;
  list-style: none;
}

.look__card {
  grid-area: 1 / 1;
  padding: 10px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.3);
  border-radius: 8px;
  visibility: hidden;
}

.look__card.is-active {
  visibility: visible;
}

.look__count {
  font-size: 12px;
  opacity: 0.7;
}

@media (min-width: 990px) {
  .look {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
  }

  .look__heading {
    font-size: calc(44px * var(--heading-scale));
  }
}

/* ---------- Product card ---------- */

.card {
  position: relative;
  text-align: center;
}

.card__media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
}

.card__image-link {
  display: block;
}

.card__image {
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.card__image--second {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
}

@media (hover: hover) {
  .card:hover .card__image--second {
    opacity: 1;
  }
}

.card__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.card__flag--sale {
  background: var(--color-sale);
  color: #fff;
}

/* On the maroon band sale prices turn a light rose to stay readable. */
.color-scheme-4 {
  --color-sale: #f2c4b5;
}

.color-scheme-4 .card__flag--sale {
  color: var(--ink);
}

.card__quick-form {
  margin: 0;
}

.card__quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: rgba(248, 247, 243, 0.94);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
  cursor: pointer;
  width: calc(100% - 20px);
}

:lang(en) .card__quick {
  text-transform: uppercase;
}

@media (hover: hover) {
  .card__quick {
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .card:hover .card__quick,
  .card__quick:focus-visible {
    opacity: 1;
  }
}

.card__info {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding-top: 12px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.35;
  text-transform: none;
}

.card__link {
  text-decoration: none;
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card .price {
  justify-content: center;
  font-size: 14px;
}

@media (min-width: 750px) {
  .card__title {
    font-size: 17px;
  }

  .card .price {
    font-size: 15px;
  }
}

.card__options {
  font-size: 12px;
  opacity: 0.6;
}

/* ---------- Grid ---------- */

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

.grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 750px) {
  .grid,
  .grid.is-single {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .grid,
  .grid.is-single {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 18px;
  }
}

/* ---------- Collection page ---------- */

.collection__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.collection__title {
  font-size: calc(40px * var(--heading-scale));
}

.collection__count {
  font-size: 13px;
  opacity: 0.65;
}

.collection__description {
  max-width: 640px;
  margin-top: 10px;
  opacity: 0.8;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 24px;
  padding: 12px 0;
  border-block: 1px solid rgba(var(--color-foreground-rgb), 0.15);
}

.toolbar__links {
  display: flex;
  flex: 1;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}

.toolbar__links a {
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.75;
}

.toolbar__links [aria-current] {
  color: var(--color-accent);
  opacity: 1;
}

.toolbar__sort {
  flex-shrink: 0;
  margin-left: auto;
}

.toolbar select {
  max-width: 140px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.3);
  border-radius: 4px;
  background: var(--color-background);
  font-size: 13px;
}

@media (min-width: 750px) {
  .collection__title {
    font-size: calc(64px * var(--heading-scale));
  }
}

.grid--collections {
  gap: 24px 12px;
}

.collection-card {
  display: block;
  text-decoration: none;
  text-align: center;
}

.collection-card__media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.collection-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.collection-card__title {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
}

:lang(en) .collection-card__title {
  text-transform: uppercase;
}

.collection-card__count {
  display: block;
  font-size: 12px;
  opacity: 0.6;
}

/* ---------- Product page ---------- */

.product {
  padding-top: 20px;
}

.product__grid {
  display: grid;
  gap: 24px;
}

.product__media {
  min-width: 0;
}

.gallery {
  display: flex;
  gap: 8px;
  margin: 0 -16px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
}

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

.gallery__item {
  flex: 0 0 88%;
  scroll-snap-align: start;
}

.gallery__item:only-child {
  flex-basis: 100%;
}

.gallery__image {
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
  border-radius: 6px;
}

.product__info {
  min-width: 0;
}

.product__form {
  display: grid;
  gap: 20px;
}

.product__title {
  font-size: calc(36px * var(--heading-scale));
}

.product__vendor {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.6;
}

.product__price {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--color-foreground-rgb), 0.15);
}

.picker {
  display: grid;
  gap: 18px;
}

.picker__group {
  margin: 0;
  padding: 0;
  border: 0;
}

.picker__legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
}

.picker__value {
  opacity: 0.65;
}

.picker__guide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.picker__guide .icon {
  width: 16px;
  height: 16px;
}

.picker__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.picker__box {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.35);
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.picker__input:checked + .picker__box {
  border-color: var(--color-foreground);
  box-shadow: inset 0 0 0 1px var(--color-foreground);
}

/* Square swatches (Stiletto). */
.picker__swatch {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--swatch, #ccc);
  box-shadow:
    0 0 0 3px var(--color-background),
    0 0 0 4px rgba(var(--color-foreground-rgb), 0.3);
  cursor: pointer;
}

.picker__input:checked + .picker__swatch {
  box-shadow:
    0 0 0 3px var(--color-background),
    0 0 0 4px var(--color-foreground);
}

.picker__input:focus-visible + label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.is-unavailable {
  opacity: 0.4;
  text-decoration: line-through;
}

.buy {
  display: grid;
  gap: 10px;
}

.buy__quantity {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.buy__label {
  font-size: 13px;
}

.buy .quantity {
  border-radius: 4px;
}

.buy__price {
  letter-spacing: 0.04em;
}

.buy__error {
  color: var(--color-sale);
  font-size: 14px;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fc58f;
  font-size: 13px;
}

.stock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.stock--low {
  color: var(--color-sale);
}

.product__note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.3);
  border-radius: 6px;
  font-size: 13px;
}

.notice strong {
  letter-spacing: 0.04em;
}

:lang(en) .notice strong {
  text-transform: uppercase;
}

.facts {
  margin: 0;
  padding: 4px 14px;
  border: 1px solid rgba(var(--color-foreground-rgb), 0.3);
  border-radius: 6px;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
}

.facts li + li {
  border-top: 1px solid rgba(var(--color-foreground-rgb), 0.15);
}

.facts .icon {
  width: 22px;
  height: 22px;
}

.details {
  margin-top: 48px;
  padding: 24px 0 40px;
}

.accordion {
  border-bottom: 1px solid rgba(var(--color-foreground-rgb), 0.2);
}

.accordion:first-child {
  border-top: 1px solid rgba(var(--color-foreground-rgb), 0.2);
}

.accordion__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 20px;
  cursor: pointer;
  list-style: none;
}

:lang(en) .accordion__title {
  text-transform: uppercase;
}

.accordion__title::-webkit-details-marker {
  display: none;
}

.accordion[open] .accordion__title .icon {
  transform: rotate(45deg);
}

.accordion__body {
  padding-bottom: 20px;
  opacity: 0.85;
}

.size-guide__body {
  padding: 20px;
}

@media (min-width: 990px) {
  .product {
    padding-top: 32px;
  }

  .product__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .gallery {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .product__info {
    position: sticky;
    top: 96px;
  }

  .product__title {
    font-size: calc(48px * var(--heading-scale));
  }
}

/* ---------- About band ---------- */

.about {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about__text {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.about__label {
  font-size: 14px;
  letter-spacing: 0.045em;
}

:lang(en) .about__label {
  text-transform: uppercase;
}

.about__heading {
  font-size: calc(26px * var(--heading-scale));
}

.about__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

@media (min-width: 750px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .about__heading {
    font-size: calc(34px * var(--heading-scale));
  }

  .about__image {
    aspect-ratio: 1 / 1;
  }
}

/* ---------- Promises band ---------- */

.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0 auto;
  list-style: none;
}

.promise {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.promise .icon {
  width: 18px;
  height: 18px;
}

.promise__title {
  font-size: 17px;
  line-height: 1.1;
}

:lang(en) .promise__title {
  text-transform: uppercase;
}

.promise__text {
  max-width: 30ch;
  font-size: 14px;
}

@media (min-width: 990px) {
  .promises {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .promise__title {
    font-size: 20px;
  }
}

/* ---------- Footer: black band, pale lime type ---------- */

.footer {
  font-size: 14px;
}

.footer__grid {
  display: grid;
  gap: 36px;
}

.footer__brand {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

:lang(en) .footer__logo {
  text-transform: uppercase;
}

.footer__about {
  max-width: 40ch;
  font-size: 14px;
}

.footer__menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

.footer__heading {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

:lang(en) .footer__heading {
  text-transform: uppercase;
}

.footer__menu ul,
.footer__payments,
.footer__social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__menu ul {
  display: grid;
  gap: 8px;
}

.footer__menu a,
.footer__credits a {
  color: rgba(var(--color-foreground-rgb), 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__menu a:hover,
.footer__credits a:hover {
  color: var(--color-foreground);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social .icon {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  font-size: 12px;
}

.footer__credits {
  display: grid;
  justify-items: start;
  gap: 10px;
  color: rgba(var(--color-foreground-rgb), 0.7);
}

.footer__credits p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.footer .language-toggle {
  border-color: rgba(var(--color-foreground-rgb), 0.4);
  border-radius: 6px;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__payments li {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--color-foreground);
  color: var(--color-background);
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 750px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .footer__logo {
    font-size: 56px;
  }

  .footer__menus {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-self: end;
    width: min(100%, 520px);
  }

  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: end;
    margin-top: 72px;
  }
}

/* ---------- Photos fit the screen ---------- */

/*
 * A photo that sets its section's height never makes the section taller
 * than the screen; it is cropped to fit instead.
 */
@media (min-width: 750px) {
  .feature__image,
  .look__image {
    max-height: max(480px, calc(100svh - 120px));
    object-fit: cover;
  }
}

/* ---------- Sticky header ---------- */

/*
 * The header's section is what sticks: the header sits inside it at exactly
 * its height, so making the header itself sticky does nothing.
 */
.section-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Clear over the home photo; solid once the page scrolls. */
.header--overlay.is-scrolled {
  border-bottom-color: rgba(var(--color-foreground-rgb), 0.1);
  background: var(--color-background);
  color: var(--color-foreground);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header--overlay.is-scrolled .header__cart-count {
  background: var(--color-foreground);
  color: var(--color-background);
}
