html { background: #fff; }
body { min-width: 320px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.nav-link {
  position: relative;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #111111;
  transition: color .2s ease;
}
.nav-link:hover {
  color: #111111;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.nav-link:hover::after { right: 0; }
.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.icon-button:hover { background: rgba(0,0,0,.05); }
.icon-button:active { transform: scale(.94); }

/* Mobile brand + expandable header search */
.site-brand {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  overflow: hidden;
}
.brand-full,
.brand-short {
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .35s cubic-bezier(.22, 1, .36, 1),
              transform .35s cubic-bezier(.22, 1, .36, 1),
              max-width .4s cubic-bezier(.22, 1, .36, 1);
}
.brand-full {
  display: block;
  max-width: 14rem;
  opacity: 1;
  transform: translateX(0);
}
.brand-short {
  display: block;
  max-width: 0;
  opacity: 0;
  transform: translateX(6px);
}
.header-search-expand {
  flex: 1 1 auto;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width .4s cubic-bezier(.22, 1, .36, 1),
              opacity .28s ease;
}
.nav-secondary {
  max-width: 22rem;
  opacity: 1;
  transition: max-width .4s cubic-bezier(.22, 1, .36, 1),
              opacity .28s ease,
              transform .35s cubic-bezier(.22, 1, .36, 1);
  transform: translateX(0);
}
.header-search-close-icon { display: none !important; }
.header-search-open-icon { display: block; }
.header-search-toggle:focus,
.header-search-toggle:focus-visible {
  outline: none;
}
#header-search-input:focus,
#header-search-input:focus-visible {
  outline: none;
  border-color: rgba(0, 0, 0, .22);
}

#site-header.is-searching .brand-full {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
}
#site-header.is-searching .brand-short {
  max-width: 3rem;
  opacity: 1;
  transform: translateX(0);
}
#site-header.is-searching .header-search-expand {
  max-width: 100%;
  opacity: 1;
  pointer-events: auto;
}
#site-header.is-searching .nav-secondary {
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}
#site-header.is-searching .header-search-open-icon { display: none; }
#site-header.is-searching .header-search-close-icon { display: block !important; }

@media (min-width: 768px) {
  #site-header.is-searching .brand-full {
    max-width: 14rem;
    opacity: 1;
    transform: none;
  }
  #site-header.is-searching .brand-short {
    max-width: 0;
    opacity: 0;
    transform: translateX(6px);
  }
}
.count-badge {
  position: absolute;
  right: 1px;
  top: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: white;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}
.mobile-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  color: rgba(0,0,0,.65);
}
.mobile-menu-link {
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 16px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 600;
}
.footer-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer-links { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: rgba(0,0,0,.58); transition: color .2s; }
.footer-links a:hover { color: #111; }
.page-shell { width: 100%; max-width: 1500px; margin-inline: auto; padding: 28px 20px 72px; }
@media (min-width: 640px) { .page-shell { padding-inline: 24px; } }
@media (min-width: 1024px) { .page-shell { padding: 42px 32px 96px; } }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.section-title { font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 4vw, 4rem); line-height: .98; font-weight: 600; }
.panel { background: white; border: 1px solid rgba(0,0,0,.09); border-radius: 4px; box-shadow: 0 8px 28px rgba(17,17,17,.05); }
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  gap: 8px; padding: 0 20px; font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; transition: all .2s ease;
}
.btn-primary { background: #111; color: #fff; border: 1px solid #111; }
.btn-primary:hover { background: #303030; border-color: #303030; }
.btn-secondary { background: #fff; color: #111; border: 1px solid rgba(0,0,0,.18); }
.btn-secondary:hover { border-color: #111; }
.btn-ghost { padding-inline: 0; border-bottom: 1px solid #111; min-height: 30px; }
.field {
  width: 100%; min-height: 46px; border: 1px solid rgba(0,0,0,.16);
  background: #fff; padding: 0 13px; font-size: 13px; outline: none;
  transition: border .2s, box-shadow .2s;
}
textarea.field { padding-block: 12px; min-height: 110px; resize: vertical; }
input[type="file"].field {
  box-sizing: border-box;
  height: auto;
  min-height: 52px;
  padding: 6px;
  line-height: 38px;
}
input[type="file"].field::file-selector-button,
input[type="file"].field::-webkit-file-upload-button {
  min-height: 38px;
  margin: 0 12px 0 0;
  border: 0;
  background: #f5f3ef;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}
.field:focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.field-label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-image { overflow: hidden; background: #efede9; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.035); }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
.skeleton {
  background: linear-gradient(90deg,#eee 25%,#f7f7f7 37%,#eee 63%);
  background-size: 400% 100%;
  animation: skeleton 1.3s ease infinite;
}
@keyframes skeleton { 0%{background-position:100% 0} 100%{background-position:0 0} }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }
.drawer-open { transform: translateX(0) !important; }
.modal-card { max-height: calc(100vh - 2rem); overflow-y: auto; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.22); animation: modalIn .22s ease both; }
@keyframes modalIn { from{opacity:0;transform:scale(.98) translateY(8px)} to{opacity:1;transform:none} }
.custom-radio:checked + span { border-color: #111; box-shadow: inset 0 0 0 4px white; background: #111; }
.custom-checkbox:checked + span { background:#111; border-color:#111; color:white; }
.account-nav a { display:flex; align-items:center; gap:10px; padding:12px 14px; font-size:12px; border-radius:2px; color:rgba(0,0,0,.65); }
.account-nav a:hover, .account-nav a.active { background:#f2f1ee; color:#111; }
.timeline-line::before { content:""; position:absolute; left:15px; top:32px; bottom:-12px; width:1px; background:rgba(0,0,0,.16); }
.timeline-line:last-child::before { display:none; }
input[type="range"] { accent-color: #111; }

/* Hero carousel */
.hero-carousel {
  background: #ece7df;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--hero-bg, #ece7df);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1),
              visibility .75s cubic-bezier(.22, 1, .36, 1);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide.is-active .hero-copy {
  animation: heroCopyIn .7s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  transition: width .3s ease, background .3s ease;
}
.hero-dot.is-active {
  width: 22px;
  background: #111;
}
.hero-nav-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease;
}
.hero-nav-btn:hover {
  background: #fff;
}
.hero-nav-btn:active {
  transform: scale(.94);
}
