/* The Nut Shop - All Products page
   This file is designed to sit beside your existing assets/css/style.css.
   No frameworks, no external fonts, no heavy scripts. */

.catalog-page{
  background:#fff;
}

.catalog-page .site-header{
  box-shadow:0 4px 18px rgba(52,26,10,.035);
}

/* Compact page intro */
.catalog-hero{
  background:
    radial-gradient(circle at 92% 12%, rgba(213,164,91,.14), transparent 34%),
    linear-gradient(180deg,#fffaf1 0%,#fff 100%);
  border-bottom:1px solid #f1e5d4;
}

.catalog-hero__inner{
  padding-top:15px;
  padding-bottom:22px;
}

.catalog-breadcrumb{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:11px;
  margin-bottom:18px;
}

.catalog-breadcrumb a{
  color:var(--brown-700);
  font-weight:800;
}

.catalog-breadcrumb strong{
  color:var(--ink);
}

.catalog-hero__content{
  display:grid;
  gap:17px;
  align-items:end;
}

.catalog-hero h1{
  margin:6px 0 8px;
  color:var(--brown-950);
  font-size:clamp(34px,10vw,54px);
  line-height:1;
  letter-spacing:-.04em;
}

.catalog-hero p{
  margin:0;
  max-width:700px;
  color:var(--muted);
  font-size:14px;
  line-height:1.62;
}

.catalog-hero p b{
  color:var(--brown-800);
}

.catalog-whatsapp{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:62px;
  padding:10px 13px;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,var(--green),var(--green-2));
  box-shadow:0 12px 28px rgba(35,117,29,.17);
}

.catalog-whatsapp__icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.14);
}

.catalog-whatsapp svg{
  width:23px;
  height:23px;
  fill:currentColor;
}

.catalog-whatsapp>span:last-child{
  display:grid;
  min-width:0;
  line-height:1.2;
}

.catalog-whatsapp small{
  font-size:10px;
  opacity:.9;
  font-weight:700;
}

.catalog-whatsapp b{
  margin-top:2px;
  font-size:13px;
}

/* Product area */
.catalog-products{
  padding:34px 0 54px;
  background:
    linear-gradient(180deg,#fff 0%,#fffdfa 50%,#fff9f0 100%);
}

.catalog-toolbar{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}

.catalog-count{
  display:inline-block;
  color:var(--green);
  font-size:10px;
  font-weight:950;
  letter-spacing:.1em;
}

.catalog-toolbar h2{
  margin:3px 0 0;
  color:var(--brown-950);
  font-size:27px;
  line-height:1.1;
  letter-spacing:-.025em;
}

.catalog-toolbar p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* Payment cards stay highly visible without taking much mobile height */
.catalog-payments{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin-bottom:20px;
}

.catalog-payment{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:54px;
  padding:7px 5px;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.94);
  box-shadow:0 6px 17px rgba(68,35,13,.04);
}

.catalog-payment__icon,
.catalog-payment__k{
  width:27px;
  height:27px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#f7ecdf;
  color:var(--brown-700);
}

.catalog-payment__icon svg{
  width:15px;
  height:15px;
}

.catalog-payment--cod .catalog-payment__icon{
  color:var(--green);
  background:#e9f6e7;
}

.catalog-payment--koko{
  border-color:#e4d6f8;
}

.catalog-payment__k{
  color:#fff;
  background:var(--koko);
  font-size:14px;
  font-weight:950;
}

.catalog-payment>span:last-child{
  min-width:0;
  display:grid;
  line-height:1.12;
}

.catalog-payment b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--brown-950);
  font-size:8.5px;
}

.catalog-payment small{
  display:none;
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
}

/* The main site CSS already makes mobile two-per-row.
   These refinements make the catalog cards feel more modern and compact. */
.catalog-grid{
  align-items:stretch;
}

.catalog-grid .product-card{
  border-radius:19px;
  box-shadow:0 9px 25px rgba(65,33,12,.075);
}

.catalog-grid .product-card__image{
  aspect-ratio:1.18 / 1;
}

.catalog-grid .product-card__image img{
  padding:7px;
}

.catalog-grid .product-card__body{
  padding:10px;
}

.catalog-grid .product-card h3{
  font-size:16px;
}

.catalog-grid .product-card p{
  font-size:12.5px;
  line-height:1.4;
  min-height:53px;
}

.catalog-grid .product-card__sizes{
  font-size:8.5px;
}

.catalog-grid .price-label{
  display:grid;
  gap:1px;
}

.catalog-grid .price-label small{
  font-size:8.5px;
}

.catalog-grid .price-label strong{
  font-size:15.5px;
}

.catalog-grid .details-btn{
  min-height:39px;
  border-radius:11px;
  font-size:10.5px;
}

.product-badge--green{
  background:var(--green);
}

/* Bottom CTA */
.catalog-order-help{
  margin-top:30px;
  padding:20px;
  display:grid;
  gap:15px;
  border-radius:20px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 92% 20%,rgba(201,147,69,.16),transparent 32%),
    #fff;
  box-shadow:0 15px 35px rgba(70,34,11,.06);
}

.catalog-order-help h2{
  margin:5px 0 6px;
  color:var(--brown-950);
  font-size:25px;
  line-height:1.08;
}

.catalog-order-help p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.catalog-order-help .btn{
  width:100%;
}

/* Prevent the shared navigation's fixed mobile position from being too low
   on this shorter catalog header. */
@media (max-width:799px){
  .catalog-page .main-nav{
    inset:88px 0 auto 0;
  }
}

/* Very small phones: still keep 2 products per row */
@media (max-width:359px){
  .catalog-products{
    padding-top:28px;
  }

  .catalog-payments{
    gap:4px;
  }

  .catalog-payment{
    padding-inline:3px;
  }

  .catalog-payment__icon,
  .catalog-payment__k{
    width:24px;
    height:24px;
  }

  .catalog-payment b{
    font-size:7.8px;
  }

  .catalog-grid{
    gap:7px;
  }

  .catalog-grid .product-card__body{
    padding:8px;
  }

  .catalog-grid .product-card h3{
    font-size:14px;
  }

  .catalog-grid .product-card p{
    font-size:11.5px;
    min-height:49px;
  }

  .catalog-grid .price-label strong{
    font-size:13.5px;
  }
}

@media (min-width:540px){
  .catalog-hero__inner{
    padding-top:20px;
    padding-bottom:28px;
  }

  .catalog-hero__content{
    grid-template-columns:1fr auto;
    gap:24px;
  }

  .catalog-whatsapp{
    width:auto;
    min-width:245px;
  }

  .catalog-toolbar{
    grid-template-columns:1fr auto;
    align-items:end;
    gap:24px;
  }

  .catalog-toolbar p{
    max-width:320px;
    text-align:right;
  }

  .catalog-payment{
    min-height:62px;
    padding:8px 10px;
  }

  .catalog-payment__icon,
  .catalog-payment__k{
    width:32px;
    height:32px;
  }

  .catalog-payment b{
    font-size:10.5px;
  }

  .catalog-payment small{
    display:block;
  }

  .catalog-grid .product-card__body{
    padding:13px;
  }

  .catalog-grid .product-card h3{
    font-size:18px;
  }

  .catalog-grid .product-card p{
    font-size:13.5px;
  }

  .catalog-grid .price-label strong{
    font-size:18px;
  }

  .catalog-grid .details-btn{
    min-height:42px;
    font-size:12px;
  }
}

@media (min-width:800px){
  .catalog-hero__inner{
    padding-top:24px;
    padding-bottom:34px;
  }

  .catalog-breadcrumb{
    font-size:12px;
    margin-bottom:24px;
  }

  .catalog-hero h1{
    font-size:54px;
  }

  .catalog-hero p{
    font-size:16px;
  }

  .catalog-products{
    padding:52px 0 72px;
  }

  .catalog-toolbar{
    margin-bottom:20px;
  }

  .catalog-toolbar h2{
    font-size:34px;
  }

  .catalog-toolbar p{
    font-size:14px;
  }

  .catalog-payments{
    max-width:760px;
    gap:10px;
    margin-bottom:26px;
  }

  .catalog-payment{
    justify-content:flex-start;
    padding:10px 13px;
  }

  .catalog-payment b{
    font-size:11.5px;
  }

  .catalog-payment small{
    font-size:9px;
  }

  .catalog-grid{
    gap:19px;
  }

  .catalog-grid .product-card__image{
    aspect-ratio:1.24 / 1;
  }

  .catalog-grid .product-card h3{
    font-size:18px;
  }

  .catalog-grid .product-card p{
    min-height:59px;
    font-size:13.5px;
  }

  .catalog-order-help{
    margin-top:42px;
    padding:27px 30px;
    grid-template-columns:1fr auto;
    align-items:center;
  }

  .catalog-order-help h2{
    font-size:31px;
  }

  .catalog-order-help p{
    font-size:14px;
    max-width:650px;
  }

  .catalog-order-help .btn{
    width:auto;
    min-width:235px;
  }
}

@media (min-width:1100px){
  .catalog-grid .product-card h3{
    font-size:19px;
  }

  .catalog-grid .product-card p{
    font-size:14px;
  }
}
