﻿:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-soft: #f2efe9;
  --text: #1d1b19;
  --muted: #6f6a63;
  --line: #e7e2d9;
  --accent: #82684f;
  --accent-dark: #5e4a37;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(29, 27, 25, 0.07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfaf8 0%, var(--bg) 100%);
  line-height: 1.55;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 10px;
  z-index: 99;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.main-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.nav-icons {
  display: flex;
  gap: 8px;
}

.nav-icons button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.8rem;
  cursor: pointer;
}

.hero {
  position: relative;
}

.hero-media img {
  max-height: 560px;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.hero-content {
  margin-top: -120px;
  position: relative;
  z-index: 2;
}

.hero-content .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.hero-content h1 {
  margin: 12px 0;
  font-size: clamp(1.8rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  max-width: 12ch;
}

.hero-content p {
  max-width: 50ch;
  color: #4f4a44;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 20px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.section {
  padding: 52px 0 8px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.card-grid {
  display: grid;
  gap: 14px;
}

.cards-5 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: 1fr; }

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-card img {
  height: 180px;
}

.category-card span {
  display: block;
  padding: 14px;
  font-weight: 700;
}

.category-card:hover,
.category-card:focus-visible,
.product-card:hover,
.product-card:focus-within,
.collection-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
}

.category-card,
.product-card,
.collection-card,
.blog-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.product-card img {
  border-radius: 12px;
  height: 220px;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.price {
  margin: 0;
  font-weight: 700;
}

.price span {
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 500;
}

.actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.actions button {
  border: none;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}

.actions .ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.promo {
  margin-top: 46px;
  background: linear-gradient(135deg, #ddd4c8 0%, #cabca9 100%);
}

.promo-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 36px 0;
}

.collection-card,
.blog-card,
.why-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.collection-card img {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  height: 210px;
}

.collection-card h3,
.collection-card a,
.blog-card h3,
.blog-card p,
.blog-card a,
.why-grid article h3,
.why-grid article p {
  margin: 0;
  padding-inline: 16px;
}

.collection-card h3,
.blog-card h3,
.why-grid article h3 {
  padding-top: 16px;
}

.collection-card a,
.blog-card p,
.blog-card a,
.why-grid article p {
  padding-top: 8px;
  padding-bottom: 16px;
  color: var(--muted);
}

.newsletter {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.newsletter form {
  display: grid;
  gap: 10px;
}

.newsletter input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 1rem;
}

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

.site-footer {
  position: relative;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(168, 135, 95, 0.22) 0%, rgba(33, 27, 21, 0) 52%),
    linear-gradient(180deg, #2b231c 0%, #1e1914 100%);
  color: #f7efe5;
  margin-top: 46px;
  padding: 46px 0 22px;
  border-top: 1px solid rgba(231, 214, 187, 0.24);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #cfad84 30%, #cfad84 70%, transparent 100%);
}

.footer-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff7ec;
  letter-spacing: 0.2px;
}

.site-footer h3 {
  font-size: 1.42rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #decfbc;
  margin: 0;
}

.site-footer p {
  line-height: 1.75;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  text-align: center;
  margin-right: 8px;
  vertical-align: -2px;
  color: #e7d4bb;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer a {
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff4e6;
  opacity: 1;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copyright {
  text-align: center;
  color: #c2af96;
  margin: 30px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(231, 214, 187, 0.2);
  font-size: 0.88rem;
}

@media (min-width: 680px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .main-nav {
    justify-content: center;
  }

  .cards-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .cards-3,
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter form {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
    gap: 28px;
  }

  .footer-grid > div:last-child {
    justify-self: end;
  }
}

@media (min-width: 980px) {
  .hero-content {
    margin-top: -170px;
  }

  .cards-5 {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.collection-hero {
  padding-top: 34px;
}

.collection-hero h1 {
  margin: 8px 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.collection-hero p {
  color: var(--muted);
  max-width: 64ch;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip-row a {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.filter-panel h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.filter-group + .filter-group {
  margin-top: 14px;
}

.filter-group h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.filter-group label {
  display: block;
  color: var(--muted);
  margin: 6px 0;
  font-size: 0.93rem;
}

.catalog-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.catalog-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-head select {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 11px;
}

@media (min-width: 980px) {
  .catalog-layout {
    grid-template-columns: 260px 1fr;
  }
}

.contact-hero {
  padding-top: 34px;
}

.contact-hero h1 {
  margin: 8px 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.contact-hero p {
  color: var(--muted);
  max-width: 68ch;
}

.contact-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.contact-info-card h2,
.contact-form-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--muted);
  margin: 8px 0;
}

.contact-mini-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-mini-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fcfbf8;
}

.contact-mini-grid h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.contact-mini-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-form-card form {
  display: grid;
  gap: 10px;
}

.contact-form-card label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4b4640;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.catalog-head select:focus {
  outline: 2px solid #d3c3ae;
  outline-offset: 1px;
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

.policy-wrap h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.policy-wrap > p {
  color: var(--muted);
  max-width: 70ch;
}

.policy-card {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.policy-card h2 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.policy-card h3 {
  margin: 12px 0 6px;
  font-size: 1rem;
}

.policy-card p,
.policy-card li {
  color: #4f4a44;
}

.policy-card ul {
  margin: 8px 0 10px 20px;
  padding: 0;
}

.policy-card a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.policy-date {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.announcement-bar {
  background: #4e3f31;
  color: #f7f1e7;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.announcement-bar p {
  margin: 0;
}

.hero-home {
  display: grid;
  gap: 16px;
  align-items: center;
  padding-top: 26px;
}

.hero-home-content h1 {
  margin: 10px 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.04;
  max-width: 12ch;
}

.hero-home-content p {
  color: var(--muted);
  max-width: 54ch;
}

.hero-home-media img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 320px;
  max-height: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-outline {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-highlights {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-highlights span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: #5a544d;
  background: #fff;
}

.trust-strip {
  margin-top: 24px;
  background: #f3eee6;
  border-block: 1px solid var(--line);
}

.trust-strip-grid {
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.trust-strip-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.trust-strip-grid h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.trust-strip-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.promo-inner p {
  margin: 0;
  color: #4f463d;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.testimonial-card p {
  margin: 0 0 10px;
  color: #4c4740;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.newsletter p {
  margin-top: 0;
  color: var(--muted);
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid #c9b39a;
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .hero-home {
    grid-template-columns: 1.1fr 1fr;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filter-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.clear-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.catalog-head-strong {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
}

.sort-wrap {
  display: grid;
  gap: 6px;
}

.sort-wrap label {
  font-size: 0.8rem;
  color: var(--muted);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.active-filters span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  color: #5f584f;
  background: #fff;
}

.meta {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.pagination {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.page {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 0.88rem;
  color: #544f49;
}

.page.is-active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

@media (min-width: 760px) {
  .catalog-head-strong {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
