/* ==========================================================================
   NetmarPlus PIN MARKET – "PIN ticket" layer (loaded after styles.css and fun.css)
   • Product cards are code tickets: perforated line and side notches between the image and the details.
   • Desktop: category strip under the header. Mobile: quick buttons left of the logo, compact hero, swipeable category dock.
   Product images themselves are untouched; they fill the square image box exactly.
   ========================================================================== */
:root {
  --ink: #1a0f4a;
  --paper: #ffffff;
  --fog: #f5f3fc;
  --perf: #e4def6;
}

/* ---------- Header ---------- */
.topbar { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.topbar:has(+ *) , .topbar { box-shadow: 0 1px 0 var(--line); }
.top-search { border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.top-search:focus-within { border-color: var(--violet); background: #fff; }


/* ---------- Product cards: PIN tickets ---------- */
.card { border-radius: 22px; padding: 8px; border: 1.5px solid var(--line); background: var(--paper); box-shadow: 0 1px 0 rgba(26,15,74,.04);
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), border-color .2s, box-shadow .2s; }
.card .tile { border-radius: 15px; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c2, var(--violet)) 55%, #fff); box-shadow: 0 18px 30px -20px rgba(26,15,74,.45); }
.card:active { transform: translateY(-1px); }
.card:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 50%, transparent); outline-offset: 3px; }
.card-body { position: relative; margin-top: 10px; padding: 12px 6px 4px; border-top: 2px dashed var(--perf); }
/* side notches on the perforation */
.card-body::before, .card-body::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--page-bg, #fff); border: 1.5px solid var(--line); }
.card-body::before { left: -20px; }
.card-body::after { right: -20px; }
.card:hover .card-body::before, .card:hover .card-body::after { border-color: color-mix(in srgb, var(--c2, var(--violet)) 55%, #fff); }
.card-body h3 { font-size: .98rem; color: var(--ink); }
.price-line { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding-right: 44px; min-height: 34px; align-content: flex-end; }
.price-line strong { font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.price-line::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232a1a00' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;
  box-shadow: 0 3px 0 #d19a00; transition: transform .2s cubic-bezier(.3, 1.7, .5, 1); }
.card:hover .price-line::after { transform: rotate(90deg); }
.card.soldout .price-line::after { display: none; }
.card.soldout { filter: grayscale(.85); opacity: .7; }
.amt-chip { border-radius: 8px; }
.tile .buy-hint { display: none; }   /* the round + button already says "buy" */
.card .tile .tname { display: none; } /* the name is printed on the ticket below */
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-body .price-line { margin-top: auto; }
.shelf:has(> .spot:empty) { display: none; }

/* the rows breathe a little more and snap per card */
.row { gap: 14px; scroll-snap-type: x mandatory; scroll-padding-left: 4px; }
.row > .card { scroll-snap-align: start; }

/* ---------- Home: hero and quick links ---------- */
.carousel { border-radius: 30px; }
.banner.side { border-radius: 26px; }
.cats { gap: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  /* compact hero: the whole first screen shows the offer and the categories */
  .banners { padding-top: 12px; gap: 10px; }
  .carousel { min-height: 0; border-radius: 24px; }
  .slide { grid-template-columns: 1fr; padding: 22px 20px 54px; gap: 6px; }
  .slide h1, .slide h2 { font-size: clamp(1.35rem, 6.2vw, 1.7rem); line-height: 1.08; }
  .slide .lead { font-size: .92rem; margin: 6px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .slide .hero-art { position: absolute; right: -18px; top: 10px; width: 46%; max-width: 190px; opacity: .95; pointer-events: none; }
  .slide .hero-art .hero-card { transform: rotate(-10deg) scale(.9); }
  .slide .hero-art .float { display: none; }
  .slide .banner-copy { padding-right: 30%; }
  .slide .cta-row .btn.ghost { display: none; }   /* top-up is one tap away behind the sign-in / wallet button */
  .slide .eyebrow { font-size: .72rem; }
  .slide .cta-row { flex-wrap: wrap; gap: 8px; }
  .slide .cta-row .btn { padding: 10px 14px; font-size: .9rem; }
  .side-banners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .banner.side { min-height: 118px; padding: 14px; border-radius: 20px; }
  .banner.side strong { font-size: 1rem; }
  .banner.side span:last-child { font-size: .78rem; }
  .banner.side [data-icon] { width: 38%; top: 6%; }

  /* swipeable dock instead of a 2×2 grid */
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 14px -20px 0; padding: 4px 20px 10px; gap: 10px; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 auto; min-width: 150px; scroll-snap-align: start; padding: 10px 14px 10px 10px; }
  .cat .ic { width: 42px; height: 42px; border-radius: 14px; }
  .cat .ic svg { width: 28px; height: 28px; }
  .usp { display: flex; overflow-x: auto; scrollbar-width: none; margin: 4px -20px 0; padding: 4px 20px 8px; gap: 8px; }
  .usp::-webkit-scrollbar { display: none; }
  .usp div { flex: 0 0 auto; padding: 8px 12px; border-radius: 14px; }
  .usp div > span:last-child > span { display: none; }
  .usp [data-icon] { width: 24px; }
  .usp strong { font-size: .82rem; white-space: nowrap; }

  .row { grid-auto-columns: 47%; gap: 10px; }
  .card { padding: 6px; border-radius: 18px; }
  .card .tile { border-radius: 13px; }
  .card-body { padding: 10px 4px 2px; margin-top: 8px; }
  .card-body::before { left: -18px; } .card-body::after { right: -18px; }
  .card-body h3 { font-size: .88rem; }
  .price-line strong, .card.fam .price-line strong { font-size: .9rem; line-height: 1.25; }
  .amt-chip { font-size: .66rem; padding: 2px 6px; }
  .price-line { padding-right: 38px; min-height: 30px; }
  .price-line::after { width: 30px; height: 30px; background-size: 16px; }
  .shelf { margin-top: 18px; padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .price-line::after, .mr-panel { transition: none; }
}

/* ==========================================================================
   Header (same on phone and desktop):
   [Logo] [Categories ▾] ………… [flag LANG/CUR ▾] [Sign in] [☰]
   ========================================================================== */
html, body { overflow-x: clip; }            /* nothing may push the page sideways */
.topbar-in { position: relative; gap: 10px; }
.topbar .brand-pm { margin: 0 !important; flex: none; }
.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.top-actions { margin-left: 0; }

/* ☰ – far right, opens the side menu from the right */
.hdr-menu { width: 44px; height: 44px; flex: none; display: grid !important; place-items: center; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0; }
.hdr-menu > .bars { display: grid; gap: 4px; width: auto; height: auto; background: none; border-radius: 0; transform: none !important; opacity: 1 !important; }
.hdr-menu .bars span { display: block; width: 18px; height: 2.4px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hdr-menu[aria-expanded="true"] { border-color: var(--violet); }
.hdr-menu[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.hdr-menu[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.hdr-menu[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }
.menu { left: auto; right: 0; transform: translateX(100%); box-shadow: -20px 0 50px -20px rgba(26,18,56,.4); }
.menu.open { transform: none; }

/* Categories – right of the logo */
.hdr-cats { position: relative; flex: none; }
.hdr-cat { height: 44px; padding: 0 14px 0 11px; display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 700 .92rem var(--font-body); cursor: pointer; }
.hdr-cat svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hdr-cat:hover, .hdr-cat[aria-expanded="true"] { border-color: var(--violet); color: var(--violet); }
.cat-panel { position: absolute; left: 0; top: calc(100% + 10px); width: 280px; z-index: 60; display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 50px -18px rgba(26,15,74,.45); animation: mr-in .2s ease; }
.cat-panel[hidden] { display: none; }
.cp-it { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; }
.cp-it:hover { background: color-mix(in srgb, var(--cc, var(--violet)) 10%, #fff); }
.cp-it .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--cc, var(--violet)) 14%, #fff); }
.cp-it .ic svg { width: 24px; height: 24px; }
.cp-it span:not(.ic) { flex: 1; }
.cp-it small { color: var(--muted); font-weight: 700; font-size: .75rem; background: var(--fog); border-radius: 99px; padding: 2px 8px; }
.cp-it.all { border-bottom: 1px solid var(--line); border-radius: 12px 12px 4px 4px; margin-bottom: 4px; }

/* Country · language · currency – left of Sign in */
.hdr-region { position: relative; }
.hdr-region .mr-one { width: auto; height: 44px; padding: 0 10px; gap: 8px; border-radius: 14px; border: 1.5px solid var(--line); }
.hdr-region .mr-one .flag { width: 24px; height: 17px; border-radius: 3px; }
.hdr-region .mr-one-txt { display: grid; line-height: 1.05; text-align: left; flex: none; }
.hdr-region .mr-one-txt b { font-size: .8rem; }
.hdr-region .mr-one-txt small { font-size: .7rem; font-weight: 800; color: var(--muted); }
.hdr-region .mr-chev { width: 16px; height: 16px; }
.hdr-region .mr-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 340px; max-width: calc(100vw - 24px); z-index: 60; margin: 0 !important; }
.hdr-region .mr-panel:not(.open) { display: none; }
.hdr-region .mr-panel.open { background: #fff; box-shadow: 0 22px 50px -18px rgba(26,15,74,.45); border: 1px solid var(--line); max-height: calc(100vh - 110px); overflow-y: auto; }
.hdr-region .mr-panel .mr-items { max-height: 260px; }
.menu-region { display: none; }

/* Phones: everything on one line, dropdowns use the full width under the header */
@media (max-width: 760px) {
  .wrap.topbar-in { padding-left: 12px; padding-right: 12px; }
  .topbar-in { gap: 6px; height: 60px; }
  .topbar .brand-pm img { height: 30px; }
  .hdr-right { gap: 5px; }
  .hdr-cat { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .hdr-cat .lbl { display: none; }
  .hdr-menu { width: 40px; height: 40px; }
  .hdr-region .mr-one { height: 40px; padding: 0 7px; gap: 5px; }
  .hdr-region .mr-one-txt b { font-size: .74rem; } .hdr-region .mr-one-txt small { font-size: .64rem; }
  .hdr-region .mr-chev { display: none; }
  .signin-btn { height: 40px; padding: 0 12px; font-size: .84rem; }
  .hdr-cats, .hdr-region { position: static; }
  .cat-panel, .hdr-region .mr-panel { left: 12px; right: 12px; width: auto; top: calc(100% + 6px); max-width: none; }
}
@media (max-width: 380px) {
  .topbar-in { gap: 4px; }
  .topbar .brand-pm img { height: 26px; }
  .hdr-cat, .hdr-menu { width: 36px; height: 36px; border-radius: 12px; }
  .hdr-region .mr-one { height: 36px; padding: 0 6px; }
  .hdr-region .mr-one-txt { display: none; }
  .signin-btn { height: 36px; padding: 0 10px; font-size: .8rem; }
}

/* ---------- Footer: legal links in two columns instead of one long list ---------- */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 2fr; }
.footer nav[aria-label="Legal"] { display: block; columns: 2; column-gap: 24px; }
.footer nav[aria-label="Legal"] h3 { column-span: all; margin-bottom: 12px; }
.footer nav[aria-label="Legal"] a { display: block; break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .f-brand { grid-column: 1 / -1; }
  .footer nav[aria-label="Legal"] { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer nav[aria-label="Legal"] a { font-size: .86rem; }
}

/* ==========================================================================
   Header buttons: one shape, calm colours – white buttons, only "Sign in" in the brand violet
   ========================================================================== */
.hdr-cat, .hdr-region .mr-one, .topbar .signin-btn, .hdr-menu {
  height: 44px; border-radius: 14px; border: 1.5px solid var(--line) !important; background: #fff !important; color: var(--ink) !important;
  box-shadow: 0 2px 0 #ece7fb !important; font: 800 .9rem var(--font-body); filter: none; transition: border-color .15s, box-shadow .15s, transform .12s;
}
.hdr-cat:hover, .hdr-region .mr-one:hover, .hdr-menu:hover { border-color: #cbbcff !important; }
.hdr-cat[aria-expanded="true"], .hdr-region .mr-one[aria-expanded="true"], .hdr-menu[aria-expanded="true"] { border-color: var(--violet) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 14%, transparent) !important; }
.hdr-cat:active, .hdr-region .mr-one:active, .hdr-menu:active, .topbar .signin-btn:active { transform: translateY(1px); }
.topbar .signin-btn, .topbar .signin-btn.in { border-color: transparent !important; background: var(--violet) !important; color: #fff !important; box-shadow: 0 3px 0 #4a17c4 !important; padding: 0 18px; }
.topbar .signin-btn:hover { filter: brightness(1.08); }
.topbar .signin-btn.in .bal { color: #fff; } .topbar .signin-btn.in .acc { color: rgba(255,255,255,.85); }
.hdr-cat:focus-visible, .hdr-region .mr-one:focus-visible, .topbar .signin-btn:focus-visible, .hdr-menu:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 40%, #fff); outline-offset: 2px; }
.hdr-menu .bars span { background: var(--ink) !important; }
.hdr-region .mr-one-txt b { color: var(--ink) !important; }
.hdr-region .mr-one-txt small { color: var(--muted) !important; opacity: 1; }
.hdr-region .mr-chev { color: var(--muted) !important; }
.hdr-region .mr-one .flag { box-shadow: 0 0 0 1px rgba(26,15,74,.12); }
.topbar .signin-btn::before, .topbar .signin-btn::after { display: none !important; }
@media (max-width: 760px) {
  .hdr-cat, .hdr-region .mr-one, .topbar .signin-btn, .hdr-menu { height: 40px; border-radius: 12px; }
  .topbar .signin-btn { padding: 0 12px; font-size: .84rem; }
}
@media (max-width: 380px) {
  .hdr-cat, .hdr-region .mr-one, .topbar .signin-btn, .hdr-menu { height: 36px; }
  .topbar .signin-btn { padding: 0 10px; font-size: .8rem; }
}

/* ---------- Header: text "Categories", compact logo mark on phones, signed-in button ---------- */
.brand-pm .bp-mark { display: none; }
.hdr-cat { padding: 0 16px; }
.topbar .signin-btn.in { display: inline-grid; grid-auto-flow: row; align-content: center; justify-items: start; gap: 0; line-height: 1.1; padding: 0 14px; }
.topbar .signin-btn.in #walletLabel { display: grid; justify-items: start; }
.topbar .signin-btn.in .bal { font-size: .95rem; font-weight: 800; color: #fff; }
.topbar .signin-btn.in .acc { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.88); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .hdr-cat { width: auto; padding: 0 11px; }
  .hdr-cat .lbl { display: inline !important; font-size: .84rem; }
  .topbar .signin-btn.in { padding: 0 10px; }
  .topbar .signin-btn.in .bal { font-size: .84rem; } .topbar .signin-btn.in .acc { display: block !important; font-size: .64rem; max-width: 76px; }
}
@media (max-width: 480px) {
  .brand-pm .bp-full { display: none; }
  .brand-pm .bp-mark { display: block; height: 36px !important; width: auto; }
}
@media (max-width: 380px) {
  .brand-pm .bp-mark { height: 32px !important; }
  .hdr-cat { padding: 0 8px; } .hdr-cat .lbl { font-size: .78rem; }
}

/* ---------- Recent purchases strip (moves right to left) ---------- */
.buyfeed { border-top: 1px solid var(--line); background: linear-gradient(90deg, #faf8ff, #fff 30%, #fff 70%, #faf8ff); overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.buyfeed[hidden] { display: none; }
.bf-track { display: flex; width: max-content; animation: bf-move var(--bf-dur, 60s) linear infinite; }
.buyfeed:hover .bf-track, .buyfeed:focus-within .bf-track { animation-play-state: paused; }
.bf-set { display: flex; gap: 10px; padding: 7px 5px; }
.bf-it { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .8rem var(--font-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.bf-it:hover { border-color: var(--violet); }
.bf-it:disabled { cursor: default; }
.bf-it b { color: var(--violet); font-weight: 800; }
.bf-it strong { color: var(--ink); font-weight: 800; }
.bf-it small { color: #9a93b8; font-weight: 700; font-size: .72rem; }
.bf-ic { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--fog); }
.bf-ic svg { width: 17px; height: 17px; }
@keyframes bf-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .bf-track { animation: none; }
  .buyfeed { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .bf-set[aria-hidden="true"] { display: none; }
}

/* ---------- Recommendations at the bottom of product pages ---------- */
.pd-rec { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--perf); }
.pd-rec .shelf-head { margin-bottom: 10px; }
.pd-rec .shelf-head h2 { font-size: 1.15rem; }
.pd-rec .row { grid-auto-columns: 190px; }
@media (max-width: 760px) { .pd-rec .row { grid-auto-columns: 46%; } }

/* ---------- Registration: user name field ---------- */
.uname-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.uname-in span { padding: 0 4px 0 12px; font-weight: 800; color: var(--violet); }
.uname-in input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; padding-left: 2px !important; }
.uname-in:focus-within { border-color: var(--violet); }
.uname-in:has(input.ok) { border-color: #12a37f; }
.uname-in:has(input.bad) { border-color: #d4145f; }
#regUserMsg.ok { color: #0c7a5f; font-weight: 700; }
#regUserMsg.err { color: #c0124f; font-weight: 700; }
.pd-rec .card-body h3 { font: 700 .95rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
/* the strip sits right above the footer */
.buyfeed-wrap { margin-top: 48px; }
.buyfeed-wrap:has(.buyfeed[hidden]) { display: none; }
.buyfeed-wrap .buyfeed { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buyfeed-wrap .bf-set { padding: 10px 5px; }
.buyfeed-wrap + .footer { margin-top: 34px; }

/* ---------- product page: highlights, code card, illustrated redemption screens ---------- */
.hl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hl-grid li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; min-width: 0; }
.hl-grid li.wide { grid-column: 1 / -1; background: linear-gradient(135deg, #fff8d6, #fff); border-color: #ffe48a; }
.hl-grid li > span:last-child { display: grid; gap: 1px; min-width: 0; }
.hl-grid small { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hl-grid b { font-size: .86rem; line-height: 1.3; color: var(--night); overflow-wrap: anywhere; }
.hl-grid li.wide b { font-weight: 600; }
.hl-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; }
.hl-ic svg { width: 36px; height: 36px; }
.hl-flag img, .hl-flag svg { width: 30px; height: auto; border-radius: 4px; }
.pd-card-row { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 14px; align-items: center; }
.pd-card-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 14px rgba(42, 22, 119, .18)); }
.pd-site { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #14102b; color: #fff; border-radius: 14px; padding: 10px 12px; }
.pd-site > span:nth-child(2) { display: grid; gap: 1px; flex: 1 1 160px; min-width: 0; }
.pd-site small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #c9bdf7; }
.pd-site b { font: 700 .9rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.site-ic { width: 32px; height: 32px; flex: none; } .site-ic svg { width: 32px; height: 32px; }
.pd-site .site-go { background: #ffd23f; color: #14102b; border: 0; font-weight: 800; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: .82rem; white-space: nowrap; }
.how-steps.gv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.how-steps.gv li { flex-direction: column; align-items: stretch; gap: 10px; }
.gv-shot { position: relative; display: block; background: linear-gradient(160deg, #f1edff, #fff7e0); border-radius: 12px; padding: 8px; }
.gv-shot svg { display: block; width: 100%; height: auto; }
.gv-shot b { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; font: 400 .8rem var(--font-display); display: grid; place-items: center; box-shadow: 0 3px 0 var(--violet-deep); }
@media (max-width: 520px) {
  .hl-grid { grid-template-columns: 1fr 1fr; } .hl-grid li:last-child { grid-column: 1 / -1; }
  .pd-card-row { grid-template-columns: 1fr; }
  .how-steps.gv { grid-template-columns: 1fr; }
}

/* ---------- footer app badges (generic, no store artwork) ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-badges h4 { flex-basis: 100%; margin: 0 0 2px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 8px 14px; border-radius: 12px; background: #14102b; color: #fff; text-decoration: none; border: 1.5px solid #3a3360; transition: transform .15s; }
.app-badge:hover { transform: translateY(-2px); }
.app-badge svg { width: 26px; height: 26px; flex: none; }
.app-badge span { display: grid; line-height: 1.15; }
.app-badge small { font-size: .66rem; opacity: .8; }
.app-badge b { font-size: 1rem; letter-spacing: .01em; }
.app-badge.soon { opacity: .75; cursor: default; }
.app-badge.soon:hover { transform: none; }
.app-badge .soon-tag { margin-left: auto; font-size: .62rem; font-weight: 800; background: #ffd23f; color: #14102b; border-radius: 999px; padding: 2px 7px; }
#productDlg .pd-grid > * { min-width: 0; }
#productDlg .dlg-in > * { min-width: 0; max-width: 100%; } #productDlg .pd-grid { grid-template-columns: 360px minmax(0, 1fr); } @media (max-width: 860px) { #productDlg .pd-grid { grid-template-columns: minmax(0, 1fr); } }
.native .app-badges { display: none; }
.native-ios #bankBox, .native-ios .tp-bank { display: none !important; }

.f-np-rule { margin: 10px 0 0; max-width: 360px; } .f-np-rule a { color: inherit; opacity: .8; text-decoration: none; } .f-np-rule a:hover { text-decoration: underline; }

/* ---------- fixed info strip: two rows, items side by side ---------- */
.ticker { overflow: visible; }
.ticker-track { --cols: 3; animation: none !important; transform: none !important; width: auto; max-width: 1240px; margin: 0 auto; padding: 5px 12px;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2px 8px; }
.ticker-track span { white-space: normal; justify-content: center; text-align: center; padding: 3px 6px; gap: 7px; line-height: 1.25; }
.ticker-track span::after { display: none; }
.ticker-track span::before { content: ""; flex: none; width: 7px; height: 7px; background: #ffd23f; transform: rotate(45deg); border-radius: 1px; }
@media (max-width: 760px) { .ticker { font-size: .7rem; letter-spacing: 0; text-transform: none; } .ticker-track { padding: 4px 6px; gap: 1px 4px; } .ticker-track span { padding: 3px 2px; gap: 5px; } .ticker-track span::before { width: 5px; height: 5px; } }


/* ---------- hero without side banners ---------- */
.banners { grid-template-columns: 1fr !important; }

/* ---------- category buttons: one colour, no images ---------- */
.cats { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0 !important; padding: 0 !important; overflow: visible !important; scroll-snap-type: none !important; }
.cat-btn { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px 10px; border-radius: 14px;
  background: #6a2cff; color: #fff; font-weight: 800; font-size: .92rem; line-height: 1.2; text-decoration: none; box-shadow: 0 3px 0 #4a17c4; transition: transform .12s, background .12s; }
.cat-btn:hover { background: #5a1fe8; transform: translateY(-1px); }
.cat-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #4a17c4; }
@media (max-width: 760px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px !important; }
  .cat-btn { min-height: 44px; font-size: .78rem; padding: 6px 6px; border-radius: 12px; }
  /* feature strip: no sideways scrolling */
  .usp { display: grid !important; grid-template-columns: 1fr 1fr; overflow: visible !important; margin: 10px 0 0 !important; padding: 0 !important; gap: 8px; }
  .usp div { min-width: 0; }
  .usp strong { white-space: normal !important; }
}
@media (max-width: 760px) { .slide[data-theme="np"] .banner-copy h1 { max-width: 60%; } }

/* =================== community: chat ===================*/
.np-chat { margin-top: 40px; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.chat-head h2 { margin: 0; font: 400 1.4rem var(--font-display); color: var(--night); }
.chat-head p { margin: 2px 0 0; }
.chat-box { background: linear-gradient(180deg, #f7f4ff, #fff); border: 1.5px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: 0 10px 30px -18px rgba(42, 22, 119, .35); }
.chat-list { list-style: none; margin: 0; padding: 4px 2px; display: grid; gap: 8px; max-height: 340px; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; }
.chat-msg { display: flex; align-items: flex-start; gap: 8px; }
.chat-msg.mine { flex-direction: row-reverse; }
.chat-bubble { max-width: min(76%, 560px); background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 7px 11px; }
.chat-msg.mine .chat-bubble { background: #6a2cff; color: #fff; border-color: #6a2cff; border-radius: 16px 16px 4px 16px; }
.chat-bubble p { margin: 0; font-size: .92rem; line-height: 1.4; overflow-wrap: anywhere; }
.chat-bubble time { display: block; font-size: .68rem; opacity: .65; margin-top: 2px; }
.chat-empty, .chat-note { color: var(--muted); font-size: .9rem; text-align: center; padding: 18px 8px; list-style: none; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; }
.chat-form input:focus { outline: 2px solid #6a2cff; outline-offset: 1px; }
.chat-rules { margin: 8px 2px 0; }
.chat-signin { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 12px; }
.chat-signin svg { width: 54px; height: 54px; }
.chat-signin p { margin: 0; color: var(--muted); }
.cm-user { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; color: var(--night); cursor: pointer; min-width: 0; }
.cm-user b { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.chat-msg .cm-user b { display: none; }
.cm-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--av, #6a2cff); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.cm-menu { position: relative; flex: none; }
.cm-menu summary { list-style: none; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-weight: 900; }
.cm-menu summary::-webkit-details-marker { display: none; }
.cm-menu summary:hover { background: #f1ecff; }
.cm-menu-list { position: absolute; right: 0; top: 30px; z-index: 30; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(20, 16, 43, .3); padding: 6px; display: grid; }
.chat-msg.mine .cm-menu-list { right: auto; left: 0; }
.cm-menu-list button { background: none; border: 0; text-align: left; padding: 8px 10px; border-radius: 8px; font: 600 .86rem var(--font-body); color: var(--night); cursor: pointer; }
.cm-menu-list button:hover { background: #f4f0ff; }
.cm-menu-list button[data-act="block"], .cm-menu-list button[data-act^="del"] { color: #c2185b; }
.cm-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; background: #14102b; color: #fff; padding: 10px 14px; border-radius: 12px; display: flex; gap: 12px; align-items: center; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.3); max-width: calc(100vw - 24px); }
.cm-toast button { background: #ffd23f; color: #14102b; border: 0; border-radius: 8px; padding: 5px 10px; font-weight: 800; cursor: pointer; }

/* =================== community page =================== */
.community .cm-head h1 { margin: 0; font: 400 1.8rem var(--font-display); color: var(--night); }
.community .cm-head p { margin: 4px 0 16px; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.cm-main, .cm-side { display: grid; gap: 14px; min-width: 0; }
.cm-card { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; min-width: 0; }
.cm-card h3 { margin: 0 0 8px; font-size: .95rem; color: var(--night); display: flex; align-items: center; gap: 8px; }
.cm-note { color: var(--muted); }
.cm-compose-top { display: flex; gap: 10px; }
.cm-compose textarea { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; resize: vertical; min-height: 70px; }
.cm-compose-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cm-photo-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cm-photo-btn svg { width: 20px; height: 20px; }
.cm-photo-prev { margin-top: 10px; display: flex; gap: 10px; align-items: flex-end; }
.cm-photo-prev img { max-height: 180px; max-width: 70%; border-radius: 12px; }
.cm-tabs { display: flex; gap: 6px; background: #f3efff; border-radius: 14px; padding: 4px; }
.cm-tabs button { flex: 1; border: 0; background: none; padding: 9px 8px; border-radius: 10px; font: 700 .88rem var(--font-body); color: var(--night); cursor: pointer; }
.cm-tabs button[aria-selected="true"] { background: #fff; color: #6a2cff; box-shadow: 0 2px 6px rgba(42, 22, 119, .12); }
.cm-tagbar { display: flex; justify-content: space-between; align-items: center; background: #fff8e1; border: 1.5px solid #ffe48a; border-radius: 12px; padding: 8px 12px; }
.cm-feed { display: grid; gap: 14px; }
.cm-post header { display: flex; align-items: center; gap: 8px; }
.cm-post header time { color: var(--muted); font-size: .78rem; margin-left: auto; }
.cm-body { margin: 10px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.cm-img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 14px; margin-top: 10px; background: #f3efff; }
.cm-post footer { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.cm-cbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: 700 .86rem var(--font-body); color: #6a2cff; cursor: pointer; padding: 4px 0; }
.cm-cbtn svg { width: 20px; height: 20px; }
.cm-comments { margin-top: 8px; }
.cm-clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-clist li { display: flex; align-items: flex-start; gap: 8px; background: #faf8ff; border-radius: 12px; padding: 8px; }
.cm-ctext { flex: 1; min-width: 0; font-size: .9rem; overflow-wrap: anywhere; }
.cm-clist time { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.cm-cform { display: flex; gap: 8px; margin-top: 8px; }
.cm-cform input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }
.cm-tag { background: none; border: 0; padding: 0; color: #6a2cff; font: inherit; font-weight: 700; cursor: pointer; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-tags .cm-tag { background: #f3efff; border-radius: 999px; padding: 5px 10px; font-size: .82rem; }
.cm-tags small { color: var(--muted); }
.cm-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-plist li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cm-row-acts { display: flex; gap: 4px; }
.cm-badge { background: #ff2e88; color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; }
.cm-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: .84rem; color: #3a3360; }
.cm-empty { display: grid; justify-items: center; gap: 6px; color: var(--muted); text-align: center; }
.cm-empty svg { width: 48px; height: 48px; }
.cm-profile .cm-prof-top { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.cm-profile .cm-av { width: 56px; height: 56px; font-size: 1.5rem; }
.cm-profile h2 { margin: 0; font-size: 1.3rem; }
.cm-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.cm-counts div { background: #f7f4ff; border-radius: 12px; padding: 8px; text-align: center; }
.cm-counts dt { font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.cm-counts dd { margin: 2px 0 0; font-weight: 900; font-size: 1.1rem; color: var(--night); }
.cm-prof-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cm-pill { background: #e7fbf5; color: #0b7a5f; border-radius: 999px; padding: 5px 10px; font-weight: 800; font-size: .8rem; }
@media (max-width: 860px) { .cm-grid { grid-template-columns: 1fr; } .cm-side { order: 2; } }
@media (max-width: 520px) { .chat-list { max-height: 300px; } .cm-counts { grid-template-columns: repeat(2, 1fr); } .chat-head { align-items: flex-start; flex-direction: column; } }
.cm-menu > summary { all: unset; box-sizing: border-box; cursor: pointer; width: 28px !important; height: 28px !important; border-radius: 50%; display: grid !important; place-items: center; color: var(--muted); font-weight: 900; line-height: 1; }
.cm-menu > summary:hover, .cm-menu[open] > summary { background: #f1ecff; }
.cm-menu > summary::-webkit-details-marker, .cm-menu > summary::marker, .cm-menu > summary::after, .cm-menu > summary::before { display: none !important; content: none !important; }
details.cm-menu { background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }

/* ---------- header search (replaces the categories button) ---------- */
.topbar-in > .brand-pm:first-child { margin-right: 0 !important; }
.hdr-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 520px; display: flex; align-items: center; }
.hdr-search .hs-ic { position: absolute; left: 13px; width: 18px; height: 18px; color: #6b6590; pointer-events: none; }
.hdr-search input { width: 100%; min-width: 0; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: #f8f6ff; padding: 0 12px 0 38px; font: 600 .95rem var(--font-body); color: var(--night); box-shadow: 0 2px 0 #ece7fb; }
.hdr-search input::placeholder { color: #8a84a8; font-weight: 500; }
.hdr-search input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 18%, transparent); }
.hdr-search input::-webkit-search-cancel-button { cursor: pointer; }
@media (max-width: 760px) { .hdr-search input { height: 40px; font-size: .88rem; padding-left: 34px; border-radius: 12px; } .hdr-search .hs-ic { left: 11px; width: 16px; height: 16px; } }
/* very small phones: the field shrinks to a search icon and opens over the header when tapped */
@media (max-width: 400px) {
  .hdr-search { flex: 1 1 40px; }
  .hdr-search input { height: 36px; padding-right: 4px; }
  .hdr-search input:not(:focus):placeholder-shown::placeholder { color: transparent; }
  .hdr-search:focus-within { position: absolute; left: 8px; right: 8px; top: 50%; transform: translateY(-50%); max-width: none; z-index: 20; }
}

/* ---------- desktop header: logo · Kategoriler · Hakkımızda · NetmarPlus Satın Al · search · (region) · sign-in — no ☰ ---------- */
.hdr-nav { display: none; }
@media (min-width: 861px) {
  .hdr-nav { display: flex; align-items: center; gap: 4px; flex: none; }
  .hdr-menu, #menuBtn { display: none !important; }
  .hdr-search { max-width: 460px; }
  .hn-link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font: 800 .95rem var(--font-body); color: var(--night); text-decoration: none; cursor: pointer; white-space: nowrap; }
  .hn-link svg { width: 16px; height: 16px; transition: transform .15s; }
  .hn-link:hover, .hn-link[aria-expanded="true"] { background: #f3efff; color: #6a2cff; }
  .hn-link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .hn-buy { background: #ffd23f; color: #14102b; box-shadow: 0 3px 0 #c48a00; margin-left: 4px; }
  .hn-buy:hover { background: #ffc61a; color: #14102b; }
  .hdr-nav .hdr-cats { position: relative; }
  .hdr-nav .cat-panel { left: 0; top: calc(100% + 8px); }
}
@media (min-width: 861px) and (max-width: 1240px) {
  .hn-link { padding: 0 9px; font-size: .88rem; }
  .brand-pm .bp-full { width: 170px; height: auto; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .brand-pm .bp-full { width: 128px; }
  .hn-link { padding: 0 7px; font-size: .84rem; }
  .hdr-region .mr-one .mr-cur, .hdr-region .mr-one .mr-chev { display: none; }
  .topbar-in { gap: 8px; }
}
