/* ============================================================================
   MAS BUSINESS GROUP — COMPONENTS  (Premium edition)
   ========================================================================== */

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-400); line-height: 1;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; text-align: center;
}
/* subtle sheen sweep on hover */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-out);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(27,122,62,.4); }
.btn--accent { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--wa { background: var(--grad-success); color: #fff; box-shadow: 0 12px 28px rgba(37,165,101,.32); }
.btn--gold { background: var(--grad-gold); color: var(--brand-deep); box-shadow: 0 12px 28px rgba(201,162,39,.3); }
.btn--outline { background: rgba(255,255,255,.7); color: var(--brand-dark); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-sm); }

.btn--lg { padding: 17px 34px; font-size: var(--fs-500); }
.btn--sm { padding: 10px 18px; font-size: var(--fs-300); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn[disabled]::after { display: none; }

/* ---- Badges & pills ---------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: var(--fs-300); font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill); line-height: 1.3;
}
.badge--off  { background: var(--grad-accent); color: #fff; box-shadow: 0 4px 12px rgba(232,92,50,.3); }
.badge--new  { background: var(--grad-gold); color: var(--brand-deep); }
.badge--cod  { background: var(--brand-soft); color: var(--brand-dark); }
.badge--stock{ background: #E3F5EB; color: var(--success-dark); }
.badge--out  { background: #FBE7E3; color: var(--danger); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-400);
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-2); background: rgba(255,255,255,.8); color: var(--ink);
  cursor: pointer; transition: all var(--t);
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand);
}

/* ---- Product card ------------------------------------------------------ */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46,161,92,.35); }

.card__media {
  position: relative; aspect-ratio: 1 / 1; display: block; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--bg-soft) 100%);
}
.card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -40px 60px -40px rgba(15,61,36,.08);
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform var(--t-slow); }
.card:hover .card__media img { transform: scale(1.07) rotate(-1deg); }

.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card__quick { position: absolute; top: 12px; right: 12px; z-index: 2; opacity: 0; transform: translateY(-6px); transition: opacity var(--t), transform var(--t); }
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick .icon-btn {
  width: 40px; height: 40px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.card__quick .icon-btn:hover { background: var(--success); color: #fff; border-color: transparent; }
.card__quick .icon-btn svg { width: 19px; height: 19px; }

.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.card__cat { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-400); line-height: 1.35; color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__rating { display: flex; align-items: center; gap: 5px; font-size: var(--fs-300); color: var(--muted); }
.card__rating .stars { color: var(--star); letter-spacing: 1px; }

.price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.price__now { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); color: var(--brand-dark); letter-spacing: -.01em; }
.price__mrp { font-size: var(--fs-300); color: var(--muted); text-decoration: line-through; }
.price__save { font-size: var(--fs-300); font-weight: 700; color: var(--accent); }

.card__actions { display: flex; gap: 8px; margin-top: 14px; }
.card__actions .btn--primary { flex: 1; padding: 12px; }
.card__actions .btn--wa { flex: none; width: 48px; padding: 12px; }

/* ---- Breadcrumb -------------------------------------------------------- */
.breadcrumb { background: transparent; border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none;
  padding: 14px 0; margin: 0; font-size: var(--fs-300); color: var(--muted);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--line-2); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---- Category tile ----------------------------------------------------- */
.tile {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t); min-height: 280px;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform var(--t-slow); }
.tile:hover img { transform: scale(1.06); }
.tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,46,27,0) 30%, rgba(10,46,27,.55) 70%, rgba(10,46,27,.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff;
}
.tile__overlay h3 { color: #fff; margin-bottom: 6px; font-size: var(--fs-600); }
.tile__overlay p { font-size: var(--fs-300); color: #dcebe1; max-width: 30ch; }
.tile__overlay .tile-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-family: var(--font-head); color: #fff;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  padding: 9px 18px; border-radius: var(--radius-pill); width: max-content;
  border: 1px solid rgba(255,255,255,.25); transition: gap var(--t), background var(--t);
}
.tile:hover .tile-link { gap: 12px; background: rgba(255,255,255,.26); }

/* ---- Benefit / feature cards ------------------------------------------ */
.benefit {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit .ico {
  flex: none; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border-radius: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
}
.benefit .ico svg { width: 27px; height: 27px; }
.benefit h4 { font-size: var(--fs-400); margin-bottom: 3px; }
.benefit p { font-size: var(--fs-300); color: var(--muted); }

.feature {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 20px; transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-pill);
}
.feature .ico svg { width: 29px; height: 29px; }
.feature h4 { font-size: var(--fs-400); margin-bottom: 7px; }
.feature p { font-size: var(--fs-300); color: var(--muted); margin-inline: auto; }

/* ---- Trust strip ------------------------------------------------------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 8px; box-shadow: var(--shadow-sm);
}
.trust-strip .ts { display: flex; align-items: center; gap: 13px; justify-content: center; text-align: left; padding: 16px; position: relative; }
.trust-strip .ts:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 18%; height: 64%; width: 1px; background: var(--line); }
.trust-strip .ts svg { width: 28px; height: 28px; color: var(--brand); flex: none; }
.trust-strip .ts strong { display: block; font-size: var(--fs-400); font-family: var(--font-head); }
.trust-strip .ts span { font-size: var(--fs-300); color: var(--muted); }
@media (max-width: 920px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } .trust-strip .ts::after { display: none; } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---- Certification wall ------------------------------------------------ */
.cert-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center; }
.cert-wall .cert {
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs);
  filter: grayscale(.2); transition: filter var(--t), transform var(--t), box-shadow var(--t);
}
.cert-wall .cert:hover { filter: grayscale(0); transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-wall .cert img { max-height: 58px; width: auto; }
@media (max-width: 820px) { .cert-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .cert-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---- Newsletter -------------------------------------------------------- */
.newsletter {
  position: relative; overflow: hidden;
  background: var(--grad-brand); color: #fff;
  border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.newsletter::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  top: -120px; right: -80px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.newsletter h2 { color: #fff; } .newsletter p { color: #e0f1e7; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter input { flex: 1; min-width: 200px; border: none; border-radius: var(--radius-pill); padding: 15px 22px; font-size: var(--fs-400); }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; } }

/* ---- Quantity stepper -------------------------------------------------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 46px; display: grid; place-items: center; font-size: 1.35rem; color: var(--brand-dark); transition: background var(--t); }
.qty button:hover { background: var(--brand-soft); }
.qty input { width: 48px; height: 46px; text-align: center; border: none; font-weight: 700; font-family: var(--font-head); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Forms ------------------------------------------------------------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: var(--fs-400); font-family: var(--font-head); }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 16px;
  background: #fff; font-size: var(--fs-400); transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 100px; }
.field .hint { font-size: var(--fs-300); color: var(--muted); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .error-msg { font-size: var(--fs-300); color: var(--danger); display: none; }
.field.invalid .error-msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Panel ------------------------------------------------------------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.panel--brand { background: var(--brand-soft); border-color: transparent; }

/* ---- Cart -------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__media { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.cart-line__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-400); }
.cart-line__meta { font-size: var(--fs-300); color: var(--muted); margin-top: 2px; }
.cart-line__controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.cart-line__remove { color: var(--muted); font-size: var(--fs-300); display: inline-flex; align-items: center; gap: 5px; transition: color var(--t); }
.cart-line__remove:hover { color: var(--danger); }
.cart-line__price { text-align: right; }
.cart-line__price .now { font-family: var(--font-display); font-weight: 600; color: var(--brand-dark); font-size: var(--fs-500); }
.cart-line__price .each { font-size: var(--fs-300); color: var(--muted); }

.summary { position: sticky; top: calc(var(--header-h) + 18px); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: var(--fs-400); }
.summary__row.total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 18px; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-500); }
.summary__row.total .v { color: var(--brand-dark); font-family: var(--font-display); }
.ship-note { background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius-sm); padding: 11px 15px; font-size: var(--fs-300); margin: 14px 0; display: flex; gap: 8px; align-items: center; }

.empty-state { text-align: center; padding: clamp(44px, 8vw, 90px) 20px; }
.empty-state .ico { width: 92px; height: 92px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--brand-soft); border-radius: var(--radius-pill); color: var(--brand); }
.empty-state .ico svg { width: 42px; height: 42px; }

/* ---- Product detail ---------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
@media (max-width: 880px) { .pdp { grid-template-columns: 1fr; } }
.gallery__main {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 0%, #fff, var(--bg-soft));
  aspect-ratio: 1/1; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gallery__thumbs button { width: 80px; height: 80px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; padding: 0; transition: border-color var(--t), transform var(--t); }
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.gallery__thumbs button.is-active { border-color: var(--brand); box-shadow: var(--ring); }

.pdp__info h1 { font-size: var(--fs-700); }
.pdp__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.pdp__price .now { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-700); color: var(--brand-dark); }
.pdp__price .mrp { font-size: var(--fs-500); color: var(--muted); text-decoration: line-through; }
.pdp__buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
.pdp__highlights { list-style: none; padding: 0; display: grid; gap: 11px; margin: 24px 0; }
.pdp__highlights li { display: flex; gap: 11px; align-items: flex-start; }
.pdp__highlights svg { width: 21px; height: 21px; color: var(--success); flex: none; margin-top: 2px; }
.pdp__meta { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 18px; font-size: var(--fs-400); }
.pdp__meta .row { display: flex; gap: 8px; }
.pdp__meta .row b { color: var(--muted); font-weight: 600; min-width: 96px; }

/* ---- Prose ------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: var(--fs-600); margin: 34px 0 14px; }
.prose h3 { font-size: var(--fs-500); margin: 26px 0 10px; }
.prose p { margin-bottom: 15px; color: #33403a; }
.prose ul, .prose ol { margin: 0 0 18px 22px; display: grid; gap: 9px; color: #33403a; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 840px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; transition: box-shadow var(--t), border-color var(--t); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(46,161,92,.3); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* ---- Reviews ----------------------------------------------------------- */
.review { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; box-shadow: var(--shadow-xs); }
.review__head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.review__stars { color: var(--star); letter-spacing: 1px; }

/* ---- Toast ------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  background: var(--brand-deep); color: #fff; padding: 15px 24px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-400); font-weight: 600; z-index: 200; transition: transform var(--t-slow);
  max-width: calc(100vw - 32px); border: 1px solid rgba(255,255,255,.12);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: #7fe3ac; flex: none; }

/* ---- Floating WhatsApp ------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px;
  display: grid; place-items: center; background: var(--grad-success); color: #fff;
  border-radius: 50%; box-shadow: 0 14px 34px rgba(37,165,101,.45); z-index: 90;
  transition: transform var(--t);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,165,101,.5); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { to { box-shadow: 0 0 0 18px rgba(37,165,101,0); } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 31px; height: 31px; position: relative; }

/* ---- Inner page hero --------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 88% -30%, rgba(46,161,92,.14), transparent 60%),
    var(--bg-soft);
  padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: min(20ch, 100%); overflow-wrap: break-word; }
.page-hero p { color: var(--muted); font-size: var(--fs-500); margin-top: 12px; max-width: min(60ch, 100%); }

/* ---- Toolbar ----------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.toolbar .chips { display: flex; flex-wrap: wrap; gap: 9px; }
.toolbar .sort { display: flex; align-items: center; gap: 10px; font-size: var(--fs-400); }
.toolbar select { border: 1.5px solid var(--line-2); border-radius: var(--radius-pill); padding: 10px 16px; background: #fff; }
.result-count { font-size: var(--fs-300); color: var(--muted); }

/* ---- Info card / map --------------------------------------------------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; text-align: center; box-shadow: var(--shadow-xs); transition: transform var(--t), box-shadow var(--t); min-width: 0; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ico { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-pill); }
.info-card h4 { margin-bottom: 6px; }
.info-card a { color: var(--brand); font-weight: 700; }
/* Long unbreakable strings (email, etc.) must wrap so they never widen the grid */
.info-card a, .info-card p { overflow-wrap: anywhere; }
.map-embed {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: repeating-linear-gradient(45deg, #edf2ea, #edf2ea 14px, #e6ece2 14px, #e6ece2 28px);
  min-height: 320px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px;
}
.map-embed .pin { font-size: 2rem; }

/* ========================================================================
   PRODUCT BENTO GRID  (colourful, category-themed product pages)
   ===================================================================== */
.pdp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.pdp-bento .bento {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 30px); --tcol: var(--brand);
}
.pdp-bento .bento h3 { font-size: var(--fs-500); display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: var(--ink); }
.bento__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--tcol); box-shadow: var(--shadow-xs); }
.bento__ico svg { width: 21px; height: 21px; }
.bento p { color: var(--muted); }
.bento .big-stat { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--tcol); line-height: 1; }

/* Column spans */
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }

/* Colourful tints (each sets its own accent --tcol) */
.tint-blue   { background: linear-gradient(140deg,#E8F4FC,#F5FAFE); border-color: #D4E9F8; --tcol: #1683C7; }
.tint-green  { background: linear-gradient(140deg,#E7F6EE,#F3FBF6); border-color: #CDEBDA; --tcol: #1F9D55; }
.tint-amber  { background: linear-gradient(140deg,#FCF3E0,#FEF9EE); border-color: #F2E2C0; --tcol: #C8881A; }
.tint-teal   { background: linear-gradient(140deg,#E4F6F6,#F1FBFB); border-color: #C7E9E9; --tcol: #129B9B; }
.tint-pink   { background: linear-gradient(140deg,#FCEAF4,#FEF4F9); border-color: #F4D2E5; --tcol: #D6489B; }
.tint-purple { background: linear-gradient(140deg,#EEEAFB,#F6F3FE); border-color: #DDD5F4; --tcol: #6D4FCF; }

/* Category theming (accent applied to the buy panel) */
.pdp-theme-home-care   { --pdp: var(--cat-home);   --pdp-2: var(--cat-home-2); }
.pdp-theme-health-care { --pdp: var(--cat-health); --pdp-2: var(--cat-health-2); }
.pdp-theme-beauty-care { --pdp: var(--cat-beauty); --pdp-2: var(--cat-beauty-2); }

/* Gallery bento */
.bento--gallery { padding: 0; background: radial-gradient(120% 90% at 50% 0%, #fff, var(--bg-soft)); display: flex; flex-direction: column; }
.bento--gallery .gallery__main { border: none; border-radius: 0; background: transparent; box-shadow: none; flex: 1; }
.bento--gallery .gallery__thumbs { padding: 0 clamp(18px,2.4vw,28px) clamp(18px,2.4vw,28px); margin-top: 0; }
.bento--gallery .card__badges { position: absolute; top: 16px; left: 16px; z-index: 2; flex-direction: row; flex-wrap: wrap; }

/* Variant (size / pack) selector on the product page */
.pdp__variants { margin: 6px 0 2px; }
.pdp__variants:empty { display: none; }
.pdp__variants-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-300); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.pdp__variants-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.variant-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  border: 1.5px solid var(--line-2); background: #fff; border-radius: var(--radius-sm);
  padding: 9px 15px; cursor: pointer; min-width: 92px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.variant-chip:hover { border-color: var(--pdp, var(--brand)); transform: translateY(-1px); }
.variant-chip.is-active { border-color: var(--pdp, var(--brand)); box-shadow: inset 0 0 0 1px var(--pdp, var(--brand)), var(--shadow-xs); }
.variant-chip__label { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-400); color: var(--ink); }
.variant-chip__price { font-size: var(--fs-300); font-weight: 700; color: var(--pdp, var(--brand-dark)); }
.variant-chip__price small { color: var(--accent); font-weight: 700; }
/* Cart line variant chip */
.cart-line__variant { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: var(--radius-pill); }

/* Buy bento */
.bento--buy { display: flex; flex-direction: column; }
.bento--buy::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--pdp, var(--brand)), var(--pdp-2, var(--brand-2))); }
.bento--buy h1 { font-size: var(--fs-600); margin: 8px 0 0; }
.bento--buy .pdp__price .now { color: var(--pdp, var(--brand-dark)); }
.bento--buy .btn--primary { background: linear-gradient(135deg, var(--pdp-2, var(--brand-2)), var(--pdp, var(--brand))); }
.bento--buy .badge--off { background: linear-gradient(135deg, var(--pdp-2, var(--brand-2)), var(--pdp, var(--brand))); box-shadow: none; }

/* Highlight checks + mini lists adopt the box accent colour */
.bento .pdp__highlights { margin: 0; }
.bento .pdp__highlights svg { color: var(--tcol); }
.bento__list { list-style: none; padding: 0; display: grid; gap: 11px; margin: 0; }
.bento__list li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-400); }
.bento__list svg { width: 20px; height: 20px; color: var(--tcol); flex: none; margin-top: 1px; }

@media (max-width: 980px) {
  .pdp-bento { grid-template-columns: repeat(6, 1fr); }
  .col-7, .col-5, .col-8, .col-6 { grid-column: span 6; }
  .col-4 { grid-column: span 3; }
}
@media (max-width: 620px) {
  .pdp-bento { grid-template-columns: 1fr; }
  .pdp-bento > * { grid-column: 1 / -1 !important; }
}
