/* ==================================================================
   Nutrixeal — shop, account and inner-page styles
   Loads AFTER style.css and reuses the same brand variables.
   ================================================================== */

/* ---------------- page banner (About / Services / Products / Contact) */
.page-hero{
  position:relative;
  padding: 62px 0 54px;
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(0,176,80,.14), transparent 60%),
    radial-gradient(760px 340px at 92% 20%, rgba(0,144,208,.13), transparent 62%),
    var(--mint);
  border-bottom: 1px solid var(--line);
  overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; right:-60px; bottom:-90px;
  width:280px; height:280px; border-radius:50%;
  background: linear-gradient(135deg, rgba(0,176,80,.10), rgba(0,144,208,.10));
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom:.6rem; }
.page-hero p{ color: var(--ink-3); max-width: 66ch; margin-bottom:0; }

.crumbs{
  display:flex; flex-wrap:wrap; align-items:center; gap:.45rem;
  font-size:.84rem; font-family: var(--display); font-weight:600;
  color: var(--ink-3); margin-bottom:1rem;
}
.crumbs a{ color: var(--green-700); }
.crumbs i{ font-size:.7rem; opacity:.6; }

/* ---------------- generic content blocks ---------------- */
.info-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; height:100%; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover{ transform: translateY(-4px); box-shadow: var(--sh-md); }
.info-card .ico{
  width:52px; height:52px; border-radius:14px; display:grid; place-items:center;
  font-size:1.35rem; color:#fff; margin-bottom:14px;
  background: linear-gradient(135deg, var(--green), var(--green-600));
  box-shadow: var(--sh-brand);
}
.info-card .ico.blue{ background: linear-gradient(135deg, var(--blue), var(--blue-600)); box-shadow: 0 10px 24px rgba(0,144,208,.22); }
.info-card h3{ font-size:1.08rem; margin-bottom:.5rem; }
.info-card p{ font-size:.95rem; color: var(--ink-3); margin-bottom:0; }

.stat-strip{
  display:grid; grid-template-columns: repeat(2,1fr); gap:1px;
  background: var(--line); border:1px solid var(--line);
  border-radius: var(--r-lg); overflow:hidden;
}
@media (min-width: 768px){ .stat-strip{ grid-template-columns: repeat(4,1fr); } }
.stat-strip .cell{ background:#fff; padding:22px 16px; text-align:center; }
.stat-strip b{ display:block; font-family: var(--display); font-size:1.85rem; color: var(--green-700); line-height:1.1; }
.stat-strip span{ font-size:.85rem; color: var(--ink-3); }

.timeline{ position:relative; padding-left: 30px; }
.timeline::before{
  content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(var(--green), var(--blue)); border-radius:2px;
}
.timeline .t-item{ position:relative; padding-bottom:26px; }
.timeline .t-item:last-child{ padding-bottom:0; }
.timeline .t-item::before{
  content:""; position:absolute; left:-26px; top:6px; width:12px; height:12px;
  border-radius:50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint-2);
}
.timeline h4{ font-size:1rem; margin-bottom:.25rem; }
.timeline .t-year{ font-family: var(--display); font-size:.8rem; font-weight:700; color: var(--blue-600); letter-spacing:.08em; }
.timeline p{ font-size:.94rem; color: var(--ink-3); margin-bottom:0; }

/* ---------------- shop toolbar / filters ---------------- */
.shop-toolbar{
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--sh-sm); margin-bottom: 26px;
}
.shop-toolbar .form-control,
.shop-toolbar .form-select{
  border:1px solid var(--line); border-radius: 999px; padding:.6rem 1rem;
  font-size:.92rem; background: var(--mint); color: var(--ink);
}
.shop-toolbar .form-control:focus,
.shop-toolbar .form-select:focus{
  border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0,176,80,.14); background:#fff;
}
.shop-search{ position:relative; }
.shop-search .bi{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color: var(--ink-3); }
.shop-search .form-control{ padding-left: 38px; }

.chip-row{ display:flex; gap:.5rem; flex-wrap:wrap; }
.chip{
  display:inline-flex; align-items:center; gap:.4rem;
  font-family: var(--display); font-weight:700; font-size:.83rem;
  padding:.46rem .9rem; border-radius:999px;
  background:#fff; color: var(--ink-2); border:1.5px solid var(--line);
  transition: all .18s ease; white-space:nowrap;
}
.chip:hover{ border-color: var(--green); color: var(--green-700); }
.chip.is-active{
  background: linear-gradient(135deg, var(--green), var(--green-600));
  border-color: transparent; color:#fff; box-shadow: var(--sh-brand);
}
.chip-scroll{ overflow-x:auto; padding-bottom:4px; -ms-overflow-style:none; scrollbar-width:none; }
.chip-scroll::-webkit-scrollbar{ display:none; }

.result-note{ font-size:.9rem; color: var(--ink-3); }

/* ---------------- product grid ----------------
   2 cards per row on mobile, 5 per row on desktop.
   The image block is 70% of the card, the text/buttons take the rest. */
.shop-grid{ --gap: .75rem; }
@media (min-width: 992px){ .shop-grid{ --gap: 1.25rem; } }

.p-card{
  display:flex; flex-direction:column; height:100%;
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md);
  overflow:hidden; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover{ transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(0,176,80,.35); }

.p-card__media{
  position:relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;          /* image block ≈ 70% of the card height */
  background: var(--mint);
  overflow:hidden;
}
.p-card__media img{
  width:100%; height:100%; object-fit: contain; padding: 10px;
  transition: transform .35s ease;
}
.p-card:hover .p-card__media img{ transform: scale(1.05); }

.p-badge{
  position:absolute; top:8px; left:8px; z-index:2;
  font-family: var(--display); font-weight:700; font-size:.66rem;
  letter-spacing:.05em; text-transform:uppercase;
  padding:.24rem .5rem; border-radius:999px;
  background: rgba(255,255,255,.94); color: var(--green-700);
  border:1px solid var(--line);
}
.p-off{
  position:absolute; top:8px; right:8px; z-index:2;
  font-family: var(--display); font-weight:700; font-size:.68rem;
  padding:.24rem .5rem; border-radius:999px;
  background: var(--blue); color:#fff;
}
.p-save{
  position:absolute; bottom:8px; right:8px; z-index:2;
  width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  background: rgba(255,255,255,.95); color: var(--ink-3);
  display:grid; place-items:center; font-size:.9rem; padding:0;
  transition: all .18s ease;
}
.p-save:hover{ color: var(--green); border-color: var(--green); }
.p-save.is-saved{ background: var(--green); border-color: var(--green); color:#fff; }

.p-card__body{
  display:flex; flex-direction:column; flex:1 1 auto;
  padding: 10px 10px 12px; gap:.35rem;
}
@media (min-width: 992px){ .p-card__body{ padding: 14px 14px 16px; } }

.p-cat{
  font-family: var(--display); font-size:.66rem; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; color: var(--blue-600);
}
.p-title{
  font-family: var(--display); font-weight:800; color: var(--ink);
  font-size:.94rem; line-height:1.28; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
@media (min-width: 992px){ .p-title{ font-size:1rem; } }
.p-desc{
  font-size:.78rem; color: var(--ink-3); line-height:1.45; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.p-meta{ font-size:.72rem; color: var(--ink-3); display:flex; gap:.4rem; flex-wrap:wrap; }
.p-meta span{ display:inline-flex; align-items:center; gap:.25rem; }

.p-price{ display:flex; align-items:baseline; gap:.4rem; margin-top:auto; padding-top:.35rem; }
.p-price b{ font-family: var(--display); font-size:1rem; color: var(--green-700); }
.p-price s{ font-size:.78rem; color: var(--ink-3); }

.p-actions{ display:grid; grid-template-columns: 1fr 1fr; gap:.4rem; margin-top:.5rem; }
.p-actions .btn{
  padding:.46rem .4rem; font-size:.76rem; border-radius:999px;
  justify-content:center; gap:.3rem; width:100%;
}
@media (min-width: 992px){ .p-actions .btn{ font-size:.8rem; padding:.52rem .5rem; } }
.btn-wa{ background:#25D366; color:#fff; box-shadow: 0 8px 18px rgba(37,211,102,.24); }
.btn-wa:hover{ background:#1FB755; color:#fff; }
.btn-cart{ background: var(--mint-2); color: var(--green-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-cart:hover{ background: var(--green); color:#fff; box-shadow:none; }
.btn-cart.is-saved{ background: var(--green-700); color:#fff; box-shadow:none; }

.empty-state{
  text-align:center; padding: 60px 20px; background:#fff;
  border:1px dashed var(--line); border-radius: var(--r-lg);
}
.empty-state i{ font-size:2.4rem; color: var(--green); opacity:.5; }
.empty-state h3{ font-size:1.15rem; margin:.8rem 0 .4rem; }
.empty-state p{ color: var(--ink-3); }

/* ---------------- auth pages ---------------- */
.auth-wrap{
  min-height: 74vh; display:flex; align-items:center;
  padding: 46px 0;
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(0,176,80,.12), transparent 62%),
    radial-gradient(700px 320px at 96% 100%, rgba(0,144,208,.12), transparent 62%),
    var(--mint);
}
.auth-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 30px 26px; width:100%;
}
@media (min-width: 576px){ .auth-card{ padding: 38px 36px; } }
.auth-card h1{ font-size:1.5rem; margin-bottom:.35rem; }
.auth-card .sub{ color: var(--ink-3); font-size:.94rem; margin-bottom:1.4rem; }

.form-label{
  font-family: var(--display); font-weight:700; font-size:.85rem;
  color: var(--ink); margin-bottom:.35rem;
}
.form-control, .form-select, .form-control:focus{
  border-radius: var(--r-sm); border:1.5px solid var(--line);
  padding:.68rem .9rem; font-size:.95rem; color: var(--ink);
}
.form-control:focus, .form-select:focus{
  border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0,176,80,.14);
}
.form-text{ font-size:.8rem; color: var(--ink-3); }
textarea.form-control{ min-height: 130px; }

/* show / hide password button sitting inside the field */
.pw-wrap{ position:relative; }
.pw-wrap .form-control{ padding-right: 46px; }
.pw-toggle{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  width:34px; height:34px; border:0; background:transparent; border-radius:50%;
  color: var(--ink-3); display:grid; place-items:center; font-size:1rem;
}
.pw-toggle:hover{ color: var(--green-700); background: var(--mint); }

.input-group-text{ background: var(--mint); border:1.5px solid var(--line); border-right:0; color: var(--ink-3); border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group .form-control{ border-left:0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.auth-alt{ text-align:center; font-size:.92rem; color: var(--ink-3); margin-top:1.2rem; }
.divider-or{ display:flex; align-items:center; gap:.8rem; color: var(--ink-3); font-size:.8rem; margin:1.1rem 0; }
.divider-or::before, .divider-or::after{ content:""; flex:1; height:1px; background: var(--line); }

/* OTP boxes */
.otp-row{ display:flex; gap:.5rem; justify-content:center; margin:1.2rem 0; }
.otp-row input{
  width:46px; height:56px; text-align:center; font-size:1.35rem;
  font-family: var(--display); font-weight:800; color: var(--ink);
  border:1.5px solid var(--line); border-radius: var(--r-sm); background: var(--mint);
}
.otp-row input:focus{ outline:none; border-color: var(--green); background:#fff; box-shadow: 0 0 0 .2rem rgba(0,176,80,.14); }
@media (max-width: 380px){ .otp-row input{ width:40px; height:50px; font-size:1.15rem; } }

/* ---------------- profile ---------------- */
.profile-head{
  background: linear-gradient(135deg, var(--green-800), var(--green-700) 55%, var(--blue-700));
  color:#fff; border-radius: var(--r-lg); padding: 26px; margin-bottom: 24px;
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
}
.profile-avatar{
  width:86px; height:86px; border-radius:50%; object-fit:cover;
  border:3px solid rgba(255,255,255,.5); background: var(--mint);
  display:grid; place-items:center; font-family: var(--display);
  font-size:2rem; font-weight:800; color: var(--green-800); flex:0 0 auto;
}
.profile-head h1{ color:#fff; font-size:1.45rem; margin-bottom:.2rem; }
.profile-head .muted{ color: rgba(255,255,255,.82); font-size:.9rem; margin:0; }

.tab-pills{ display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:20px; }
.tab-pills a{
  font-family: var(--display); font-weight:700; font-size:.88rem;
  padding:.55rem 1.05rem; border-radius:999px;
  background:#fff; border:1.5px solid var(--line); color: var(--ink-2);
}
.tab-pills a.is-active{ background: var(--green); border-color: var(--green); color:#fff; }

.panel{
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--sh-sm);
}
.panel h2{ font-size:1.12rem; margin-bottom:1rem; }

.locked-field{ background: var(--mint) !important; color: var(--ink-3) !important; cursor:not-allowed; }

/* ---------------- cart ---------------- */
.cart-row{
  display:flex; gap:14px; align-items:center; padding:14px 0;
  border-bottom:1px solid var(--line);
}
.cart-row:last-child{ border-bottom:0; }
.cart-row img{ width:74px; height:74px; object-fit:contain; background: var(--mint); border-radius: var(--r-sm); flex:0 0 auto; padding:6px; }
.cart-row .cr-name{ font-family: var(--display); font-weight:700; color: var(--ink); font-size:.98rem; }
.cart-row .cr-meta{ font-size:.82rem; color: var(--ink-3); }

/* ---------------- header account bits ---------------- */
.acct-link{
  position:relative; width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; color: var(--green-800);
  background: var(--mint-2); font-size:1.05rem;
}
.acct-link:hover{ background: var(--green); color:#fff; }
.acct-badge{
  position:absolute; top:-3px; right:-3px; min-width:18px; height:18px; padding:0 4px;
  border-radius:999px; background: var(--blue); color:#fff;
  font-size:.66rem; font-weight:700; display:grid; place-items:center;
  font-family: var(--display);
}
.acct-avatar{ width:34px; height:34px; border-radius:50%; object-fit:cover; }

/* ---------------- contact ---------------- */
.contact-item{
  display:flex; gap:14px; align-items:flex-start; padding:18px;
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); height:100%;
}
.contact-item i{
  width:44px; height:44px; flex:0 0 auto; border-radius:12px;
  display:grid; place-items:center; color:#fff; font-size:1.1rem;
  background: linear-gradient(135deg, var(--green), var(--green-600));
}
.contact-item h4{ font-size:.98rem; margin-bottom:.25rem; }
.contact-item p, .contact-item a{ font-size:.92rem; color: var(--ink-3); margin:0; display:block; }
.contact-item a:hover{ color: var(--green-700); }

.map-frame{ border:0; width:100%; height:380px; border-radius: var(--r-lg); filter: saturate(.95); }

/* ---------------- misc ---------------- */
.alert{ border:0; border-radius: var(--r-sm); font-size:.92rem; }
.alert-success{ background:#E7F7ED; color:#0B6B32; }
.alert-danger{ background:#FDECEC; color:#96231F; }
.alert-info{ background:#E7F3FA; color:#0B5678; }
.alert-warning{ background:#FEF5E4; color:#8A5B0B; }
