/* Mobile refinement: receipt, payment, invoice, lightbox, first paint. Loaded last. */
.store-shell{overflow-x:clip}
.store-content{min-width:0}
.store-content :is(.pay-card,.pay-row,.pay-amount,.invoice-page,.invoice-page-document,.invoice-document-summary,.notification-form){min-width:0;max-width:100%}
.pay-row>div,.pay-amount>div{min-width:0}
.pay-row strong,.bank-iban{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}
.bank-iban{font-size:clamp(.9rem,4.2vw,1.1rem);letter-spacing:0}
.pay-row{gap:10px}.pay-mini{flex:none}
.pay-head{flex-wrap:wrap;gap:8px}
.pay-copy-row{flex-wrap:wrap}.pay-copy-row>*{flex:1 1 150px;min-width:0}
.pay-steps li span,.pay-assure li span{min-width:0;overflow-wrap:anywhere}
.invoice-page{min-width:0}
.invoice-document-summary{flex-wrap:wrap;gap:8px 16px}.invoice-document-summary>div{min-width:0}.invoice-document-summary strong{overflow-wrap:anywhere}
.invoice-page-document{position:relative;overflow:hidden;width:100%;min-height:min(70dvh,560px)}
.invoice-page-preview{display:block;width:100%;max-width:100%;height:min(78dvh,720px);border:0;background:#f2f6f5}
.invoice-page-preview[hidden]{display:none}
.invoice-page-footer{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.invoice-page-footer>*{min-width:0}
.invoice-page [data-action=invoice-page-open]{max-width:100%}
.checkout-fixed-action{max-width:100%}
.invoice-dialog-frame{max-width:100%}
.invoice-dialog-header{min-width:0}.invoice-dialog-header h2{overflow-wrap:anywhere}
@media(max-width:560px){.invoice-dialog{max-width:100vw}.invoice-page-preview{height:min(74dvh,640px)}}
/* Receipt step */
.notification-form{display:grid;gap:14px}
.receipt-target{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.receipt-target strong{font-variant-numeric:tabular-nums}
.receipt-upload{position:relative;display:grid;justify-items:center;gap:6px;text-align:center;padding:26px 18px;border:2px dashed var(--st-line,#e5e8eb);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s,background-color .2s}
.receipt-upload:hover,.receipt-upload:focus-within{border-color:var(--st-green,#00c753);background:#f6fcf8}
.receipt-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
.receipt-upload-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#edf8f0;color:#087738}
.receipt-upload-mark svg{width:26px;height:26px}
.receipt-upload>strong{font-size:1.0625rem;color:var(--st-navy,#15284b)}
.receipt-upload-hint,.receipt-name{font-size:.8125rem;color:#707070;max-width:100%;overflow-wrap:anywhere}
.receipt-name{color:var(--st-navy,#15284b);font-weight:500}
.receipt-device-note{margin:0;font-size:.8125rem;line-height:1.5;color:#55627a}
.receipt-inspection{display:grid;gap:12px;padding:16px;border:1px solid var(--st-line,#e5e8eb);border-radius:12px;background:#fff;animation:ri-in .24s ease both}
.receipt-inspection[hidden]{display:none}
@keyframes ri-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.inspection-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:0;list-style:none;font-size:.75rem;color:#8a93a3}
.inspection-steps li{display:flex;align-items:center;gap:6px;min-width:0}
.inspection-steps span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eef0f3;font-weight:600;flex:none}
.receipt-inspection[data-status=idle] [data-step="0"],.receipt-inspection[data-status=mismatch] [data-step="0"],.receipt-inspection[data-status=error] [data-step="0"]{color:var(--st-navy,#15284b)}
.receipt-inspection[data-status=checking] :is([data-step="0"],[data-step="1"]),.receipt-inspection[data-status=matched] :is([data-step="0"],[data-step="1"],[data-step="2"]),.receipt-inspection[data-status=error] [data-step="0"]{color:var(--st-navy,#15284b)}
.receipt-inspection[data-status=checking] :is([data-step="0"],[data-step="1"]) span,.receipt-inspection[data-status=matched] li span{background:var(--st-green,#00c753);color:#fff}
.inspection-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}
.inspection-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#edf5fd;color:var(--st-navy,#15284b)}
.inspection-top strong{display:block;color:var(--st-navy,#15284b)}
.inspection-detail{margin:2px 0 0;font-size:.875rem;color:#55627a;overflow-wrap:anywhere}
.inspection-percent{font-variant-numeric:tabular-nums;font-weight:600;color:var(--st-navy,#15284b)}
.inspection-percent:empty{display:none}
.inspection-progress{height:6px;border-radius:3px;background:#eef0f3;overflow:hidden}
.inspection-progress>span{display:block;height:100%;width:0;background:var(--st-green,#00c753);transform-origin:left;transition:width .25s ease}
.receipt-inspection[data-status=matched] .inspection-symbol{background:#edf8f0;color:#087738}
.receipt-inspection[data-status=mismatch],.receipt-inspection[data-status=error]{border-color:#f0c9c9;background:#fffafa}
.receipt-inspection[data-status=mismatch] .inspection-symbol,.receipt-inspection[data-status=error] .inspection-symbol{background:#fdeaea;color:#b3261e}
.receipt-inspection[data-status=mismatch] .inspection-progress,.receipt-inspection[data-status=error] .inspection-progress{display:none}
.receipt-inspection[data-status=checking] .inspection-symbol svg{animation:receipt-spin 1s linear infinite}
.inspection-actions{display:grid;gap:8px}
.inspection-actions[hidden]{display:none}
.inspection-actions>*{width:100%;min-height:48px}
@media(min-width:560px){.inspection-actions{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.receipt-inspection,.receipt-inspection *{animation:none!important;transition:none!important}}
/* Product photo lightbox: one centered image */
.photo-dialog{position:fixed;inset:0;margin:auto;width:min(880px,calc(100vw - 20px));height:min(92dvh,860px);max-height:none;padding:0;border:0;border-radius:16px;background:#101a2e;color:#fff;overflow:hidden}
.photo-dialog[open]{display:grid;grid-template-rows:minmax(0,1fr) auto auto}
.photo-dialog::backdrop{background:rgba(10,18,34,.82)}
.photo-dialog .lightbox-track{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);overflow:hidden;min-height:0;min-width:0;scroll-snap-type:none;touch-action:pan-y pinch-zoom;position:relative}
.photo-dialog .lightbox-track>div{display:none;grid-area:1/1;width:100%;height:100%;min-height:0;aspect-ratio:auto;place-items:center;padding:12px}
.photo-dialog .lightbox-track>div.is-active{display:grid;animation:lb-in .22s ease both}
.photo-dialog .lightbox-track>div>img{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:100%;max-height:100%;object-fit:contain;user-select:none}
@keyframes lb-in{from{opacity:0}to{opacity:1}}
.photo-dialog .photo-close{position:absolute;top:10px;right:10px;z-index:3;background:rgba(255,255,255,.92);color:#15284b}
.photo-dialog .photo-position{margin:0;padding:6px 0;text-align:center;font-size:.8125rem;color:#dfe5f1;font-variant-numeric:tabular-nums}
.photo-dialog .photo-controls{position:absolute;inset:0 0 auto 0;height:calc(100% - 40px);display:flex;justify-content:space-between;align-items:center;padding:0 8px;pointer-events:none;gap:0}
.photo-dialog .photo-controls button{pointer-events:auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#15284b;font-size:0;display:grid;place-items:center}
.photo-dialog .photo-controls button::before{content:"";width:10px;height:10px;border:solid currentColor;border-width:0 0 2.5px 2.5px;transform:translateX(2px) rotate(45deg)}
.photo-dialog .photo-controls .next-photo::before{transform:translateX(-2px) rotate(-135deg)}
.photo-dialog .photo-controls button:focus-visible{outline:3px solid var(--st-green,#00c753);outline-offset:2px}
.photo-dialog[data-single=true] .photo-controls{display:none}
/* Pre-hydration skeletons share the settled geometry of the real pages. */
.session-loading--invoice .invoice-page-heading{margin-bottom:12px}
.session-loading--invoice .invoice-page-document{min-height:min(70dvh,560px);background:linear-gradient(90deg,#f5f5f5,#fafafa,#f5f5f5);border-radius:12px}
.session-loading--notify .receipt-upload{min-height:178px;pointer-events:none}
.session-loading--notify .receipt-upload-mark{background:#f0f2f5}
.session-loading--notify .receipt-target{min-height:34px}
.session-loading--notify .sl-note{display:grid;gap:8px;min-height:40px}
.session-loading--notify .sl-fallback{display:grid;gap:8px;min-height:120px;padding:14px;border:1px solid var(--st-line,#e5e8eb);border-radius:12px}
.session-loading--notify .sl-btn{display:block;height:48px;border-radius:6px;background:#eef0f3}
.session-loading--notify .notification-form{gap:14px}

/* Order lines: name on its own row; stepper, price and remove button on the next row. */
.store-shell .order-items>.order-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"name price"!important;align-items:center;gap:8px 12px;padding:12px 0;margin:0;border-bottom:1px solid #eceff1;font-size:14px;line-height:1.45}
.store-shell .order-items>.order-item:last-child{border-bottom:0}
.store-shell .order-items>.order-item.editable{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"name name name" "qty price remove"!important}
.store-shell .order-items>.order-item .order-item-name{grid-area:name;min-width:0;overflow-wrap:anywhere;font-weight:600}
.store-shell .order-items>.order-item>strong{grid-area:price;justify-self:end;text-align:right;white-space:nowrap;font-size:15px}
.store-shell .order-items>.order-item .order-qty{grid-area:qty;display:inline-flex;align-items:center;justify-self:start;gap:4px;height:40px;padding:0 4px;border-radius:999px;background:#f3f4f6;flex-wrap:nowrap}
.store-shell .order-items>.order-item .order-qty button{flex:none;width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:#15284b;border-radius:50%;padding:0}
.store-shell .order-items>.order-item .order-qty button svg{width:16px;height:16px}
.store-shell .order-items>.order-item .order-qty span{min-width:22px;text-align:center;font-weight:600;white-space:nowrap}
.store-shell .order-items>.order-item.editable .remove-item{grid-area:remove;position:static;flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#fdecee;color:#e5484d;padding:0}
.store-shell .order-items>.order-item.editable .remove-item svg{width:16px;height:16px}
/* Keep the original preview interactive: its PDF download link must be usable. */
.invoice-page-document,.invoice-page-preview{touch-action:pan-y}
.invoice-page-preview:not([hidden]){pointer-events:auto}

.store-content .pay-guide .pay-copy-row{border:0!important;padding:0!important}
.store-content .pay-guide .pay-copy-row .secondary-button{border:0!important;background:#f8e6ee;color:#78133f}

/* Ürün sayfası: ödeme/garanti satırı, takım bilgileri, WhatsApp, satıcı bilgileri */
.store-shell[data-route=product] .pd-assure{list-style:none;margin:0 0 14px;padding:12px 14px;display:grid;gap:9px;background:#f6f8fb;border:1px solid #dfe6ef;border-radius:6px}
.pd-assure li{display:flex;align-items:flex-start;gap:10px;font:500 13px/1.35 Urbanist,sans-serif}
.pd-assure svg,.pd-assure i{flex:none;width:18px;height:18px;margin-top:1px;color:#15284b}
.pd-assure strong{display:block;font-weight:700;font-size:14px;color:#111}.pd-assure small{display:block;color:#5d6673;font-size:12.5px}
.pd-wa-row{margin:0 0 16px}.pd-wa{width:100%;min-height:46px}
.pd-spec-title{margin:14px 0 4px;font:700 14px Urbanist,sans-serif}
.pd-spec-ask,.pd-spec-empty{margin:8px 0;font-size:12.5px;color:#5d6673}
.pd-spec{display:block;margin-top:6px}.pd-spec>div{display:flex!important;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed #e5e5e5;font:400 13px/1.4 Urbanist,sans-serif;background:none!important;border-left:0!important;border-right:0!important;border-top:0!important}.pd-spec span{color:#7a7a7a;flex:none;min-width:34%}.pd-spec strong{font-weight:600;text-align:right;overflow-wrap:anywhere}
.pd-company{margin:22px 0 4px;padding:14px;border:1px solid #e5e5e5;border-radius:6px;font:400 13px/1.5 Urbanist,sans-serif}
.pd-company h2{margin:0 0 8px;font:700 14px Urbanist,sans-serif}
.pd-company dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:0 0 8px}.pd-company dt{font-weight:600}.pd-company dd{margin:0;color:#444;overflow-wrap:anywhere}
.pd-company-link{font-weight:700;color:#15284b}
.footer-company{margin:6px 0 10px;font-size:.78rem;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:560px){.pd-company dl{grid-template-columns:1fr}.pd-company dt{margin-top:4px}}
