/* Mobile conversion pass: shared card, home sections, category density, product first screen, bundle builder.
   Loaded last; keeps the black/ivory language of the store. */
:root{--cm-ink:#141210;--cm-ivory:#f7f3ec;--cm-line:rgba(20,18,16,.12);--cm-muted:#6d655b}

/* ---------- Top bar: three promises on one line, "TL'den" entry prices ---------- */
html body .moka-topbar__services{display:flex;flex-wrap:nowrap;gap:8px;min-width:0;overflow:hidden;white-space:nowrap}
html body .moka-topbar__service{flex:0 1 auto;min-width:0;font-size:10.5px!important;gap:3px!important}
html body .moka-topbar__service svg{width:13px!important;height:13px!important;flex:none}
html body .moka-topbar__service>span{overflow:hidden;text-overflow:ellipsis}
html body .moka-topbar__currency{font-size:10px!important;white-space:nowrap}
@media (max-width:370px){html body .moka-topbar__service{font-size:9.6px!important}html body .moka-topbar__services{gap:5px}}

/* ---------- Shared product card ---------- */
html body .moka-card__photo{aspect-ratio:1/1}
html body .moka-card__title{margin:0}
html body .moka-card__title .product-name{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;line-height:1.22;min-height:2.44em}
html body .moka-card__meta{display:flex!important;flex-wrap:nowrap;align-items:center;gap:4px;margin:3px 0 0;min-width:0;overflow:hidden;white-space:nowrap;font-size:11.5px;color:var(--cm-muted);line-height:1.3}
html body .moka-card__meta>span{flex:none;background:none!important;border:0!important;padding:0!important;margin:0!important;font-size:inherit!important;color:inherit!important}
html body .moka-card__meta>.moka-card__brand{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;font-weight:700;letter-spacing:.02em;color:var(--cm-ink)!important}
html body .moka-card__dot{opacity:.5}
html body .product-rating--compact{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;color:var(--cm-muted)}
html body .product-rating--compact .product-rating__stars svg{width:12px;height:12px;color:#c99a2e}
html body .product-rating--compact .product-rating__count{font-weight:600}
html body .moka-card .discount-badge,html body .moka-card .price-compare,html body .detail-discount-tag,html body .detail-price .price-compare{display:none!important}

/* ---------- Home ---------- */
.home-h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body .store-shell[data-route=home] .browse-tools,html body .store-shell[data-route=home] .promise-bar,html body .store-shell[data-route=home] .browse-scope{display:none!important}
.mkb-entry-steps{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;list-style:none;margin:8px 2px 0;padding:0;font-size:12.5px;color:var(--cm-ink)}
.mkb-entry-steps li{display:flex;align-items:center;gap:6px}
.mkb-entry-steps b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid currentColor;font-size:10px}
.home-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.home-head h2{margin:0;font-size:20px;letter-spacing:-.02em}
.home-best,.home-styles,.home-collection{margin-top:22px}
.style-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.style-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:44px;padding:8px 6px 10px;border-radius:16px;background:var(--cm-ivory);border:1px solid var(--cm-line);color:var(--cm-ink);text-decoration:none;text-align:center}
.style-tile__img{display:grid;place-items:center;width:100%;aspect-ratio:1/1;max-height:108px;overflow:hidden}
.style-tile__img img.style-tile-product{width:100%;height:100%;object-fit:contain;border-radius:10px}
.style-tile__img img,.style-tile__img svg,.style-tile__img picture{max-width:100%;max-height:100%;object-fit:contain}
.style-tile__copy{display:flex;flex-direction:column;line-height:1.15}
.style-tile__copy strong{font-size:14px}
.style-tile__copy small{font-size:11px;color:var(--cm-muted)}
.style-tile:active{transform:scale(.97)}
@media (min-width:768px){.style-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}}
.home-all-link,.more-products{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:48px;padding:8px 22px;border-radius:999px;background:var(--cm-ink)!important;color:var(--cm-ivory)!important;font-weight:700;text-decoration:none;border:0}
.more-products small{font-size:11px;font-weight:500;opacity:.75}
.more-wrap{display:flex;justify-content:center;margin:18px 0 8px}

/* ---------- Category: compact top, one-row chips, sticky sort + filter, colour dots ---------- */
html body .store-shell[data-route=catalog] .promise-bar{display:none!important}
html body .store-shell:is([data-route=catalog]) .browse-tools{position:sticky;top:0;z-index:20;display:flex!important;flex-wrap:nowrap;gap:8px;padding:6px 0;background:var(--cm-ivory);margin:0!important}
html body .store-shell[data-route=catalog] .browse-tools .all-browse{display:none!important}
html body .store-shell[data-route=catalog] .browse-tools>*{min-height:44px;flex:1 1 0}
html body .store-shell[data-route=catalog] .style-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;gap:6px!important;width:100%!important;max-width:100%!important;padding:2px 0 4px!important;scroll-snap-type:x proximity}
html body .store-shell[data-route=catalog] .style-tabs::-webkit-scrollbar{display:none}
html body .store-shell[data-route=catalog] .style-tabs>button{flex:none!important;width:auto!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:0 12px 0 6px!important;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:5px;border-radius:999px!important;scroll-snap-align:start}
html body .store-shell[data-route=catalog] .style-tabs>button .category-cup{width:30px!important;height:30px!important;margin:0!important}
html body .store-shell[data-route=catalog] .style-tabs>button small{font-size:10px;opacity:.6}
html body .store-shell[data-route=catalog] .browse-bar{display:block!important}
html body .store-shell[data-route=catalog] .browse-bar .filter-trigger{display:none!important}
html body .store-shell[data-route=catalog] .page-title{margin:4px 0 2px!important;padding:0!important}
html body .store-shell[data-route=catalog] .page-title h1{font-size:20px!important;margin:0!important;line-height:1.2}
html body .store-shell[data-route=catalog] .page-title p{margin:0!important;font-size:12px}
html body .store-shell[data-route=catalog] .browse-scope{display:none!important}
html body .store-shell[data-route=catalog] .cat-nav:not(.is-open){display:none!important}
html body .store-shell[data-route=catalog] .breadcrumb{display:none!important}
.color-dots{display:flex;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none;margin:4px 0 2px;padding:0}
.color-dots::-webkit-scrollbar{display:none}
.color-dot{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;border-radius:50%;cursor:pointer}
.color-dot span{width:26px;height:26px;border-radius:50%;border:1px solid rgba(20,18,16,.22);box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.color-dot[aria-pressed=true] span{outline:2px solid var(--cm-ink);outline-offset:3px}

/* ---------- Product page: one heading, first screen holds gallery + title + price + CTA ---------- */
html body .store-shell[data-route=product] .full-product-name{display:none!important}
html body .mpd-price-main{white-space:nowrap}
.pd-ask{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:0;border-top:1px solid var(--cm-line)}
.pd-ask li{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid var(--cm-line);font-size:14px}
.pd-ask svg{width:20px;height:20px;flex:none}
.pd-ask-label{flex:1}
.pd-ask strong{text-align:right;font-weight:600}
.pd-ask-wa{min-height:44px;padding:0 12px;border-radius:999px;border:1px solid var(--cm-ink);background:none;color:var(--cm-ink);font-weight:700;font-size:13px}
.pd-wa-fab{display:none}
/* Hide only legacy navigation, never .moka-dock: its surface also owns the
   real purchase action mirrored from the visually hidden purchase-dock. */
html body #fincan-store.store-shell[data-route=product] .bottom-nav{display:none!important}
html body .store-shell[data-route=product] .pd-wa-fab{display:grid;place-items:center;position:fixed;right:12px;bottom:calc(var(--shop-dock-space,96px) + 4px);z-index:60;width:48px;height:48px;border-radius:50%;border:0;background:#1f8f4e;color:#fff;box-shadow:0 6px 18px rgba(20,18,16,.28)}
.pd-wa-fab svg{width:24px;height:24px}
@media (max-width:767px){
  html body .store-shell[data-route=product] .pd-crumbs{display:none!important}
  html body .store-shell[data-route=product] .detail-main-image{max-height:min(46dvh,390px)}
  html body .store-shell[data-route=product] .gallery-track,html body .store-shell[data-route=product] .gallery-slide{max-height:min(38dvh,330px)!important}
  html body .store-shell[data-route=product] .gallery-slide img{object-fit:contain;max-height:100%}
  html body .store-shell[data-route=product] .gallery-thumbnails{display:none!important}
  html body .store-shell[data-route=product] .detail-copy{padding-top:6px!important}
  html body .store-shell[data-route=product] .detail-copy h1{margin:2px 0 0!important;font-size:24px!important;line-height:1.1!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:3.3em;overflow:hidden;overflow-wrap:anywhere}
  html body #fincan-store.store-shell[data-route=product] .detail-copy h1 .mpd-title-model{display:inline!important;font-size:inherit!important;line-height:inherit!important}
  html body .store-shell[data-route=product] .detail-price{margin:4px 0!important}
}

/* ---------- Payment reason: one line + Detay ---------- */
.payment-reason-more summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer;text-decoration:underline}

/* ---------- Bundle builder: no browse chrome, skeleton ---------- */
html body .store-shell[data-route=bundle] :is(.browse-tools,.browse-chrome,.promise-bar,.cat-nav,.breadcrumb){display:none!important}
.mkb-skeleton{padding:8px 0}
.mkb-skel-bar{height:44px;border-radius:12px;margin-bottom:12px}
.mkb-skel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mkb-skel-card{display:grid;gap:8px;padding:8px;border-radius:16px;border:1px solid var(--cm-line)}
.mkb-skel-img{aspect-ratio:1/1;border-radius:12px}
.mkb-skel-line{height:12px;border-radius:6px}
.mkb-skel-line--short{width:55%}
.mkb-skel-bar,.mkb-skel-img,.mkb-skel-line{background:linear-gradient(90deg,#ece6db 0%,#f7f3ec 50%,#ece6db 100%);background-size:200% 100%;animation:cm-shimmer 1.3s linear infinite}
@keyframes cm-shimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.mkb-skel-bar,.mkb-skel-img,.mkb-skel-line{animation:none}}
html,body{overflow-x:clip}

/* ---- measured fixes (390x844): price above the fixed CTA, 44px targets ---- */
@media (max-width:767px){
  html body .store-shell[data-route=product] .detail-gallery{position:relative}
  html body .store-shell[data-route=product] .mpd-gallery-tools{position:absolute!important;inset:6px 6px auto 6px;z-index:3;height:auto!important;background:none!important;border:0!important;pointer-events:none}
  html body .store-shell[data-route=product] .mpd-gallery-tools>*{pointer-events:auto}
  html body .store-shell[data-route=product] .mpd-gallery-tools>:not(button):not(a){display:none!important}
  html body .store-shell[data-route=product] .mpd-gallery-bottom{position:absolute!important;left:6px;right:6px;bottom:6px;z-index:3;height:auto!important;background:none!important;border:0!important;pointer-events:none}
  html body .store-shell[data-route=product] .mpd-gallery-bottom .mpd-swipe{display:none!important}
  html body .store-shell[data-route=product] .mpd-gallery-bottom>*{pointer-events:auto}
  html body .store-shell[data-route=product] .gallery-track,html body .store-shell[data-route=product] .gallery-slide{height:min(30dvh,250px)!important;max-height:min(30dvh,250px)!important}
  html body .store-shell[data-route=product] .detail-main-image{max-height:none}
  html body .store-shell[data-route=product] .detail-copy{display:flex!important;flex-direction:column}
  html body .store-shell[data-route=product] .detail-copy>*{order:5}
  html body .store-shell[data-route=product] .detail-copy>.pd-meta{order:1}
  html body .store-shell[data-route=product] .detail-copy>:is(h1,div:has(>h1)){order:2}
  html body .store-shell[data-route=product] .detail-copy>.detail-price{order:3}
  html body .store-shell[data-route=product] .detail-copy>:is(.product-rating,.five-star-panel){order:4}
  html body .store-shell[data-route=product] :is(.detail-back,.favorite-button,.gallery-next,.five-star-give){min-width:44px!important;min-height:44px!important}
}

/* Category density: same shared card (square photo, visible "Sepete ekle", real star count), two full rows above the dock at 390x844 */
html body #fincan-store.store-shell[data-route=catalog] .style-tabs .color-dots{display:contents}
@media (max-width:767px){
  html body #fincan-store.store-shell[data-route=catalog] .browse-tools{padding:4px 0!important}
  html body #fincan-store.store-shell[data-route=catalog] .browse-tools>*{min-height:44px!important;height:44px!important}
  html body #fincan-store.store-shell[data-route=catalog] .style-tabs{margin:0 0 2px!important;padding:0!important}
  html body #fincan-store.store-shell[data-route=catalog] .product-grid{gap:4px!important;margin-top:2px!important}
  html body #fincan-store.store-shell[data-route=catalog] .product-grid .moka-card{position:relative;padding:4px 6px!important;min-height:0!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__visual{position:relative;display:flex;justify-content:center}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__top{position:absolute!important;inset:0 0 auto 0;z-index:2;margin:0!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__photo{width:120px!important;height:120px!important;aspect-ratio:1/1!important;flex:none;margin:0 auto!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__photo img{width:100%!important;height:100%!important;object-fit:contain!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__body{padding:2px 0 0!important;gap:0!important;min-height:0!important;flex:none!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__title .product-name{font-size:14.5px!important;line-height:1.18!important;min-height:0}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__meta{margin-top:1px!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__bottom{display:flex!important;align-items:center;justify-content:space-between;gap:4px;margin-top:3px!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__money-row{margin:0!important;min-width:0}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__money-row .product-rating{display:inline-flex!important;position:absolute;left:8px;top:100px;z-index:2;background:rgba(247,243,236,.92);border-radius:999px;padding:1px 6px}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__price b{font-size:17px!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-card__cta{flex:none;width:80px!important;min-width:80px!important;margin:0!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-add{display:flex!important;align-items:center;justify-content:center;width:80px!important;min-width:80px!important;height:44px!important;min-height:44px!important;padding:0 6px!important;border-radius:999px!important;background:var(--cm-ink)!important;color:var(--cm-ivory)!important;overflow:hidden;position:relative}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-add :is(.moka-add__plate,.moka-add__rim,.moka-add__disc){display:none!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-add__label{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;font-size:12px!important;font-weight:700;line-height:1.05;text-align:center;white-space:normal;color:var(--cm-ivory)!important;transform:none!important;opacity:1!important}
  html body #fincan-store.store-shell[data-route=catalog] .moka-card .moka-add[aria-busy=true] .moka-add__label{opacity:.6!important}
  /* Navigation geometry belongs to the shared dock on every route: its raised
     cart and SVG cutout must keep the same size and vertical origin. */
}
html body .store-shell[data-route=product] main :is(a[href^="https://wa.me"],a[href^="mailto:"],a[href^="tel:"],.pd-company-link){display:inline-flex;align-items:center;min-height:44px!important}
.conversion-bundle-skeleton{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.conversion-bundle-skeleton>span{height:180px;border-radius:10px;background:linear-gradient(#eae7e1 0 70%,transparent 70% 77%,#eeece8 77% 86%,transparent 86% 91%,#eeece8 91%);display:block}
