/* Product portal */
.product-finder{background:linear-gradient(145deg,#15171b,#101114);border:1px solid #262930;border-radius:22px;padding:24px;color:#f7f8fa;box-shadow:0 18px 55px rgba(8,10,14,.18);margin-bottom:16px}
.finder-heading{display:flex;align-items:center;gap:14px}.finder-heading h1{font-size:22px;font-weight:750;letter-spacing:-.035em;margin:2px 0}.finder-heading p{color:#747985;margin:0;font-size:12px}.finder-icon{width:44px;height:44px;border-radius:13px;background:rgba(0,201,139,.12);color:#00c98b;display:grid;place-items:center;font-size:19px}.finder-actions{margin-left:auto;display:flex;gap:8px}
.btn-portal{background:#00b982;color:#07110e;border:0}.btn-portal:hover{background:#00d393;color:#06100c}.btn-portal-muted{background:#25282e;color:#c9ccd3;border:1px solid #30333a}.btn-portal-muted:hover{background:#30343b;color:#fff}
.finder-form{display:grid;grid-template-columns:210px 1fr 165px;gap:9px;margin-top:20px}.finder-select,.finder-search{height:48px;background:#0d0f12;border:1px solid #292c32;border-radius:12px;color:#f3f4f6}.finder-select{padding:0 14px;font-weight:600}.finder-search{display:flex;align-items:center;padding:0 14px;gap:11px}.finder-search>i{color:#646974}.finder-search input{flex:1;background:transparent;border:0;outline:0;color:#fff;font-size:15px;min-width:0}.finder-search input::placeholder{color:#777c87}.finder-search a{color:#7c818c}.finder-search:focus-within{border-color:#00b982;box-shadow:0 0 0 3px rgba(0,185,130,.12)}
.portal-summary{display:flex;gap:20px;margin-top:15px;color:#8e939d;font-size:11px}.portal-summary b{color:#fff}.portal-summary .summary-warning b{color:#ffad5c}
.product-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.portal-product-card{background:#181a1f;color:#f7f8fa;border:1px solid #292c32;border-radius:16px;padding:17px;display:flex;flex-direction:column;min-width:0;min-height:375px;transition:transform .18s,border-color .18s,box-shadow .18s}.portal-product-card:hover{transform:translateY(-2px);border-color:#3b3f48;box-shadow:0 15px 36px rgba(8,10,14,.2)}.portal-product-card.out-of-stock{border-color:#4a252a;opacity:.86}.portal-product-card[hidden]{display:none!important}
.product-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.brand-chip,.stock-chip,.entry-chip{display:inline-flex;align-items:center;border-radius:8px;padding:5px 9px;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.04em}.brand-chip{background:#262930;color:#aeb2bb}.brand-1{background:#102d28;color:#20cf9a}.brand-2{background:#13284a;color:#5a98ff}.brand-3{background:#39221b;color:#ff8c4a}.brand-4{background:#2e1a3f;color:#bd6cff}.brand-5{background:#15323a;color:#32c9e8}.product-badges{display:flex;gap:6px;align-items:center}.stock-chip{background:#0d352d;color:#00dc99}.stock-chip.critical{background:#3d3019;color:#ffbe61}.stock-chip.empty{background:#451e25;color:#ff7787}.entry-chip{background:#102c3b;color:#42bde9}
.product-main{padding:12px 0 10px}.product-type{font-size:9px;color:#666c77;letter-spacing:.12em;text-transform:uppercase;margin-bottom:3px}.product-main h2{font-size:19px;font-weight:800;letter-spacing:-.035em;margin:0}.product-main p{font-size:11px;color:#777d88;margin:2px 0 0}.price-label{display:block;color:#626873;font-size:9px;letter-spacing:.15em;margin-top:12px}.portal-price{display:block;color:#00d493;font-size:25px;letter-spacing:-.025em;margin-top:2px}
.price-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-top:1px solid #292c32;border-bottom:1px solid #292c32;padding:10px 0}.price-strip span{display:block;color:#626873;font-size:8px;letter-spacing:.08em;margin-bottom:4px;white-space:nowrap}.price-strip strong{display:block;font-size:10px;color:#f2f3f5;white-space:nowrap}.product-info-bar span{display:flex;align-items:center;gap:4px;color:#727883;font-size:9px}.product-info-bar i{color:#00b982}.product-card-actions{display:flex;gap:6px;align-items:center;margin-top:auto}.product-card-actions .btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:all 0.15s ease-in-out}.product-card-actions .btn:hover{transform:translateY(-1px)}.current-stock-box{background:var(--canvas);border-radius:11px;padding:12px 14px;display:flex;justify-content:space-between;margin-bottom:17px}.portal-empty{grid-column:1/-1;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:18px;padding:70px 20px}.portal-empty>i{font-size:35px;color:var(--red)}.portal-empty h2{font-size:18px;margin:12px 0 4px}.portal-empty p{color:var(--muted)}.import-panel{border-style:dashed}.import-icon{font-size:26px;color:#1eaa70}
.price-strip strong.price-anomaly{color:#ff7b89;text-decoration:underline dotted;cursor:help}
.price-strip strong.purchase-value{color:#ffc15f}.price-strip strong.price-missing{color:#ff7b89;font-size:9px}

/* Compact sales-terminal card layout */
.product-card-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;align-items:start}
.portal-product-card{min-height:0;padding:15px;border-radius:15px;background:#17191d}
.portal-product-card:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(8,10,14,.2)}
.product-card-top{min-height:27px}
.brand-chip,.stock-chip,.entry-chip{padding:4px 8px;border-radius:7px;font-size:9px}
.product-main{padding:10px 0 8px}
.product-main h2{font-size:18px;line-height:1.08;text-transform:uppercase}
.product-main p{display:none}
.price-label{margin-top:10px;font-size:8px}
.portal-price{font-size:25px;line-height:1.05}
.price-strip{gap:6px;padding:9px 0}
.price-strip span{font-size:7px;letter-spacing:.04em}
.price-strip strong{font-size:9px;letter-spacing:-.02em}
.lot-price-history,.product-info-bar{display:none!important}
.product-card-actions{margin-top:11px;gap:5px}
.product-card-actions .btn{min-height:34px;padding-top:6px;padding-bottom:6px;font-size:10px;border-radius:9px}
.product-card-actions .btn-portal-muted{width:34px;padding-left:0;padding-right:0}
.stock-current-readonly{display:flex;align-items:center;gap:5px;background:var(--canvas);color:var(--muted)}
.stock-current-readonly strong{color:#00a875;font-size:17px}
.stock-entry-prices{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--canvas)}
.stock-entry-prices-title{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:9px}
.stock-entry-prices-title small{color:var(--muted);font-size:8px;font-weight:500;text-transform:none;letter-spacing:0}
.stock-entry-prices .form-label{font-size:9px}.stock-entry-prices .input-group-text{padding-left:8px;padding-right:8px}
.inventory-value-strip{display:flex;justify-content:space-between;gap:8px;padding:7px 0;color:#747985;font-size:8px}.inventory-value-strip span{display:flex;gap:4px}.inventory-value-strip strong{color:#d7d9de;font-weight:750}

/* Product history */
.back-link{color:var(--muted);font-size:11px;text-decoration:none}.back-link:hover{color:var(--red)}.history-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.history-metric{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:17px;box-shadow:var(--shadow)}.history-metric>span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.history-metric>strong{display:block;font-size:20px;margin:9px 0 5px}.history-metric>strong small{font-size:11px}.history-metric>b{font-size:10px;color:var(--muted)}.history-metric.stock{border-left:3px solid #00b982}.live-history{font-size:10px;color:#16a06c}.live-history i{margin-right:4px}.movement-timeline{position:relative}.movement-item{display:flex;gap:13px;position:relative;padding-bottom:20px}.movement-item:before{content:"";position:absolute;left:17px;top:35px;bottom:0;width:1px;background:var(--line)}.movement-item:last-child:before{display:none}.movement-marker{width:35px;height:35px;flex:0 0 35px;border-radius:11px;background:var(--canvas);color:var(--muted);display:grid;place-items:center;position:relative;z-index:1}.movement-item.positive .movement-marker{background:#e6f8f1;color:#14875b}.movement-item.negative .movement-marker{background:#fff0f2;color:#c8102e}.movement-item.created .movement-marker{background:#edf3ff;color:#3473df}.movement-body{flex:1;min-width:0;border-bottom:1px solid var(--line);padding-bottom:16px}.movement-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.movement-title strong{font-size:13px}.movement-amount{font-weight:800;font-size:12px}.positive .movement-amount{color:#15875c}.negative .movement-amount{color:#c8102e}.movement-body p{font-size:11px;color:var(--muted);margin:5px 0 8px}.movement-meta{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:9px}.movement-meta i{margin-right:3px}.stock-zero-note{display:inline-flex;gap:5px;align-items:center;background:#fff0f2;color:#b30d27;font-size:9px;font-weight:700;padding:5px 8px;border-radius:7px;margin-top:8px}.sale-history-row{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;padding:12px 0;border-bottom:1px solid var(--line)}.sale-history-row:last-child{border:0}.sale-history-row:hover{color:var(--red)}.sale-history-icon{width:35px;height:35px;flex:0 0 35px;border-radius:10px;background:var(--canvas);display:grid;place-items:center;color:var(--red)}.sale-history-row small{display:block;color:var(--muted);font-size:9px;margin-top:3px}

/* Product form */
.product-form{max-width:1100px}.form-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.form-section-title>span{width:31px;height:31px;border-radius:9px;background:#fff0f2;color:var(--red);display:grid;place-items:center;font-size:10px;font-weight:800}.form-section-title p{color:var(--muted);font-size:10px;margin:2px 0}.price-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.price-input-card{display:block;background:var(--canvas);border:1px solid var(--line);border-radius:14px;padding:15px}.price-input-card>span{font-size:9px;font-weight:800;letter-spacing:.1em;color:var(--muted)}.price-input-card>div{display:flex;align-items:center;margin:8px 0 5px}.price-input-card input{min-width:0;width:100%;border:0;background:transparent;color:var(--ink);font-size:23px;font-weight:750;outline:0}.price-input-card b{font-size:16px}.price-input-card small{color:var(--muted);font-size:9px}.price-input-card.sale{border-color:rgba(0,185,130,.35)}.price-input-card.sale input,.price-input-card.sale b{color:#00a875}.price-input-card.list{border-color:rgba(52,115,223,.3)}.form-submit{display:flex;align-items:center;justify-content:flex-end;gap:18px;border-top:1px solid var(--line);padding-top:20px}.form-submit>span{font-size:10px;color:var(--muted)}

@media(max-width:1100px){.finder-form{grid-template-columns:180px 1fr 150px}.history-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.product-finder{padding:17px;border-radius:17px}.finder-heading{align-items:flex-start;flex-wrap:wrap}.finder-actions{width:100%;margin-left:0}.finder-actions .btn{flex:1}.finder-form{grid-template-columns:1fr}.finder-search{grid-row:1}.type-select{display:block}.portal-summary{flex-wrap:wrap;gap:8px 15px}.product-card-grid{grid-template-columns:1fr}.price-form-grid{grid-template-columns:1fr}.history-metrics{grid-template-columns:1fr 1fr}.form-submit{align-items:stretch;flex-direction:column}.form-submit .btn{width:100%}}
@media(max-width:420px){.history-metrics{grid-template-columns:1fr}.product-dates span{align-items:flex-start}.product-dates b{text-align:right}.portal-product-card{min-height:0}}

@media(min-width:1101px){.history-metrics{grid-template-columns:repeat(5,1fr)}}
.price-history-list{display:grid;gap:9px}.price-history-item{border:1px solid var(--line);background:var(--canvas);border-radius:12px;padding:12px}.price-history-date{display:flex;align-items:center;justify-content:space-between}.price-history-date strong{font-size:11px}.price-history-date small{color:var(--muted);font-size:9px}.price-history-values{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}.price-history-values span{background:var(--surface);border-radius:8px;padding:8px}.price-history-values small{display:block;color:var(--muted);font-size:7px;letter-spacing:.08em}.price-history-values strong{font-size:10px}.price-history-source{color:var(--muted);font-size:9px}.price-history-source i{color:#2877d4;margin-right:4px}.price-history-source small{display:block;margin:3px 0 0 16px}

.lot-price-history{margin:12px 0 2px;border:1px solid #292c32;border-radius:12px;background:rgba(255,255,255,.018);overflow:hidden}.lot-price-history summary{list-style:none;cursor:pointer}.lot-price-history summary::-webkit-details-marker{display:none}
.lot-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;color:#9aa0aa;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;transition:.15s}.lot-history-head:hover{background:rgba(255,255,255,.035);color:#fff}
.lot-history-head i{color:#00c68a;margin-right:5px}.lot-history-head b{color:#00c68a;font-size:9px;text-transform:none;letter-spacing:0}.history-chevron{transition:transform .18s}.lot-price-history[open] .history-chevron{transform:rotate(180deg)}.lot-history-content{padding:0 11px 10px}
.lot-history-row{display:grid;grid-template-columns:70px repeat(3,minmax(0,1fr));align-items:center;gap:7px;padding:7px 0;border-top:1px solid #25282e;color:#e8e9ec;font-size:9px;font-weight:650}
.lot-history-row time{color:#8d939d}.lot-history-row span{white-space:nowrap}.lot-history-row small{display:block;color:#5f6570;font-size:7px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}
.all-history-link{display:flex;align-items:center;justify-content:space-between;color:#00c68a;text-decoration:none;font-size:9px;font-weight:700;padding:9px 0 2px}.all-history-link:hover{color:#3ee6b3}.portal-summary .summary-danger b{color:#ff7185}
.portal-sale-modal{border:1px solid var(--line);border-radius:18px;overflow:hidden}.portal-sale-modal .modal-header{background:linear-gradient(120deg,#111827,#18181b);color:#fff;border:0;padding:20px 22px}.portal-sale-modal .btn-close{filter:invert(1)}.portal-sale-modal .modal-header small{color:#9ca3af}.sale-modal-pricebar{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sale-modal-pricebar>div{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--canvas)}.sale-modal-pricebar span,.sale-modal-pricebar strong{display:block}.sale-modal-pricebar span{font-size:8px;color:var(--muted);letter-spacing:.08em}.sale-modal-pricebar strong{font-size:17px;margin-top:5px}.sale-modal-pricebar>div:first-child strong{color:#d58b18}.sale-modal-pricebar>div:last-child strong{color:#00a875}.modal-safe-note{margin-right:auto;color:var(--muted);font-size:10px}.modal-safe-note i{color:#00a875;margin-right:5px}
@media(max-width:520px){.lot-history-row{grid-template-columns:60px repeat(3,minmax(0,1fr));gap:4px;font-size:8px}}
@media(max-width:620px){.sale-modal-pricebar{grid-template-columns:1fr}.modal-safe-note{display:none}}
.price-strip.sales-only{grid-template-columns:repeat(2,1fr)}
.sale-modal-pricebar:not(:has(#portalSalePurchase)){grid-template-columns:repeat(2,1fr)}
.sale-price-snapshot.sales-only{grid-template-columns:repeat(3,1fr)}
.selected-product-prices:has(.purchase:nth-child(2)){grid-template-columns:1.25fr 1fr 1fr}
.selected-product-prices:not(:has(.purchase)){grid-template-columns:1.25fr 1fr}

/* Mağaza / yol / gece tarife görünümü */
.product-tariffs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:11px}
.product-tariffs>div{min-width:0;border:1px solid #2b3037;border-radius:9px;padding:8px 7px;background:#121418}
.product-tariffs span{display:block;color:#747b86;font-size:7px;font-weight:750;letter-spacing:.04em;white-space:nowrap}
.product-tariffs strong{display:block;margin-top:4px;color:#f5f7fa;font-size:13px;line-height:1;white-space:nowrap;letter-spacing:-.025em}
.product-tariffs .store{border-color:rgba(0,201,139,.32)}.product-tariffs .store strong{color:#00d493}
.product-tariffs .road{border-color:rgba(65,142,255,.3)}.product-tariffs .road strong{color:#68a4ff}
.product-tariffs .night{border-color:rgba(181,112,255,.32)}.product-tariffs .night strong{color:#c58cff}
.price-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
.price-strip.sales-only{grid-template-columns:1fr}
.product-form{max-width:1320px}.price-form-grid{grid-template-columns:repeat(5,1fr)}
.price-input-card.road{border-color:rgba(52,115,223,.3)}.price-input-card.road input,.price-input-card.road b{color:#3473df}
.price-input-card.night{border-color:rgba(139,92,246,.3)}.price-input-card.night input,.price-input-card.night b{color:#8b5cf6}
.price-history-values{grid-template-columns:repeat(5,1fr)}
.lot-history-row{grid-template-columns:70px repeat(5,minmax(0,1fr))}
.sale-modal-pricebar{grid-template-columns:repeat(5,1fr)}
.sale-modal-pricebar:not(:has(#portalSalePurchase)){grid-template-columns:repeat(4,1fr)}
.selected-product-prices:has(.purchase:nth-child(2)){grid-template-columns:1.25fr repeat(4,1fr)}
.selected-product-prices:not(:has(.purchase)){grid-template-columns:1.25fr repeat(3,1fr)}
@media(max-width:1100px){.price-form-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.price-form-grid,.selected-product-prices{grid-template-columns:1fr!important}}
@media(max-width:620px){.sale-modal-pricebar{grid-template-columns:1fr!important}}
@media(max-width:520px){.lot-history-row{grid-template-columns:60px repeat(5,minmax(0,1fr));gap:4px;font-size:8px}.product-tariffs strong{font-size:12px}.product-tariffs span{font-size:6px}}

/* Görünür ve birbirinden ayrılmış mağaza / yol / gece tarifeleri */
.product-card-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.product-tariffs{grid-template-columns:1fr;gap:5px}
.product-tariffs>div{position:relative;min-height:0;padding:9px 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:3px}
.product-tariffs span{font-size:8px;line-height:1.25;white-space:normal;min-height:0}
.product-tariffs strong{margin:0;font-size:15px;line-height:1.2;white-space:nowrap;text-align:right}
.product-tariffs small{display:block;grid-column:1/-1;margin-top:1px;color:#8d95a2;font-size:8px;line-height:1.25}
.product-tariffs>div.is-current{box-shadow:0 0 0 2px rgba(255,255,255,.14),0 8px 18px rgba(0,0,0,.18)}
.product-tariffs>div.is-current::after{content:"AKTİF";position:absolute;right:8px;top:-7px;border-radius:20px;padding:2px 5px;background:#fff;color:#111827;font-size:6px;font-weight:900;letter-spacing:.08em}
.tariff-schedule-banner{display:flex;align-items:center;gap:10px;margin-top:14px;padding:11px 13px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#e8edf5;font-size:10px;line-height:1.45}
.tariff-schedule-banner>i{font-size:18px;color:#8fb7ff}.tariff-schedule-banner>span{flex:1}.tariff-schedule-banner>b{white-space:nowrap;border-radius:20px;padding:6px 9px;font-size:9px}.tariff-schedule-banner>b.store{background:#dff8ef;color:#087a55}.tariff-schedule-banner>b.night{background:#eee5ff;color:#6d28d9}
.tariff-modal-note{display:flex;align-items:flex-start;gap:9px;margin-bottom:12px;padding:10px 12px;border:1px solid #d9e4f5;border-radius:11px;background:#f5f8fe;color:#39465b;font-size:10px;line-height:1.45}.tariff-modal-note i{color:#3473df;font-size:15px}
.sale-modal-pricebar,.selected-product-prices:has(.purchase:nth-child(2)),.selected-product-prices:not(:has(.purchase)){grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
.sale-modal-pricebar>div,.selected-product-prices>div{min-width:0;min-height:88px}
.sale-modal-pricebar span,.selected-product-prices span{white-space:normal;font-size:10px;font-weight:800;line-height:1.35;letter-spacing:.055em}
.sale-modal-pricebar strong,.selected-product-prices strong{overflow-wrap:anywhere;font-size:19px;line-height:1.2}
.sale-modal-pricebar small,.selected-product-prices small{display:block;margin-top:6px;font-size:10px;line-height:1.4}
.sale-modal-pricebar [data-tariff-tile],.selected-product-prices [data-tariff-tile]{transition:border-color .16s,box-shadow .16s,transform .16s}
.sale-modal-pricebar [data-tariff-tile].is-selected,.selected-product-prices [data-tariff-tile].is-selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.17);transform:translateY(-1px)}
.sale-modal-pricebar .store strong,.selected-product-prices .sale strong{color:#00a875}.sale-modal-pricebar .road strong,.selected-product-prices .road strong{color:#3473df}.sale-modal-pricebar .night strong,.selected-product-prices .night strong{color:#8b5cf6}
.tariff-selection-help{display:block;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.35}
.tariff-settings-form{max-width:none}.tariff-rule-visual{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tariff-rule-visual>div{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--canvas)}.tariff-rule-visual i{font-size:19px}.tariff-rule-visual span,.tariff-rule-visual strong,.tariff-rule-visual small{display:block}.tariff-rule-visual small{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}.tariff-rule-visual .store i{color:#00a875}.tariff-rule-visual .night i{color:#8b5cf6}.tariff-rule-visual .road i{color:#3473df}
@media(max-width:900px){.tariff-rule-visual{grid-template-columns:1fr}.tariff-schedule-banner{align-items:flex-start;flex-wrap:wrap}.tariff-schedule-banner>b{margin-left:28px}}
@media(max-width:767px){.product-card-grid{grid-template-columns:1fr}.product-tariffs{grid-template-columns:1fr}.product-tariffs>div{min-height:68px}.sale-modal-pricebar,.selected-product-prices{grid-template-columns:1fr!important}}

/* Tek bakışta uygulanacak fiyat: diğer tarifeler yalnızca seçildiğinde görünür. */
.product-active-prices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:13px}.product-active-prices.is-night{grid-template-columns:1fr}.product-active-prices.is-night [data-day-road-price]{display:none}
.product-current-price,.product-day-road{margin:0;padding:14px 15px;border:1px solid;border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.product-current-price.store{border-color:rgba(0,212,147,.48);background:linear-gradient(135deg,rgba(0,212,147,.13),rgba(0,212,147,.035))}
.product-current-price.night{border-color:rgba(197,140,255,.58);background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(139,92,246,.04))}
.product-day-road{border-color:rgba(104,164,255,.5);background:linear-gradient(135deg,rgba(52,115,223,.15),rgba(52,115,223,.035))}.product-day-road .current-price-head span,.product-day-road>strong{color:#79adff}.product-day-road>strong{display:block;margin-top:8px;font-size:27px;line-height:1;font-weight:900;letter-spacing:-.04em;white-space:nowrap}.product-day-road>small{display:block;margin-top:8px;color:#b3bac5;font-size:10px;font-weight:700;line-height:1.35}
.price-strip [data-current-profit].positive{color:#00c98b}.price-strip [data-current-profit].negative{color:#ff667a}
.current-price-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.current-price-head span{font-size:12px;font-weight:900;letter-spacing:.08em}.current-price-head b{border-radius:20px;padding:4px 8px;background:rgba(255,255,255,.1);color:#e9edf5;font-size:8px;font-weight:850;letter-spacing:.07em;white-space:nowrap}
.product-current-price.store .current-price-head span,.product-current-price.store>strong{color:#12df9e}.product-current-price.night .current-price-head span,.product-current-price.night>strong{color:#d5a8ff}
.product-current-price>strong{display:block;margin-top:8px;font-size:29px;line-height:1;font-weight:900;letter-spacing:-.04em;white-space:nowrap}.product-current-price>small{display:block;margin-top:8px;color:#b3bac5;font-size:10px;font-weight:700;line-height:1.35}
.other-tariff-note{display:flex;align-items:center;gap:6px;margin:8px 2px 0;color:#a0a8b5;font-size:9px;font-weight:650;line-height:1.35}.other-tariff-note i{color:#68a4ff}
.sale-modal-pricebar [data-tariff-tile],.selected-product-prices [data-tariff-tile]{display:none}
.sale-modal-pricebar [data-tariff-tile].is-selected{display:block}
.selected-product-prices [data-tariff-tile].is-selected{display:flex;flex-direction:column;justify-content:center}
.sale-modal-pricebar [data-tariff-tile].is-selected,.selected-product-prices [data-tariff-tile].is-selected{position:relative}
.sale-modal-pricebar [data-tariff-tile].is-selected::after,.selected-product-prices [data-tariff-tile].is-selected::after{content:"UYGULANACAK FİYAT";position:absolute;right:9px;top:8px;border-radius:20px;padding:4px 7px;background:#2563eb;color:#fff;font-size:8px;font-weight:900;letter-spacing:.07em}
@media(max-width:420px){.product-current-price>strong{font-size:24px}.current-price-head b{display:none}}
@media(max-width:620px){.product-active-prices{grid-template-columns:1fr}.product-day-road>strong{font-size:24px}}

/* Gece tarifesi manuel aç / kapat anahtarı */
.night-tariff-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid;border-radius:15px;cursor:pointer;transition:.18s}
.night-tariff-toggle>span{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:4px}.night-tariff-toggle>span i{grid-row:1/3;font-size:25px}.night-tariff-toggle>span b{font-size:14px}.night-tariff-toggle>span small{color:var(--muted);font-size:10px;line-height:1.45}
.night-tariff-toggle .form-check-input{flex:0 0 auto;width:48px;height:25px;margin:0;cursor:pointer}
.night-tariff-toggle.is-on{border-color:rgba(139,92,246,.42);background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(139,92,246,.025))}.night-tariff-toggle.is-on i,.night-tariff-toggle.is-on b{color:#7c3aed}.night-tariff-toggle.is-on .form-check-input{background-color:#7c3aed;border-color:#7c3aed}
.night-tariff-toggle.is-off{border-color:rgba(217,119,6,.35);background:rgba(245,158,11,.07)}.night-tariff-toggle.is-off i,.night-tariff-toggle.is-off b{color:#b45309}
@media(max-width:620px){.night-tariff-toggle{align-items:flex-start;padding:15px}.night-tariff-toggle>span{grid-template-columns:auto 1fr}.night-tariff-toggle .form-check-input{margin-top:2px}}

/* Kart menüsü komşu kartların altında kalmaz; arşiv durumu tek bakışta okunur. */
.product-card-grid{isolation:isolate}.portal-product-card{position:relative}.portal-product-card:has(.dropdown-menu.show){z-index:40}.product-card-actions .dropdown{position:relative}.product-card-actions .dropdown-menu{z-index:1080}
.archive-banner{border-color:rgba(245,158,11,.35);background:rgba(245,158,11,.07)}.archive-banner>i{color:#d97706}.archive-product-note{display:flex;align-items:center;gap:10px;margin-top:11px;padding:10px 12px;border:1px solid rgba(245,158,11,.3);border-radius:11px;background:rgba(245,158,11,.07);color:#f5c76f}.archive-product-note>i{font-size:18px}.archive-product-note span,.archive-product-note b,.archive-product-note small{display:block}.archive-product-note small{margin-top:2px;color:#aeb5c0;font-size:9px;line-height:1.35}
