/* ==========================================================================
   UNITED FOODS - CATEGORIES PAGE
   Ported from new-pages-ui/categories.html, palette remapped to match the
   project's live theme (see resources/views/layouts/front.blade.php :root).
   ========================================================================== */
:root {
  --g:   #12564b;
  --gd:  #0d3f37;
  --gl:  #1a6e5f;
  --gs:  rgba(18,86,75,.08);
  --gm:  rgba(18,86,75,.15);
  --gold:#f79020;
  --glg: #fbc98a;
  --ora: #f79020;
  --wh:  #FFFFFF;
  --cr:  #f8f5ee;
  --dk:  #2B2B2B;
  --gy:  #6B7280;
  --bd:  #E8E8E8;
  --bg:  #F6F8F7;
  --hd: 'Jost', sans-serif;
  --bd2: 'Poppins', sans-serif;
}
.cat-page *, .cat-page *::before, .cat-page *::after { box-sizing: border-box; }
.cat-page { font-family: var(--bd2); color: var(--dk); background: var(--wh); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.cat-page h1,.cat-page h2,.cat-page h3,.cat-page h4,.cat-page h5 { font-family: var(--hd); }
.cat-page a { text-decoration: none; }
.cat-page img { display: block; max-width: 100%; }

/* ── Breadcrumb ── */
.uf-bc .breadcrumb-item + .breadcrumb-item::before { content:"/"; color:var(--gy); }
.uf-bc a { color:var(--gy); font-weight:500; transition:color .2s; }
.uf-bc a:hover { color:var(--g); }
.uf-bc .active { color:var(--g); font-weight:600; }

/* ── Scroll Fade ── */
.sfu { opacity:0; transform:translateY(32px); transition:opacity .55s ease, transform .55s ease; }
.sfu.in { opacity:1; transform:translateY(0); }
.sfu.d1 { transition-delay:.08s; }
.sfu.d2 { transition-delay:.16s; }
.sfu.d3 { transition-delay:.24s; }
.sfu.d4 { transition-delay:.32s; }

/* ── Section Label ── */
.sec-label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; font-weight:700; letter-spacing:1.6px;
  text-transform:uppercase; color:var(--g);
  background:var(--gs); border:1px solid var(--gm);
  padding:5px 16px; border-radius:50px; margin-bottom:14px;
}
.sec-label.gold { color:var(--gold); background:rgba(247,144,32,.1); border-color:rgba(247,144,32,.25); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero-section {
  background:#fff;
  padding:64px 0 56px;
  border-bottom:1px solid var(--bd);
}
.hero-tag {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--gs); color:var(--g);
  font-size:.75rem; font-weight:700; letter-spacing:1.2px;
  text-transform:uppercase; padding:5px 14px;
  border-radius:50px; border:1px solid var(--gm); margin-bottom:18px;
}
.hero-title {
  font-family:var(--hd); font-size:clamp(2rem,4.5vw,3rem);
  font-weight:800; color:var(--dk); line-height:1.2; margin-bottom:16px;
}
.hero-title .accent { color:var(--g); }
.hero-subtitle { font-size:1.05rem; color:var(--gy); max-width:540px; margin:0 auto; }
.hero-divider {
  width:56px; height:4px; border-radius:2px;
  background:linear-gradient(90deg,var(--g),var(--gold));
  margin:24px auto 0;
}

/* ══════════════════════════════════════════════
   FEATURED SHOWCASE (Image-Only Category Gallery)
══════════════════════════════════════════════ */
.showcase-section {
  padding: 90px 0;
  background: var(--bg);
  position: relative;
}

.sc-img-card {
  display: block;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(18, 86, 75, 0.08);
  background: #fff;
}

.sc-img-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(18, 86, 75, 0.2);
  border-color: rgba(18, 86, 75, 0.3);
}

.sc-img-card .sc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sc-img-card:hover .sc-img {
  transform: scale(1.08);
}

.sc-img-card .sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 63, 55, 0.85) 0%, rgba(13, 63, 55, 0.2) 50%, transparent 100%);
  transition: background 0.35s ease;
}

.sc-img-card:hover .sc-overlay {
  background: linear-gradient(to top, rgba(13, 63, 55, 0.92) 0%, rgba(13, 63, 55, 0.3) 60%, transparent 100%);
}

.sc-img-card .sc-tag-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--g);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.sc-img-card .sc-content-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-img-card .sc-title-text {
  font-family: var(--hd);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sc-img-card .sc-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.sc-img-card:hover .sc-arrow-btn {
  background: #FFFFFF;
  color: var(--g);
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════
   WHY CHOOSE US (Modern Feature Grid)
══════════════════════════════════════════════ */
.why-section {
  padding: 95px 0;
  background: var(--wh);
  position: relative;
}

.why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.why-stats-bar {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px 36px;
  border: 1px solid rgba(18, 86, 75, 0.08);
  margin-bottom: 48px;
}

.why-stat-box {
  text-align: center;
}

.why-stat-num {
  font-family: var(--hd);
  font-size: 2rem;
  font-weight: 800;
  color: var(--g);
  line-height: 1.1;
}

.why-stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gy);
  margin-top: 4px;
}

.why-card {
  background: var(--wh);
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid rgba(18, 86, 75, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(18, 86, 75, 0.13);
  border-color: rgba(18, 86, 75, 0.25);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gs), rgba(247, 144, 32, 0.12));
  color: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  border: 1px solid var(--gm);
  transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.why-card-title {
  font-family: var(--hd);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.88rem;
  color: var(--gy);
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════
   PRODUCT DISCOVERY  (tab-based)
══════════════════════════════════════════════ */
.discovery-section { padding:80px 0; background:var(--wh); }

.disc-tabs {
  display:flex; flex-wrap:wrap; gap:10px;
  justify-content:center; margin-bottom:40px;
}
.disc-tab {
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--bd2); font-size:.85rem; font-weight:600;
  color:var(--gy); background:var(--bg);
  border:1.5px solid var(--bd);
  padding:9px 20px; border-radius:50px;
  cursor:pointer; transition:all .25s ease;
}
.disc-tab:hover { color:var(--g); border-color:var(--gm); background:var(--gs); }
.disc-tab.active {
  color:var(--wh); background:var(--g);
  border-color:var(--g);
  box-shadow:0 4px 16px rgba(18,86,75,.28);
}
.disc-tab i { font-size:.9rem; }

.disc-pane { display:none; animation:fadeTab .4s ease; }
.disc-pane.show { display:block; }
@keyframes fadeTab {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

.prod-card {
  background:var(--wh); border-radius:16px; overflow:hidden;
  border:1px solid var(--bd);
  box-shadow:0 2px 14px rgba(0,0,0,.06);
  transition:transform .3s ease, box-shadow .3s ease;
  height:100%; text-decoration:none; color:inherit;
  display:flex; flex-direction:column;
}
.prod-card:hover {
  transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(18,86,75,.13);
  color:inherit;
}
.prod-card:hover .prod-img { transform:scale(1.06); }

.prod-img-wrap { height:200px; overflow:hidden; background:var(--bg); }
.prod-img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }

.prod-body { padding:18px 18px 16px; flex:1; display:flex; flex-direction:column; }
.prod-name {
  font-family:var(--hd); font-size:1rem; font-weight:700;
  color:var(--dk); margin-bottom:6px;
}
.prod-desc { font-size:.82rem; color:var(--gy); line-height:1.6; flex:1; margin-bottom:14px; }
.btn-view {
  font-size:.8rem; font-weight:600; color:var(--g);
  background:var(--gs); border:1px solid var(--gm);
  padding:7px 16px; border-radius:8px;
  transition:background .25s, color .25s; width:fit-content;
}
.btn-view:hover { background:var(--g); color:#fff; }
.prod-empty { padding:40px 20px; text-align:center; color:var(--gy); font-size:.9rem; background:var(--bg); border-radius:16px; border:1px dashed var(--bd); }

/* ── Responsive ── */
@media(max-width:767px) {
  .hero-section { padding:44px 0 40px; }
  .showcase-section, .why-section, .discovery-section { padding:56px 0; }
}
