:root{
  --bg:#f8f6f3;
  --text:#171717;
  --muted:#6f6a64;
  --accent:#b89d7a;
  --accent-dark:#9f8462;
  --card:#ffffff;
  --border:#e8e1d8;
  --shadow:0 14px 32px rgba(17,17,17,.06);
  --shadow-soft:0 8px 20px rgba(17,17,17,.05);
  --radius:18px;
  --radius-lg:24px;
  --container:min(1140px,92%);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a,
button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

h1,h2,h3,h4{
  font-family:'Cormorant Garamond',serif;
  line-height:1.08;
  margin:0 0 .8rem;
  color:#111;
}

h1{
  font-size:clamp(2.2rem,4vw,3.5rem);
}

h2{
  font-size:clamp(1.8rem,3vw,2.7rem);
}

h3{
  font-size:clamp(1.25rem,2vw,1.7rem);
}

p{
  margin:0 0 1rem;
}

.container{
  width:var(--container);
  margin:auto;
}

.section{
  padding:4.5rem 0;
}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(248,246,243,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.95rem 0;
  position:relative;
}

.logo{
  font-family:'Cormorant Garamond',serif;
  color:#111;
  text-decoration:none;
  font-size:clamp(1.5rem,2.2vw,2rem);
  letter-spacing:.2px;
  white-space:nowrap;
  flex-shrink:0;
}

.logo span{
  font-style:italic;
  color:#444;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:1rem;
}

.nav-links a{
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  transition:.25s ease;
}

.nav-links a:hover{
  color:var(--accent-dark);
}

.nav-links .active{
  color:var(--accent);
}

.search-form{
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  min-width:220px;
  box-shadow:var(--shadow-soft);
}

.search-form input{
  border:0;
  padding:.82rem .95rem;
  background:transparent;
  min-width:0;
}

.search-form input:focus{
  outline:none;
}

.search-form button{
  border:0;
  background:#111;
  color:#fff;
  padding:.82rem .95rem;
  transition:.25s ease;
}

.search-form button:hover{
  background:var(--accent-dark);
}

.cart-link{
  padding:.72rem 1rem;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  color:#111;
  border-radius:12px;
  width:46px;
  height:46px;
  box-shadow:var(--shadow-soft);
  flex-shrink:0;
}

.hero{
  padding:6.2rem 0;
  background:
    radial-gradient(circle at top left, rgba(184,157,122,.16), transparent 35%),
    linear-gradient(140deg,#fff,#f6efe6);
}

.hero > .container{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:2rem;
  align-items:center;
}

.hero h1{
  max-width:780px;
  margin-bottom:1rem;
}

.hero p{
  max-width:650px;
  font-size:1.05rem;
  color:#4c4741;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:50px;
  padding:.9rem 1.35rem;
  border-radius:999px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  box-shadow:var(--shadow-soft);
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-2px);
  background:var(--accent-dark);
  border-color:var(--accent-dark);
}

.grid{
  display:grid;
  gap:1.25rem;
}

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

.card{
  background:var(--card);
  padding:1.2rem;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

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

.product-image{
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:16px;
  background:#f0ebe5;
  border:1px solid #eee2d5;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.product-image:hover img{
  transform:scale(1.04);
}

.price{
  font-weight:700;
  color:#111;
  font-size:1.05rem;
}

.muted{
  color:var(--muted);
}

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  align-items:end;
  background:#fff;
  border:1px solid var(--border);
  padding:1.1rem;
  border-radius:18px;
  margin-bottom:1.2rem;
  box-shadow:var(--shadow-soft);
}

.filters label{
  display:block;
  font-size:.88rem;
  color:var(--muted);
}

.filters > div{
  flex:1 1 180px;
}

input,
select,
textarea{
  width:100%;
  padding:.85rem .95rem;
  border:1px solid #ddd2c7;
  border-radius:14px;
  background:#fff;
  color:#111;
  transition:border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(184,157,122,.12);
}

textarea{
  min-height:130px;
}

.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.75rem;
  margin-top:1.6rem;
  flex-wrap:wrap;
}

.pagination a,
.pagination span{
  text-decoration:none;
  padding:.72rem 1rem;
  border-radius:12px;
}

.pagination a{
  border:1px solid var(--border);
  color:#111;
  background:#fff;
  transition:.25s ease;
}

.pagination a:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
}

.table th,
.table td{
  padding:1rem;
  text-align:left;
  vertical-align:middle;
  border-bottom:1px solid var(--border);
}

.table th{
  background:#fbf8f4;
  font-weight:700;
  color:#111;
}

.table tr:last-child td{
  border-bottom:0;
}

.site-footer{
  margin-top:5rem;
  background:#0f0f10;
  color:#f5f5f5;
  padding:4rem 0 1.4rem;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:2rem;
}

.site-footer h3,
.site-footer h4{
  color:#fff;
  margin-bottom:1rem;
}

.site-footer p{
  color:#e8e8e8;
}

.site-footer a{
  color:#fff;
  text-decoration:none;
  display:block;
  margin:.35rem 0;
  opacity:.92;
}

.site-footer a:hover{
  opacity:1;
  color:#fff;
}

.copyright{
  text-align:center;
  color:#bbb;
  margin-top:1.7rem;
  font-size:.95rem;
  white-space:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}

.copyright a{
  display:inline;
  margin:0;
  color:inherit;
  text-decoration:none;
  opacity:1;
}

.copyright a:hover{
  text-decoration:underline;
  color:inherit;
}

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:.6s;
}

.reveal.show{
  opacity:1;
  transform:none;
}

.cart-summary,
.checkout-summary{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:1.4rem;
  box-shadow:var(--shadow-soft);
}

.cart-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.product-thumb{
  width:76px;
  height:96px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid #e8ddd2;
  background:#f8f5f1;
}

.status-success{
  background:#f5fbf5;
  border:1px solid #cfe7cf;
  color:#205b31;
  border-radius:18px;
  padding:1rem 1.1rem;
}

.status-error{
  background:#fff7f7;
  border:1px solid #efc9c9;
  color:#a12626;
  border-radius:18px;
  padding:1rem 1.1rem;
}

hr{
  border:none;
  border-top:1px solid var(--border);
}

.nav-links.is-open{
  display:flex;
}

@media (max-width: 1100px){
  .product-grid,
  .grid-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hero > .container{
    grid-template-columns:1fr;
  }
}

@media (max-width: 900px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:1rem;
    flex-direction:column;
    align-items:stretch;
    box-shadow:var(--shadow);
    gap:.8rem;
  }

  .nav-links.is-open{
    display:flex;
  }

  .nav-links a,
  .cart-link{
    width:100%;
    justify-content:flex-start;
  }

  .search-form{
    width:100%;
    min-width:0;
  }

  .hero{
    padding:4.6rem 0;
  }

  .hero > .container{
    grid-template-columns:1fr;
    gap:1.4rem;
  }

  .grid[style*="1.1fr 1fr"],
  .grid[style*="1.2fr .9fr"],
  .grid[style*="1.15fr .85fr"]{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 700px){
  .product-grid,
  .grid-3,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:3.5rem 0;
  }

  .hero{
    padding:4rem 0;
  }

  .hero h1{
    font-size:2.4rem;
  }

  .table,
  .table thead,
  .table tbody,
  .table tr,
  .table th,
  .table td{
    display:block;
    width:100%;
  }

  .table thead{
    display:none;
  }

  .table tr{
    border-bottom:1px solid var(--border);
    padding:.35rem 0;
  }

  .table td{
    border:0;
    padding:.7rem 0;
  }
}

@media (max-width: 520px){
  .container{
    width:min(94%, 100%);
  }

  .nav{
    padding:.8rem 0;
  }

  .logo{
    font-size:1.35rem;
    max-width:calc(100% - 62px);
    white-space:normal;
    line-height:1.1;
  }

  .hero h1{
    font-size:2.05rem;
  }

  .hero p{
    font-size:1rem;
  }

  .btn{
    width:100%;
    padding:.9rem 1rem;
  }

  .cart-actions{
    flex-direction:column;
  }

  .filters{
    padding:1rem;
  }

  .card{
    padding:1rem;
  }

  .site-footer{
    padding:3rem 0 1.2rem;
  }

  .copyright{
    font-size:.9rem;
  }
}

.hero-content{
  width:100%;
  max-width:720px;
}

.hero-kicker,
.section-kicker{
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:.8rem;
  color:var(--muted);
}

.hero-title{
  max-width:720px;
  margin-bottom:1rem;
}

.hero-text{
  max-width:620px;
  font-size:1.08rem;
  color:#4c4741;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.btn-outline{
  background:#fff;
  color:#111;
  border:1px solid #111;
}

.btn-outline:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}

.section-title{
  margin-bottom:0;
}

.product-card-home{
  padding:1rem;
  border-radius:24px;
}

.home-product-image{
  display:block;
  margin-bottom:1rem;
}

.home-product-title{
  margin-bottom:.4rem;
  font-size:1.5rem;
}

.product-title-link{
  text-decoration:none;
  color:inherit;
}

.home-product-description{
  margin-bottom:.8rem;
}

.home-product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.home-product-price{
  margin:0;
}

.product-more-link{
  text-decoration:none;
  font-weight:600;
  color:#111;
}

.empty-products-card{
  padding:1.5rem;
  border-radius:24px;
}

.home-custom-section{
  padding-top:0;
}

.home-custom-card{
  padding:2rem;
  border-radius:28px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:1.5rem;
  align-items:center;
}

.home-custom-text{
  max-width:620px;
  margin-bottom:1.2rem;
}

.home-benefits-card{
  padding:1.3rem;
  border-radius:22px;
}

.home-benefits-list{
  margin:0;
  padding-left:1.1rem;
  color:#4f4a44;
}

.home-benefits-list li{
  margin-bottom:.6rem;
}

.home-benefits-list li:last-child{
  margin-bottom:0;
}

@media (max-width: 900px){
  .section-heading{
    align-items:flex-start;
  }

  .home-custom-card{
    grid-template-columns:1fr;
  }
}

@media (max-width: 700px){
  .hero-text{
    font-size:1rem;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    width:100%;
  }

  .home-product-title{
    font-size:1.3rem;
  }

  .home-product-meta{
    flex-direction:column;
    align-items:flex-start;
  }

  .section-heading .btn{
    width:100%;
  }

  .home-custom-card{
    padding:1.25rem;
    border-radius:22px;
  }

  .home-benefits-card{
    padding:1rem;
  }
}

.contact-page{
  width:100%;
}

.contact-wrapper{
  max-width:1100px;
  margin:0 auto;
}

.contact-intro{
  margin-bottom:1.5rem;
}

.contact-subtitle{
  max-width:680px;
}

.contact-alert{
  margin-bottom:1rem;
}

.contact-alert-text{
  margin:.25rem 0;
}

.contact-alert-success{
  margin:0;
}

.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1.4rem;
  align-items:start;
}

.contact-form-card,
.contact-info-card{
  padding:1.5rem;
  border-radius:24px;
}

.contact-card-title{
  margin-top:0;
}

.contact-field{
  display:block;
  margin-bottom:1rem;
}

.contact-field-message{
  margin-bottom:1.2rem;
}

.contact-label{
  display:block;
  margin-bottom:.4rem;
}

.contact-submit-btn{
  width:auto;
}

.contact-info-block{
  margin-bottom:1rem;
}

.contact-info-block:last-of-type{
  margin-bottom:0;
}

.contact-info-title{
  margin-bottom:.2rem;
}

.contact-info-link{
  color:inherit;
  text-decoration:none;
  word-break:break-word;
}

.contact-info-link:hover{
  text-decoration:underline;
}

.contact-email-link{
  overflow-wrap:anywhere;
}

.contact-info-text{
  margin-bottom:0;
}

.contact-separator{
  margin:1.2rem 0;
}

.contact-note{
  margin-bottom:0;
}

@media (max-width: 900px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 700px){
  .contact-intro{
    margin-bottom:1.2rem;
  }

  .contact-form-card,
  .contact-info-card{
    padding:1.1rem;
    border-radius:20px;
  }

  .contact-submit-btn{
    width:100%;
  }
}