:root {
  color-scheme: light;
  --paper: #f6f1e9;
  --linen: #fbf8f2;
  --warm: #e7d7c2;
  --stone: #c9c2b7;
  --ash: #77736c;
  --graphite: #2b2925;
  --ink: #181715;
  --sage: #7c846f;
  --clay: #b98464;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(37, 34, 29, 0.16);
  --line: rgba(43, 41, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

body.recovery-popup-open {
  overflow: hidden;
}

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

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

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

strong,
b {
  font-weight: 600;
}

.free-shipping-strip,
.site-promo-strip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  display: grid;
  place-items: center;
  min-height: var(--site-promo-height, 40px);
  padding: 9px 18px;
  color: #fffdf8;
  background: #2f6d50;
  box-shadow: 0 10px 28px rgba(37, 34, 29, 0.14);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.free-shipping-strip {
  z-index: 61;
  min-height: var(--free-shipping-height, 40px);
}

.site-promo-strip {
  top: var(--free-shipping-offset, 0px);
}

.free-shipping-strip[hidden],
.site-promo-strip[hidden] {
  display: none;
}

.has-free-shipping-promo {
  --free-shipping-offset: var(--free-shipping-height, 40px);
  --fixed-strips-offset: var(--free-shipping-height, 40px);
  padding-top: var(--fixed-strips-offset);
}

.has-site-promo {
  --fixed-strips-offset: var(--site-promo-height, 40px);
  padding-top: var(--fixed-strips-offset);
}

.has-free-shipping-promo.has-site-promo {
  --fixed-strips-offset: calc(var(--free-shipping-height, 40px) + var(--site-promo-height, 40px));
}

.has-free-shipping-promo .site-header,
.has-site-promo .site-header {
  top: var(--fixed-strips-offset, 0px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  background: rgba(246, 241, 233, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 5px 12px 5px 7px;
  border: 1px solid rgba(117, 97, 74, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 12px 30px rgba(43, 41, 37, 0.08);
  white-space: nowrap;
}

.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  background: #f7efe1;
  filter:
    drop-shadow(0 1px 0 rgba(255, 253, 248, 0.8))
    drop-shadow(0 1px 2px rgba(24, 23, 21, 0.28));
}

.brand-lockup {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #1f1d19;
}

.brand-subtitle {
  color: #6b553d;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #4d4942;
  font-size: 0.95rem;
}

.site-nav a,
.footer-links a {
  position: relative;
}

.site-nav .account-nav-link {
  color: #221f1a;
  font-weight: 600;
}

.site-nav a::after,
.footer-links a::after {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

.cart-button,
.button,
.filter,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(43, 41, 37, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
}

.cart-button strong {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--graphite);
  font-size: 0.78rem;
}

.cart-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  position: relative;
}

.cart-icon::before {
  position: absolute;
  inset: -7px 3px auto;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  position: relative;
}

.site-header .menu-toggle {
  display: none;
}

.icon-button span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle span:first-child,
.dialog-close span:first-child,
.drawer-head .icon-button span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child,
.dialog-close span:last-child,
.drawer-head .icon-button span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  width: 100%;
  height: clamp(420px, 36vw, 620px);
  aspect-ratio: auto;
  min-height: 0;
  overflow: hidden;
  background: #d7ccbf;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center);
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 6200ms ease;
}

.hero-slide[data-hero-fit="contain"] {
  background-color: #d7ccbf;
  transform: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.hero-slide[data-hero-fit="contain"].is-active {
  transform: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 23, 21, 0.74), rgba(24, 23, 21, 0.2) 48%, rgba(24, 23, 21, 0.08)),
    linear-gradient(0deg, rgba(24, 23, 21, 0.34), transparent 46%);
}

.hero--contained-slide .hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 23, 21, 0.2), rgba(24, 23, 21, 0.03) 46%, rgba(24, 23, 21, 0.03)),
    linear-gradient(0deg, rgba(24, 23, 21, 0.16), transparent 52%);
}

.hero-carousel-controls {
  position: absolute;
  right: 96px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f5dfbd;
}

.hero-carousel-button {
  display: grid;
  place-items: center;
  color: inherit;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 223, 189, 0.3);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
  opacity: 0.82;
  backdrop-filter: blur(10px);
  transition:
    opacity 170ms ease,
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
  border-color: rgba(245, 223, 189, 0.78);
  background: rgba(255, 253, 248, 0.14);
  opacity: 1;
  transform: translateY(-1px);
}

.hero-carousel-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-switch {
  width: 178px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.hero-switch span {
  color: rgba(245, 223, 189, 0.94);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}

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

.hero-dot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 16px;
  border-radius: 999px;
  background: transparent;
}

.hero-dot::before {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  content: "";
  border-radius: 999px;
  background: rgba(245, 223, 189, 0.36);
  transform: translateY(-50%);
  transition:
    height 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease;
}

.hero-dot.is-active,
.hero-dot:focus-visible {
  outline: none;
}

.hero-dot.is-active::before,
.hero-dot:focus-visible::before {
  height: 2px;
  background: rgba(245, 223, 189, 0.96);
  box-shadow: 0 0 14px rgba(245, 223, 189, 0.42);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 0.94;
  font-weight: 500;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  line-height: 1.06;
  font-weight: 500;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p {
  line-height: 1.7;
}

.product-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 170ms ease,
    background 170ms ease,
    color 170ms ease,
    border-color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--graphite);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.56);
  background: rgba(255, 253, 248, 0.12);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: rgba(43, 41, 37, 0.2);
  background: rgba(255, 253, 248, 0.54);
}

.button.full {
  width: 100%;
}

.promo-banner {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
}

.promo-banner[hidden] {
  display: none;
}

.promo-banner-art {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(117, 97, 74, 0.18);
  border-radius: 10px;
  background: #d7ccbf;
  box-shadow: 0 22px 54px rgba(37, 34, 29, 0.12);
  cursor: pointer;
  overflow: hidden;
}

.promo-banner-art img {
  display: block;
  width: 100%;
  height: auto;
}

.section,
.split-section,
.instagram-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.collection-section {
  padding-top: 44px;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 28px;
}

.section-heading p {
  color: #615c54;
}

.filter-bar {
  display: flex;
  gap: 10px;
  padding: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.48);
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #59534a;
  background: transparent;
  white-space: nowrap;
}

.filter.is-active {
  color: var(--white);
  background: var(--graphite);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--product-grid-columns-desktop, 3), minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--linen);
  box-shadow: 0 12px 28px rgba(37, 34, 29, 0.07);
}

.product-media-shell {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #ded3c5;
  overflow: hidden;
}

.product-media {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
}

.product-media:focus-visible {
  outline: 3px solid rgba(185, 132, 100, 0.42);
  outline-offset: -3px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-gallery-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.68);
  border-radius: 999px;
  background: rgba(43, 41, 37, 0.54);
  color: #fffdf8;
  box-shadow: 0 10px 22px rgba(24, 23, 21, 0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.product-gallery-prev {
  left: 12px;
}

.product-gallery-next {
  right: 12px;
}

.product-gallery-button span {
  display: block;
  margin-top: -2px;
  font-size: 1.55rem;
  line-height: 1;
}

.product-media-shell:hover .product-gallery-button,
.product-media-shell:focus-within .product-gallery-button {
  opacity: 1;
}

.product-gallery-button:hover,
.product-gallery-button:focus-visible {
  background: rgba(43, 41, 37, 0.82);
  opacity: 1;
}

.product-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: 999px;
  background: rgba(43, 41, 37, 0.28);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.product-gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  cursor: pointer;
}

.product-gallery-dots button.is-active {
  width: 18px;
  background: #fffdf8;
}

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  font-size: 0.74rem;
  font-weight: 600;
}

.sale-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(137, 91, 54, 0.9);
  box-shadow: 0 10px 22px rgba(37, 34, 29, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.badge.sale-badge {
  color: #fffdf8;
  background: rgba(137, 91, 54, 0.9);
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ash);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.price {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
}

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

.old-price {
  color: #b15b4a;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: line-through;
}

.payment-note,
.payment-options {
  display: block;
  margin-top: 7px;
  color: #7a5b45;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

.payment-options {
  display: grid;
  gap: 3px;
}

.product-card .payment-options {
  font-size: 0.86rem;
}

.payment-options small {
  color: #69594d;
}

.payment-options small:first-child {
  color: #2e6d50;
}

.payment-options strong {
  font-weight: 600;
}

.product-body p {
  color: #625d55;
  font-size: 0.95rem;
}

.product-actions {
  margin-top: 18px;
}

.product-actions .button {
  flex: 1 1 120px;
  min-height: 42px;
  padding-inline: 15px;
  font-size: 0.9rem;
}

.product-actions .details-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.product-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 84px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: 18px 0 60px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #ded3c5;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  max-height: 720px;
  object-fit: cover;
}

.gallery-arrow,
.gallery-thumb {
  border: 0;
  cursor: pointer;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 10px 28px rgba(37, 34, 29, 0.14);
  transform: translateY(-50%);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-arrow span {
  width: 12px;
  height: 12px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
}

.gallery-prev span {
  transform: translateX(2px) rotate(-135deg);
}

.gallery-next span {
  transform: translateX(-2px) rotate(45deg);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.gallery-thumb.is-active {
  border-color: var(--graphite);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.detail-summary {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.detail-summary h1 {
  margin-bottom: 16px;
  font-size: 4.8rem;
}

.detail-lead {
  color: #5c574f;
  font-size: 1.12rem;
}

.detail-payment-note {
  margin-top: 10px;
  font-size: 0.95rem;
}

.detail-sale-badge {
  margin-bottom: 10px;
}

.detail-actions {
  margin-top: 24px;
}

.account-callout {
  display: grid;
  gap: 6px;
  margin: 22px 0 4px;
  padding: 14px;
  border: 1px solid rgba(43, 41, 37, 0.14);
  border-radius: 8px;
  background: #fffaf1;
}

.account-callout strong {
  color: #332f29;
  font-size: 0.95rem;
}

.account-callout span {
  color: #625d55;
  font-size: 0.9rem;
  line-height: 1.45;
}

.account-callout a {
  width: fit-content;
  color: #72513d;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.deep-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.deep-copy p {
  color: #565149;
  font-size: 1.02rem;
}

.detail-specs {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: 36px;
  align-items: start;
}

.detail-specs .spec-list {
  margin: 0;
}

.catalog-grid,
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card,
.comment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.58);
  overflow: hidden;
}

.catalog-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.catalog-card:hover {
  box-shadow: 0 14px 32px rgba(37, 34, 29, 0.09);
  transform: translateY(-2px);
}

.catalog-image-shell {
  position: relative;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.catalog-sale-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  margin: 0;
}

.catalog-card span,
.catalog-card h3,
.catalog-card p {
  margin-inline: 16px;
}

.catalog-card span {
  display: block;
  margin-top: 16px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-card .catalog-sale-badge {
  display: inline-flex;
  margin: 0;
  color: #fffdf8;
  font-size: 0.78rem;
  text-transform: none;
}

.catalog-card p {
  margin-bottom: 18px;
  color: #625d55;
  font-size: 0.92rem;
}

.catalog-card .payment-note,
.catalog-card .payment-options {
  margin: 8px 16px 18px;
  font-size: 0.78rem;
}

.catalog-card .price-row {
  margin: 0 16px 6px;
}

.catalog-card .price {
  font-size: 1rem;
}

.dialog-payment-options {
  margin-top: 10px;
}

.comment-card {
  padding: 22px;
}

.comment-card p {
  margin: 0;
  color: #4f4a43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.not-found {
  min-height: 58svh;
}

.checkout-result {
  width: min(760px, calc(100% - 40px));
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 44px;
  margin: 0 auto;
  padding: 48px 0;
}

.checkout-result section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  box-shadow: var(--shadow);
}

.account-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 78px;
}

.account-page [hidden] {
  display: none !important;
}

.account-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.account-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
}

.account-hero p {
  color: #5c574f;
  font-size: 1.08rem;
}

.account-auth {
  width: min(620px, 100%);
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.account-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 18px 46px rgba(37, 34, 29, 0.08);
}

.account-card h2,
.account-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.account-card label {
  display: grid;
  gap: 7px;
  color: #3d3933;
  font-size: 0.88rem;
  font-weight: 600;
}

.account-card input,
.account-card select {
  min-width: 0;
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffdf8;
  outline: none;
}

.account-card select {
  cursor: pointer;
}

.account-card input:focus,
.account-card select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(185, 132, 100, 0.18);
}

.account-card input[readonly] {
  color: #6e675f;
  background: rgba(246, 241, 233, 0.72);
}

.account-card .password-field {
  position: relative;
  display: block;
}

.account-card .password-field input {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #6f6257;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(185, 132, 100, 0.14);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-card.is-loading-address input[name="postal_code"] {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(185, 132, 100, 0.16);
}

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

.account-grid .span-2 {
  grid-column: 1 / -1;
}

.account-dashboard {
  display: grid;
  gap: 18px;
}

.account-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.6);
}

.account-dashboard-head h2 {
  margin: 0;
  font-size: 2rem;
}

.account-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
}

.account-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #514b43;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.account-tab.is-active {
  color: var(--white);
  background: var(--graphite);
}

.account-panel {
  display: none;
}

.account-panel.is-active {
  display: block;
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

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

.order-card span,
.order-card small,
.order-list p {
  color: #686159;
}

.account-status {
  display: none;
  width: min(620px, 100%);
  margin: 0 auto 18px;
  padding: 16px 18px;
  border: 2px solid rgba(79, 104, 79, 0.28);
  border-radius: 8px;
  color: #314f35;
  background: #f5f9ef;
  box-shadow: 0 18px 42px rgba(43, 41, 37, 0.12);
  font-weight: 600;
  text-align: center;
}

.account-status:not(:empty) {
  display: block;
}

.account-status.is-error {
  border-color: rgba(138, 63, 48, 0.6);
  color: #682a22;
  background: #fff0e9;
}

.account-switch {
  margin: 0;
  color: #686159;
  font-size: 0.92rem;
  text-align: center;
}

.account-switch a {
  color: #72513d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 36px;
  align-items: start;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.custom-story > p {
  width: min(640px, 100%);
  color: #5c574f;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.process-list article,
.finish-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.54);
}

.process-list span {
  color: var(--clay);
  font-weight: 600;
}

.process-list p,
.finish-grid p {
  margin-bottom: 0;
  color: #645f57;
  font-size: 0.94rem;
}

.quote-form {
  padding: 24px;
  border: 1px solid rgba(43, 41, 37, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #4d4942;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(43, 41, 37, 0.16);
  border-radius: 8px;
  padding: 13px 12px;
  color: var(--ink);
  background: #faf6ee;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(185, 132, 100, 0.18);
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.swatch {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid rgba(43, 41, 37, 0.16);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.42);
}

.swatch.pearl {
  background: #f5eee3;
}

.swatch.sand {
  background: #d8c6aa;
}

.swatch.mineral {
  background: #a9a8a2;
}

.swatch.graphite {
  background: #4b4a45;
}

.instagram-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.instagram-section p {
  color: #5b554d;
}

.social-mosaic {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 12px;
}

.social-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.social-mosaic img:first-child {
  grid-row: span 2;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(520px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #fff;
  box-shadow: -28px 0 70px rgba(24, 23, 21, 0.16);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.drawer-open .cart-drawer {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.drawer-head .eyebrow {
  margin-bottom: 2px;
}

.drawer-step {
  display: inline-flex;
  color: #686159;
  font-size: 0.74rem;
  font-weight: 600;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  margin: 9px 0;
  padding: 0 2px;
}

.checkout-progress::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: rgba(43, 41, 37, 0.18);
}

.checkout-progress span {
  display: grid;
  place-items: center;
  gap: 4px;
  position: relative;
  color: #80786f;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
}

.checkout-progress span::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid rgba(43, 41, 37, 0.24);
  border-radius: 999px;
  background: #fff;
}

.checkout-progress span.is-active,
.checkout-progress span.is-complete {
  color: var(--ink);
}

.checkout-progress span.is-active::before,
.checkout-progress span.is-complete::before {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 5px #fff;
  background: var(--ink);
}

.drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.checkout-panel {
  display: grid;
  gap: 12px;
}

.checkout-panel[hidden] {
  display: none;
}

.cart-drawer[data-checkout-step="delivery"] .checkout-progress {
  display: none;
}

.checkout-delivery-panel {
  gap: 8px;
}

.delivery-top-stack {
  display: grid;
  gap: 8px;
}

.checkout-delivery-panel .coupon-form,
.delivery-step-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(37, 34, 29, 0.04);
}

.delivery-step-card {
  position: relative;
  overflow: hidden;
  padding: 13px 9px;
}

.delivery-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fffdf8;
  background: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
}

.delivery-step-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.delivery-step-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.delivery-step-heading h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 4px;
  padding: 0 8px;
  color: #fff;
  background: #3f7a46;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.secure-badge::before {
  content: "✓";
  margin-right: 5px;
}

.cart-items {
  max-height: none;
  padding: 8px 0 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-row-copy {
  min-width: 0;
}

.cart-row h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.cart-row p {
  margin-bottom: 8px;
  color: var(--ash);
  font-size: 0.86rem;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  height: 32px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.qty-control button:hover,
.qty-control button:focus-visible {
  color: var(--ink);
  outline: 0;
  background: rgba(43, 41, 37, 0.06);
}

.qty-control span {
  text-align: center;
  font-weight: 600;
}

.remove-button {
  width: 28px;
  height: 28px;
  border: 0;
  color: #6f6860;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.cart-row-price {
  display: grid;
  justify-items: end;
  gap: 14px;
  min-width: 76px;
  font-size: 0.9rem;
}

.cart-empty {
  display: none;
  flex: 1;
  place-items: center;
  color: #686159;
  text-align: center;
}

.cart-empty.is-visible {
  display: grid;
}

.cart-upsell {
  display: grid;
  gap: 12px;
  padding: 12px 0 4px;
}

.cart-upsell[hidden] {
  display: none;
}

.cart-upsell-head {
  display: grid;
  gap: 4px;
}

.cart-upsell-head .eyebrow {
  margin: 0;
}

.cart-upsell-head h3 {
  max-width: 360px;
  font-size: 1rem;
}

.cart-upsell-stage {
  min-width: 0;
  overflow: hidden;
}

.cart-upsell-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.cart-upsell-grid::-webkit-scrollbar {
  display: none;
}

.cart-upsell-card {
  display: grid;
  flex: 0 0 82%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--linen);
  box-shadow: 0 10px 24px rgba(37, 34, 29, 0.07);
  scroll-snap-align: start;
}

.cart-upsell-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #ded3c5;
  overflow: hidden;
}

.cart-upsell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-upsell-media span {
  position: absolute;
  left: 10px;
  top: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
  font-size: 0.62rem;
  font-weight: 600;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cart-upsell-body {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
}

.cart-upsell-card strong,
.cart-upsell-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-upsell-card strong {
  font-size: 1rem;
}

.cart-upsell-card small {
  color: #686159;
  font-size: 0.78rem;
  font-weight: 600;
}

.cart-upsell-card .button {
  min-height: 38px;
  margin-top: 2px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.cart-upsell-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.cart-upsell-dots button {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(43, 41, 37, 0.24);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.cart-upsell-dots button.is-active {
  width: 18px;
  background: var(--ink);
}

.customer-form {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.customer-form-head {
  display: grid;
  gap: 2px;
}

.customer-form-head strong,
.customer-form label {
  color: #3d3933;
  font-size: 0.86rem;
  font-weight: 600;
}

.customer-form-head span {
  color: #686159;
  font-size: 0.78rem;
}

.customer-form label {
  display: grid;
  gap: 7px;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-drawer .customer-whatsapp-field {
  grid-column: 1 / -1;
}

.customer-form input {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.customer-form input:focus {
  outline: 2px solid rgba(124, 132, 111, 0.24);
  border-color: rgba(43, 41, 37, 0.38);
}

.cart-drawer .customer-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  padding: 12px 0;
}

.cart-drawer .customer-form-head {
  grid-column: 1 / -1;
}

.cart-drawer .customer-form label {
  gap: 6px;
}

.cart-drawer .customer-form-grid {
  display: contents;
}

.cart-drawer .customer-form input {
  height: 40px;
}

.product-customer-form {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
}

.shipping-form,
.coupon-form {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.checkout-delivery-panel .shipping-form,
.checkout-delivery-panel .coupon-form {
  padding: 9px;
  border-top: 0;
}

.delivery-step-card .shipping-form {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.delivery-step-card .checkout-contact-form {
  gap: 10px;
}

.checkout-delivery-panel .shipping-form label,
.checkout-delivery-panel .coupon-form label,
.checkout-delivery-panel .checkout-contact-form label {
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
}

.checkout-delivery-panel .shipping-form label span,
.checkout-delivery-panel .coupon-form label span {
  gap: 7px;
}

.checkout-delivery-panel .shipping-form input,
.checkout-delivery-panel .coupon-form input {
  height: 40px;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 500;
}

.checkout-delivery-panel .shipping-form .button,
.checkout-delivery-panel .coupon-form .button {
  min-height: 40px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.checkout-delivery-panel .checkout-contact-form input,
.checkout-delivery-panel .checkout-contact-form select {
  min-height: 40px;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 500;
}

.checkout-delivery-panel input::placeholder {
  color: #8f8b85;
  font-weight: 500;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #3d3933;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.checkout-section-title button {
  min-height: 32px;
  border: 1px solid rgba(43, 41, 37, 0.24);
  border-radius: 4px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.shipping-form label,
.coupon-form label {
  display: grid;
  gap: 8px;
  color: #3d3933;
  font-size: 0.86rem;
  font-weight: 600;
}

.shipping-form label span,
.coupon-form label span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.shipping-form input,
.coupon-form input {
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.shipping-form input:focus,
.coupon-form input:focus {
  border-color: rgba(43, 41, 37, 0.42);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(124, 132, 111, 0.2);
}

.shipping-form .button,
.coupon-form .button {
  min-height: 46px;
  padding: 0 14px;
}

.shipping-form p,
.coupon-form p {
  min-height: 20px;
  margin: 8px 0 0;
  color: #686159;
  font-size: 0.82rem;
  line-height: 1.4;
}

.coupon-form {
  padding-top: 12px;
}

.coupon-form p.is-error {
  color: #9b3428;
}

.shipping-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 2px;
}

.shipping-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.shipping-option i {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(43, 41, 37, 0.38);
  border-radius: 4px;
  background: #fff;
}

.shipping-option.is-selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.shipping-option.is-selected i {
  border-color: var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 8px 8px no-repeat,
    #fff;
}

.shipping-option span {
  display: grid;
  gap: 3px;
}

.shipping-option small {
  color: #686159;
}

.shipping-option b {
  white-space: nowrap;
}

.drawer-summary {
  flex: 0 0 auto;
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.drawer-summary[hidden] {
  display: none;
}

.drawer-summary.is-total-only {
  gap: 0;
  padding-top: 0;
  border-top: 0;
}

.drawer-summary div,
.drawer-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.drawer-total {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.drawer-summary.is-total-only .drawer-total {
  padding-top: 0;
  border-top: 0;
}

.drawer-total strong {
  font-size: 1.2rem;
}

.payment-status {
  min-height: 0;
  margin: 0;
  color: #4f684f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.payment-status:not(:empty) {
  margin-bottom: 8px;
}

.payment-status.is-error {
  color: #8a3f30;
}

.drawer-actions {
  flex: 0 0 auto;
  display: grid;
  gap: 6px;
}

.drawer-secondary-link {
  min-height: 36px;
  border: 0;
  color: #686159;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.checkout-customer-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-customer-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.checkout-customer-card p {
  margin: 0;
  color: #686159;
  line-height: 1.45;
}

.checkout-contact-lines,
.checkout-address-card {
  display: grid;
  gap: 4px;
  color: #686159;
  font-size: 0.86rem;
}

.checkout-address-card {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-address-card strong {
  color: var(--ink);
}

.checkout-address-card a {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

.checkout-contact-form {
  display: grid;
  gap: 13px;
}

.checkout-contact-form label {
  display: grid;
  gap: 7px;
  color: #5d574f;
  font-size: 0.86rem;
  font-weight: 600;
}

.checkout-contact-form input,
.checkout-contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.checkout-contact-form select {
  appearance: none;
}

.checkout-contact-form input:focus,
.checkout-contact-form select:focus {
  border-color: rgba(43, 41, 37, 0.42);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(124, 132, 111, 0.2);
}

.checkout-address-block {
  display: grid;
  gap: 11px;
  padding-top: 4px;
}

.checkout-address-block p {
  margin: 0;
  color: #686159;
  font-size: 0.9rem;
  line-height: 1.42;
  text-align: left;
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 0.55fr);
  gap: 11px;
}

.checkout-address-grid .span-2 {
  grid-column: 1 / -1;
}

.embedded-checkout-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.embedded-checkout-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.embedded-checkout-card p {
  margin: 0;
  color: #686159;
  font-size: 0.9rem;
  line-height: 1.45;
}

.embedded-checkout-frame {
  min-height: 0;
}

.transparent-payment-form {
  display: grid;
  gap: 12px;
}

.payment-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-method-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: #5d574f;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.payment-method-tabs button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.payment-card-fields {
  display: grid;
  gap: 11px;
}

.transparent-payment-form label {
  display: grid;
  gap: 7px;
  color: #5d574f;
  font-size: 0.86rem;
  font-weight: 600;
}

.transparent-payment-form input,
.transparent-payment-form select,
.pix-result textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.transparent-payment-form input:focus,
.transparent-payment-form select:focus,
.pix-result textarea:focus {
  border-color: rgba(43, 41, 37, 0.42);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(124, 132, 111, 0.2);
}

.payment-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 0.7fr);
  gap: 10px;
}

.payment-pix-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(74, 101, 72, 0.25);
  border-radius: 8px;
  background: #f7faf4;
  color: #4a6548;
  font-size: 0.88rem;
  line-height: 1.4;
}

.transparent-payment-result {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(74, 101, 72, 0.25);
  border-radius: 8px;
  background: #f7faf4;
  color: #4a6548;
}

.transparent-payment-result p,
.transparent-payment-result small {
  margin: 0;
}

.transparent-payment-result img {
  width: min(220px, 100%);
  justify-self: center;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.pix-result textarea {
  min-height: 98px;
  resize: vertical;
  color: #3d3933;
}

.cart-drawer [hidden] {
  display: none !important;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: rgba(24, 23, 21, 0);
  transition: background 200ms ease;
}

.drawer-open .drawer-backdrop {
  pointer-events: auto;
  background: rgba(24, 23, 21, 0.36);
}

.product-dialog {
  width: min(920px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--linen);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(24, 23, 21, 0.46);
}

.recovery-popup[hidden] {
  display: none;
}

.recovery-popup {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
}

.recovery-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 21, 0.5);
  backdrop-filter: blur(5px);
}

.recovery-popup-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(300px, 1fr);
  width: min(860px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 8px;
  color: var(--ink);
  background: var(--linen);
  box-shadow: 0 34px 90px rgba(24, 23, 21, 0.28);
}

.recovery-popup-card > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  background: var(--warm);
}

.recovery-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 26px rgba(24, 23, 21, 0.12);
}

.recovery-popup-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 38px;
}

.recovery-popup-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.recovery-popup-copy p {
  margin: 0;
  color: #5f584e;
  font-size: 1rem;
}

.recovery-popup-copy form {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.recovery-popup-copy label {
  display: grid;
  gap: 6px;
  color: #5f584e;
  font-size: 0.84rem;
  font-weight: 500;
}

.recovery-popup-copy input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(43, 41, 37, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffdf8;
  font-size: 1rem;
}

.recovery-popup-copy input:focus {
  border-color: rgba(43, 41, 37, 0.42);
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 132, 100, 0.14);
}

.recovery-popup-copy small {
  min-height: 18px;
  color: #2e5f43;
  font-size: 0.82rem;
}

.recovery-popup-copy small.is-error {
  color: #8a3f30;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dialog-layout img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.dialog-copy {
  padding: 42px;
}

.dialog-copy .price {
  margin: 18px 0;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 22;
  width: 54px;
  height: 54px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: var(--white);
  background: #2e5f43;
  box-shadow: 0 18px 42px rgba(46, 95, 67, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #255137;
  box-shadow: 0 20px 46px rgba(46, 95, 67, 0.32);
  transform: translateY(-2px);
}

.whatsapp-float-icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 420px;
  margin: 12px 0 0;
  color: #625d55;
}

.site-footer .footer-credit {
  margin-top: 8px;
  color: #85796d;
  font-size: 0.86rem;
}

.footer-credit a {
  color: #3f3a33;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand-signature {
  display: inline-block;
  width: min(230px, 100%);
}

.footer-brand-signature img {
  width: 100%;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #4f4a43;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-header .menu-toggle {
    display: grid;
    order: 3;
  }

  .cart-button {
    order: 2;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 170ms ease,
      opacity 170ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .product-grid,
  .finish-grid,
  .catalog-grid,
  .account-auth,
  .account-layout,
  .comment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .instagram-section,
  .dialog-layout,
  .detail-hero,
  .detail-specs {
    grid-template-columns: 1fr;
  }

  .process-list,
  .deep-copy {
    grid-template-columns: 1fr;
  }

  .dialog-layout img {
    min-height: 320px;
  }

  .detail-summary h1 {
    font-size: 4rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14.5px;
  }

  .free-shipping-strip,
  .site-promo-strip {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.76rem;
  }

  .has-free-shipping-promo {
    --free-shipping-height: 36px;
  }

  .has-site-promo {
    --site-promo-height: 36px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    min-height: 48px;
    gap: 8px;
    padding: 4px 9px 4px 6px;
  }

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

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.52rem;
  }

  .site-nav {
    left: 10px;
    right: 10px;
    top: 70px;
  }

  .cart-button,
  .icon-button {
    flex: 0 0 auto;
  }

  .cart-button span:not(.cart-icon) {
    display: none;
  }

  .cart-button {
    min-width: 78px;
    justify-content: center;
    padding: 0 12px;
  }

  .hero {
    min-height: 0;
    height: calc(100vw * 9 / 16 + 42px);
    aspect-ratio: auto;
    background: #faf6ee;
  }

  .hero-media {
    bottom: 42px;
    background-position: 57% center;
  }

  .hero-overlay {
    bottom: 42px;
    background:
      linear-gradient(0deg, rgba(24, 23, 21, 0.72), rgba(24, 23, 21, 0.1) 62%),
      linear-gradient(90deg, rgba(24, 23, 21, 0.36), rgba(24, 23, 21, 0.04));
  }

  .hero-carousel-controls {
    right: auto;
    bottom: 7px;
    left: 50%;
    width: auto;
    max-width: none;
    justify-content: center;
    gap: 8px;
    color: rgba(43, 41, 37, 0.5);
    transform: translateX(-50%);
  }

  .hero-carousel-button {
    display: grid;
    width: 28px;
    height: 28px;
    border-color: rgba(43, 41, 37, 0.1);
    background: rgba(255, 253, 248, 0.72);
    box-shadow: 0 8px 20px rgba(43, 41, 37, 0.08);
    opacity: 0.82;
    backdrop-filter: blur(8px);
  }

  .hero-carousel-button svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
  }

  .hero-switch {
    flex: 1;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 6px 8px;
    border: 1px solid rgba(43, 41, 37, 0.08);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    box-shadow: 0 8px 22px rgba(43, 41, 37, 0.08);
    text-shadow: none;
    backdrop-filter: blur(8px);
  }

  .hero-switch span {
    display: none;
  }

  .hero-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border: 0;
    padding: 0;
    transition: width 170ms ease;
  }

  .hero-dot::before {
    inset: 0;
    width: 7px;
    height: 7px;
    background: rgba(43, 41, 37, 0.18);
    transform: none;
  }

  .hero-dot.is-active,
  .hero-dot:focus-visible {
    width: 20px;
  }

  .hero-dot.is-active::before,
  .hero-dot:focus-visible::before {
    width: 20px;
    height: 7px;
    background: rgba(43, 41, 37, 0.56);
    box-shadow: none;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  .button {
    min-height: 46px;
  }

  .promo-banner {
    width: min(100% - 28px, 1180px);
    margin-top: 18px;
    padding: 0;
  }

  .promo-banner-art {
    border-radius: 8px;
  }

  .section,
  .split-section,
  .instagram-section,
  .account-page,
  .product-page,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .section,
  .split-section,
  .detail-section {
    padding: 58px 0;
  }

  .collection-section {
    padding-top: 30px;
  }

  .product-page {
    padding: 24px 0 64px;
  }

  .detail-hero {
    gap: 22px;
    padding-bottom: 44px;
  }

  .gallery-stage img {
    min-height: 320px;
    max-height: 56svh;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .detail-summary {
    padding: 22px;
  }

  .customer-form-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary h1 {
    font-size: 2.46rem;
  }

  .filter-bar {
    margin-inline: -4px;
    border-radius: 8px;
  }

  .filter {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .product-grid,
  .finish-grid,
  .account-auth,
  .account-layout,
  .account-grid,
  .comment-grid,
  .social-mosaic {
    grid-template-columns: 1fr;
  }

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

  .catalog-card span,
  .catalog-card h3,
  .catalog-card p {
    margin-inline: 10px;
  }

  .catalog-card span {
    margin-top: 10px;
    font-size: 0.58rem;
  }

  .catalog-card h3 {
    font-size: 0.9rem;
  }

  .catalog-card p {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .account-page {
    padding: 34px 0 58px;
  }

  .account-hero {
    margin-bottom: 22px;
  }

  .account-card,
  .account-dashboard-head {
    padding: 18px;
  }

  .account-dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-grid .span-2 {
    grid-column: auto;
  }

  .order-card > div {
    flex-direction: column;
    gap: 3px;
  }

  .product-grid {
    grid-template-columns: repeat(var(--product-grid-columns-mobile, 2), minmax(0, 1fr));
    gap: 12px;
  }

  .product-media {
    aspect-ratio: 1 / 1.08;
  }

  .product-body {
    padding: 10px;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 5px;
    font-size: 0.58rem;
  }

  .product-meta span + span,
  .product-body p,
  .product-actions {
    display: none;
  }

  .product-card {
    cursor: pointer;
  }

  .product-card h3 {
    margin-bottom: 5px;
    font-size: 0.9rem;
  }

  .product-card .price {
    display: block;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .product-card .payment-note,
  .product-card .payment-options {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .product-card .badge {
    left: 8px;
    top: 8px;
    padding: 5px 7px;
    font-size: 0.56rem;
  }

  .product-card .sale-badge {
    padding: 6px 9px;
    font-size: 0.58rem;
  }

  .product-card .price-row {
    gap: 4px;
  }

  .product-card .old-price {
    font-size: 0.68rem;
  }

  .social-mosaic img:first-child {
    grid-row: auto;
  }

  .product-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
  }

  .recovery-popup {
    padding: 12px;
  }

  .recovery-popup-card {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }

  .recovery-popup-card > img {
    min-height: 0;
    height: 210px;
  }

  .recovery-popup-copy {
    gap: 12px;
    padding: 22px;
  }

  .recovery-popup-copy h2 {
    font-size: 2rem;
    line-height: 1;
  }

  .dialog-layout img {
    min-height: 240px;
    max-height: 42svh;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .spec-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .quote-form,
  .dialog-copy {
    padding: 22px;
  }

  .cart-drawer {
    padding: 12px 14px max(10px, env(safe-area-inset-bottom));
  }

  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-row img {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    min-height: 50px;
  }

  .whatsapp-float-icon {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 380px) {
  html {
    font-size: 14px;
  }

  .site-header {
    gap: 8px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.48rem;
  }

  .brand {
    padding-right: 8px;
  }

  .cart-button {
    min-width: 70px;
    padding-inline: 10px;
  }

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

  h1 {
    font-size: 2.38rem;
  }

  h2 {
    font-size: 1.42rem;
  }

  .product-actions .button {
    flex-basis: 100%;
  }

  .cart-drawer .customer-form {
    grid-template-columns: 1fr;
  }

  .cart-drawer .customer-whatsapp-field {
    grid-column: auto;
  }
}

@media (hover: none) {
  .button:hover,
  .product-card:hover .product-media img {
    transform: none;
  }

  .product-gallery-button {
    width: 30px;
    height: 30px;
    opacity: 1;
  }

  .product-gallery-prev {
    left: 8px;
  }

  .product-gallery-next {
    right: 8px;
  }
}
