/* 
  Hostinger-ready collection page
  Edit colors, spacing and typography here.
*/

:root{
  --bg: #f8f5f1;
  --panel: #ffffff;
  --panel-soft: #fcfaf7;
  --text: #252525;
  --muted: #6e685f;
  --line: #e8e0d7;
  --accent: #d0a24d;
  --accent-dark: #b07f25;
  --accent-soft: #efe2c4;
  --shadow: 0 20px 60px rgba(38, 29, 10, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",sans-serif;
  color:var(--text);
  background:var(--bg);
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.announcement-bar{
  background:#e8ddd0;
  color:#52493d;
  font-size:12px;
  letter-spacing:.04em;
  text-align:center;
  padding:10px 0;
}

.site-header{
  background:rgba(248,245,241,.9);
  backdrop-filter: blur(10px);
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(232,224,215,.8);
}
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 0 18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-logo{
  width:58px;
  height:58px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-text strong{
  font-family:"Cormorant Garamond", serif;
  font-size:35px;
  font-weight:700;
  color:var(--accent);
}
.brand-text span{
  font-size:12px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--muted);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.header-link{
  font-size:14px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px;
}
.header-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-size:16px;
}

.nav-wrap{
  padding:0 0 14px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
}
.main-nav a{
  padding:8px 0;
  color:#5d574f;
  font-size:15px;
  position:relative;
}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:currentColor;
}

.hero{
  padding:44px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}
.hero-media{
  position:relative;
  min-height:450px;
  border-radius:var(--radius-xl);
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 22%, rgba(255,255,255,.86) 0 18%, transparent 19%),
    radial-gradient(circle at 28% 58%, rgba(196,219,241,.95) 0 13%, transparent 14%),
    linear-gradient(135deg, rgba(244,231,220,.9), rgba(253,249,245,.94) 42%, rgba(246,221,228,.7));
  box-shadow:var(--shadow);
}
.hero-card{
  position:absolute;
  border-radius:24px;
  box-shadow: 0 24px 55px rgba(62,45,12,.12);
}
.hero-card-a{
  width:270px;
  height:200px;
  right:56px;
  top:55px;
  background:
    linear-gradient(0deg, rgba(255,255,255,.1), rgba(255,255,255,.1)),
    url('../img/placeholder-breakfast-a.svg') center/cover no-repeat;
}
.hero-card-b{
  width:240px;
  height:175px;
  left:55px;
  bottom:45px;
  background:
    linear-gradient(0deg, rgba(255,255,255,.06), rgba(255,255,255,.06)),
    url('../img/placeholder-breakfast-b.svg') center/cover no-repeat;
}
.hero-badge{
  position:absolute;
  left:42px;
  top:42px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.5);
  padding:10px 16px;
  border-radius:999px;
  font-size:13px;
  color:#635949;
  box-shadow:var(--shadow);
}
.hero-copy{
  padding-right:10px;
}
.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.28em;
  color:var(--accent-dark);
  text-transform:uppercase;
}
.hero-copy h1,
.collection-intro h2,
.delivery-section h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-weight:700;
  line-height:.95;
}
.hero-copy h1{
  font-size:64px;
  letter-spacing:-.03em;
  margin-bottom:18px;
}
.hero-copy p{
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
  max-width:600px;
}
.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid transparent;
  transition:.2s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--accent);
  color:#fff;
}
.btn-secondary{
  background:var(--panel);
  border-color:var(--line);
  color:var(--text);
  box-shadow:var(--shadow);
}
.btn-apply{
  width:100%;
  margin-top:12px;
  background:var(--accent);
  color:#fff;
}
.btn-clear{
  width:100%;
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
}

.collection-intro{
  padding:26px 0 14px;
}
.collection-intro h2{
  font-size:58px;
  margin-bottom:18px;
}
.collection-intro h3{
  margin:0 0 12px;
  font-size:32px;
  font-weight:600;
}
.collection-intro p{
  max-width:850px;
  margin:0;
  font-size:18px;
  line-height:1.9;
  color:var(--muted);
}

.collection-layout{
  padding:18px 0 60px;
}
.collection-grid{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:28px;
  align-items:start;
}
.filters{
  position:sticky;
  top:145px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:22px;
}
.filter-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.filter-head h4{
  margin:0;
  font-size:18px;
}
.mobile-filter-toggle{
  display:none;
}
.filter-group{
  border-top:1px solid var(--line);
  padding:18px 0;
}
.filter-group:first-of-type{
  border-top:none;
  padding-top:10px;
}
.filter-title{
  background:none;
  border:0;
  padding:0;
  font-weight:600;
  font-size:15px;
  margin-bottom:14px;
}
.filter-options{
  display:grid;
  gap:12px;
}
.option-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color:#50493f;
  cursor:pointer;
}
.option-row input{
  margin-top:2px;
}
.option-count{
  color:#9a8f82;
}
.price-range{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.price-range label{
  display:grid;
  gap:6px;
  font-size:13px;
  color:var(--muted);
}
.price-range input{
  width:100%;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}

.products-area{
  min-width:0;
}
.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.results{
  color:var(--muted);
  font-size:15px;
}
.toolbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.toolbar-right label{
  font-size:14px;
  color:var(--muted);
}
.toolbar-right select{
  min-height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  padding:0 18px;
  background:var(--panel);
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}
.product-card{
  background:var(--panel);
  border:1px solid rgba(232,224,215,.95);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}
.product-image-wrap{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f6efe7;
}
.product-image{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.product-card:hover .product-image{
  transform:scale(1.04);
}
.badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  background:rgba(255,255,255,.92);
  color:#5e4d31;
  border:1px solid rgba(0,0,0,.05);
  padding:7px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.stock-badge.out{
  color:#8e5858;
}
.product-body{
  padding:18px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.product-title{
  margin:0;
  font-size:21px;
  font-family:"Cormorant Garamond", serif;
  line-height:1.1;
}
.product-description{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  min-height:48px;
}
.product-meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
}
.product-price{
  font-weight:700;
  font-size:20px;
}
.product-price small{
  display:block;
  color:#9a8f82;
  text-decoration:line-through;
  font-weight:500;
  margin-bottom:4px;
}
.product-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.product-tag{
  font-size:11px;
  padding:6px 9px;
  border-radius:999px;
  background:var(--panel-soft);
  border:1px solid var(--line);
  color:#6d6357;
}
.product-actions{
  display:flex;
  gap:10px;
  margin-top:auto;
}
.card-btn{
  flex:1;
  min-height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:14px;
}
.card-btn-primary{
  background:var(--accent);
  color:#fff;
}
.card-btn-secondary{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
}
.empty-state{
  padding:36px;
  border:1px dashed var(--line);
  border-radius:var(--radius-lg);
  background:var(--panel);
  color:var(--muted);
}
.hidden{display:none!important}

.delivery-section{
  padding:22px 0 90px;
}
.delivery-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
}
.delivery-section h3{
  font-size:44px;
  margin-bottom:14px;
}
.delivery-section p{
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}
.delivery-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  padding:28px;
}
.delivery-card h4{
  margin:0 0 12px;
  font-size:22px;
  font-family:"Cormorant Garamond", serif;
}

.floating-whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  background:#22c55e;
  color:#fff;
  min-height:54px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 35px rgba(34,197,94,.28);
  z-index:60;
  font-weight:700;
}

@media (max-width: 1100px){
  .hero-grid,
  .delivery-grid{
    grid-template-columns:1fr;
  }
  .hero-copy h1{
    font-size:54px;
  }
  .collection-grid{
    grid-template-columns:1fr;
  }
  .filters{
    position:static;
  }
}

@media (max-width: 820px){
  .main-nav{
    gap:18px;
  }
  .hero{
    padding-top:24px;
  }
  .hero-media{
    min-height:340px;
  }
  .hero-card-a{
    right:24px;
    top:28px;
    width:220px;
    height:160px;
  }
  .hero-card-b{
    left:24px;
    bottom:24px;
    width:195px;
    height:145px;
  }
  .hero-copy h1{
    font-size:44px;
  }
  .collection-intro h2{
    font-size:44px;
  }
  .collection-intro h3{
    font-size:28px;
  }
  .products-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .mobile-filter-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    border-radius:999px;
    border:1px solid var(--line);
    background:#fff;
    padding:0 14px;
  }
}

@media (max-width: 560px){
  .container{
    width:min(var(--container), calc(100% - 20px));
  }
  .header-top{
    align-items:flex-start;
    flex-direction:column;
  }
  .brand-text strong{
    font-size:30px;
  }
  .hero-copy h1{
    font-size:38px;
  }
  .products-grid{
    grid-template-columns:1fr;
  }
  .toolbar{
    align-items:flex-start;
    flex-direction:column;
  }
  .toolbar-right{
    width:100%;
  }
  .toolbar-right select{
    flex:1;
    width:100%;
  }
  .price-range{
    grid-template-columns:1fr;
  }
}
