:root {
  --bg: #f6f1e8;
  --paper: #fffdf8;
  --ink: #1f241f;
  --muted: #697066;
  --green: #314a37;
  --green-2: #47684d;
  --tan: #c69a68;
  --brown: #6c452c;
  --line: #ded5c7;
  --shadow: 0 18px 50px rgba(43, 35, 26, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(108, 69, 44, .1);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 55px; height: 45px;}
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 650; font-size: .95rem; }
.main-nav a { opacity: .82; }
.main-nav a:hover { opacity: 1; color: var(--brown); }
.main-nav .nav-cta { padding: 11px 18px; border: 1px solid var(--brown); border-radius: 999px; opacity: 1; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(198,154,104,.42), transparent 26%),
    linear-gradient(135deg, #eee3d3 0%, #f8f4ec 55%, #e7e0d1 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; padding: 64px 0 76px; }
.eyebrow { margin: 0 0 13px; color: var(--brown); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.05; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.4rem, 6.4vw, 6.2rem); font-weight: 700; }
h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); }
.hero-text { max-width: 690px; margin: 25px 0 0; font-size: 1.13rem; color: #4d554d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 24px rgba(49,74,55,.18); }
.btn-primary:hover { background: #253a2b; }
.btn-secondary { border: 1px solid rgba(49,74,55,.28); background: rgba(255,255,255,.38); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: #586158; font-size: .9rem; font-weight: 650; }
.hero-card { position: relative; justify-self: end; width: min(480px, 100%); border-radius: 30px; padding: 16px; background: rgba(255,255,255,.45); border: 1px solid rgba(108,69,44,.18); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card::before { content:""; position:absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(108,69,44,.16); border-radius: 34px; z-index:-1; }
.hero-card img { width: 100%; border-radius: 20px; }
.hero-card-copy { display:flex; justify-content:space-between; gap:16px; padding: 14px 4px 2px; align-items:center; }
.hero-card-copy strong { font-size:1.05rem; }
.hero-card-copy span { color:var(--muted); font-size:.82rem; text-align:right; }

.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.section-heading > p { margin: 0; color: var(--muted); }
.category-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.category-card { text-align:left; cursor:pointer; border:1px solid var(--line); background:var(--paper); border-radius:20px; padding:22px; min-height:190px; display:flex; flex-direction:column; align-items:flex-start; box-shadow:0 8px 24px rgba(43,35,26,.05); transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; background:var(--green);}
.category-card img{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; clip-path: circle(75% at 100% 100%); z-index: 0; transition: clip-path 0.4s ease;}
.category-card:hover img{clip-path: circle(85% at 100% 100%);}
.category-card:hover { transform:translateY(-5px); border-color:#c9b393; box-shadow:0 14px 30px rgba(43,35,26,.09);}
.category-icon { font-size:2rem; margin-bottom:auto; }
.category-card strong { font-family:Georgia,"Times New Roman",serif; font-size:1.35rem; margin-bottom:7px; position: relative; z-index: 1; color: white; max-width: 60%;}
.category-card small { color:var(--muted); font-size:.9rem; }

.products { background:#efe8dc; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.product-heading { margin-bottom: 24px; }
.catalog-tools { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:28px; }
.search-box { flex: 1 1 410px; max-width:530px; background:var(--paper); border:1px solid var(--line); border-radius:999px; min-height:50px; display:flex; align-items:center; gap:9px; padding:0 17px; }
.search-box span { color:var(--muted); font-size:1.2rem; }
.search-box input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); }
.filters { display:flex; flex-wrap:wrap; gap:8px; }
.filter { cursor:pointer; border:1px solid #d7c9b6; background:transparent; border-radius:999px; padding:9px 14px; font-weight:750; }
.filter.active, .filter:hover { background:var(--green); color:white; border-color:var(--green); }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.product-card { overflow:hidden; border:1px solid rgba(108,69,44,.14); border-radius:20px; background:var(--paper); box-shadow:0 8px 26px rgba(43,35,26,.06); transition:transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; height: 100%;}
.product-card:hover { transform:translateY(-5px); box-shadow:0 16px 34px rgba(43,35,26,.10); }
.product-image { width:100%; aspect-ratio: 1.04; object-fit:cover; background:#ddd4c8; }
.product-body { padding:17px; display: flex; flex-direction: column; flex-grow: 1; }
.product-category { margin:0 0 6px; color:var(--brown); text-transform:uppercase; letter-spacing:.12em; font-size:.69rem; font-weight:850; }
.product-title { margin:0; font-size:1.35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px;}
.product-description { margin:10px 0 16px; color:var(--muted); font-size:.9rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
.product-meta { display:flex; align-items:center; justify-content:space-between; margin-top: auto; gap:12px; }
.price { font-size:1.15rem; font-weight:900; color:var(--green); }
.details-btn { cursor:pointer; border:0; background:transparent; padding:0; color:var(--brown); font-weight:850; }
.details-btn:hover { text-decoration:underline; }
.empty-state { padding:40px; text-align:center; color:var(--muted); background:var(--paper); border-radius:16px; }

.carousel-viewport {overflow: hidden; width: 100%;}
.carousel-track {display: flex; width: 100%; transition: transform 0.5s ease-in-out;}
.ad-slide {flex: 0 0 100%; width: 100%;}

.about-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:68px; align-items:center; }
.about-image-wrap { position:relative; }
.about-image-wrap img { width:100%; max-height:560px; aspect-ratio: .9; object-fit:cover; border-radius:28px; box-shadow:var(--shadow); }
.about-badge { position:absolute; right:-20px; bottom:30px; background:var(--green); color:white; padding:14px 18px; border-radius:16px; font-weight:850; box-shadow:0 12px 25px rgba(49,74,55,.25); }
.about-copy > p:not(.eyebrow) { color:var(--muted); font-size:1.04rem; }
.mini-points { margin-top:27px; display:grid; gap:12px; }
.mini-points div { display:flex; gap:16px; padding:15px 0; border-bottom:1px solid var(--line); }
.mini-points strong { min-width:150px; }
.mini-points span { color:var(--muted); }

.contact { padding-top: 30px; }
.contact-card { background:var(--green); color:white; padding:52px; border-radius:30px; display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:center; box-shadow:0 18px 48px rgba(49,74,55,.18); }
.contact-card .eyebrow { color:#dfbd92; }
.contact-card p:not(.eyebrow) { color:rgba(255,255,255,.72); }
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; flex-shrink: 0; }
.icon-circle img{ width: 20px; height: auto; object-fit: contain; }
.contact-columns{ display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; align-items: start; }
.column-title{ font-size: 1rem; font-weight: bold; color: white; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.column-content{ display: flex; flex-direction: column; gap: 20px;}
.contact-item{ display: flex; align-items: center; gap: 15px; text-decoration: none; color: white;}
.contact-item:hover .info-text{text-decoration: underline;}
.address-text{ color: white; font-weight: bolder; line-height: 1.5; font-size: 0.9rem;}
.map-iframe{ width: 100%; height: 180px; border: none; border-radius: 8px; margin-top: 10px;}

.site-footer { padding:34px 0; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.footer-brand { display:flex; align-items:center; gap:12px; }
.footer-brand img { width:44px; height:44px; object-fit:cover; border-radius:50%; }
.footer-brand strong, .footer-brand span { display:block; }
.footer-brand span, .footer-copy { color:var(--muted); font-size:.85rem; }

.modal[hidden] { display:none; }
.modal { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:24px; }
.modal-backdrop { position:absolute; inset:0; background:rgba(20,22,20,.72); backdrop-filter:blur(5px); }
.modal-card { position:relative; z-index:1; width:min(860px,100%); max-height:calc(100vh - 48px); overflow:auto; display:grid; grid-template-columns:1fr 1fr; background:var(--paper); border-radius:24px; box-shadow:0 28px 80px rgba(0,0,0,.32); }
.modal-card > img { width:100%; height:100%; min-height:430px; object-fit:cover; }
.modal-body { padding:38px; display:flex; flex-direction:column; }
.modal-body h3 { margin:0 0 18px; font-size:2.6rem; }
.modal-body > p:not(.product-category) { color:var(--muted); }
.modal-bottom { margin-top:auto; padding-top:30px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.modal-price { font-size:1.7rem; color:var(--green); }
.modal-close { position:absolute; right:14px; top:14px; z-index:2; width:38px; height:38px; border:0; border-radius:50%; cursor:pointer; background:rgba(255,255,255,.92); font-size:1.5rem; box-shadow:0 4px 16px rgba(0,0,0,.12); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns:1fr; min-height:auto; gap:24px; justify-items: center; text-align: center; }
  .hero-copy {display: contents;}
  .eyebrow{order: 1;}
  .hero-copy h1{order: 2;}
  .hero-text{max-width: 80%; order: 4;}
  .hero-actions{justify-content: center; order: 5;}
  .hero-notes{order: 6;}
  .hero-card { justify-self:center;  order: 3; margin: 20px 0; max-width:520px; }
  .category-grid, .product-grid { grid-template-columns:repeat(2,1fr); }
  .about-grid { grid-template-columns:1fr 1fr; gap:40px; }
  .contact-card { grid-template-columns:1fr; }
  .category-card {justify-content: center;}
}

@media (max-width: 760px) {
  .container { width:min(100% - 26px, 1180px); }
  .section { padding:68px 0; }
  .menu-toggle { display:block; }
  .main-nav { display:none; position:absolute; top:78px; left:13px; right:13px; padding:16px; flex-direction:column; align-items:stretch; gap:5px; background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px; }
  .main-nav .nav-cta { text-align:center; margin-top:4px; }
  .brand span { font-size:.95rem; }
  .hero-grid { padding:52px 0 64px; }
  h1 { font-size:clamp(3rem, 15vw, 5rem); }
  .hero-notes { display:grid; gap:7px; }
  .section-heading { grid-template-columns:1fr; gap:14px; }
  .catalog-tools { align-items:stretch; flex-direction:column; }
  .search-box { max-width:none; flex-basis:auto; }
  .filters { overflow-x:auto; flex-wrap:nowrap; padding-bottom:3px; }
  .filter { white-space:nowrap; }
  .about-grid { grid-template-columns:1fr; }
  .about-image-wrap { max-width:520px; }
  .about-badge { right:14px; }
  .contact-card { padding:30px 22px; }
  .contact-columns { grid-template-columns:1fr; gap: 40px;}
  .footer-grid { align-items:flex-start; flex-direction:column; }
  .modal-card { grid-template-columns:1fr; }
  .modal-card > img { min-height:260px; max-height:310px; }
  .modal-body { padding:25px; }
  .modal-body h3 { font-size:2rem; }
}

@media (max-width: 520px) {
  .category-grid, .product-grid { grid-template-columns:1fr; }
  .category-card { min-height:160px;}
  .category-card img{width: 60%; height: 100%; top: auto; left: auto; bottom: 0; right: 0; clip-path: circle(80% at 100% 100%);}
  .category-card strong {font-size:1.30rem; max-width: 90%;}
  .hero-card-copy { align-items:flex-start; flex-direction:column; }
  .hero-card-copy span { text-align:left; }
  .mini-points div { flex-direction:column; gap:3px; }
  .modal { padding:12px; }
  .modal-bottom { align-items:stretch; flex-direction:column; }
  .modal-bottom .btn { width:100%; }
}
