/* Wari Furniture — luxury design system (Bootstrap 5.3 layer) */

:root {
  /* Brand palette — premium warm neutrals */
  --wf-bg: #f8f5f0;
  --wf-bg-secondary: #f1eae0;
  --wf-surface: #ffffff;
  --wf-ink: #2a2926;
  --wf-ink-muted: #6e655d;
  --wf-border: #e6ded3;
  --wf-accent: #a47551;
  --wf-accent-hover: #7c5a3c;
  --wf-accent-soft: #c9a97a;
  --wf-accent-subtle: rgba(164, 117, 81, 0.12);
  --wf-green: #3f463c;
  --wf-green-soft: rgba(63, 70, 60, 0.12);
  --wf-danger: #9a4d3a;
  --wf-success: #3f5c4e;
  --wf-radius: 14px;
  --wf-radius-sm: 10px;
  --wf-radius-xs: 6px;
  --wf-shadow-sm: 0 2px 8px rgba(43, 43, 43, 0.06);
  --wf-shadow-md: 0 12px 40px rgba(43, 43, 43, 0.08);
  --wf-shadow-lg: 0 24px 64px rgba(43, 43, 43, 0.1);
  --wf-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wf-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --wf-space-section: clamp(3rem, 6vw, 5rem);
  --wf-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --wf-header-h: 4.25rem;

  /* Bootstrap bridge */
  --bs-primary: #a47551;
  --bs-primary-rgb: 164, 117, 81;
  --bs-body-bg: #f8f5f0;
  --bs-body-color: #2a2926;
  --bs-border-color: #e6ded3;
  --bs-link-color: #7c5a3c;
  --bs-link-hover-color: #5c432d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--wf-font-sans);
  color: var(--wf-ink);
  background-color: var(--wf-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--wf-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wf-ink);
  line-height: 1.2;
}

.display-5,
.display-6 {
  font-family: var(--wf-font-display);
}

/* ——— Layout ——— */
.site-main {
  flex: 1 0 auto;
}

.site-main--flush {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wf-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 1.75rem);
  padding-right: clamp(1rem, 4vw, 1.75rem);
}

.catlog-page {
  min-height: 70vh;
}

.page-header-block {
  margin-bottom: 2rem;
}

.section-heading {
  font-family: var(--wf-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
}

.section-heading-rule {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--wf-accent), var(--wf-accent-soft));
  border-radius: 3px;
  margin-bottom: 1.5rem;
  opacity: 1;
}

.section-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-accent);
  margin-bottom: 0.5rem;
}

/* ——— Announcement strip ——— */
.wf-announcement {
  background: var(--wf-ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wf-announcement__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.wf-announcement__dot {
  opacity: 0.35;
  user-select: none;
}

/* ——— Navbar ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-wari {
  background: rgba(248, 245, 240, 0.88) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--wf-border);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  min-height: var(--wf-header-h);
  transition: box-shadow var(--wf-transition), background var(--wf-transition), padding var(--wf-transition);
}

.navbar-wari.navbar-scrolled {
  box-shadow: 0 8px 32px rgba(42, 41, 38, 0.08);
  background: rgba(255, 255, 255, 0.94) !important;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar-wari .navbar-brand {
  font-family: var(--wf-font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--wf-ink) !important;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.navbar-wari .navbar-brand small {
  display: block;
  font-family: var(--wf-font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wf-accent) !important;
  margin-top: 0.15rem;
}

.navbar-wari .nav-link {
  color: var(--wf-ink-muted) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.7rem !important;
  border-radius: 999px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.navbar-wari .nav-link:hover,
.navbar-wari .nav-link:focus {
  color: var(--wf-ink) !important;
  background-color: rgba(164, 117, 81, 0.08);
  transform: translateY(-1px);
}

.navbar-wari .nav-link.active {
  color: var(--wf-accent-hover) !important;
  background-color: var(--wf-accent-subtle);
}

.wf-search-pill {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--wf-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--wf-surface);
  box-shadow: 0 1px 3px rgba(42, 41, 38, 0.04);
  max-width: 220px;
  transition: box-shadow var(--wf-transition), border-color var(--wf-transition);
}

.wf-search-pill:focus-within {
  border-color: rgba(164, 117, 81, 0.45);
  box-shadow: 0 0 0 3px var(--wf-accent-subtle);
}

.wf-search-pill .form-control {
  border: none;
  box-shadow: none !important;
  min-height: 2.35rem;
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  font-size: 0.8125rem;
  background: transparent;
}

.wf-search-pill .btn-search-nav {
  border: none;
  border-radius: 0;
  padding: 0 0.85rem;
  background: transparent;
  color: var(--wf-ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wf-search-pill .btn-search-nav:hover {
  background: var(--wf-accent-subtle);
  color: var(--wf-accent-hover);
}

.wf-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(241, 234, 224, 0.55);
  border: 1px solid rgba(230, 222, 211, 0.8);
}

.wf-nav-actions .nav-icon-link,
.wf-nav-actions .btn-link.nav-icon-link {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 !important;
  justify-content: center;
  color: var(--wf-ink-muted) !important;
}

.wf-nav-actions .nav-icon-link:hover {
  background: var(--wf-surface);
  color: var(--wf-ink) !important;
}

.wf-nav-cta {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.15rem !important;
  border-radius: 999px !important;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wf-ink-muted) !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-icon-link:hover {
  color: var(--wf-ink) !important;
}

.nav-icon-badge {
  font-size: 0.65rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.35rem;
  line-height: 1.15rem;
  background: var(--wf-accent) !important;
  color: #fff !important;
  font-weight: 700;
}

/* ——— Buttons ——— */
.btn {
  border-radius: var(--wf-radius-sm);
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  transition: transform var(--wf-transition), box-shadow var(--wf-transition),
    background-color var(--wf-transition), border-color var(--wf-transition), color var(--wf-transition);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px var(--wf-accent-subtle);
}

.btn-primary {
  background: linear-gradient(135deg, var(--wf-accent) 0%, var(--wf-accent-hover) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(166, 124, 82, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #b88a5e 0%, var(--wf-accent-hover) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166, 124, 82, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  color: var(--wf-accent-hover);
  border: 1.5px solid var(--wf-accent);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--wf-accent);
  border-color: var(--wf-accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-wf-secondary {
  color: var(--wf-ink);
  border: 1.5px solid var(--wf-border);
  background: var(--wf-surface);
}

.btn-wf-secondary:hover {
  border-color: var(--wf-accent-soft);
  background: var(--wf-bg-secondary);
  color: var(--wf-ink);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  border-radius: var(--wf-radius);
  font-size: 1rem;
}

.btn-wf-ghost {
  background: transparent;
  border: none;
  color: var(--wf-ink-muted);
  box-shadow: none;
}

.btn-wf-ghost:hover {
  color: var(--wf-accent-hover);
  background: var(--wf-accent-subtle);
}

.btn-icon-arrow .wf-btn-arrow {
  display: inline-block;
  transition: transform var(--wf-transition);
}

.btn-icon-arrow:hover .wf-btn-arrow {
  transform: translateX(4px);
}

/* ——— Cards ——— */
.card.wf-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  background: var(--wf-surface);
  overflow: hidden;
  transition: box-shadow var(--wf-transition), transform var(--wf-transition), border-color var(--wf-transition);
}

.card.wf-card:hover {
  box-shadow: var(--wf-shadow-md);
  border-color: rgba(166, 124, 82, 0.25);
}

.card.wf-card-interactive:hover {
  transform: translateY(-6px);
}

.card.wf-card .card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--wf-bg-secondary);
  overflow: hidden;
}

.card.wf-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.wf-card-interactive:hover .card-img-top {
  transform: scale(1.06);
}

.product-card-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.55), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--wf-transition), transform var(--wf-transition);
  pointer-events: none;
}

.card.wf-card-interactive:hover .product-card-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-card-actions .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  box-shadow: var(--wf-shadow-sm);
}

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.product-card-wishlist-form {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
}

.btn-wishlist-card {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--wf-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wf-shadow-sm);
  transition: var(--wf-transition);
  padding: 0;
}

.btn-wishlist-card:hover {
  color: #c45c5c;
  transform: scale(1.08);
}

.btn-wishlist-card.is-active {
  color: #c45c5c;
}

.card.wf-card .card-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.card.wf-card .card-title {
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card.wf-card .card-title a {
  color: inherit;
}

.card.wf-card .card-title a:hover {
  color: var(--wf-accent-hover);
}

/* ——— Price ——— */
.wf-price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--wf-ink);
  font-family: var(--wf-font-sans);
}

.wf-price-sale {
  color: var(--wf-danger);
}

.wf-price-was {
  font-size: 0.875rem;
}

/* ——— Badges ——— */
.badge.wf-badge {
  font-weight: 700;
  padding: 0.35em 0.7em;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.wf-badge-new {
  background: var(--wf-green-soft);
  color: var(--wf-green);
  border: 1px solid rgba(63, 92, 78, 0.2);
}

.badge.wf-badge-sale {
  background: rgba(154, 77, 58, 0.12);
  color: var(--wf-danger);
  border: 1px solid rgba(154, 77, 58, 0.2);
}

.badge.wf-badge-featured {
  background: var(--wf-accent-subtle);
  color: var(--wf-accent-hover);
  border: 1px solid rgba(166, 124, 82, 0.25);
}

.badge.wf-badge-limited {
  background: rgba(166, 124, 82, 0.12);
  color: var(--wf-accent-hover);
  border: 1px solid rgba(166, 124, 82, 0.22);
}

.badge.wf-badge-stock {
  font-weight: 600;
  padding: 0.35em 0.65em;
  border-radius: 999px;
  font-size: 0.7rem;
}

.badge.wf-badge-stock.in-stock {
  background: var(--wf-green-soft);
  color: var(--wf-green);
  border: 1px solid rgba(63, 92, 78, 0.2);
}

.badge.wf-badge-stock.out-stock {
  background: rgba(154, 77, 58, 0.1);
  color: var(--wf-danger);
  border: 1px solid rgba(154, 77, 58, 0.15);
}

/* ——— Forms ——— */
.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--wf-ink);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border-radius: var(--wf-radius-sm);
  border-color: var(--wf-border);
  background: var(--wf-surface);
  padding: 0.65rem 1rem;
  min-height: 3rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--wf-accent);
  box-shadow: 0 0 0 3px var(--wf-accent-subtle);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: rgba(154, 77, 58, 0.5);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--wf-accent-subtle);
}

.form-check-input:checked {
  background-color: var(--wf-accent);
  border-color: var(--wf-accent);
}

/* ——— Account ——— */
.account-layout .account-sidebar-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  background: var(--wf-surface);
  position: sticky;
  top: calc(var(--wf-header-h) + 1rem);
}

.account-layout .account-sidebar-card .list-group-item {
  border-color: var(--wf-border);
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  color: var(--wf-ink-muted);
  font-size: 0.9rem;
}

.account-layout .account-sidebar-card .list-group-item:hover {
  background: var(--wf-bg-secondary);
  color: var(--wf-ink);
}

.account-layout .account-sidebar-card .list-group-item.active {
  background: var(--wf-accent-subtle);
  color: var(--wf-accent-hover);
  border-color: transparent;
}

.account-stat-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  background: var(--wf-surface);
  transition: box-shadow var(--wf-transition), transform var(--wf-transition);
}

.account-stat-card:hover {
  box-shadow: var(--wf-shadow-md);
}

.account-stat-card .display-6 {
  font-family: var(--wf-font-display);
  color: var(--wf-accent-hover);
}

.wf-avatar-placeholder {
  width: 120px;
  height: 120px;
}

/* ——— Auth ——— */
.auth-shell {
  min-height: calc(100vh - var(--wf-header-h) - 200px);
}

.auth-visual {
  border-radius: var(--wf-radius);
  background: linear-gradient(145deg, var(--wf-bg-secondary) 0%, var(--wf-accent-soft) 45%, var(--wf-bg) 100%);
  border: 1px solid var(--wf-border);
  min-height: 320px;
}

.auth-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
  background: var(--wf-surface);
}

.wf-contact-card {
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  box-shadow: var(--wf-shadow-sm);
}

.wf-contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--wf-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wf-accent-subtle);
  color: var(--wf-accent);
}

.wf-contact-icon svg {
  display: block;
}

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(180deg, #2f2c28 0%, #252320 100%);
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--wf-transition);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--wf-accent-soft);
}

.site-footer .wf-footer-logout {
  color: rgba(255, 255, 255, 0.88);
}
.site-footer .wf-footer-logout:hover,
.site-footer .wf-footer-logout:focus {
  color: var(--wf-accent-soft);
}

.site-footer .footer-heading {
  font-family: var(--wf-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.site-footer .footer-rule {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--wf-accent-soft);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(217, 194, 166, 0.2);
}

.footer-social a {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
  transition: var(--wf-transition);
}

.footer-social a svg {
  display: block;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--wf-accent);
  color: #fff !important;
}

/* ——— Breadcrumb ——— */
.breadcrumb {
  --bs-breadcrumb-divider-color: var(--wf-ink-muted);
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: var(--wf-ink-muted);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--wf-accent-hover);
}

/* ——— Pagination ——— */
.pagination.wf-pagination .page-link {
  border-radius: var(--wf-radius-sm);
  margin: 0 0.2rem;
  border: 1px solid var(--wf-border);
  color: var(--wf-ink);
  font-weight: 600;
  min-width: 2.5rem;
  text-align: center;
}

.pagination.wf-pagination .page-item.active .page-link {
  background: var(--wf-accent);
  border-color: var(--wf-accent);
  color: #fff;
}

.pagination.wf-pagination .page-link:hover {
  background: var(--wf-bg-secondary);
  border-color: var(--wf-accent-soft);
  color: var(--wf-accent-hover);
}

/* ——— Filter panel ——— */
.filter-panel {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-surface);
  box-shadow: var(--wf-shadow-sm);
  padding: 1.5rem;
}

.filter-panel h2,
.filter-panel .filter-title {
  font-family: var(--wf-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wf-ink-muted);
  margin-bottom: 1.25rem;
}

.catalog-toolbar {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-surface);
  box-shadow: var(--wf-shadow-sm);
  padding: 1rem 1.25rem;
}

/* ——— Category page banner ——— */
.category-hero {
  position: relative;
  border-radius: var(--wf-radius);
  overflow: hidden;
  min-height: clamp(200px, 28vw, 320px);
  background: var(--wf-bg-secondary);
  border: 1px solid var(--wf-border);
  margin-bottom: 2rem;
}

.category-hero--fallback {
  background: linear-gradient(135deg, var(--wf-bg-secondary) 0%, var(--wf-accent-soft) 55%, var(--wf-bg) 100%);
}

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

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 43, 43, 0.75) 0%, rgba(43, 43, 43, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  z-index: 1;
}

.category-hero-overlay h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.category-hero-overlay p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0;
  font-size: 1rem;
}

.category-hero-overlay .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.category-hero-overlay .breadcrumb-item a:hover {
  color: #fff;
}

.category-hero-overlay .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}

/* ——— Product detail ——— */
.product-gallery-main {
  border-radius: var(--wf-radius);
  border: 1px solid var(--wf-border);
  overflow: hidden;
  background: var(--wf-surface);
  aspect-ratio: 1;
  cursor: zoom-in;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-gallery-main:hover img {
  transform: scale(1.03);
}

.product-gallery-placeholder {
  aspect-ratio: 1;
  min-height: 280px;
  border-radius: var(--wf-radius);
  border: 1px dashed var(--wf-border);
  background: var(--wf-bg-secondary);
  color: var(--wf-ink-muted);
}

.product-thumb {
  width: 4.75rem;
  height: 4.75rem;
  padding: 0;
  border: 2px solid transparent !important;
  border-radius: var(--wf-radius-sm) !important;
  overflow: hidden;
  background: var(--wf-surface);
  transition: border-color var(--wf-transition), box-shadow var(--wf-transition);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover,
.product-thumb:focus-visible {
  border-color: var(--wf-accent-soft) !important;
  box-shadow: var(--wf-shadow-sm);
}

.product-thumb.is-active {
  border-color: var(--wf-accent) !important;
  box-shadow: 0 0 0 2px var(--wf-accent-subtle);
}

.pdp-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--wf-border);
  border-bottom: 1px solid var(--wf-border);
  margin: 1.5rem 0;
}

.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--wf-ink-muted);
  font-weight: 600;
}

.pdp-trust-item svg {
  color: var(--wf-green);
  flex-shrink: 0;
}

.spec-card,
.accordion.wf-accordion .accordion-item {
  border: 1px solid var(--wf-border) !important;
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-sm);
  background: var(--wf-surface);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion.wf-accordion .accordion-button {
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--wf-surface);
  color: var(--wf-ink);
  box-shadow: none !important;
}

.accordion.wf-accordion .accordion-button:not(.collapsed) {
  background: var(--wf-bg-secondary);
  color: var(--wf-accent-hover);
}

.accordion.wf-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--wf-border);
}

.accordion.wf-accordion .accordion-body {
  color: var(--wf-ink-muted);
}

.spec-card .card-header {
  background: var(--wf-bg-secondary);
  border-bottom: 1px solid var(--wf-border);
  font-family: var(--wf-font-display);
  font-weight: 600;
}

.spec-card dt {
  color: var(--wf-ink-muted);
  font-weight: 600;
  font-size: 0.875rem;
}

.spec-card dd {
  margin-bottom: 0.65rem;
}

.spec-card .table {
  --bs-table-border-color: var(--wf-border);
}

/* ——— Homepage ——— */
.home-hero-premium {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
  background: var(--wf-ink);
  color: #f7f3ee;
  overflow: hidden;
}

.home-hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(166, 124, 82, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(63, 92, 78, 0.2), transparent 50%),
    linear-gradient(160deg, #1f1d1b 0%, #2b2825 40%, #3d3834 100%);
  pointer-events: none;
}

.home-hero-premium .wf-container {
  position: relative;
  z-index: 1;
}

.home-hero-premium .hero-kicker {
  color: var(--wf-accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-hero-premium h1 {
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.home-hero-premium .lead {
  color: rgba(247, 243, 238, 0.88);
  font-size: 1.1rem;
  max-width: 32rem;
  font-weight: 500;
}

.home-hero-premium .btn-light {
  background: #f7f3ee;
  border: none;
  color: var(--wf-accent-hover);
  font-weight: 700;
}

.home-hero-premium .btn-light:hover {
  background: #fff;
  color: var(--wf-ink);
}

.home-hero-premium .btn-outline-light {
  border-width: 1.5px;
  font-weight: 700;
  color: #f7f3ee;
}

.home-hero-premium .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.home-hero-stat {
  border-left: 3px solid var(--wf-accent);
  padding-left: 1rem;
  margin-top: 2rem;
}

.home-hero-stat strong {
  display: block;
  font-family: var(--wf-font-display);
  font-size: 1.75rem;
  color: #fff;
}

.home-hero-stat span {
  font-size: 0.8rem;
  color: rgba(247, 243, 238, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-split-banner {
  border-radius: var(--wf-radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--wf-bg-secondary);
  border: 1px solid var(--wf-border);
  display: grid;
}

@media (min-width: 768px) {
  .home-split-banner {
    grid-template-columns: 1fr 1fr;
  }
}

.home-split-banner__content {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--wf-surface);
}

.home-split-banner__visual {
  background: linear-gradient(135deg, var(--wf-accent-subtle), var(--wf-bg-secondary));
  min-height: 200px;
}

.home-story-section {
  background: var(--wf-bg-secondary);
  border-radius: var(--wf-radius);
  border: 1px solid var(--wf-border);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.home-testimonial-card {
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--wf-shadow-sm);
  transition: var(--wf-transition);
}

.home-testimonial-card:hover {
  box-shadow: var(--wf-shadow-md);
}

.home-testimonial-card .quote {
  font-family: var(--wf-font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--wf-ink);
  line-height: 1.5;
}

.home-promo-strip {
  border-color: var(--wf-border) !important;
}

.home-promo-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--wf-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--wf-accent-hover);
}

.font-sans {
  font-family: var(--wf-font-sans);
}

.category-card-media {
  position: relative;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.78) 0%, transparent 50%);
  pointer-events: none;
}

.category-card-overlay .btn {
  pointer-events: none;
}

.category-card-fallback {
  background: linear-gradient(145deg, var(--wf-bg-secondary) 0%, #f5f0ea 100%);
}

.letter-spacing-sm {
  letter-spacing: 0.08em;
}

.category-card-cta {
  transition: transform var(--wf-transition);
}

.category-card:hover .category-card-cta {
  transform: translateX(4px);
}

.category-card-page .card-img-wrap {
  aspect-ratio: 16 / 10;
}

.category-card-media--premium .card-img-top {
  min-height: 260px;
}

.category-card-overlay--premium {
  background: linear-gradient(
    to top,
    rgba(42, 41, 38, 0.9) 0%,
    rgba(42, 41, 38, 0.35) 50%,
    transparent 100%
  ) !important;
  pointer-events: none;
}

.category-card-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-accent-soft);
}

.category-card-title {
  font-family: var(--wf-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.category-card-arrow {
  color: #fff;
  opacity: 0.88;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card--premium:hover .category-card-arrow {
  transform: translateX(6px);
  opacity: 1;
}

.category-card-cta-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.category-card--premium:hover .category-card-cta-arrow {
  transform: translateX(5px);
}

.category-card-fallback--premium {
  min-height: 260px;
  background: linear-gradient(145deg, var(--wf-bg-secondary) 0%, var(--wf-accent-subtle) 100%);
}

/* ——— Checkout steps ——— */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-ink-muted);
}

.checkout-steps .step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wf-bg-secondary);
  border: 1px solid var(--wf-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wf-font-display);
  font-size: 1rem;
}

.checkout-steps .step.active .step-num {
  background: var(--wf-accent);
  border-color: var(--wf-accent);
  color: #fff;
}

.checkout-steps .step.active {
  color: var(--wf-ink);
}

.checkout-steps .divider {
  width: 2rem;
  height: 2px;
  background: var(--wf-border);
}

/* ——— Cart ——— */
.cart-line-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-surface);
  box-shadow: var(--wf-shadow-sm);
  transition: var(--wf-transition);
}

.cart-line-card:hover {
  box-shadow: var(--wf-shadow-md);
}

.cart-summary-card {
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-surface);
  box-shadow: var(--wf-shadow-md);
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wf-border);
}

.trust-badge-row span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wf-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-badge-row svg {
  color: var(--wf-green);
}

/* ——— Tables ——— */
.table-wf {
  --bs-table-bg: transparent;
}

.table-wf thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--wf-ink-muted);
  border-color: var(--wf-border);
}

.table-wf td {
  border-color: var(--wf-border);
  vertical-align: middle;
}

/* ——— Empty states ——— */
.wf-empty-state {
  border: 1px dashed var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-surface);
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: var(--wf-ink-muted);
}

.wf-empty-state .wf-empty-title {
  font-family: var(--wf-font-display);
  font-weight: 600;
  color: var(--wf-ink);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* ——— Alerts ——— */
.alert {
  border-radius: var(--wf-radius-sm);
  border: none;
  box-shadow: var(--wf-shadow-sm);
}

.alert-success {
  background: var(--wf-green-soft);
  color: var(--wf-green);
  border: 1px solid rgba(63, 92, 78, 0.2);
}

.alert-danger,
.alert-error {
  background: rgba(154, 77, 58, 0.12);
  color: var(--wf-danger);
}

.alert-warning {
  background: rgba(217, 194, 166, 0.35);
  color: var(--wf-accent-hover);
}

.alert-info {
  background: rgba(63, 92, 78, 0.1);
  color: var(--wf-green);
}

/* ——— Offcanvas ——— */
.offcanvas-wf {
  border-left: 1px solid var(--wf-border);
  background: var(--wf-surface);
}

.offcanvas-wf .offcanvas-header {
  border-bottom: 1px solid var(--wf-border);
}

.offcanvas-wf .btn-close {
  opacity: 0.6;
}

/* ——— Utilities & motion ——— */
.text-wf-muted {
  color: var(--wf-ink-muted) !important;
}

.text-wf-accent {
  color: var(--wf-accent-hover) !important;
}

.object-fit-cover {
  object-fit: cover;
}

.wf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.wf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wf-stagger-1 { transition-delay: 0.08s; }
.wf-stagger-2 { transition-delay: 0.16s; }
.wf-stagger-3 { transition-delay: 0.24s; }

/* Image lightbox */
.wf-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(43, 43, 43, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.wf-lightbox.is-open {
  display: flex;
}

.wf-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--wf-radius-sm);
  box-shadow: var(--wf-shadow-lg);
}

.wf-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--wf-transition);
}

.wf-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
