:root {
  --mt-sand: #f8f3ec;
  --mt-surface: rgba(255, 255, 255, 0.9);
  --mt-stroke: rgba(58, 42, 28, 0.08);
  --mt-text: #2a1f16;
  --mt-muted: #6f5b4b;
  --mt-accent: #ad5d36;
  --mt-accent-strong: #8f4928;
  --mt-olive: #63735c;
  --mt-shadow: 0 18px 42px rgba(35, 24, 16, 0.08);
  --mt-radius: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--mt-text);
  font-family: 'Work Sans', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top left, rgba(99, 115, 92, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(173, 93, 54, 0.15), transparent 30%),
    linear-gradient(180deg, #fffdfb 0%, var(--mt-sand) 52%, #fffdfb 100%);
}

.page-shell {
  padding-bottom: 4rem;
}

.brand-mark {
  font-family: 'Newsreader', serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
}

.topbar {
  font-size: 0.85rem;
  color: var(--mt-muted);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(58, 42, 28, 0.05);
}

.navbar-glass {
  backdrop-filter: blur(16px);
  background: rgba(255, 252, 248, 0.78);
  border-bottom: 1px solid rgba(58, 42, 28, 0.05);
}

.navbar .nav-link {
  color: var(--mt-muted);
  font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--mt-text);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mt-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: rgba(173, 93, 54, 0.45);
}

.hero-carousel .carousel-item.active .hero-slide {
  display: flex !important;
}
.hero-carousel .carousel-item {
  min-height: 35rem;
}

.hero-carousel .carousel-item.active {
  display: block;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}
.display-serif,
.hero-title,
.section-title,
.card-title-serif,
.serif-font {
  font-family: 'Newsreader', serif;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.card-title-serif {
  font-size: 1.7rem;
  line-height: 1.05;
}

.hero-carousel {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.hero-carousel .carousel-inner {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 35rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 14, 9, 0.72) 0%, rgba(22, 14, 9, 0.18) 58%, rgba(22, 14, 9, 0.02) 100%);
  pointer-events: none;
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-note {
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--mt-shadow);
}

.surface-card {
  border: 1px solid var(--mt-stroke);
  border-radius: var(--mt-radius);
  background: var(--mt-surface);
  box-shadow: var(--mt-shadow);
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(35, 24, 16, 0.12);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(173, 93, 54, 0.12), rgba(99, 115, 92, 0.12));
}

.product-thumb img,
.lookbook-image,
.detail-main-media img,
.detail-mini-media img,
.cart-image img,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-stack strong {
  color: var(--mt-accent-strong);
  font-size: 1.15rem;
}

.price-stack del {
  color: #9b8a79;
  font-size: 0.9rem;
}

.badge-soft {
  border: 1px solid rgba(173, 93, 54, 0.18);
  background: rgba(173, 93, 54, 0.08);
  color: var(--mt-accent-strong);
}

.quick-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(58, 42, 28, 0.08);
}

.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.metric-card strong {
  font-size: 1.4rem;
}

.page-hero {
  padding: 5rem 0 3rem;
}

.page-hero p {
  max-width: 42rem;
}

.sort-toolbar .btn,
.sort-toolbar .form-control,
.sort-toolbar .form-select,
.sort-toolbar .input-group-text {
  min-height: 3rem;
}

.sort-toolbar .btn-outline-secondary.active {
  color: #fff;
  background: var(--mt-text);
  border-color: var(--mt-text);
}

.mini-chip {
  border-radius: 999px;
  border: 1px solid rgba(58, 42, 28, 0.09);
  background: rgba(255, 255, 255, 0.82);
  color: var(--mt-muted);
}

.mini-chip.active,
.mini-chip:hover {
  color: var(--mt-accent-strong);
  border-color: rgba(173, 93, 54, 0.3);
  background: rgba(173, 93, 54, 0.08);
}

.preview-figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5eee5;
}

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

.detail-main-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
}

.detail-mini-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
}

.swatch-btn,
.size-btn {
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 999px;
}

.swatch-btn {
  padding: 0.3rem;
}

.swatch-btn span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
}

.qty-group .btn,
.qty-group .form-control {
  min-height: 3rem;
}

.nav-pills .nav-link.active {
  background: var(--mt-text);
}

.cart-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5eee5;
}

.sticky-summary {
  top: 6.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-line.total {
  padding-top: 1rem;
  border-top: 1px solid var(--mt-stroke);
  font-size: 1.05rem;
  font-weight: 700;
}

.auth-hero,
.contact-hero,
.service-hero,
.trend-hero {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 115, 92, 0.12), rgba(173, 93, 54, 0.12));
  border: 1px solid rgba(58, 42, 28, 0.08);
}

.auth-nav .nav-link {
  color: var(--mt-muted);
}

.auth-nav .nav-link.active {
  color: #fff;
  background: var(--mt-text);
}

.footer-shell {
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid rgba(58, 42, 28, 0.06);
}

.footer-shell a {
  color: var(--mt-muted);
  text-decoration: none;
}

.footer-shell a:hover {
  color: var(--mt-text);
}

.newsletter-panel {
  background: linear-gradient(135deg, rgba(173, 93, 54, 0.08), rgba(99, 115, 92, 0.1));
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--mt-text);
  background: rgba(173, 93, 54, 0.08);
}

.faq-item .accordion-button:focus {
  box-shadow: none;
}

.account-pill {
  border-radius: 999px;
}

.timeline-step {
  border-left: 2px solid rgba(173, 93, 54, 0.18);
}

.timeline-step__dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(173, 93, 54, 0.1);
  color: var(--mt-accent-strong);
  font-weight: 700;
}

.toast-container {
  z-index: 1080;
}

.toast-theme {
  border: 0;
  background: rgba(33, 24, 17, 0.95);
  color: #fff;
}

.empty-box {
  border: 1px dashed rgba(58, 42, 28, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.lookbook-card {
  min-height: 100%;
}

.lookbook-image {
  border-radius: 1.25rem;
}

.editorial-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f5eee5;
}

.editorial-frame img,
.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-frame {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f5eee5;
}

.stat-chip {
  border: 1px solid rgba(58, 42, 28, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991.98px) {

  .hero-carousel .carousel-item,
  .hero-slide {
    min-height: 28rem;
  }

  .sticky-summary {
    top: auto;
  }
}