:root {
  --ink-900: #2b2022;
  --ink-700: #6d5a5d;
  --line: #eadbda;
  --card: rgba(255, 251, 249, 0.96);
  --accent-100: #f7efef;
  --accent-200: #efdfdf;
  --accent-400: #d7bcbe;
  --accent-500: #bc969d;
  --accent-600: #916d75;
  --accent-700: #6f5359;
  --accent-800: #4f3b3f;
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
.product-page-body,
.checkout-page-body,
.account-page-body,
.auth-page-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(236, 219, 220, 0.82) 0%, rgba(250, 244, 242, 0) 36%),
    linear-gradient(180deg, #fdf8f6 0%, #ffffff 44%, #faf3f1 100%);
}

.bg-glow {
  opacity: 0.75;
}

.glow-a {
  background: #ecd7d8;
}

.glow-b {
  background: #efe4e4;
}

.top-ribbon {
  padding: 0.62rem 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d2bcc0, #e9dade, #f5eeef);
}

.main-header,
.site-header {
  border-bottom-color: #eadbdd;
  box-shadow: 0 20px 44px -40px rgba(74, 46, 54, 0.48);
  background: rgba(255, 251, 250, 0.94);
  padding-inline: clamp(1rem, 2vw, 2rem);
}

.brand-logo {
  border-radius: 1rem;
  border-color: #e4ced1;
  box-shadow: 0 10px 24px -18px rgba(102, 70, 76, 0.32);
}

.main-header .brand-eyebrow,
.site-header .brand-eyebrow {
  color: #86686e;
}

.brand-block h1 {
  color: #3f2e31;
  font-weight: 600;
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  min-height: 3.15rem;
  border-color: #e7d7da;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding-inline: 1.1rem;
}

.search-wrap input::placeholder {
  color: #9d888a;
}

.nav-dual-btn,
.ghost-btn,
.solid-btn,
.add-btn {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.nav-dual-btn {
  min-height: 2.85rem;
  border-radius: 0.9rem;
  border-color: #e7d7da;
  background: linear-gradient(180deg, #fffdfc, #f6efef);
}

.nav-dual-btn:hover,
.ghost-btn:hover,
.solid-btn:hover,
.add-btn:hover {
  transform: translateY(-1px);
}

.solid-btn {
  background: linear-gradient(135deg, #916d75, #6f5359);
  box-shadow: 0 16px 30px -20px rgba(111, 83, 89, 0.55);
}

.ghost-btn {
  background: rgba(255, 253, 252, 0.92);
  border-color: #e6d6d8;
}

.page-content,
.product-main,
.checkout-main,
.account-main,
.auth-main {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.panel,
.auth-panel,
.checkout-summary,
.checkout-address-card,
.checkout-item,
.dashboard-metric-card,
.dashboard-feature-card,
.preference-card {
  border-radius: 1.2rem;
  border-color: #ebddde;
  box-shadow: 0 20px 46px -38px rgba(87, 55, 61, 0.32);
}

.panel-head h3,
.dashboard-feature-card h4 {
  color: #3f2e31;
}

.product-panel-showcase {
  padding: 1rem;
  margin-bottom: 0.95rem;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0.75rem 1rem;
  align-items: start;
  padding-bottom: 0.95rem;
}

.catalog-showcase-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.catalog-showcase h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #38292d;
  max-width: 16ch;
}

.hero-summary-premium {
  margin: 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #705e61;
}

.catalog-showcase-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.home-shell,
.home-intro-grid {
  gap: 0.95rem;
  align-items: stretch;
}

.home-shell > .panel,
.home-intro-grid > .panel {
  min-height: 100%;
}

.home-main-column {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
}

.home-main-column .product-panel-showcase,
.home-intro-grid .product-panel-showcase {
  margin-bottom: 0;
}

.product-panel,
.categories-panel {
  background: rgba(255, 252, 251, 0.94);
}

.categories-panel {
  position: static;
  padding: 1rem;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 253, 252, 0.98), rgba(248, 241, 241, 0.94));
  box-shadow: 0 24px 44px -36px rgba(87, 55, 61, 0.34);
}

.categories-preview {
  gap: 0.5rem;
  align-content: start;
}

.categories-preview .tag-btn {
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  font-size: 0.82rem;
  white-space: normal;
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.catalog-offer-copy p {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b6468;
}

.catalog-mobile-menu-toggle {
  min-width: 144px;
  min-height: 2.75rem;
  box-shadow: none;
}

.catalog-offer-showcase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #eadbdd;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 251, 1), rgba(249, 242, 242, 0.92));
}

.catalog-offer-copy {
  display: grid;
  gap: 0.2rem;
}

.catalog-offer-copy strong {
  color: #3f2e31;
  font-size: 0.92rem;
  line-height: 1.35;
}

.catalog-offer-copy span {
  color: #755f63;
  font-size: 0.8rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 1.35rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.35rem;
  border-color: #eadcdf;
  background:
    linear-gradient(135deg, rgba(255, 253, 252, 0.98), rgba(248, 240, 240, 0.94)),
    radial-gradient(circle at right bottom, rgba(215, 188, 190, 0.18), transparent 44%);
  box-shadow: 0 26px 48px -42px rgba(87, 55, 61, 0.34);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 1.25rem;
  width: calc(100% - 2.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 109, 117, 0), rgba(145, 109, 117, 0.35), rgba(145, 109, 117, 0));
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 188, 190, 0.26), rgba(215, 188, 190, 0));
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  gap: 1.2rem;
  align-items: end;
}

.site-footer-brand {
  gap: 0.32rem;
  max-width: 36rem;
}

.site-footer-brand .brand-eyebrow {
  color: #8a6f74;
  letter-spacing: 0.16em;
}

.site-footer-brand strong {
  font-size: 1.16rem;
  color: #3f2e31;
}

.site-footer-brand span {
  font-size: 0.92rem;
  color: #735f63;
}

.site-footer-nav {
  gap: 0.65rem 0.7rem;
}

.site-footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  border: 1px solid #e7d7d9;
  background: rgba(255, 255, 255, 0.78);
  color: #6f5359;
  box-shadow: 0 14px 24px -22px rgba(87, 55, 61, 0.28);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.site-footer-nav a:hover {
  transform: translateY(-1px);
  border-color: #d8c0c4;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 28px -22px rgba(87, 55, 61, 0.34);
  text-decoration: none;
}

.count-pill {
  background: rgba(247, 239, 239, 0.95);
  color: #6d5358;
  border: 1px solid #e5d7d9;
}

.catalog-filters-minimal {
  margin-bottom: 1rem;
}

.filter-field-compact {
  max-width: 280px;
}

.filter-field select,
.filter-field input,
.filter-field textarea {
  min-height: 2.95rem;
  border-color: #e7d9db;
  background: rgba(255, 255, 255, 0.94);
}

.product-grid {
  gap: 1rem;
}

.product-card {
  border-radius: 1.2rem;
  padding: 0.85rem;
  gap: 0.65rem;
  background: linear-gradient(180deg, rgba(255, 253, 252, 1), rgba(252, 246, 246, 0.92));
  border-color: #eadbdd;
  box-shadow: 0 22px 36px -34px rgba(87, 55, 61, 0.28);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 38px -32px rgba(87, 55, 61, 0.38);
}

.swatch {
  border-radius: 1rem;
  border-color: #e8d8da;
  background: linear-gradient(160deg, #f8efec, #f0e1e2);
}

.product-image {
  transform: scale(1.06);
}

.swatch-link:hover .product-image {
  transform: scale(1.1);
}

.product-title {
  font-size: 1rem;
  line-height: 1.4;
  color: #3f2e31;
}

.price {
  font-size: 1.14rem;
  color: #684e55;
}

.add-btn {
  min-height: 2.85rem;
  border-radius: 0.9rem;
  border-color: #e5d5d8;
  background: linear-gradient(180deg, #f8f0ee, #f2e7e6);
  color: #5b4448;
}

.cart-promo-block,
.cart-item {
  border-radius: 1rem;
  border-color: #eadbdd;
}

.cart-item {
  background: linear-gradient(180deg, #fffdfc, #faf3f2);
}

.cart-footer {
  margin-top: 0.95rem;
  gap: 0.55rem;
}

.cart-total-line strong,
.cart-total-final strong {
  color: #3f2e31;
}

.checkout-btn {
  min-height: 3rem;
}

.product-panel-page {
  gap: 1.2rem;
  align-items: start;
}

.product-visual-frame {
  border-radius: 1.25rem;
  border-color: #e9dadd;
  box-shadow: 0 24px 40px -32px rgba(87, 55, 61, 0.3);
}

.product-content {
  gap: 0.9rem;
}

.product-content h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.02;
  color: #38292d;
}

.product-description {
  font-size: 0.98rem;
  line-height: 1.75;
}

.product-meta-line {
  padding: 0.85rem 0;
  border-top: 1px solid #eee1e3;
  border-bottom: 1px solid #eee1e3;
}

.product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-trust-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8dade;
  border-radius: 999px;
  background: #fffaf9;
  color: #6b545a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.78rem;
}

.product-assurance-card {
  border: 1px solid #eadcdf;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 252, 251, 1), rgba(249, 242, 242, 0.94));
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.6rem;
}

.product-assurance-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #3f2e31;
}

.product-assurance-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.38rem;
  color: #6f5d60;
  line-height: 1.55;
}

.checkout-main {
  width: min(1320px, 100%);
}

.checkout-guidance {
  margin-bottom: 0.95rem;
  padding: 1rem;
}

.checkout-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.checkout-flow-step {
  border: 1px solid #eadcdf;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffdfc, #faf3f2);
  padding: 0.9rem;
  display: grid;
  gap: 0.18rem;
}

.checkout-flow-step strong {
  color: #3f2e31;
  font-size: 0.96rem;
}

.checkout-flow-step span {
  color: #755f63;
  font-size: 0.86rem;
  line-height: 1.45;
}

.checkout-guidance-copy,
.checkout-summary-note {
  margin: 0;
  color: #755f63;
  line-height: 1.55;
}

.checkout-summary-note {
  padding-top: 0.8rem;
  border-top: 1px dashed #e7d9db;
  font-size: 0.88rem;
}

.checkout-validate-btn {
  min-height: 3rem;
}

.account-shell {
  gap: 1.2rem;
}

.account-sidebar {
  gap: 1rem;
}

.account-summary,
.account-nav,
.account-side-note {
  background: rgba(255, 252, 251, 0.95);
}

.summary-name {
  font-size: 1.3rem;
}

.account-nav-btn {
  padding: 0.92rem 0.95rem;
  border-radius: 1rem;
}

.dashboard-metric-card {
  padding: 1rem;
}

.dashboard-feature-card,
.preference-card {
  background: rgba(255, 252, 251, 0.96);
}

.auth-panel {
  max-width: 580px;
  padding: 1.1rem;
  background: rgba(255, 252, 251, 0.96);
}

.auth-subtitle {
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .checkout-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .catalog-showcase {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-showcase h2 {
    max-width: none;
  }

  .site-footer {
    padding: 1.05rem;
  }
}

@media (max-width: 760px) {
  .page-content,
  .product-main,
  .checkout-main,
  .account-main,
  .auth-main {
    width: 100%;
  }

  .hero-summary-premium {
    font-size: 0.94rem;
  }

  .product-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-actions-line > * {
    width: 100%;
    min-width: 0;
  }

  .catalog-showcase {
    gap: 0.65rem;
    padding-bottom: 0.8rem;
  }

  .product-grid {
    gap: 0.8rem;
  }

  .product-card {
    padding: 0.75rem;
  }

  .product-title {
    font-size: 0.94rem;
  }

  .account-shell {
    gap: 0.85rem;
  }

  .site-footer-nav a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .top-ribbon {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .panel,
  .auth-panel {
    border-radius: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-promo-row,
  .product-actions-line,
  .checkout-header-actions,
  .auth-header-actions {
    grid-template-columns: 1fr;
  }

  .cart-promo-row .ghost-btn,
  .checkout-header-actions > *,
  .auth-header-actions > * {
    width: 100%;
  }

  .checkout-guidance,
  .product-assurance-card {
    padding: 0.9rem;
  }
}
