/* ==========================================================================
   MADAN TRADERS clone — trust badges, pills, product packaging mockups
   ========================================================================== */

/* ---------- Trust badge circles ("Get to Know Us") ---------- */
.shan-badge-circle {
  text-align: center;
}

.shan-badge-circle__ring {
  width: clamp(120px, 14vw, 200px);
  height: clamp(120px, 14vw, 200px);
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.shan-badge-circle:hover .shan-badge-circle__ring {
  transform: translateY(-6px) scale(1.04);
}

.shan-badge-circle__ring--halal { background: white; }
.shan-badge-circle__ring--veg { background: white; }
.shan-badge-circle__ring--taste { background: white; }

.shan-badge-circle__arabic {
  font-size: 0.7em;
}

.shan-badge-circle__label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ---------- Category pill tabs ---------- */
.shan-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.shan-pill {
    position: relative;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.shan-pill:hover {
  border-color: var(--shan-gold-light);
  color: var(--shan-gold-light);
}

.shan-pill.active {
  background: linear-gradient(155deg, var(--shan-gold-light), var(--shan-gold) 75%);
  border-color: var(--shan-gold);
  color: var(--shan-ink);
  font-weight: 600;
}

.shan-pill.active::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--shan-gold-light);
}

.shan-pills--light .shan-pill {
  color: #fff;
}

.shan-pills--light .shan-pill:hover {
  border-color: var(--shan-red);
  color: var(--shan-red);
}

.shan-pills--light .shan-pill.active {
  background: linear-gradient(155deg, var(--shan-red), var(--shan-red-dark) 75%);
  border-color: var(--shan-red);
  color: #fff;
}

.shan-pills--light .shan-pill.active::before {
  border-bottom-color: var(--shan-red);
}

/* ==========================================================================
   Product packaging mockups — CSS/SVG only, driven by --mockup-accent
   Sizing model: one calc() sets a component-local "em" via font-size, every
   other dimension is expressed in em so a single --mockup-scale controls all.
   ========================================================================== */
.shan-mockup {
  --mockup-scale: 1;
  position: relative;
  margin: 0 auto;
  font-size: calc(9px * var(--mockup-scale));
  filter: drop-shadow(0 1em 1.2em rgba(0, 0, 0, 0.28));
  transition: transform 0.35s ease;
}

.shan-mockup--sm { --mockup-scale: 0.7; }
.shan-mockup--md { --mockup-scale: 1; }
.shan-mockup--lg { --mockup-scale: 1.55; }
.shan-mockup--xl { --mockup-scale: 2.3; }

.shan-mockup--angled { transform: rotate(-7deg); }
.shan-mockup--tinted { filter: drop-shadow(0 1em 1.2em rgba(0, 0, 0, 0.28)) saturate(1.25) brightness(0.9); }

.shan-mockup__brand {
  font-family: var(--font-script);
  color: #fff;
  font-size: 1.35em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shan-mockup__brand--dark {
  color: var(--shan-red);
  text-shadow: none;
}

/* ---------- Jar (cooking sauces, cooking paste) ---------- */
.shan-jar {
  width: 11.5em;
  height: 19.5em;
}

.shan-jar__cap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6.8em;
  height: 2.3em;
  border-radius: 0.6em 0.6em 0.15em 0.15em;
  background: linear-gradient(180deg, #3d3d3d, #121212 88%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.18);
}

.shan-jar__neck {
  position: absolute;
  top: 2.1em;
  left: 50%;
  transform: translateX(-50%);
  width: 5em;
  height: 1.6em;
  background: linear-gradient(180deg, #262626, #171717);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.shan-jar__body {
  position: absolute;
  top: 3.5em;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.1em 1.1em 1.7em 1.7em;
  background: linear-gradient(120deg, #32363a 0%, #1b1d1f 55%, #26292c 100%);
  box-shadow: inset -0.6em 0 1.2em rgba(0, 0, 0, 0.4), inset 0.5em 0 1em rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.shan-jar__body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  width: 16%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  transform: skewX(-12deg);
}

.shan-jar__label {
  position: absolute;
  left: 0.6em;
  right: 0.6em;
  top: 36%;
  bottom: 1em;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4em;
}

.shan-jar__veg {
  position: absolute;
  top: 0.35em;
  right: 0.35em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: var(--shan-halal-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65em;
}

.shan-jar__name {
  color: var(--mockup-accent);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-top: 0.2em;
}

.shan-jar__kind {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shan-jar__weight {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7em;
  margin-top: 0.4em;
}

/* ---------- Box (recipe mixes, accompaniments, desserts, frozen foods) ---------- */
.shan-mockup-box {
  width: 12.5em;
  height: 16.5em;
}

.shan-box__top {
  position: absolute;
  top: -0.5em;
  left: 0.6em;
  right: 0.9em;
  height: 1em;
  background: var(--mockup-accent-light);
  clip-path: polygon(4% 100%, 12% 0, 100% 0, 92% 100%);
}

.shan-box__side {
  position: absolute;
  top: 0;
  right: -0.7em;
  bottom: 0;
  width: 1.1em;
  background: var(--mockup-accent-dark);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}

.shan-box__front {
  position: absolute;
  inset: 0;
  border-radius: 0.4em;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.shan-box__photo {
  height: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2em;
}

.shan-box__info {
  flex: 1;
  padding: 0.5em 0.7em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.15em;
}

.shan-box__name {
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.2;
  color: var(--shan-ink);
  text-transform: uppercase;
}

.shan-box__weight {
  font-size: 0.68em;
  color: var(--shan-muted);
}

/* ---------- Pouch (plain spices, shoop, salt) ---------- */
.shan-mockup-pouch {
  width: 10.5em;
  height: 16em;
}

.shan-pouch__fold {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1.6em;
  background: var(--mockup-accent-dark);
  border-radius: 0.5em 0.5em 0 0;
  clip-path: polygon(0 40%, 8% 0, 92% 0, 100% 40%, 100% 100%, 0 100%);
}

.shan-pouch__body {
  position: absolute;
  top: 1.2em;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.3em 0.3em 1.4em 1.4em;
  background: linear-gradient(160deg, var(--mockup-accent-light), var(--mockup-accent) 60%);
  box-shadow: inset 0.5em 0 1em rgba(255, 255, 255, 0.15), inset -0.5em 0 1em rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shan-pouch__label {
  width: 78%;
  height: 62%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  text-align: center;
  padding: 0.4em;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.15);
}

.shan-pouch__label .shan-mockup__brand {
  color: var(--shan-red);
  text-shadow: none;
  font-size: 1.15em;
}

.shan-pouch__icon {
  color: var(--mockup-accent);
  font-size: 1.3em;
}

.shan-pouch__name {
  font-weight: 700;
  font-size: 0.82em;
  line-height: 1.15;
  color: var(--shan-ink);
  text-transform: uppercase;
}

.shan-pouch__weight {
  font-size: 0.62em;
  color: var(--shan-muted);
}
