/* ==========================================================================
   Cute Land — app shell + commerce flow + account + content pages
   ========================================================================== */

/* ---------- header additions ---------- */
.show-sm { display: grid; }
@media (min-width: 768px) { .show-sm { display: none !important; } }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px; border-radius: 99px; font-weight: 750; font-size: 14px; transition: background .2s; }
.acct-btn:hover { background: var(--blush); }
.acct-btn img, .acct-btn .i { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); padding: 2px; }
.acct-btn .i { padding: 6px; }
@media (min-width: 768px) { .acct-btn { padding: 0 14px 0 6px; box-shadow: inset 0 0 0 1.5px var(--gray); } }
@media (max-width: 767px) { .acct-btn span { display: none; } }

/* ---------- live search panel ---------- */
.search.open .spanel { opacity: 1; visibility: visible; transform: none; }
.spanel {
  position: absolute; top: calc(100% + 10px); inset-inline: 0; z-index: 60; background: #fff; border-radius: 24px; box-shadow: var(--sh-lift);
  padding: 8px; max-height: min(70vh, 560px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease);
}
.spanel--inline { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; max-height: none; border-radius: 0; background: transparent; }
.spanel__sec { padding: 10px 10px 12px; }
.spanel__sec + .spanel__sec { border-top: 1px dashed var(--line); }
.spanel__h { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.spanel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spanel__chips .chip { height: 36px; font-size: 13.5px; }
.spanel__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.spanel__cats a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 18px; background: var(--c); font-size: 12px; font-weight: 700; text-align: center; transition: transform .3s var(--bounce); }
.spanel__cats a:hover { transform: translateY(-3px); }
.spanel__cats img { width: 46px; height: 46px; object-fit: contain; }
.spanel__item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; transition: background .2s; }
.spanel__item:hover { background: var(--cream); }
.spanel__item > span { width: 54px; height: 54px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; }
.spanel__item img { width: 46px; height: 46px; object-fit: contain; }
.spanel__item b { font-size: 14px; display: block; line-height: 1.5; }
.spanel__item small { font-size: 12px; color: var(--muted); }
.spanel__item em { font-style: normal; font-weight: 850; font-size: 14px; }

.msearch { position: fixed; inset: 0; z-index: 110; background: var(--warm); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .45s var(--ease); }
.msearch.on { transform: none; }
.msearch__bar { display: flex; gap: 8px; align-items: center; padding: 12px 12px 8px; padding-top: max(12px, env(safe-area-inset-top)); }
.msearch__body { flex: 1; overflow-y: auto; padding: 4px 6px 30px; }

/* ---------- mobile app bar (inner pages) ---------- */
.appbar { display: none; }
@media (max-width: 1023px) {
  body.has-appbar .announce, body.has-appbar .header { display: none; }
  .appbar {
    position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px;
    padding-top: env(safe-area-inset-top); background: rgba(255, 251, 247, .9); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .appbar__title { flex: 1; font-family: var(--font-display); font-weight: 800; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .appbar__end { display: flex; gap: 2px; }
}
.appbar__btn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; position: relative; color: var(--charcoal); transition: background .2s, transform .2s; flex: none; }
.appbar__btn:active { transform: scale(.92); background: var(--blush); }
.appbar__btn .count { position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; padding: 0 4px; transform: scale(0); transition: transform .3s var(--bounce); }
.appbar__btn .count.on { transform: scale(1); }

/* touch feedback */
@media (hover: none) {
  .btn:active, .chip:active, .icon-btn:active, .tabbar a:active, .tabbar button:active, .cat:active, .channel:active { transform: scale(.96); }
}

/* menu drawer links */
.menu-links { display: grid; gap: 4px; margin-top: 18px; background: #fff; border-radius: 22px; padding: 6px; box-shadow: var(--sh-soft); }
.menu-links a, .menu-links button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; font-weight: 700; font-size: 14.5px; text-align: start; width: 100%; }
.menu-links a:hover, .menu-links button:hover { background: var(--cream); }
.menu-links .i { color: var(--link); }

/* ---------- steps ---------- */
.steps { display: flex; align-items: center; gap: 0; counter-reset: s; margin: 20px 0 26px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.step i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--gray); font-style: normal; font-weight: 850; transition: all .35s var(--bounce); }
.step.done i { background: var(--aqua); box-shadow: none; color: var(--charcoal); }
.step.on { color: var(--charcoal); }
.step.on i { background: var(--cta); color: #fff; box-shadow: 0 0 0 5px rgba(0, 137, 154, .15); transform: scale(1.08); }
.step-line { flex: 1; height: 3px; margin: 0 10px; border-radius: 3px; background: var(--gray); min-width: 16px; position: relative; overflow: hidden; }
.step-line::after { content: ""; position: absolute; inset: 0; background: var(--aqua); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.step-line.done::after { transform: scaleX(1); }
@media (max-width: 600px) { .step span { display: none; } .step.on span { display: inline; } }

/* ---------- cart page ---------- */
.flow { display: grid; gap: 24px; align-items: start; margin-top: 10px; }
@media (min-width: 1000px) { .flow { grid-template-columns: 1fr 380px; gap: 32px; } }
.flow > * { min-width: 0; }
.box { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-soft); padding: clamp(16px, 2.6vw, 26px); }
.box + .box { margin-top: 16px; }
.box__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.box__h h2, .box__h h3 { font-size: 20px; display: flex; gap: 10px; align-items: center; }
.box__h h2 .i, .box__h h3 .i { color: var(--link); }
.cline { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); position: relative; }
.cline:last-child { border-bottom: 0; }
.cline__img { width: 96px; height: 96px; border-radius: 22px; background: var(--tint); display: grid; place-items: center; }
.cline__img img { width: 84%; height: 84%; object-fit: contain; transition: transform .4s var(--bounce); }
.cline:hover .cline__img img { transform: rotate(-5deg) scale(1.06); }
.cline h4 { font-family: var(--font-body); font-size: 15px; font-weight: 750; line-height: 1.6; }
.cline__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cline__meta span { display: inline-flex; gap: 4px; align-items: center; }
.cline__meta i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cline__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cline__price { font-weight: 850; font-size: 16px; }
.cline__price s { font-weight: 500; font-size: 12px; color: var(--muted); display: block; }
.cline__acts { display: flex; gap: 4px; }
.cline__acts button { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; padding: 6px 8px; border-radius: 10px; }
.cline__acts button:hover { background: var(--cream); color: var(--rose); }
.cline__acts .i { width: 16px; height: 16px; }
.cline.removing { animation: removeLine .45s var(--ease) forwards; }
@keyframes removeLine { to { opacity: 0; transform: translateX(-40px); height: 0; padding: 0; margin: 0; } }

.summary { position: sticky; top: calc(var(--header-h) + 70px); display: grid; gap: 14px; }
body.has-appbar .summary { top: 80px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 6px 0; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.save { color: var(--rose); font-weight: 750; }
.sum-row.total { border-top: 1.5px dashed var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 900; }
.sum-row.total span:first-child { color: var(--charcoal); }
.coupon { display: flex; gap: 8px; background: var(--warm); border-radius: 18px; padding: 6px; box-shadow: inset 0 0 0 1.5px var(--line); }
.coupon input { flex: 1; border: 0; outline: 0; background: none; padding: 0 12px; min-width: 0; font-weight: 700; letter-spacing: .05em; }
.coupon.ok { box-shadow: inset 0 0 0 2px var(--ok); }
.coupon.bad { box-shadow: inset 0 0 0 2px var(--rose); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-5px); } 75% { transform: translateX(3px); } }
.pay-sticky { display: none; }
@media (max-width: 999px) {
  .summary { position: static; }
  .pay-sticky {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 65; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .2);
  }
  .pay-sticky .btn { flex: 1; min-height: 52px; }
  .pay-sticky .p { font-weight: 900; font-size: 17px; line-height: 1.3; }
  .pay-sticky .p small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
  body.flow-page { padding-bottom: 110px; }
  body.flow-page .tabbar { display: none; }
}
.mini-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.mini-rail::-webkit-scrollbar { display: none; }
.mini { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.mini__img { aspect-ratio: 1; border-radius: 20px; background: var(--tint); display: grid; place-items: center; position: relative; }
.mini__img img { width: 80%; }
.mini__img .add-mini { position: absolute; bottom: 8px; left: 8px; width: 36px; height: 36px; border-radius: 12px; background: #fff; }
.mini span { color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* ---------- checkout ---------- */
.opt-cards { display: grid; gap: 10px; }
@media (min-width: 640px) { .opt-cards.two { grid-template-columns: 1fr 1fr; } .opt-cards.three { grid-template-columns: repeat(3, 1fr); } }
.ocard { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: all .25s var(--ease); text-align: start; width: 100%; }
.ocard:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.ocard input { position: absolute; opacity: 0; pointer-events: none; }
.ocard:has(input:checked), .ocard.on { background: #F2FDFD; box-shadow: inset 0 0 0 2px var(--turquoise), 0 8px 20px -12px rgba(0, 137, 154, .4); }
.ocard__radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CFCFD8; flex: none; display: grid; place-items: center; transition: all .25s; }
.ocard:has(input:checked) .ocard__radio, .ocard.on .ocard__radio { box-shadow: inset 0 0 0 7px var(--cta); }
.ocard img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.ocard b { display: block; font-size: 14.5px; }
.ocard small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.ocard em { margin-inline-start: auto; font-style: normal; font-weight: 850; font-size: 14px; white-space: nowrap; }
.ocard em.free { color: var(--ok); }
.ocard--col { flex-direction: column; text-align: center; }
.ocard--col img { width: 96px; height: 96px; }
.ocard--col .ocard__radio { position: absolute; top: 12px; right: 12px; }
.ocard--col em { margin: 0; }
.fgrid { display: grid; gap: 12px; }
@media (min-width: 640px) { .fgrid.two { grid-template-columns: 1fr 1fr; } }
.fld { position: relative; }
.fld input, .fld textarea, .fld select {
  width: 100%; border: 0; outline: 0; background: var(--warm); border-radius: 18px; padding: 24px 18px 8px; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, background .25s; resize: vertical; appearance: none; -webkit-appearance: none;
}
.fld select { padding-top: 22px; cursor: pointer; }
.fld textarea { min-height: 96px; }
.fld label { position: absolute; top: 16px; inset-inline-start: 18px; color: var(--muted); font-size: 14.5px; pointer-events: none; transition: all .25s var(--ease); }
.fld input:focus, .fld textarea:focus, .fld select:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--aqua), 0 0 0 6px rgba(79, 219, 212, .15); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label, .fld select + label { top: 7px; font-size: 11.5px; color: var(--link); font-weight: 700; }
.fld.bad input, .fld.bad textarea, .fld.bad select { box-shadow: inset 0 0 0 2px var(--rose); animation: shake .4s; }
.fld .err { display: none; color: var(--rose); font-size: 12px; font-weight: 700; margin-top: 4px; padding-inline-start: 6px; }
.fld.bad .err { display: block; }
.fld--sel::after { content: ""; position: absolute; left: 18px; top: 24px; width: 8px; height: 8px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); pointer-events: none; }
.addr-card { position: relative; padding: 16px 18px; border-radius: 20px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: all .25s; display: grid; gap: 4px; text-align: start; width: 100%; }
.addr-card.on { background: #F2FDFD; box-shadow: inset 0 0 0 2px var(--turquoise); }
.addr-card b { font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.addr-card small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.addr-card .tag { font-size: 11px; background: var(--lilac); color: var(--violet); padding: 1px 8px; border-radius: 99px; font-weight: 800; }
.addr-card .ocard__radio { position: absolute; top: 16px; left: 16px; }
.addr-card.on .ocard__radio { box-shadow: inset 0 0 0 7px var(--cta); }
.cstep { display: none; animation: fadeUp .45s var(--ease); }
.cstep.on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.slots { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.slot { flex: none; min-width: 92px; padding: 10px; border-radius: 18px; text-align: center; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 12.5px; color: var(--muted); transition: all .25s; }
.slot b { display: block; font-size: 15px; color: var(--charcoal); }
.slot[aria-pressed="true"] { background: var(--cta); color: rgba(255,255,255,.85); box-shadow: none; }
.slot[aria-pressed="true"] b { color: #fff; }
.slot:disabled { opacity: .4; text-decoration: line-through; }
.card-note { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, var(--blush), var(--lilac)); }
.card-note__preview { background: #fff; border-radius: 16px; padding: 16px 18px; min-height: 90px; font-family: var(--font-display); font-size: 18px; line-height: 1.8; position: relative; box-shadow: var(--sh-soft); }
.card-note__preview::after { content: "♡"; position: absolute; bottom: 8px; left: 14px; color: var(--rose); }
.secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); justify-content: center; }
.secure .i { width: 16px; height: 16px; color: var(--ok); }
.sum-items { display: grid; gap: 10px; max-height: 260px; overflow-y: auto; }
.sum-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.sum-item span:first-child { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; position: relative; }
.sum-item img { width: 44px; height: 44px; object-fit: contain; }
.sum-item sup { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--charcoal); color: #fff; font-size: 11px; display: grid; place-items: center; }
.sum-item b { font-weight: 750; line-height: 1.5; }
.paying { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(255, 251, 247, .92); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .3s; text-align: center; }
.paying.on { opacity: 1; visibility: visible; }
.paying img { width: 140px; animation: float 1.6s ease-in-out infinite; }
.paying .cl-loader__dots { justify-content: center; margin-top: 10px; }

/* ---------- success ---------- */
.success { text-align: center; display: grid; justify-items: center; gap: 14px; padding-block: clamp(30px, 5vw, 60px); position: relative; }
.success__art { width: min(300px, 70vw); animation: pop 0.8s var(--bounce); }
@keyframes pop { from { transform: scale(.4) rotate(-10deg); opacity: 0; } }
.success h1 { font-size: clamp(30px, 5vw, 52px); }
.success__id { display: inline-flex; gap: 10px; align-items: center; background: #fff; border-radius: 99px; padding: 8px 8px 8px 18px; box-shadow: var(--sh-soft); font-weight: 800; }
.success__id code { font-family: var(--font-display); background: var(--sky); padding: 4px 14px; border-radius: 99px; direction: ltr; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 18px; border-radius: 3px; background: var(--c); animation: fall var(--d) linear forwards; animation-delay: var(--del); opacity: .9; }
.confetti i.h { -webkit-mask: url("../img/kit/Heart.svg") center/contain no-repeat; mask: url("../img/kit/Heart.svg") center/contain no-repeat; width: 18px; border-radius: 0; }
@keyframes fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }

/* ---------- timeline (tracking) ---------- */
.track-steps { display: grid; gap: 0; position: relative; }
.tstep { display: grid; grid-template-columns: 64px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.tstep:not(:last-child)::before { content: ""; position: absolute; top: 60px; bottom: 0; right: 31px; width: 3px; border-radius: 3px; background: var(--gray); }
.tstep.done:not(:last-child)::before { background: linear-gradient(var(--aqua), var(--turquoise)); }
.tstep__ico { width: 64px; height: 64px; border-radius: 22px; background: var(--cream); display: grid; place-items: center; filter: grayscale(1); opacity: .55; transition: all .4s; }
.tstep__ico img { width: 50px; height: 50px; object-fit: contain; }
.tstep.done .tstep__ico, .tstep.now .tstep__ico { filter: none; opacity: 1; background: var(--c, var(--sky)); }
.tstep.now .tstep__ico { box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--aqua); animation: nowPulse 2s infinite; }
@keyframes nowPulse { 50% { box-shadow: 0 0 0 5px #fff, 0 0 0 12px rgba(79, 219, 212, .3); } }
.tstep b { display: block; font-size: 15.5px; padding-top: 8px; }
.tstep small { color: var(--muted); font-size: 13px; }
.tstep.now b { color: var(--link); }
.tstep:not(.done):not(.now) b { color: var(--muted); }
.route { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3/1.4; background: var(--sky); }
.route > img { width: 100%; height: 100%; object-fit: cover; }
.route__van { position: absolute; width: 74px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .15)); transition: left 1.2s var(--ease), top 1.2s var(--ease); transform: translate(-50%, -70%); }
.route__van img { width: 100%; animation: float 2.4s ease-in-out infinite; }

/* ---------- auth ---------- */
.auth { display: grid; min-height: calc(100vh - 140px); align-items: center; gap: 20px; padding-block: 30px 60px; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; gap: 50px; } }
.auth__art { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; aspect-ratio: 1; max-height: 640px; background: linear-gradient(160deg, var(--sky), var(--lilac) 55%, var(--blush)); display: grid; place-items: center; }
.auth__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt01-sparkle-cloud.webp") center/220px; opacity: .3; }
.auth__art .castle { width: 82%; filter: drop-shadow(0 30px 30px rgba(58, 58, 58, .15)); animation: float 7s ease-in-out infinite; }
.auth__art .m { position: absolute; bottom: 4%; left: 4%; width: 38%; filter: drop-shadow(0 14px 14px rgba(58, 58, 58, .14)); }
.auth__perks { position: absolute; top: 18px; right: 18px; display: grid; gap: 8px; }
.auth__perks span { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 750; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--sh-soft); }
.auth__perks .i { width: 16px; height: 16px; color: var(--link); }
@media (max-width: 959px) { .auth__art { aspect-ratio: 16/10; order: -1; } .auth__perks { display: none; } .auth__art .m { width: 30%; } }
.auth__card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-card); padding: clamp(22px, 4vw, 44px); display: grid; gap: 16px; max-width: 480px; width: 100%; justify-self: center; }
.auth__card h1 { font-size: clamp(26px, 3.4vw, 36px); }
.otp { display: flex; gap: 10px; direction: ltr; justify-content: center; }
.otp input { width: 58px; height: 64px; border-radius: 18px; border: 0; outline: 0; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; font-size: 26px; font-weight: 900; transition: all .25s var(--bounce); }
.otp input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--aqua), 0 0 0 6px rgba(79, 219, 212, .15); transform: translateY(-3px); }
.otp input.filled { background: var(--sky); }
.otp.bad input { box-shadow: inset 0 0 0 2px var(--rose); animation: shake .4s; }
.astep { display: none; gap: 16px; animation: fadeUp .45s var(--ease); }
.astep.on { display: grid; }
.avatar-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatar-pick button { aspect-ratio: 1; border-radius: 50%; background: var(--cream); padding: 6px; transition: all .3s var(--bounce); }
.avatar-pick button img { width: 100%; height: 100%; object-fit: contain; }
.avatar-pick button[aria-pressed="true"] { background: var(--sky); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--turquoise); transform: scale(1.06); }

/* ---------- account ---------- */
.acc { display: grid; gap: 20px; margin-top: 18px; align-items: start; }
@media (min-width: 1024px) { .acc { grid-template-columns: 290px 1fr; gap: 28px; } }
.acc > * { min-width: 0; }
.acc-side { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-soft); overflow: hidden; position: sticky; top: calc(var(--header-h) + 70px); }
.acc-prof { padding: 22px; text-align: center; display: grid; justify-items: center; gap: 6px; background: linear-gradient(160deg, var(--sky), var(--lilac)); position: relative; isolation: isolate; }
.acc-prof::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt03-confetti.webp") center/200px; opacity: .3; }
.acc-prof img { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .7); }
.acc-prof b { font-size: 18px; }
.acc-prof small { color: #55555f; direction: ltr; }
.tier-chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border-radius: 99px; padding: 4px 12px 4px 6px; font-size: 12.5px; font-weight: 800; }
.tier-chip img { width: 24px; height: 24px; padding: 0; box-shadow: none; background: none; }
.acc-nav { display: grid; padding: 8px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; font-weight: 700; font-size: 14.5px; transition: background .2s, color .2s; }
.acc-nav a:hover { background: var(--cream); }
.acc-nav a.on { background: var(--sky); color: var(--link); }
.acc-nav a .i { color: var(--muted); }
.acc-nav a.on .i { color: var(--link); }
.acc-nav a sup { margin-inline-start: auto; background: var(--rose); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 8px; }
.acc-nav hr { border: 0; border-top: 1px dashed var(--line); margin: 6px 8px; }
@media (max-width: 1023px) {
  .acc-side { position: static; }
  .acc-side .acc-nav { display: none; }
  .acc-mnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin-top: -6px; position: sticky; top: 60px; z-index: 20; background: var(--warm); }
  .acc-mnav::-webkit-scrollbar { display: none; }
  .acc-mnav a { flex: none; display: inline-flex; gap: 6px; align-items: center; height: 40px; padding: 0 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray); font-size: 13.5px; font-weight: 750; }
  .acc-mnav a.on { background: var(--charcoal); color: #fff; box-shadow: none; }
  .acc-mnav .i { width: 17px; height: 17px; }
}
@media (min-width: 1024px) { .acc-mnav { display: none; } }
.acc-view { display: none; animation: fadeUp .45s var(--ease); }
.acc-view.on { display: block; }
.acc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.acc-h h2 { font-size: clamp(22px, 2.6vw, 30px); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--sh-soft); display: grid; gap: 4px; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--bounce); }
.kpi:hover { transform: translateY(-4px); }
.kpi img { position: absolute; z-index: -1; width: 78px; left: -8px; bottom: -10px; opacity: .9; transform: rotate(-10deg); }
.kpi b { font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.kpi span { font-size: 13px; color: var(--muted); }
.club { border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px); background: linear-gradient(135deg, #FFF6DC, var(--blush) 55%, var(--lilac)); display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.club::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt03-confetti.webp") center/240px; opacity: .3; }
.club__top { display: flex; gap: 16px; align-items: center; }
.club__top img { width: 92px; animation: float 5s ease-in-out infinite; }
.club__top b { font-family: var(--font-display); font-size: 24px; display: block; }
.club .bar { height: 12px; background: rgba(255, 255, 255, .7); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tier { background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 750; display: grid; justify-items: center; gap: 2px; }
.tier img { width: 46px; height: 46px; object-fit: contain; }
.tier.on { background: #fff; box-shadow: 0 0 0 2px var(--turquoise); }
.tier.locked img { filter: grayscale(.8); opacity: .6; }
.orders { display: grid; gap: 12px; }
.order { background: #fff; border-radius: 24px; box-shadow: var(--sh-soft); padding: 16px 18px; display: grid; gap: 12px; transition: box-shadow .3s; }
.order:hover { box-shadow: var(--sh-card); }
.order__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.order__id { font-weight: 850; display: flex; gap: 8px; align-items: center; }
.order__id code { font-family: var(--font-display); direction: ltr; }
.status { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--ship { background: var(--sky); color: var(--link); }
.status--pack { background: #FFF1D6; color: #9A6A00; }
.status--done { background: #DDF8EC; color: #1A7F5C; }
.status--cancel { background: var(--blush); color: #B4245A; }
.order__imgs { display: flex; gap: 8px; }
.order__imgs span { width: 58px; height: 58px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; }
.order__imgs img { width: 48px; height: 48px; object-fit: contain; }
.order__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.order__foot b { color: var(--charcoal); }
.order__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.minibar { height: 6px; background: var(--cream); border-radius: 6px; overflow: hidden; }
.minibar i { display: block; height: 100%; background: linear-gradient(270deg, var(--aqua), var(--turquoise)); border-radius: 6px; }
.addr-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
.addr-add { border: 2px dashed var(--gray); border-radius: 20px; display: grid; place-items: center; gap: 6px; padding: 20px; color: var(--muted); font-weight: 750; min-height: 120px; transition: all .25s; }
.addr-add:hover { border-color: var(--aqua); color: var(--link); background: #F7FEFE; }
.noti { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; padding: 14px; border-radius: 18px; align-items: start; }
.noti + .noti { border-top: 1px dashed var(--line); }
.noti.unread { background: #F3FCFF; }
.noti > span { width: 48px; height: 48px; border-radius: 16px; background: var(--c); display: grid; place-items: center; }
.noti > span img { width: 38px; }
.noti b { font-size: 14.5px; display: block; }
.noti p { font-size: 13.5px; color: #55555f; }
.noti time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.coupons { display: grid; gap: 12px; }
@media (min-width: 700px) { .coupons { grid-template-columns: 1fr 1fr; } }
.ticket { display: grid; grid-template-columns: 90px 1fr; background: #fff; border-radius: 20px; box-shadow: var(--sh-soft); overflow: hidden; position: relative; }
.ticket__l { background: var(--c); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 24px; position: relative; }
.ticket__l::after { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; border-left: 3px dotted #fff; }
.ticket__r { padding: 14px 16px; display: grid; gap: 4px; }
.ticket__r b { font-size: 14.5px; }
.ticket__r small { font-size: 12px; color: var(--muted); }
.ticket__r code { font-family: var(--font-display); background: var(--cream); padding: 2px 10px; border-radius: 8px; direction: ltr; justify-self: start; font-size: 13px; cursor: copy; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row b { display: block; font-size: 14.5px; }
.toggle-row small { font-size: 12.5px; color: var(--muted); }

/* ---------- blog ---------- */
.mag-hero { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 960px) { .mag-hero { grid-template-columns: 1.5fr 1fr; } }
.post-card { display: grid; gap: 12px; position: relative; }
.post-card__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/2; position: relative; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__img .badge { position: absolute; top: 14px; right: 14px; }
.post-card h3 { font-size: 20px; line-height: 1.5; }
.post-card:hover h3 { color: var(--link); }
.post-card p { color: #55555f; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.post-meta span { display: inline-flex; gap: 5px; align-items: center; }
.post-meta .i { width: 15px; height: 15px; }
.post-card--big .post-card__img { aspect-ratio: 16/10; }
.post-card--big h3 { font-size: clamp(24px, 3vw, 34px); }
.post-card--overlay .post-card__img { aspect-ratio: auto; height: 100%; min-height: 360px; }
.post-card--overlay .post-card__body { position: absolute; inset-inline: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 22px; padding: 18px; display: grid; gap: 8px; }
.posts { display: grid; gap: 24px 18px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.side-list { display: grid; gap: 14px; }
.side-post { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.side-post img { width: 110px; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.side-post b { font-size: 15px; line-height: 1.6; display: block; }
.side-post:hover b { color: var(--link); }
.read-progress { position: fixed; top: 0; inset-inline: 0; height: 5px; z-index: 71; }
.read-progress i { display: block; height: 100%; background: linear-gradient(270deg, var(--pink), var(--lavender), var(--aqua)); transform-origin: right; transform: scaleX(var(--p, 0)); }
.article { display: grid; gap: 30px; margin-top: 18px; }
@media (min-width: 1100px) { .article { grid-template-columns: 1fr 300px; align-items: start; } }
.article > * { min-width: 0; }
.article__cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/8; position: relative; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17px; line-height: 2.15; display: grid; gap: 18px; max-width: 720px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 14px; scroll-margin-top: 140px; display: flex; gap: 10px; align-items: center; }
.prose h2::before { content: ""; width: 26px; height: 26px; background: url("../img/kit/Sparkle.svg") center/contain no-repeat; flex: none; }
.prose blockquote { margin: 0; padding: 18px 22px; border-radius: 22px; background: var(--blush); font-family: var(--font-display); font-size: 20px; line-height: 1.8; position: relative; }
.prose ul { display: grid; gap: 8px; padding-inline-start: 0; }
.prose li { display: flex; gap: 10px; }
.prose li::before { content: "♡"; color: var(--rose); font-weight: 900; }
.prose .tip { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; background: var(--sky); border-radius: 22px; padding: 14px 18px; font-size: 15px; line-height: 1.9; }
.prose .tip img { width: 70px; }
.prod-inline { display: grid; grid-template-columns: 100px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--sh-soft); font-size: 14px; line-height: 1.7; }
.prod-inline > span { width: 100px; height: 100px; border-radius: 18px; background: var(--tint); display: grid; place-items: center; }
.prod-inline img { width: 84px; }
@media (max-width: 560px) { .prod-inline { grid-template-columns: 72px 1fr; } .prod-inline > span { width: 72px; height: 72px; } .prod-inline img { width: 60px; } .prod-inline .add-mini { grid-column: 1 / -1; width: 100%; } }
.toc-box { position: sticky; top: calc(var(--header-h) + 70px); display: grid; gap: 14px; }
.toc-box nav { display: grid; gap: 2px; }
.toc-box nav a { padding: 8px 12px; border-radius: 12px; font-size: 14px; color: #55555f; border-inline-start: 3px solid transparent; transition: all .2s; }
.toc-box nav a.on { background: var(--sky); color: var(--link); font-weight: 800; border-color: var(--turquoise); }
.share-row { display: flex; gap: 8px; }
.share-row a, .share-row button { width: 42px; height: 42px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; transition: all .3s var(--bounce); }
.share-row a:hover, .share-row button:hover { background: var(--pink); transform: translateY(-3px); }
.author { display: flex; gap: 12px; align-items: center; }
.author img { width: 52px; height: 52px; border-radius: 50%; background: var(--sky); padding: 3px; }
.author b { display: block; font-size: 14.5px; }
.author small { color: var(--muted); font-size: 12.5px; }
.react { display: flex; gap: 8px; flex-wrap: wrap; }
.react button { display: inline-flex; gap: 6px; align-items: center; height: 42px; padding: 0 16px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray); font-weight: 800; transition: all .3s var(--bounce); }
.react button[aria-pressed="true"] { background: var(--blush); box-shadow: inset 0 0 0 1.5px var(--pink); transform: scale(1.05); }
.react img { width: 22px; height: 22px; }

/* ---------- help center ---------- */
.help-hero { display: grid; gap: 18px; justify-items: center; text-align: center; padding: clamp(28px, 5vw, 60px) 16px; border-radius: var(--r-xl); margin-top: 18px; background: linear-gradient(135deg, var(--sky), var(--lilac) 55%, var(--blush)); position: relative; overflow: hidden; isolation: isolate; }
.help-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt08-scallop-cloud.webp") center/220px; opacity: .25; }
.help-hero h1 { font-size: clamp(30px, 4.6vw, 54px); }
.help-hero .search { display: block; width: min(560px, 100%); }
.help-hero .search input { height: 58px; font-size: 16px; box-shadow: var(--sh-card); }
.help-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -40px; position: relative; z-index: 2; padding-inline: 10px; }
@media (min-width: 900px) { .help-cards { grid-template-columns: repeat(4, 1fr); gap: 18px; padding-inline: 40px; } }
.help-card { background: #fff; border-radius: 26px; box-shadow: var(--sh-card); padding: 16px; display: grid; justify-items: center; gap: 4px; text-align: center; transition: transform .4s var(--bounce); }
.help-card:hover { transform: translateY(-8px); }
.help-card img { width: 86px; height: 86px; object-fit: contain; transition: transform .5s var(--bounce); }
.help-card:hover img { transform: rotate(-8deg) scale(1.08); }
.help-card b { font-size: 15.5px; }
.help-card span { font-size: 12.5px; color: var(--muted); }
.help-layout { display: grid; gap: 26px; margin-top: 40px; align-items: start; }
@media (min-width: 1000px) { .help-layout { grid-template-columns: 260px 1fr; } }
.help-layout > * { min-width: 0; }
.help-nav { position: sticky; top: calc(var(--header-h) + 70px); background: #fff; border-radius: 24px; box-shadow: var(--sh-soft); padding: 8px; display: grid; }
@media (max-width: 999px) { .help-nav { display: flex; overflow-x: auto; position: sticky; top: 60px; z-index: 20; scrollbar-width: none; border-radius: 99px; } }
.help-nav a { padding: 11px 14px; border-radius: 16px; font-weight: 750; font-size: 14px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.help-nav a.on { background: var(--sky); color: var(--link); }
.help-sec { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-soft); padding: clamp(20px, 3vw, 34px); scroll-margin-top: 150px; display: grid; gap: 14px; }
.help-sec + .help-sec { margin-top: 18px; }
.help-sec__h { display: flex; gap: 14px; align-items: center; }
.help-sec__h img { width: 64px; }
.help-sec h2 { font-size: clamp(22px, 2.6vw, 28px); }
.help-sec p, .help-sec li { color: #4a4a55; font-size: 15px; line-height: 2; }
.help-sec ul { display: grid; gap: 6px; }
.help-sec li { display: flex; gap: 10px; }
.help-sec li::before { content: "✦"; color: var(--turquoise); }
.ship-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
.ship-table th { font-weight: 800; color: var(--muted); font-size: 12.5px; text-align: start; padding: 4px 14px; }
.ship-table td { background: var(--warm); padding: 12px 14px; font-weight: 650; }
.ship-table td:first-child { border-radius: 0 14px 14px 0; font-weight: 800; }
.ship-table td:last-child { border-radius: 14px 0 0 14px; }
.hl-box { border-radius: 20px; padding: 14px 18px; background: var(--c, var(--blush)); font-size: 14.5px; display: flex; gap: 12px; align-items: center; }
.hl-box .i { flex: none; }
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gw-grid figure { margin: 0; background: var(--cream); border-radius: 20px; padding: 10px; text-align: center; font-size: 13px; font-weight: 750; }
.gw-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
mark.hit { background: #FFF1A8; border-radius: 4px; padding: 0 2px; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 999px) { .step-nav [data-next]:not(.btn--ghost), .step-nav #pay { display: none; } }
.box__h { flex-wrap: wrap; }
.route__van { width: 56px; }
.route__van img { animation: pinDrop 1.6s var(--bounce) infinite; }
@keyframes pinDrop { 50% { transform: translateY(-10px); } }
@media (max-width: 959px) { .auth { min-height: 0; padding-top: 16px; align-items: start; } }
@media (max-width: 1023px) { .acc.sub .acc-side { display: none; } }

/* ==========================================================================
   Builders (accessory / gift box / gift card) + workshops / corporate / wishlist
   ========================================================================== */
.bld { display: grid; gap: 20px; margin-top: 14px; align-items: start; }
@media (min-width: 1000px) { .bld { grid-template-columns: 1fr 1.05fr; gap: 30px; } .bld__stage-wrap { order: 2; position: sticky; top: calc(var(--header-h) + 66px); } }
.bld > * { min-width: 0; }
.bld__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 50% 45%, #fff, rgba(255,255,255,0) 72%), linear-gradient(160deg, var(--sky), var(--lilac) 55%, var(--blush));
  box-shadow: var(--sh-card);
}
.bld__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt01-sparkle-cloud.webp") center/220px; opacity: .25; }
.bld__stage canvas { width: 100%; height: 100%; display: block; }
.bld__hud { position: absolute; inset-inline: 14px; top: 14px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.bld__hud > * { pointer-events: auto; }
.bld__pill { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 800; box-shadow: var(--sh-soft); display: inline-flex; gap: 6px; align-items: center; }
.bld__tools { position: absolute; bottom: 14px; inset-inline: 14px; display: flex; justify-content: center; gap: 8px; }
.bld__tools button { width: 46px; height: 46px; border-radius: 16px; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--sh-soft); transition: transform .3s var(--bounce); }
.bld__tools button:hover { transform: translateY(-3px); }
.bld__tools button:disabled { opacity: .4; }
@media (max-width: 999px) {
  .bld__stage-wrap { position: sticky; top: 60px; z-index: 15; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; background: var(--warm); }
  .bld__stage { aspect-ratio: auto; height: min(46vh, 380px); border-radius: 28px; }
}
.bsec { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-soft); padding: clamp(16px, 2.4vw, 24px); scroll-margin-top: 140px; }
.bsec + .bsec { margin-top: 14px; }
.bsec__h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bsec__h b { font-family: var(--font-display); font-size: 19px; }
.bsec__h .n { width: 30px; height: 30px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; flex: none; }
.bsec__h small { margin-inline-start: auto; color: var(--muted); font-size: 12.5px; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.type { border-radius: 20px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); padding: 12px 6px; display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 13px; font-weight: 800; transition: all .25s var(--bounce); }
.type .i { width: 30px; height: 30px; color: var(--link); }
.type small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.type[aria-pressed="true"] { background: #F2FDFD; box-shadow: inset 0 0 0 2px var(--turquoise), 0 10px 20px -12px rgba(0,137,154,.45); transform: translateY(-2px); }
.cords { display: flex; gap: 10px; flex-wrap: wrap; }
.cord { width: 42px; height: 42px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08); transition: transform .3s var(--bounce); position: relative; }
.cord.metal { background: linear-gradient(135deg, #fff 0%, var(--c) 40%, #fff 55%, var(--c) 80%); }
.cord[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--charcoal); transform: scale(1.08); }
.bead-group + .bead-group { margin-top: 12px; }
.bead-group > span { font-size: 12.5px; font-weight: 800; color: var(--muted); display: block; margin-bottom: 6px; }
.bead-row { display: flex; gap: 6px; flex-wrap: wrap; }
.bead-btn { width: 46px; height: 46px; border-radius: 14px; background: var(--warm); display: grid; place-items: center; transition: transform .25s var(--bounce), background .2s; }
.bead-btn:hover { background: var(--sky); transform: translateY(-3px) scale(1.06); }
.bead-btn:active { transform: scale(.9); }
.bead-btn img { width: 38px; height: 38px; }
.name-row { display: flex; gap: 8px; }
.name-row input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; border-radius: 16px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 16px; font-size: 17px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.name-row input:focus { box-shadow: inset 0 0 0 2px var(--aqua); background: #fff; }
.strand { display: flex; gap: 4px; overflow-x: auto; padding: 8px; background: var(--warm); border-radius: 18px; min-height: 58px; align-items: center; scrollbar-width: thin; }
.strand:empty::before { content: "هنوز مهره‌ای اضافه نکردی — از پالت بالا انتخاب کن ♡"; font-size: 13px; color: var(--muted); padding: 0 8px; }
.strand button { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; position: relative; transition: transform .2s; }
.strand button:hover { background: #fff; }
.strand button:hover::after { content: "×"; position: absolute; top: -4px; left: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 13px; line-height: 18px; text-align: center; }
.strand img { width: 34px; height: 34px; }
.meter { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 10px; }
.meter .bar { flex: 1; height: 8px; margin: 0; }
.presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .presets { grid-template-columns: repeat(4, 1fr); } }
.preset { border-radius: 18px; padding: 10px; background: var(--warm); text-align: center; font-size: 12.5px; font-weight: 800; display: grid; gap: 6px; justify-items: center; transition: all .25s var(--bounce); box-shadow: inset 0 0 0 1.5px var(--line); }
.preset:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--aqua); }
.preset img { width: 100%; height: 34px; object-fit: contain; }
.charms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.charm { aspect-ratio: 1; border-radius: 18px; background: var(--warm); display: grid; place-items: center; position: relative; transition: all .25s var(--bounce); padding: 6px; }
.charm img { width: 82%; height: 82%; object-fit: contain; transition: transform .4s var(--bounce); }
.charm:hover img { transform: rotate(-10deg) scale(1.08); }
.charm[aria-pressed="true"] { background: #F2FDFD; box-shadow: inset 0 0 0 2px var(--turquoise); }
.charm[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 12px; display: grid; place-items: center; }
.charm small { position: absolute; bottom: 4px; font-size: 10.5px; font-weight: 800; color: var(--muted); }
@media (max-width: 520px) { .charms { grid-template-columns: repeat(4, 1fr); } .types { grid-template-columns: repeat(2, 1fr); } }
.price-lines { display: grid; gap: 4px; font-size: 14px; }
.my-designs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.my-designs a { flex: none; width: 84px; text-align: center; font-size: 11.5px; font-weight: 700; display: grid; gap: 4px; }
.my-designs img { width: 84px; height: 84px; border-radius: 18px; background: var(--sky); object-fit: cover; }

/* gift box builder */
.gbox { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.gbox__img { position: absolute; width: 86%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(58,58,58,.18)); transition: opacity .4s; }
.gbox__slots { position: absolute; width: 56%; aspect-ratio: 1; display: grid; gap: 4%; padding: 2%; }
.gbox__slots > span { display: grid; place-items: center; animation: dropIn .6s var(--bounce); }
.gbox__slots img { width: 112%; max-width: none; filter: drop-shadow(0 8px 8px rgba(58,58,58,.18)); transform: rotate(var(--r)); }
@keyframes dropIn { from { transform: translateY(-120px) scale(.6); opacity: 0; } }
.gbox__ribbon { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.gbox__ribbon::before, .gbox__ribbon::after { content: ""; position: absolute; background: var(--rc); opacity: .9; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.gbox__ribbon::before { width: 8%; height: 80%; }
.gbox__ribbon::after { height: 8%; width: 80%; }
.gbox__ribbon.closed::before, .gbox__ribbon.closed::after { display: none; }
.cap { display: flex; gap: 4px; }
.cap i { flex: 1; height: 10px; border-radius: 5px; background: var(--gray); transition: background .3s; }
.cap i.on { background: linear-gradient(90deg, var(--aqua), var(--turquoise)); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 520px; overflow-y: auto; padding: 2px; }
.pick { border-radius: 20px; background: var(--warm); padding: 8px; display: grid; gap: 4px; text-align: center; font-size: 12px; font-weight: 750; position: relative; transition: all .25s var(--bounce); }
.pick span:first-child { aspect-ratio: 1; border-radius: 16px; background: var(--tint); display: grid; place-items: center; }
.pick img { width: 82%; }
.pick em { font-style: normal; color: var(--muted); font-weight: 650; }
.pick[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--turquoise); background: #F2FDFD; }
.pick[aria-pressed="true"]::after { content: attr(data-n); position: absolute; top: 6px; right: 6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--cta); color: #fff; font-size: 12px; display: grid; place-items: center; }
.pick:disabled { opacity: .45; }

/* gift card */
.gcard { perspective: 1400px; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1.586; }
.gcard__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--bounce); }
.gcard.flip .gcard__in { transform: rotateY(180deg); }
.gcard__f, .gcard__b { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -24px rgba(58,58,58,.4); }
.gcard__f img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard__f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 60%); transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.gcard__txt { position: absolute; inset: 0; padding: 7%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; z-index: 1; }
.gcard__brand { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 900; background: rgba(255,255,255,.85); border-radius: 99px; padding: 4px 12px 4px 6px; font-size: 14px; }
.gcard__brand img { width: 30px; }
.gcard__amt { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 5vw, 40px); background: rgba(255,255,255,.88); padding: 4px 16px; border-radius: 18px; }
.gcard__amt small { font-size: .45em; }
.gcard__to { font-size: 13px; font-weight: 800; background: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 99px; }
.gcard__b { transform: rotateY(180deg); background: #fff; padding: 7%; display: grid; align-content: space-between; }
.gcard__b p { font-family: var(--font-display); font-size: clamp(16px, 2.6vw, 21px); line-height: 1.8; }
.gcard__code { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-radius: 14px; padding: 8px 12px; font-size: 12.5px; }
.gcard__code code { font-family: var(--font-display); letter-spacing: .15em; direction: ltr; }
.designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.designs button { aspect-ratio: 1.586; border-radius: 14px; overflow: hidden; transition: all .25s var(--bounce); }
.designs img { width: 100%; height: 100%; object-fit: cover; }
.designs button[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--turquoise); transform: translateY(-3px); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amounts button { height: 54px; border-radius: 16px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 850; font-size: 14.5px; transition: all .2s; }
.amounts button[aria-pressed="true"] { background: var(--cta); color: #fff; box-shadow: none; }
@media (max-width: 520px) { .amounts { grid-template-columns: repeat(2, 1fr); } }

/* workshops */
.ws-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .ws-grid { grid-template-columns: repeat(2, 1fr); } }
.ws { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-card); overflow: hidden; display: grid; transition: transform .45s var(--bounce); }
.ws:hover { transform: translateY(-6px); }
.ws__img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.ws__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ws:hover .ws__img img { transform: scale(1.05); }
.ws__img .badge { position: absolute; top: 14px; right: 14px; }
.ws__seats { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.92); border-radius: 99px; padding: 4px 12px; font-size: 12.5px; font-weight: 800; }
.ws__body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.ws__body h3 { font-size: 21px; }
.ws__facts { display: flex; flex-wrap: wrap; gap: 6px; }
.ws__facts span { font-size: 12.5px; font-weight: 700; background: var(--warm); border-radius: 99px; padding: 4px 12px; display: inline-flex; gap: 5px; align-items: center; }
.ws__facts .i { width: 14px; height: 14px; color: var(--link); }
.ws__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cal { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
.cal button { flex: none; width: 70px; border-radius: 18px; padding: 10px 4px; background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; font-size: 12px; color: var(--muted); display: grid; gap: 2px; transition: all .25s; }
.cal button b { font-size: 20px; color: var(--charcoal); font-family: var(--font-display); }
.cal button[aria-pressed="true"] { background: var(--cta); color: rgba(255,255,255,.85); box-shadow: none; }
.cal button[aria-pressed="true"] b { color: #fff; }
.cal button:disabled { opacity: .35; }
.pkgs { display: grid; gap: 16px; }
@media (min-width: 900px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.pkg { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-soft); padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; transition: transform .4s var(--bounce), box-shadow .3s; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--sh-card); }
.pkg.hot { box-shadow: 0 0 0 2.5px var(--turquoise), var(--sh-card); }
.pkg.hot::before { content: "محبوب‌ترین"; position: absolute; top: -12px; right: 22px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 99px; }
.pkg img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; }
.pkg h3 { font-size: 22px; }
.pkg .pp { font-family: var(--font-display); font-size: 28px; font-weight: 900; }
.pkg .pp small { font-size: 13px; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.pkg ul { display: grid; gap: 6px; font-size: 14px; }
.pkg li { display: flex; gap: 8px; }
.pkg li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.tiers-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.tiers-bar span { border-radius: 14px; padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 800; background: var(--warm); color: var(--muted); transition: all .3s; }
.tiers-bar span.on { background: var(--sky); color: var(--link); box-shadow: inset 0 0 0 2px var(--aqua); }
.range-big { width: 100%; accent-color: var(--turquoise); height: 30px; }
.upload { border: 2px dashed var(--gray); border-radius: 20px; padding: 18px; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: all .25s; }
.upload:hover, .upload.on { border-color: var(--aqua); background: #F7FEFE; color: var(--link); }
.upload img { max-height: 70px; border-radius: 10px; }
.steps-h { display: grid; gap: 14px; }
@media (min-width: 900px) { .steps-h { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--sh-soft); display: grid; gap: 6px; position: relative; }
.step-card b { font-size: 16px; }
.step-card span { font-size: 13.5px; color: var(--muted); }
.step-card i { width: 36px; height: 36px; border-radius: 12px; background: var(--c); display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-weight: 900; }

/* custom hub cards (home + hub) */
.cust-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .cust-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cust { position: relative; border-radius: var(--r-xl); padding: 18px; background: var(--c); overflow: hidden; isolation: isolate; display: grid; gap: 6px; align-content: end; min-height: 260px; transition: transform .45s var(--bounce), box-shadow .4s; }
.cust:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--sh-lift); }
.cust img { position: absolute; z-index: -1; top: 6%; left: 50%; width: 70%; transform: translateX(-50%); transition: transform .6s var(--bounce); filter: drop-shadow(0 16px 16px rgba(58,58,58,.14)); }
.cust:hover img { transform: translateX(-50%) translateY(-8px) rotate(-6deg) scale(1.06); }
.cust h3 { font-size: 19px; }
.cust span { font-size: 13px; color: rgba(58,58,58,.75); }
.cust .go { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cust .go .i { width: 18px; height: 18px; }
@media (max-width: 520px) { .cust { min-height: 210px; padding: 14px; } .cust h3 { font-size: 16px; } }

/* embroidery personalization (product page) */
.emb { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); padding: 14px 16px; display: grid; gap: 10px; }
.emb__body { display: none; gap: 10px; }
.emb.on .emb__body { display: grid; }
.emb.on { box-shadow: inset 0 0 0 2px var(--turquoise); background: #F7FEFE; }
.emb__patch { position: absolute; z-index: 3; left: 50%; bottom: 14%; transform: translateX(-50%) rotate(-3deg); padding: 6px 18px; border-radius: 99px; background: rgba(255,255,255,.92); border: 2px dashed var(--tc, var(--rose)); color: var(--tc, var(--rose)); font-weight: 900; font-size: clamp(18px, 3vw, 26px); letter-spacing: .06em; box-shadow: var(--sh-soft); pointer-events: none; animation: patchIn .5s var(--bounce); white-space: nowrap; }
.emb__patch.script { font-family: "Segoe Script", "Brush Script MT", cursive; font-weight: 700; letter-spacing: 0; }
.emb__patch.round { font-family: var(--font-display); }
@keyframes patchIn { from { transform: translateX(-50%) scale(.4) rotate(-12deg); opacity: 0; } }

/* wishlist share */
.wl-hero { border-radius: var(--r-xl); padding: clamp(22px, 4vw, 44px); background: linear-gradient(135deg, var(--blush), var(--lilac) 55%, var(--sky)); display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; margin-top: 18px; }
@media (min-width: 900px) { .wl-hero { grid-template-columns: 1fr auto; align-items: center; } }
.wl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt06-heart-check.webp") center/200px; opacity: .2; }
.wl-hero h1 { font-size: clamp(28px, 4vw, 46px); }
.wl-count { display: flex; gap: 8px; }
.wl-count div { background: #fff; border-radius: 16px; padding: 8px 12px; text-align: center; min-width: 64px; }
.wl-count b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
.wl-count span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.share-box { display: flex; gap: 8px; background: #fff; border-radius: 99px; padding: 6px; box-shadow: var(--sh-soft); }
.share-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font-size: 13px; direction: ltr; color: var(--muted); background: none; }
.claimed { position: absolute; inset: 0; z-index: 4; background: rgba(255,255,255,.75); display: grid; place-items: center; font-weight: 900; color: var(--ok); font-size: 15px; border-radius: inherit; }

/* ---------- floating contact widget (right side, fixed) ---------- */
.fab { position: fixed; z-index: 66; right: 18px; bottom: 28px; display: grid; justify-items: end; gap: 10px; }
@media (max-width: 1023px) { .fab { right: 12px; bottom: 100px; } body.flow-page .fab, body.pdp-page .fab { bottom: 96px; } }
.fab__btn {
  display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 18px; border-radius: 99px; background: #fff;
  box-shadow: 0 14px 34px -12px rgba(0, 137, 154, .5), inset 0 0 0 2px rgba(79, 219, 212, .5); font-weight: 850; font-size: 14px; color: var(--charcoal);
  transition: transform .4s var(--bounce), box-shadow .3s; position: relative;
}
.fab__btn:hover { transform: translateY(-3px) scale(1.03); }
.fab__btn img { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--sky), var(--blush)); padding: 3px; object-fit: contain; animation: fabWiggle 6s ease-in-out infinite; }
@keyframes fabWiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } 97% { transform: rotate(-5deg); } }
.fab__btn::after { content: ""; position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #fff; animation: pulse 2s infinite; }
.fab__btn .lbl { display: grid; line-height: 1.3; text-align: start; }
.fab__btn .lbl small { font-size: 11px; color: var(--muted); font-weight: 650; }
.fab.mini .fab__btn { padding: 0 7px; width: 60px; justify-content: center; }
.fab.mini .fab__btn .lbl { display: none; }
.fab__bubble { background: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; box-shadow: var(--sh-card); max-width: 220px; animation: toastIn .5s var(--bounce); position: relative; }
.fab__bubble button { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--charcoal); color: #fff; font-size: 12px; display: grid; place-items: center; }
.fab__panel {
  width: min(340px, calc(100vw - 24px)); background: var(--warm); border-radius: 28px; box-shadow: var(--sh-lift); overflow: hidden;
  transform-origin: bottom right; transform: scale(.6) translateY(20px); opacity: 0; visibility: hidden; transition: all .4s var(--bounce);
}
.fab.open .fab__panel { transform: none; opacity: 1; visibility: visible; }
.fab__head { padding: 18px 18px 30px; background: linear-gradient(135deg, var(--aqua), var(--turquoise)); color: #fff; display: flex; gap: 12px; align-items: center; position: relative; }
.fab__head img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 3px; }
.fab__head b { font-family: var(--font-display); font-size: 18px; display: block; }
.fab__head span { font-size: 12.5px; opacity: .92; display: flex; gap: 6px; align-items: center; }
.fab__head span i { width: 8px; height: 8px; border-radius: 50%; background: #C8FFE6; }
.fab__head .x { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; display: grid; place-items: center; }
.fab__body { margin-top: -16px; background: var(--warm); border-radius: 22px 22px 0 0; padding: 14px; display: grid; gap: 8px; max-height: min(60vh, 460px); overflow-y: auto; position: relative; }
.fab__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fab__ch { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 18px; background: #fff; box-shadow: var(--sh-soft); font-size: 12px; font-weight: 800; transition: transform .3s var(--bounce); }
.fab__ch:hover { transform: translateY(-3px); }
.fab__ch span { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--charcoal); }
.fab__row { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 12px; font-size: 13px; box-shadow: var(--sh-soft); }
.fab__row .i { color: var(--link); flex: none; }
.fab__row b { display: block; font-size: 13.5px; }
.fab__row small { color: var(--muted); font-size: 12px; line-height: 1.6; display: block; }
.fab__row a.go { margin-inline-start: auto; font-size: 12px; font-weight: 800; color: var(--link); white-space: nowrap; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr repeat(4, 1fr) 1.25fr !important; } }
.footer__contact { display: grid; gap: 4px; align-content: start; }
.footer__contact a { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #55555f; padding: 4px 0; }
.footer__contact a:hover { color: var(--link); }
.footer__contact .i { color: var(--link); flex: none; }

/* ==========================================================================
   Mobile polish: stacked banners, category headers, compact contact button
   ========================================================================== */
@media (max-width: 760px) {
  /* campaign / promo banners: image band on top, copy on a clean panel below */
  .promo { display: flex; flex-direction: column; align-items: stretch; padding: 0 !important; min-height: 0 !important; background: #fff; box-shadow: var(--sh-card); }
  .promo > img:first-of-type { position: relative !important; inset: auto !important; width: 100% !important; height: 190px !important; object-fit: cover; z-index: 0; border-radius: 0; left: auto !important; }
  .promo > img[style*="contain"] { object-fit: contain !important; background: var(--c, var(--sky)); padding: 10px; }
  .promo::before { display: none; }
  .promo__copy { max-width: none; padding: 16px 18px 20px; gap: 8px; background: #fff; }
  .promo h3, .promo--sm h3 { font-size: 22px; }
  .promo h3 br { display: none; }
  .promo p { font-size: 14px; }
  .promo .sticker { top: 12px; inset-inline-end: 12px; width: 76px; font-size: 13px; z-index: 2; }
  .promo .sticker-img { display: none; }
  .promo--night { background: linear-gradient(160deg, #4A3A86, #6B4FB0); }
  .promo--night .promo__copy { background: transparent; color: #fff; }
  .promo-grid > div { gap: 16px !important; }
  /* category / hub headers: diorama on top, copy below — nothing overlaps */
  .chead { display: block; min-height: 0; }
  .chead__art { position: relative; inset: auto; left: auto; width: 100%; height: 200px; top: auto; z-index: 0; }
  .chead__art img { object-position: center; }
  .chead__copy { padding: 4px 18px 50px; gap: 8px; max-width: none; }
  .chead h1 { font-size: clamp(28px, 8vw, 38px); }
  .chead p { font-size: 14.5px; }
  .chead .fx, #ch-fx { display: none; }
  .chead__pattern { mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); }
  .chead__sticker { top: 12px; right: 12px; left: auto; bottom: auto; width: 56px; }
  /* compact floating contact button on phones */
  .fab .fab__btn { padding: 0 6px; width: 58px; height: 58px; justify-content: center; }
  .fab .fab__btn .lbl { display: none; }
  .fab .fab__btn img { width: 46px; height: 46px; }
  .fab__btn::before { content: "تماس"; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 8px; border-radius: 99px; }
}
/* contact widget: pin to the physical right edge (RTL-safe) */
.fab { justify-items: right; }
.fab__panel { position: absolute; right: 0; bottom: calc(100% + 12px); }
.fab__bubble { position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; }
.fab.open .fab__bubble { display: none; }
.hdr-contact { display: none; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; border-radius: 99px; background: linear-gradient(135deg, var(--sky), var(--blush)); flex: none; transition: transform .3s var(--bounce), box-shadow .3s; }
.hdr-contact:hover { transform: translateY(-2px); box-shadow: var(--sh-soft); }
.hdr-contact__ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--link); position: relative; }
.hdr-contact__ico::after { content: ""; position: absolute; top: 0; right: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #fff; }
.hdr-contact__txt { display: grid; line-height: 1.25; text-align: start; }
.hdr-contact__txt b { font-size: 13px; }
.hdr-contact__txt small { font-size: 11.5px; color: #55555f; font-weight: 700; }
@media (min-width: 1180px) { .hdr-contact { display: inline-flex; } }
