:root {
  --black: #090807;
  --ink: #1d1a17;
  --blue: #0b1b3a;
  --ivory: #f7f2e9;
  --paper: #fffcf6;
  --soft: #eee7dd;
  --line: #ded4c5;
  --muted: #746f67;
  --gold: #c9a85f;
  --gold-deep: #9d7a31;
  --green: #17824b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(9, 8, 7, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 36px;
  padding: 7px 18px;
  background: var(--black);
  color: var(--ivory);
  font-size: 0.86rem;
  font-weight: 700;
}

.topbar a {
  color: var(--ivory);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr minmax(270px, 390px) auto;
  align-items: center;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 44px);
}

.brand-mark {
  display: inline-grid;
  gap: 2px;
  min-width: max-content;
}

.brand-mark span {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-weight: 800;
}

.primary-nav a {
  padding: 8px 0;
  color: #312d27;
}

.primary-nav a:hover {
  color: var(--gold-deep);
}

.header-search,
.drawer-search-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
}

.header-search {
  border: 1px solid var(--line);
  background: #fffaf2;
  border-radius: var(--radius);
  padding: 6px;
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fffaf2;
  color: var(--ink);
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-button {
  width: 42px;
  padding: 0;
}

.icon-button svg,
.button svg,
.ask-button svg,
.whatsapp-top svg,
.image-search-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.icon-button:hover,
.button:hover,
.ask-button:hover,
.whatsapp-top:hover,
.image-search-button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.icon-button--dark,
.button--dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--ivory);
}

.button {
  min-width: 130px;
  padding: 0 18px;
}

.button--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.button--green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button--outline {
  background: transparent;
  color: var(--ink);
}

.whatsapp-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font-weight: 900;
}

.brand-rail {
  display: flex;
  gap: 8px;
  max-width: 1480px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 clamp(16px, 4vw, 44px) 14px;
  scrollbar-width: thin;
}

.brand-rail a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 242, 233, 0.8);
  color: #3c3730;
  font-size: 0.84rem;
  font-weight: 800;
}

.brand-rail a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.mobile-only {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(330px, 42vw, 520px);
  display: grid;
  align-items: end;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.88), rgba(9, 8, 7, 0.48), rgba(9, 8, 7, 0.18)),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.01);
}

.hero__content {
  position: relative;
  width: min(980px, 100%);
  padding: clamp(44px, 8vw, 86px) clamp(16px, 4vw, 66px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 750;
}

.hero__actions,
.detail-actions,
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 82px) clamp(16px, 4vw, 44px);
}

.section--tight {
  padding-top: clamp(34px, 5vw, 60px);
  padding-bottom: clamp(28px, 4vw, 54px);
}

.section--soft,
.why-section {
  max-width: none;
  background: var(--ivory);
}

.section--soft > *,
.why-section > * {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.brand-card,
.category-card,
.trust-grid div {
  display: grid;
  align-content: space-between;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
}

.brand-card span,
.category-card span,
.trust-grid strong {
  font-weight: 950;
}

.brand-card small,
.category-card small,
.trust-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.brand-card:hover,
.category-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 95, 0.85);
  box-shadow: 0 14px 34px rgba(9, 8, 7, 0.1);
}

.product-card__image {
  position: relative;
  display: block;
  height: clamp(142px, 43vw, 220px);
  overflow: hidden;
  background: var(--soft);
}

.product-card__image img,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(9, 8, 7, 0.76);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-card__body {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.product-card__brand {
  margin: 0;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ask-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 900;
}

.image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-family: var(--serif);
}

.request-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto clamp(44px, 6vw, 82px);
  padding: clamp(26px, 5vw, 44px) clamp(16px, 4vw, 44px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.request-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.shop-page {
  background: var(--paper);
}

.shop-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) clamp(16px, 4vw, 44px) 22px;
}

.shop-hero h1 {
  margin-bottom: 10px;
  color: var(--ink);
}

.shop-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.image-search-note,
.active-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: #403b34;
  font-size: 0.9rem;
  font-weight: 800;
}

.image-search-note {
  max-width: 1480px;
  margin: 0 auto 12px;
  width: calc(100% - clamp(32px, 8vw, 88px));
  justify-content: flex-start;
}

.image-search-note svg {
  width: 18px;
  height: 18px;
}

.active-summary div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.active-summary span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fffaf2;
  color: var(--muted);
  font-size: 0.78rem;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 44px) clamp(54px, 8vw, 92px);
}

.desktop-filters {
  display: grid;
  align-content: start;
  gap: 14px;
}

.filter-panel,
.category-sidebar,
.request-form,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
  box-shadow: 0 10px 30px rgba(9, 8, 7, 0.04);
}

.filter-panel {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.filter-title,
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-panel label,
.request-form label,
.drawer-search-form label {
  display: grid;
  gap: 6px;
  color: #3a342e;
  font-size: 0.86rem;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select,
.request-form input,
.request-form select,
.request-form textarea,
.drawer-search-form input,
.drawer-search-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus,
.drawer-search-form input:focus,
.drawer-search-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 95, 0.18);
}

.image-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  width: 100%;
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  background: rgba(201, 168, 95, 0.12);
  color: var(--ink);
  font-weight: 900;
}

.category-sidebar {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.category-sidebar strong {
  margin: 8px 0 3px;
  color: var(--black);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.category-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #39342e;
  font-size: 0.88rem;
  font-weight: 850;
}

.category-sidebar a:hover,
.category-sidebar a.is-active {
  background: var(--blue);
  color: #fff;
}

.category-sidebar span {
  color: inherit;
  opacity: 0.75;
  font-size: 0.76rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-weight: 900;
}

.pagination a,
.pagination span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
}

.pagination a.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(9, 8, 7, 0.5);
}

.mobile-menu,
.search-drawer,
.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 160;
  width: min(430px, 92vw);
  height: 100vh;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(9, 8, 7, 0.2);
}

.mobile-menu,
.search-drawer {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.mobile-menu a {
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.drawer-search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}

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

.filter-drawer {
  padding: 16px;
}

.filter-panel--drawer {
  box-shadow: none;
}

.breadcrumb,
.detail-page > .section {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 44px);
  padding-right: clamp(16px, 4vw, 44px);
}

.breadcrumb {
  padding-top: 28px;
  color: var(--blue);
  font-weight: 900;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 26px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 44px) clamp(42px, 7vw, 82px);
}

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

.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.gallery__item--main {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.detail-panel {
  align-self: start;
  position: sticky;
  top: 160px;
  padding: clamp(20px, 4vw, 34px);
}

.detail-panel h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 900;
}

.detail-note {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 750;
}

.request-page {
  background: linear-gradient(180deg, var(--paper), var(--ivory));
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: clamp(24px, 5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 8vw, 96px) clamp(16px, 4vw, 44px);
}

.request-layout h1,
.info-page h1 {
  color: var(--ink);
}

.request-layout p {
  max-width: 520px;
  color: var(--muted);
  font-weight: 760;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
}

.request-form textarea {
  resize: vertical;
}

.info-page {
  min-height: 56vh;
}

.info-page p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: clamp(34px, 6vw, 62px) clamp(16px, 4vw, 44px);
  background: var(--black);
  color: rgba(255, 252, 246, 0.84);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.site-footer span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 950;
}

.site-footer a {
  display: block;
  margin: 6px 0;
}

.footer-note {
  grid-column: 1 / -1;
  max-width: 860px;
  margin-bottom: 0;
  color: rgba(255, 252, 246, 0.72);
  font-size: 0.92rem;
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(255, 252, 246, 0.62);
}

.static-fallback {
  padding: 40px;
}

@media (min-width: 680px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid,
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-card__image {
    height: 230px;
  }
}

@media (min-width: 1080px) {
  .brand-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .product-card__image {
    height: 250px;
  }
}

@media (min-width: 1320px) {
  .product-card__image {
    height: 280px;
  }
}

@media (max-width: 1160px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .header-search {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .whatsapp-top span {
    display: none;
  }

  .brand-rail {
    padding: 0 16px 12px;
  }

  .hero {
    min-height: 340px;
  }

  .hero__content {
    padding: 48px 16px;
  }

  .section-head,
  .shop-hero,
  .request-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalogue-layout {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .desktop-filters {
    display: none;
  }

  .mobile-filter-trigger {
    display: inline-flex;
  }

  .product-detail,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .topbar {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .brand-mark span {
    font-size: 1.72rem;
  }

  .brand-mark small {
    font-size: 0.76rem;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button,
  .whatsapp-top {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero__actions,
  .detail-actions,
  .filter-actions {
    width: 100%;
  }

  .hero__actions .button,
  .detail-actions .button,
  .filter-actions .button {
    flex: 1 1 100%;
  }

  .section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card__image {
    height: clamp(136px, 42vw, 178px);
  }

  .product-card__body {
    padding: 9px;
  }

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

  .ask-button {
    min-height: 35px;
    font-size: 0.76rem;
  }

  .active-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .active-summary div {
    justify-content: flex-start;
  }

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

  .gallery__item--main {
    grid-column: span 1;
  }
}
