/* ==========================================================================
   Empoli Plastik - Uygulama Stilleri
   Modern, bağımlılıksız (Bootstrap'sız) sürüm.
   ========================================================================== */

/* ----------------------------- Tasarım değişkenleri ---------------------- */
:root {
    --primary:      var(--tema, #bd0101);
    --primary-soft: rgba(var(--tema-rgb, 189, 1, 1), .85);
    --dark:         #354d57;
    --slate:        #2E3944;
    --muted:        #5c6c75;
    --line:         #d6dee8;
    --line-soft:    #eaeaea;
    /* Kart kenarlıkları: hafif mat siyah (eski tasarımdaki gibi) */
    --border-ink:   rgba(18, 26, 32, .55);
    --bg:           #ffffff;
    --header-h:     60px;
    --footer-h:     55px;
    --radius:       12px;
    --radius-lg:    25px;
    --shadow-sm:    0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md:    2px 1px 5px 2px rgba(0, 0, 0, .18);
    --shadow-lg:    0 10px 40px rgba(0, 0, 0, .25);
    --transition:   .15s ease;
}

/* --------------------------------- Reset --------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #1c1c1c;
    background: var(--bg);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    cursor: default;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .4em;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: font-weight var(--transition), color var(--transition);
}

img {
    border: 0;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

hr {
    border: 0;
    border-top: 1px solid var(--line-soft);
}

/* Özel kaydırma çubuğu */
.scroll-area {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #596971 var(--line-soft);
}

.scroll-area::-webkit-scrollbar {
    width: 10px;
    background-color: var(--line-soft);
    border-radius: 10px;
}

.scroll-area::-webkit-scrollbar-thumb {
    background-color: #596971;
    border-radius: 10px;
}

.scroll-area::-webkit-scrollbar-thumb:hover {
    background-color: var(--slate);
}

/* ================================ HEADER ================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 30, 40, .06);
    z-index: 1002;
}

.header-inner {
    display: flex;
    align-items: stretch;
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 8px;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: flex-end;
    flex: 0 0 15%;
    max-width: 15%;
    padding-bottom: 5px;
}

.logo-link img {
    width: 12vh;
    max-width: 130px;
    display: block;
    transition: transform var(--transition);
}

.logo-link:hover img {
    transform: scale(1.04);
}

/* --- Arama --- */
.header-search {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

/* Modern, hap (pill) biçimli arama alanı */
.search-form {
    display: flex;
    align-items: center;
    gap: 9px;
    width: clamp(220px, 22vw, 340px);
    padding: 8px 14px;
    background: #f5f7f9;
    border: 1px solid #e4eaf0;
    border-radius: 999px;
    transition: width .24s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.header-search.is-active .search-form {
    width: clamp(300px, 32vw, 480px);
    background: #fff;
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .5);
    box-shadow: 0 0 0 4px rgba(var(--tema-rgb, 189, 1, 1), .09), 0 10px 24px -12px rgba(15, 30, 40, .45);
}

.search-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #98a5ae;
    transition: color .18s ease;
}

.header-search.is-active .search-icon {
    color: var(--primary);
}

.search-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    font-size: 13.5px;
    background: transparent;
    color: #1d2c34;
}

.search-input::placeholder {
    color: #9aa7b0;
}

/* Kırmızı halka hap (pill) üzerinde çizilir; içteki input ayrıca çizilmez */
.search-input:focus,
.search-input:focus-visible,
.search-input:active {
    outline: none;
    box-shadow: none;
}

.search-clear {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: background .15s ease;
}

.search-clear:hover {
    background: var(--tema-soft, #fdecec);
}

.search-clear svg {
    fill: #b3bec6;
    transition: transform var(--transition), fill var(--transition);
}

.search-clear:hover svg {
    fill: var(--primary);
    transform: scale(1.1);
}

/* Sonuç paneli: ekran çözünürlüğüne göre ölçeklenen, ferah bir kart */
.search-results {
    position: absolute;
    top: calc(var(--header-h) - 6px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(480px, 54vw, 780px);
    max-width: calc(100vw - 32px);
    max-height: min(74vh, 680px);
    margin: 0;
    padding: 0;
    list-style: none;
    /* Panel kendisi kaymaz; iç bölgeler (ürün listesi) kayar */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 30, 40, .08);
    border-radius: 18px;
    box-shadow: 0 30px 70px -22px rgba(6, 15, 20, .5), 0 4px 16px rgba(6, 15, 20, .1);
    font-size: 13px;
    font-weight: 400;
    color: #1d2c34;
    z-index: 1200;
    scrollbar-width: thin;
    scrollbar-color: #c2ccd3 transparent;
    animation: dropIn .18s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%); }
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c2ccd3;
    border-radius: 8px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8b5bd;
}

.search-results li {
    list-style: none;
}

.sr-head {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 12px;
    color: #7d8a93;
    background: #f7f9fb;
    border-bottom: 1px solid rgba(15, 30, 40, .08);
    border-radius: 18px 18px 0 0;
}

.sr-head__logo {
    height: 22px;
}

.sr-head__text {
    white-space: nowrap;
}

.sr-head__text b {
    font-weight: 700;
    color: #1d2c34;
}

.sr-head__sep {
    color: var(--primary);
    font-weight: 700;
}

.sr-head__close {
    margin-left: auto;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #97a3ab;
    transition: background .15s ease, color .15s ease;
}

.sr-head__close:hover {
    background: var(--tema-soft, #fdecec);
    color: var(--primary);
}

.sr-empty {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.sr-empty h4 {
    font-size: 18px;
    color: #1d2c34;
}

.sr-empty p {
    font-size: 13px;
    font-weight: 400;
    color: #7d8a93;
}

.sr-empty__support {
    margin-top: 26px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.sr-empty__support a {
    font-weight: 500;
    color: #1d2c34;
}

.sr-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 14px 16px;
}

.sr-serie {
    /* Seri özeti sabit kalır (kaymaz) */
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
        "title title"
        "media desc";
    gap: 10px 16px;
    padding: 16px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(15, 30, 40, .07);
    border-radius: 14px;
    transition: background .15s ease;
}

.sr-serie:hover {
    background: var(--tema-softer, #fdf6f6);
}

.sr-serie:hover .sr-serie__title {
    color: var(--primary);
}

.sr-serie__title {
    grid-area: title;
    font-size: 16px;
    font-weight: 700;
    color: #1d2c34;
}

.sr-serie__media {
    grid-area: media;
}

.sr-serie__media img {
    width: 120px;
    height: 120px;
    padding: 5px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
}

.sr-serie__desc {
    grid-area: desc;
    font-size: 12.5px;
    line-height: 1.55;
    color: #4d5d66;
    max-height: 120px;
    overflow: hidden;
}

/* Yalnızca ürün listesi kendi içinde kayar */
.sr-list,
.sr-list--series {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c2ccd3 transparent;
}

.sr-list::-webkit-scrollbar,
.sr-list--series::-webkit-scrollbar {
    width: 8px;
}

.sr-list::-webkit-scrollbar-thumb,
.sr-list--series::-webkit-scrollbar-thumb {
    background: #c2ccd3;
    border-radius: 8px;
}

.sr-list::-webkit-scrollbar-thumb:hover,
.sr-list--series::-webkit-scrollbar-thumb:hover {
    background: #a8b5bd;
}

.sr-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(15, 30, 40, .05);
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s ease;
}

.sr-item:hover {
    background: var(--tema-softer, #fdf4f4);
    color: var(--primary);
}

.sr-item__code {
    flex: 0 0 auto;
    min-width: 155px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .3px;
}

.sr-item__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    min-width: 0;
}

.sr-item__spec {
    font-size: 12px;
    color: #5d6b73;
    white-space: nowrap;
}

.sr-item__spec b {
    margin-right: 2px;
    font-weight: 600;
    color: #9aa7b0;
}

.sr-support {
    padding: 13px;
    text-align: center;
    font-size: 12px;
    color: #93a0a8;
    border-bottom: 1px solid rgba(15, 30, 40, .05);
}

.sr-support a {
    color: var(--primary);
    font-weight: 600;
}

.sr-support a:hover {
    font-weight: 700;
}

/* --- Hamburger menü --- */
.header-menu {
    position: relative;
    flex: 0 0 15%;
    max-width: 15%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 4px;
    padding-bottom: 5px;
}

.menu-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .18s ease, box-shadow .18s ease;
    z-index: 1003;
}

.menu-toggle:hover {
    background: var(--tema-softer, #fdf1f1);
    box-shadow: 0 0 0 6px var(--tema-softer, #fdf1f1);
}

/* --- Sepet düğmesi (header) --- */
.cart-btn {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    transition: background .18s ease, box-shadow .18s ease;
    z-index: 1003;
}

.cart-btn:hover {
    background: var(--tema-softer, #fdf1f1);
    box-shadow: 0 0 0 6px var(--tema-softer, #fdf1f1);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(var(--tema-rgb, 189, 1, 1), .45);
}

.cart-badge[hidden] {
    display: none;
}

.menu-img {
    max-width: 21px;
    max-height: 21px;
    transition: transform var(--transition);
}

.menu-toggle:hover .menu-img {
    transform: scale(1.06);
}

.menu-dropdown {
    position: absolute;
    top: calc(var(--header-h) - 4px);
    right: 0;
    min-width: 152px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--tema-light, #c41414), var(--tema-dark, #9c0101));
    border-radius: 12px;
    box-shadow: 0 18px 40px -10px rgba(15, 30, 40, .45);
    z-index: 1300;
    animation: menuIn .16s ease;
}

@keyframes menuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.menu-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.menu-quick__link img {
    min-width: 22px;
    max-width: 22px;
    transition: transform var(--transition);
}

.menu-quick__link:hover img {
    transform: scale(1.08);
}

.menu-item {
    display: block;
    width: 100%;
    min-height: 38px;
    color: #fff;
    font-size: 13px;
    text-align: center;
    transition: background var(--transition);
}

.menu-item:hover {
    background: rgba(255, 255, 255, .14);
    font-weight: 700;
}

.header-overlay {
    position: fixed;
    inset: var(--header-h) 0 var(--footer-h) 0;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    transition: opacity var(--transition);
}

.header-overlay.is-visible {
    opacity: 1;
}

/* ================================ MAIN =================================== */
.site-main {
    position: fixed;
    inset: var(--header-h) 0 var(--footer-h) 0;
    overflow: hidden;
}

.grid-section {
    height: 100%;
}

#anasayfa_dinamik {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 1px 0 5px;
    transition: width 1.25s ease-in-out;
}

/* --- Kutucuk (tile) --- */
.tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Başlangıç boyutu; JS tarafından ekrana göre yeniden hesaplanır */
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    overflow: visible;
    box-sizing: border-box;
    background: #fff;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.tile:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .35);
    box-shadow: 0 8px 22px rgba(15, 30, 40, .12);
}

.tile__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.tile__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: opacity .3s ease;
}

.tile__img--contain {
    width: 70%;
    height: 70%;
}

body.is-booting .tile__img {
    visibility: hidden;
}

.tile__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, rgba(201, 22, 22, .93) 0%, rgba(var(--tema-dark-rgb, 147, 1, 1), .92) 100%);
    backdrop-filter: blur(1.5px);
    border-radius: inherit;
    opacity: 0;
    transition: opacity .25s ease;
    cursor: pointer;
}

.tile:hover .tile__overlay {
    opacity: 1;
}

.tile__num {
    color: #fff;
    text-align: center;
    z-index: 1;
    letter-spacing: .5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.tile--action .tile__link:hover {
    transform: scale(1.03);
    transition: transform .8s ease;
}

/* Seri numarası tipografisi (eski temadan korunmuştur) */
.text-setting-a { font-size: 19px; font-weight: 700; }
.text-setting-b { font-size: 17px; font-weight: 700; line-height: 1.05; margin-top: 2px; }
.text-setting-c { font-size: 17px; font-weight: 700; line-height: 1.05; margin-top: 2px; }
.related__overlay.text-setting-a { font-size: 20px; }
.related__overlay.text-setting-b,
.related__overlay.text-setting-c { font-size: 18px; line-height: 1.05; }

/* --- Hover popover ---
   Görüntü alanına sabitlenir (position: fixed) ve hover edilen kutucuğa
   JS ile çapalanır; böylece ızgaranın taşma alanına takılmaz. */
.tile__popover {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    max-width: calc(100vw - 24px);
    padding: 0;
    background: #fff;
    border: 1px solid rgba(15, 30, 40, .08);
    border-radius: 14px;
    box-shadow: 0 24px 60px -12px rgba(15, 30, 40, .35), 0 4px 14px rgba(15, 30, 40, .10);
    overflow: hidden;
    z-index: 1900;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transform-origin: center center;
    /* Fare popover'ın üzerine gelebilsin; tıklanınca seri açılır */
    pointer-events: auto;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease;
    will-change: opacity, transform;
}

.tile__popover.is-visible {
    opacity: 1;
    transform: none;
}

/* Kapanma (solma) sırasında fare olaylarını geçir ki tıklamayı engellemesin */
.tile__popover.is-leaving {
    pointer-events: none;
}

.tile__popover:hover {
    box-shadow: 0 30px 70px -14px rgba(15, 30, 40, .42), 0 4px 16px rgba(15, 30, 40, .12);
}

.popover__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--tema-light, #c91616) 0%, var(--primary) 48%, var(--tema-dark, #860101) 100%);
}

.popover__badge {
    flex: 0 0 auto;
    min-width: 44px;
    padding: 6px 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5px;
}

.popover__titles strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.popover__titles em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 11.5px;
    opacity: .88;
}

.popover__media {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    padding: 12px 14px;
    background: #f7f9fb;
    border-bottom: 1px solid rgba(15, 30, 40, .07);
}

.popover__media:last-child {
    border-bottom: 0;
}

.popover__figure {
    margin: 0;
    text-align: center;
}

.popover__figure:only-child {
    grid-column: 1 / -1;
}

.popover__figure-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 10px;
}

.popover__figure-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.popover__figure figcaption {
    margin-top: 6px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
}

.popover__desc {
    max-height: 128px;
    overflow-y: auto;
    padding: 12px 16px 14px;
    font-size: 12px;
    line-height: 1.55;
    color: #4b5b64;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.popover__desc::-webkit-scrollbar {
    width: 6px;
}

.popover__desc::-webkit-scrollbar-thumb {
    background: #c9d2d8;
    border-radius: 6px;
}

/* ============================== OVERLAYLAR =============================== */
.browser-overlay,
.main-overlay {
    position: fixed;
    inset: 0 0 var(--footer-h) 0;
    background: #fff;
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.browser-overlay {
    z-index: 1700;
}

.browser-overlay[hidden],
.main-overlay[hidden] {
    display: none;
}

.browser-overlay__box p {
    color: #ccc;
    font-size: 18px;
}

.browser-overlay__label {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 16px !important;
}

.browser-overlay__box a {
    display: block;
    margin-top: 6px;
    color: #ccc;
    font-size: 14px;
}

.browser-overlay__box a:hover {
    font-weight: 700;
}

.main-overlay__box {
    color: #ccc;
    font-size: 18px;
}

.progress {
    position: relative;
    width: 75%;
    min-width: 240px;
    height: 4px;
    margin: 20px auto 0;
    background: #e0e0e0;
    border-radius: 2px;
}

.progress__bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--tema-light, #c91616), var(--primary));
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(var(--tema-rgb, 189, 1, 1), .4);
    transition: width .5s ease;
}

.progress__text {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
}

/* ================================ FOOTER ================================= */
.site-footer {
    position: fixed;
    inset: auto 0 0 0;
    height: var(--footer-h);
    background: linear-gradient(180deg, var(--tema-light, #c41414), var(--primary));
    box-shadow: 0 -6px 20px rgba(15, 30, 40, .12);
    color: #fff;
    z-index: 1002;
}

.footer-inner {
    display: flex;
    align-items: center;
    height: var(--footer-h);
    padding: 0 8px;
    font-size: 13px;
    transition: width 1.25s ease-in-out;
}

.footer-tagline {
    flex: 0 0 20%;
    max-width: 20%;
    min-width: 194px;
}

.footer-contact {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-contact a:hover {
    font-weight: 700;
}

.footer-sep {
    font-weight: 700;
}

.footer-copy {
    flex: 0 0 20%;
    max-width: 20%;
    text-align: right;
    min-width: 140px;
}

/* ================================= MODAL ================================= */
.modal-root {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-root[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
}

.modal-window {
    position: relative;
    /* Ekrana tam oturur; yanlarda oklar, üstte logo/kapat için pay bırakır */
    width: min(1200px, calc(100vw - 150px));
    height: min(82vh, 720px);
    max-height: calc(100vh - 84px);
    display: flex;
    flex-direction: column;
    /* Kırpma yapılmaz: yan gezinme okları pencerenin dışına taşar.
       Köşe yuvarlaması pencerenin kendi arka planından gelir. */
    overflow: visible;
    background: #fff;
    border: 1px solid rgba(15, 30, 40, .08);
    border-radius: 18px;
    box-shadow: 0 40px 90px -20px rgba(6, 15, 20, .55), 0 2px 10px rgba(6, 15, 20, .12);
    animation: modalIn .22s cubic-bezier(.2, .9, .3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(8px) scale(.99); }
    to   { opacity: 1; transform: none; }
}

/* Logo ve kapat düğmesi pencerenin DIŞINDA, şeffaf alanda durur
   (eski tasarımdaki gibi). Böylece içerik yükseklik kazanır. */
.modal-chrome {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    background: transparent;
    border-bottom: 0;
    pointer-events: none;   /* yalnızca içindeki öğeler tıklanabilir */
}

.modal-chrome > * {
    pointer-events: auto;
}

.modal-chrome .modal-logo img {
    height: 34px;
    width: auto;
    max-width: 160px;
    transition: transform var(--transition);
}

.modal-chrome .modal-logo:hover img {
    transform: scale(1.03);
}

.modal-close img {
    height: 20px;
    transition: transform var(--transition);
}

.modal-close:hover img {
    transform: scale(1.08);
}

/* --- Modalın solunda/sağında önceki–sonraki seri okları --- */
.modal-sidenav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0;
    z-index: 6;
    pointer-events: none;
}

.modal-sidenav[hidden] {
    display: none;
}

.modal-sidenav__btn {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 64px;
    padding: 0;
    pointer-events: auto;
    cursor: pointer;
}

.modal-sidenav__btn--prev {
    left: -64px;
}

.modal-sidenav__btn--next {
    right: -64px;
}

.modal-sidenav__btn img {
    width: 50px;
    max-width: 100%;
    transition: transform .15s ease, opacity .15s ease;
}

.modal-sidenav__btn:hover:not([disabled]) img {
    transform: scale(1.14);
}

.modal-sidenav__btn[disabled] {
    cursor: default;
    opacity: .4;
}

.modal-sidenav__btn[disabled] img {
    filter: grayscale(100%) brightness(240%);
}

.modal-content {
    /* Gövde kaydırmaz; iç bölgeler gerektiğinde kendi içinde kayar */
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 16px 14px;
}

.modal-loading {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-loading img {
    width: 60px;
}

.modal-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 16px;
}

/* Görsel büyütme (lightbox) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .97);
    cursor: zoom-out;
    padding: 20px;
}

.lightbox img {
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
}

.lightbox[hidden] {
    display: none;
}

/* 3D model büyütme: koyu zemin, gömülü X3DOM fareyle döndürülür */
.lightbox--3d {
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 14px;
    background: rgba(10, 16, 22, .96);
    cursor: default;
}

.lightbox__model {
    flex: 1 1 auto;
    width: min(1200px, 96vw);
    min-height: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

.lightbox__hint {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    letter-spacing: .3px;
}

.lightbox__close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}

.lightbox__close:hover {
    background: var(--primary);
}

/* ============================= SERİ MODALI =============================== */
.seri-modal {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0 18px;
}

/* İki kolon da mevcut yüksekliği doldurur; taşma olursa
   yalnızca ilgili kolon kendi içinde kayar (sayfa kaymaz). */
.seri-modal__left,
.seri-modal__right {
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* Yalnızca dikey kaydırma; yatay taşma/kaydırma çubuğu oluşmaz */
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.seri-modal__left {
    border-right: 2px solid var(--line);
    padding-right: 18px;
}

.seri-head {
    flex: 0 0 auto;
    display: grid;
    /* Kullanım görseli eski tasarımdaki gibi sol kolonun ~yarısını kaplar */
    grid-template-columns: minmax(228px, 46%) 1fr;
    gap: 12px;
    padding-bottom: 8px;
}

.media-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(150px, 21vh, 190px);
    padding: 7px;
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 30, 40, .05);
    transition: border-color .18s ease, box-shadow .18s ease;
    cursor: zoom-in;
}

.media-box:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .3);
    box-shadow: 0 8px 20px rgba(15, 30, 40, .12);
}

.media-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.media-box__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.media-box:hover .media-box__label {
    opacity: 1;
}

.seri-head__title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PDF ve bilgi (?) ikonları sol kolonun sağ ucuna yaslanır */
.seri-head__tools,
.urun-detail__tools {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.icon-btn img {
    width: 21px;
    height: 21px;
    transition: transform var(--transition);
}

.icon-btn:hover img {
    transform: scale(1.08);
}

/* PDF üretilirken ikon pasif görünür */
.icon-btn.is-busy {
    opacity: .45;
    pointer-events: none;
    cursor: default;
}

.seri-head__name {
    font-size: 13px;
    font-weight: 700;
    color: #24343d;
    margin: 0 0 6px;
}

.seri-head__desc {
    max-height: clamp(62px, 12vh, 104px);
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.35;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.block {
    flex: 0 0 auto;
    margin-top: 10px;
}

/* Ürün listesi bloğu: kalan yüksekliği doldurur, içi kendi kayar */
.block--list {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.block__title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 4px 6px;
    font-weight: 700;
    font-size: 13px;
    color: #24343d;
}

.block__title::before {
    content: "";
    display: block;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--primary);
}

.block__title--center {
    justify-content: center;
    color: var(--muted);
}

.block__title--center::before {
    display: none;
}

.block__title--center {
    text-align: center;
    color: var(--muted);
}


/* --- Ürün listesi tablosu --- */
.urun-list {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 30, 40, .05);
    overflow: hidden;
}

.urun-list__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    /* Sağ boşluk, gövdedeki kaydırma çubuğu payına eşitlenir (hiza için) */
    padding: 8px 22px 0 12px;
}

.urun-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
    table-layout: fixed;
}

.urun-table th,
.urun-table td {
    /* Eski tasarımdaki gibi ince ama nefes alan satırlar */
    padding: 3px 4px;
    line-height: 1.2;
    text-align: center;
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.urun-table thead th {
    font-size: 11px;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--primary);
    border-bottom: 0;
}

.urun-table .col-code  { width: 120px; text-align: center; }
.urun-table .col-renk  { width: 44px; }
.urun-table .col-spec  { width: 44px; }
.urun-table .col-reset { width: 26px; }
.urun-table .col-act   { width: 62px; }

.filterable {
    cursor: pointer;
}

.filterable:hover {
    color: var(--primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .15);
}

.filterable.is-filtered {
    color: var(--primary);
}

.filter-caret {
    font-size: 8px;
    margin-left: 2px;
}

.filter-reset img {
    width: 17px;
    filter: grayscale(100%) brightness(250%);
    transition: filter var(--transition);
}

.filter-reset.is-active img {
    filter: none;
}

.urun-list__body {
    flex: 1 1 auto;
    min-height: 118px;
    max-height: none;
    padding: 0 12px;
    /* Kaydırma çubuğu payını her zaman ayır: başlık ve gövde kolonları hizalı kalır */
    scrollbar-gutter: stable;
}

.urun-list__body.is-filtering .urun-table--body {
    filter: blur(4px);
}

.urun-row {
    cursor: pointer;
}

.urun-row:hover td {
    color: var(--primary);
    font-weight: 700;
}

.urun-row td:last-child,
.urun-row td:nth-last-child(2) {
    border-bottom: 0;
}

.renk-dot {
    width: 14px;
    height: 14px;
    padding: 1px;
    border: 1px solid #ddd;
    border-radius: 3px;
    vertical-align: middle;
}

.renk-none {
    color: #bbb;
}

.btn-pill {
    min-width: 44px;
    padding: 1px 9px;
    border-radius: 29px;
    background: #b9c3c9;
    border: 1px solid transparent;
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: background var(--transition), box-shadow var(--transition);
}

.btn-pill:hover {
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--tema-rgb, 189, 1, 1), .35);
}

.urun-row:hover .btn-pill {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.support-row td {
    font-size: 11px;
    color: #999;
    border-bottom: 1px solid var(--line-soft);
}

.support-row a:hover {
    color: var(--primary);
    font-weight: 700;
}

/* Ürün gezinme okları: modal yan oklarının KÜÇÜK (kırmızı) versiyonları */
.nav-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.nav-arrow:hover:not(:disabled) {
    background: var(--tema-softer, #fdf1f1);
}

.nav-arrow img {
    width: 25px;
    max-width: 100%;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-arrow:hover:not(:disabled) img {
    transform: scale(1.18);
}

.nav-arrow:disabled {
    cursor: default;
    opacity: .45;
}

.nav-arrow:disabled img {
    filter: grayscale(100%) brightness(260%);
}

/* Filtre menüsü */
.filter-menu {
    position: absolute;
    min-width: 46px;
    min-height: 140px;
    max-height: 203px;
    overflow-y: auto;
    padding: 4px;
    background: #fff;
    border: 1px solid rgba(15, 30, 40, .1);
    border-radius: 10px;
    box-shadow: 0 16px 36px -10px rgba(15, 30, 40, .35);
    font-size: 10px;
    text-align: center;
    z-index: 2500;
    scrollbar-width: thin;
    animation: dropIn .14s ease;
}

.filter-menu div {
    padding: 3px 2px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-menu div:hover {
    background: #f0f0f0;
    color: var(--primary);
    font-weight: 700;
}

/* --- İlişkili ürünler + katalog --- */
.seri-foot {
    flex: 0 0 auto;
    display: grid;
    /* İlişkili ürünler şeridi daha geniş; katalog kutusu sabit oranda */
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;
    margin-top: 10px;
    min-width: 0;
}

.block--related,
.block--catalog {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 30, 40, .05);
    min-height: 105px;
    padding: 10px;
    margin-top: 0;
}

.related {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.related--empty {
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    min-height: 60px;
}

/* İlişkili ürünler okları: ürün gezinme oklarıyla aynı (küçük kırmızı) */
.related__arrow {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.related__arrow img {
    width: 22px;
    max-width: 100%;
    transition: transform var(--transition);
}

.related__arrow:hover {
    background: var(--tema-softer, #fdf1f1);
}

.related__arrow:hover img {
    transform: scale(1.15);
}

.related__track {
    /* Kabı genişletmeden yatay kayar (min-width: 0 kritik) */
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px;
}

.related__track::-webkit-scrollbar {
    display: none;
}

.related__track {
    cursor: grab;
}

.related__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Not: Otomatik kaydırma "bir ürün / adım" şeklinde ilerler; adım animasyonu
   için smooth-scroll açık kalır (oklarla birebir aynı davranış). */
.related__track.is-autoplay {
    cursor: grab;
}

/* Tekerlekle kaydırma sırasında takılmayı önlemek için smooth kapatılır */
.related__track.is-wheeling {
    scroll-behavior: auto;
}

.related__item {
    position: relative;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 9px;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.related__item:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .3);
    box-shadow: 0 6px 16px rgba(15, 30, 40, .14);
}

.related__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .3s ease;
}

.related__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.related__item:hover .related__overlay {
    opacity: 1;
}

.related__item:hover img {
    opacity: .5;
}

.catalog-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    min-height: 83px;
    border-radius: 8px;
    transition: background .18s ease;
}

.catalog-box:hover {
    background: #fbfcfd;
}

.catalog-box img {
    width: 40px;
    transition: transform var(--transition);
}

.catalog-box strong {
    display: block;
    color: var(--muted);
    font-size: 16px;
}

.catalog-box em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #555;
}

.catalog-box:hover img {
    transform: scale(1.05);
}

.catalog-box:hover strong,
.catalog-box:hover em {
    color: var(--primary);
    font-weight: 700;
}

/* ============================ ÜRÜN İNCELEME ============================== */
.urun-detail {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.urun-detail__inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.urun-detail__head {
    flex: 0 0 auto;
    padding-bottom: 6px;
}

.urun-detail__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.urun-detail__title small {
    font-size: 11px;
    font-weight: 700;
    color: #24343d;
}

.urun-detail__tools {
    margin-left: auto;
}

.urun-media {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.urun-media .media-box {
    height: clamp(108px, 16vh, 150px);
}

.media-box--3d {
    cursor: default;
    padding: 0;
}

.media-box--3d .model3D {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 3B kutusundaki "döndür" ipucu (el ikonu): ortada değil, SOL iç köşede */
.rotable {
    position: absolute;
    left: 2px;
    bottom: 2px;
    right: auto;
    width: 60px;
    transform: scale(.62);
    transform-origin: bottom left;
    filter: grayscale(100%) brightness(150%);
    transition: opacity .3s ease;
}

.media-box--3d.is-ready .rotable {
    opacity: 0;
    pointer-events: none;
}

/* 3B kutusu: tüm alan tıklanabilir (büyüt + fareyle döndür) */
.media-box__zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.media-box__zoom-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: #12202a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    transition: background .15s ease, color .15s ease;
}

.media-box__zoom:hover .media-box__zoom-icon {
    background: var(--primary);
    color: #fff;
}

/* --- Ölçü ve fiyat (kompakt) --- */
.spec-price {
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 30, 40, .05);
    padding: 8px;
}

.spec-price__row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.spec-table {
    flex: 1 1 auto;
    border-collapse: collapse;
    font-size: 10px;
}

.spec-table th {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 4px;
    text-align: center;
    box-shadow: inset 0 -1px 0 var(--line-soft);
}

.spec-table td {
    padding: 3px 4px;
    text-align: center;
}

/* Her paket tek satır: solda adet + fiyat, sağda "Sepete Ekle" */
.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    gap: 4px;
    margin-top: 6px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
    padding: 2px 4px 2px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fbfcfd;
}

.price-row__info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.price-row__qty {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.price-row__val {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.price-row__btn {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--tema-light, #c91616), var(--primary));
    border: 1px solid rgba(var(--tema-dark-rgb, 147, 1, 1), .6);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2px;
    white-space: nowrap;
    box-shadow: 0 3px 10px -3px rgba(var(--tema-rgb, 189, 1, 1), .5);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.price-row__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(var(--tema-rgb, 189, 1, 1), .6);
}

.price-row__btn.is-added {
    background: #2f9e4f;
    border-color: #2f9e4f;
    box-shadow: 0 3px 10px -3px rgba(47, 158, 79, .6);
}

.price-empty {
    grid-column: 1 / -1;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

/* --- Bilgi kartları --- */
/* Malzeme/renk/kimyasal bölümü: kalan alanı doldurur ve
   yalnızca bu bölge kendi içinde kayar. */
.urun-cols {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    margin-top: 6px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.info-card {
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    background: #fcfdfe;
    box-shadow: 0 2px 10px rgba(15, 30, 40, .04);
    padding: 14px;
    font-size: 10px;
}

.info-card__row {
    padding: 4px 0;
}

.info-card__row + .info-card__row {
    border-top: 1px solid #ccc;
    margin-top: 6px;
    padding-top: 8px;
}

.info-card__sep {
    color: var(--primary);
    font-weight: 700;
    padding: 0 4px;
}

.info-card--support {
    text-align: center;
}

.info-card--support h4 {
    color: var(--primary);
    font-size: 14px;
}

.info-card--support a {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.info-card--support a:hover {
    color: var(--primary);
    font-weight: 700;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border: 1px solid #e6ebf0;
    border-radius: var(--radius);
    background: #fcfdfe;
    box-shadow: 0 2px 10px rgba(15, 30, 40, .04);
    padding: 12px;
}

.stat-card {
    text-align: center;
}

.stat-card__head {
    background: linear-gradient(160deg, #3d5964, var(--slate));
    color: #fff;
    border-radius: 20px 20px 0 0;
    min-height: 40px;
    padding: 5px;
    font-size: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card__head span {
    display: block;
    opacity: .85;
}

.stat-card--chem .stat-card__head {
    min-height: 30px;
    border-radius: 20px 20px 0 0;
}

.stat-card__val {
    background: #f3f3f3;
    border-radius: 0 0 20px 20px;
    padding: 6px 5px;
    font-size: 9px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card__val.level-a { background: #08fd08; }
.stat-card__val.level-b { background: #ffeb3b; }
.stat-card__val.level-c { background: #ff4b4b; }

.chem-legend {
    display: flex;
    gap: 5%;
    margin-bottom: 8px;
}

.chem-legend span {
    flex: 1;
    padding: 6px;
    border-radius: 15px;
    font-size: 11px;
    text-align: center;
    color: var(--slate);
    font-weight: 600;
}

.chem-legend .level-a { background: #06CA06; }
.chem-legend .level-b { background: #ffeb3b; }
.chem-legend .level-c { background: #ff4b4b; }

/* =========================== İÇERİK MODALLARI ============================ */
.content-modal {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.content-modal__head {
    border-bottom: 4px solid var(--primary);
    text-align: center;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.content-modal__head h1 {
    font-size: 26px;
    font-weight: 600;
}

.content-modal__head b {
    color: var(--primary);
}

.content-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.content-modal--info {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.info-image,
.info-link img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1108px, 100%);
    max-height: min(62vh, 620px);
    object-fit: contain;
}

.info-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

.info-link img {
    transition: transform var(--transition);
}

.info-link:hover img {
    transform: scale(1.01);
}

/* --- İletişim --- */
.contact {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 14px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.contact__map iframe {
    height: clamp(260px, 42vh, 400px);
}

.contact__map iframe {
    border-radius: var(--radius);
}

.contact__logo {
    width: 300px;
    max-width: 70%;
    display: block;
    margin: 10px auto;
}

.contact__info h3 {
    text-align: center;
    font-size: 18px;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.contact__box h5 {
    margin-top: 10px;
}

.contact__box h5 img {
    height: 30px;
}

.contact__box h5 img[alt="E-posta"] {
    height: 40px;
}

.contact__box p {
    margin: 0 0 12px;
}

.contact__box a:hover {
    color: var(--primary);
    font-weight: 700;
}

/* --- Hakkında --- */
.about {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-top: 10px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.about__logo {
    display: block;
    width: 350px;
    max-width: 80%;
    margin: 0 auto 20px;
}

.about__text {
    font-size: 16px;
    line-height: 1.5;
}

.about__text p {
    margin: 0 0 16px;
}

/* --- Metin bölümleri (şartname / KVKK) --- */
.text-section {
    padding: 0 4px 12px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 12px;
}

.text-section:last-child {
    border-bottom: 0;
}

.text-section h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.text-section p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 10px;
}

.text-section__center {
    text-align: center;
}

.text-section__list {
    margin: 0 0 12px;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.45;
}

.text-section__list li {
    margin-bottom: 4px;
}

.table-wrap {
    overflow-x: auto;
    margin-bottom: 12px;
}

.kvkk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: center;
}

.kvkk-table th,
.kvkk-table td {
    border: 1px solid #ccc;
    padding: 6px;
    vertical-align: top;
}

.kvkk-table thead th {
    background: #ccc;
    font-weight: 700;
}

/* --- Belge ızgarası --- */
.doc-section {
    padding: 0 4px 12px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 12px;
}

.doc-section h5 {
    font-size: 15px;
    margin-bottom: 10px;
}

.doc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-left: 4px;
}

.doc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95px;
    text-align: center;
    transition: transform var(--transition);
}

.doc-item img {
    height: 75px;
    padding-bottom: 8px;
    object-fit: contain;
}

.doc-item h6 {
    font-size: 11px;
    font-weight: 400;
}

.doc-item:hover {
    transform: scale(1.03);
}

.doc-item:hover h6 {
    color: var(--primary);
    font-weight: 700;
}

/* --- Destek bloğu --- */
.support-block {
    padding: 12px 4px;
    text-align: center;
}

.support-block h4 {
    color: var(--primary);
    font-weight: 700;
}

.support-block a:hover {
    color: var(--primary);
    font-weight: 700;
}

.support-block__sep {
    color: var(--primary);
    font-weight: 700;
    margin: 0 6px;
}

/* --- İndirim --- */
.support-block p {
    margin: 4px 0;
}

/* ================================ TOAST ================================== */
.toast-stack {
    position: fixed;
    /* Üstte konumlanır: açık modal penceresinin görünür alanı dışında,
       ekranın en üst katmanında (z-index 3000 > modal 2000) belirgin görünür. */
    top: calc(var(--header-h) + 14px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: max-content;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

.toast {
    padding: 11px 20px;
    background: var(--slate);
    color: #fff;
    border-radius: 22px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: var(--shadow-md);
    animation: toastIn .2s ease;
    pointer-events: auto;
}

.toast--ok {
    /* Empoli kırmızısı zemin + beyaz yazı */
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(var(--tema-rgb, 189, 1, 1), .55);
}

.toast--ok::before {
    content: '✓';
    margin-right: 8px;
    font-weight: 700;
}

.toast--err {
    background: #b3261e;
    box-shadow: 0 12px 28px -8px rgba(179, 38, 30, .65);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1250px) {
    .seri-modal {
        grid-template-columns: 1fr;
    }

    .seri-modal__left {
        border-right: 0;
        padding-right: 0;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .urun-cols {
        grid-template-columns: 1fr;
    }
}

/* ========================= AKICILIK / İNCE AYARLAR ======================= */
::selection {
    background: rgba(var(--tema-rgb, 189, 1, 1), .18);
}

:focus-visible {
    outline: 2px solid rgba(var(--tema-rgb, 189, 1, 1), .55);
    outline-offset: 2px;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Hareket azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* ================================= SEPET ================================= */
.cart-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9d2d8 transparent;
}

.cart-item {
    border: 1px solid var(--border-ink, rgba(18, 26, 32, .55));
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px 9px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.cart-item:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .45);
    box-shadow: 0 6px 16px -8px rgba(18, 26, 32, .35);
}

.cart-item__main {
    display: grid;
    grid-template-columns: 54px 1fr auto auto 26px;
    gap: 10px;
    align-items: center;
}

.cart-item__thumb {
    width: 54px;
    height: 54px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-ink, rgba(18, 26, 32, .55));
    border-radius: 9px;
    background: #f7fafb;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cart-item__thumb:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .55);
    box-shadow: 0 4px 12px -6px rgba(18, 26, 32, .45);
}

.cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-item__thumb--yok {
    border-style: dashed;
    color: #b9c4cc;
    font-size: 15px;
    font-weight: 700;
}

.cart-item__link {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    letter-spacing: .2px;
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.cart-item__link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cart-item__olcu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.cart-olcu {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef4f8;
    border: 1px solid #dbe6ee;
    font-size: 10px;
    color: #2f3f49;
    white-space: nowrap;
}

.cart-olcu b {
    font-weight: 700;
    color: var(--primary);
}

.cart-item__renk {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
    vertical-align: -1px;
    border: 1px solid rgba(0, 0, 0, .18);
}

.cart-item__code {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item__code small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__qty {
    font-size: 11px;
    font-weight: 600;
    color: #43535c;
    white-space: nowrap;
}

.cart-item__total {
    min-width: 74px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.cart-item__breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--line-soft);
}

/* --- Tek paket kademesi satırı: [1000 adet] [− n +] [tutar] [×] --- */
.cart-kalem {
    display: grid;
    grid-template-columns: 88px 1fr auto 22px;
    gap: 8px;
    align-items: center;
    padding: 3px 6px;
    border-radius: 8px;
}

.cart-kalem:nth-child(odd) {
    background: #f9fbfc;
}

.cart-kalem__adet {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #12202a;
    white-space: nowrap;
}

.cart-kalem__adet span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--muted);
}

.cart-kalem__ctl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-self: start;
}

/* Toplam adet: "+" düğmesinin yanında "= 250 adet" biçiminde gösterilir */
.cart-kalem__toplam {
    margin-left: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #12202a;
    white-space: nowrap;
}

.cart-step {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #eef2f6;
    color: #33454e;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.cart-step:hover {
    background: var(--primary);
    color: #fff;
}

.cart-kalem__input {
    width: 48px;
    padding: 2px 4px;
    border: 1px solid #cfdbe4;
    border-radius: 7px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #12202a;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cart-kalem__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--tema-rgb, 189, 1, 1), .14);
}

/* Firefox/Chrome sayı okları gizlenir; ± düğmeleri kullanılır */
.cart-kalem__input::-webkit-outer-spin-button,
.cart-kalem__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-kalem__input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-kalem__sayi {
    min-width: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #43535c;
}

.cart-kalem__tutar {
    min-width: 70px;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.cart-kalem__sil {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #b0bcc4;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.cart-kalem__sil:hover {
    background: var(--tema-soft, #fdecec);
    color: var(--primary);
}

.cart-kalem--kismi {
    background: #fff8ec;
}

.cart-kalem--kismi .cart-kalem__adet,
.cart-kalem--kismi .cart-kalem__tutar {
    color: #b07715;
}

.cart-remove {
    justify-self: end;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #b0bcc4;
    font-size: 16px;
    line-height: 1;
    transition: background var(--transition), color var(--transition);
}

.cart-remove:hover {
    background: var(--tema-soft, #fdecec);
    color: var(--primary);
}

.cart-foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(var(--tema-rgb, 189, 1, 1), .07), transparent 58%),
        linear-gradient(180deg, #ffffff, #f6f8fa);
    border: 1px solid #e6ecf1;
    box-shadow: 0 12px 28px -16px rgba(15, 30, 40, .45);
}

.cart-total {
    position: relative;
    padding-left: 12px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.3px;
    line-height: 1.1;
    color: #12202a;
}

/* Sol tarafta ince kırmızı vurgu çubuğu */
.cart-total::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--tema-light, #c91616), var(--primary));
}

.cart-total::before {
    content: 'Genel Toplam';
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
}

.cart-total small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2px;
    color: var(--muted);
}

.cart-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-act {
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cart-act--primary {
    background: linear-gradient(180deg, var(--tema-light, #c91616), var(--primary));
    border: 1px solid rgba(var(--tema-dark-rgb, 147, 1, 1), .6);
    color: #fff;
    box-shadow: 0 4px 12px -2px rgba(var(--tema-rgb, 189, 1, 1), .45);
}

.cart-act--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -4px rgba(var(--tema-rgb, 189, 1, 1), .55);
}

.cart-act--ghost {
    background: #f2f5f7;
    border: 1px solid #e2e8ed;
    color: #43535c;
}

.cart-act--ghost:hover {
    background: #e9eef2;
}

.cart-empty {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* ============================ KART KENARLIKLARI ==========================
   Eski tasarımdaki gibi hafif mat siyah çerçeve (sert siyah değil). */
.media-box,
.urun-list,
.spec-price,
.info-card,
.card-grid,
.block--related,
.block--catalog {
    border-color: var(--border-ink);
}

/* Mobil siteye dönüş bağlantıları */
.browser-overlay__box a.browser-overlay__mobile {
    display: inline-block;
    margin: 4px 0 16px;
    padding: 10px 22px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.browser-overlay__box a.browser-overlay__mobile:hover {
    background: var(--tema-dark, #8c0101);
}

.footer-mobile {
    color: inherit;
    text-decoration: underline;
}

/* Footer sağ blok: "Mobil sürüm" bağlantısı eklendi, tek satırda kalsın */
.footer-copy {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}

/* Ürün Listesi (mm): satırlar biraz yükseltildi */
.urun-table--body td {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* "İncele" düğmeleri biraz yükseltildi */
.urun-table--body .btn-pill {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 10.5px;
}

/* Ölçü ve Fiyat Bilgileri tablosu: Ürün Listesi (mm) satırlarıyla aynı ölçüler */
.spec-table th {
    font-size: 11px;
    padding: 3px 4px;
}

.spec-table td {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.2;
}


/* ==========================================================================
   Vitrin v2 — görünüm cilası
   Amaç: tüm ürünler kaydırmasız tek ekranda kalır. Kutucuk boyutunu hesaplayan
   JS (fitGrid) ve ızgara geometrisi değişmez; yalnızca üst/alt bantlar inceltilerek
   ürünlere daha fazla alan açılır, görünüm yumuşatılır.
   ========================================================================== */
:root {
    --header-h: 52px;   /* 60 → 52 */
    --footer-h: 38px;   /* 55 → 38 */
}

[hidden] { display: none !important; }

/* ------------------------------------------------------------------ Başlık */
.site-header {
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.3) blur(8px);
    backdrop-filter: saturate(1.3) blur(8px);
    box-shadow: 0 1px 0 rgba(15, 30, 40, .06), 0 10px 26px -16px rgba(15, 30, 40, .32);
}

.header-logo,
.header-menu { align-items: center; padding-bottom: 0; }

.logo-link img { width: clamp(84px, 11vh, 120px); max-width: none; }

.search-form {
    padding: 7px 14px;
    box-shadow: inset 0 1px 2px rgba(15, 30, 40, .05);
}

.cart-btn,
.menu-toggle { width: 32px; height: 32px; }

/* ----------------------------------------------------------------- Izgara */
.site-main { background: linear-gradient(180deg, #f6f8fa 0%, #f0f3f6 100%); }

.tile {
    background: #fff;
    border-color: #e6ecf1;
    border-radius: 0;
    box-shadow: none;
    transition: box-shadow .16s ease, border-color .16s ease;
}

/* DİKKAT: .tile üzerinde transform / z-index / filter KULLANMAYIN. İçindeki
   .tile__popover "position: fixed" olduğundan, dönüştürülmüş bir üst öğe onu
   görüntü alanı yerine kutucuğa göre konumlandırır ve popover yanlış yerde açılır. */
.tile:hover {
    border-color: rgba(var(--tema-rgb, 189, 1, 1), .55);
    box-shadow: 0 8px 22px -8px rgba(15, 30, 40, .4);
}

/* Çerçeveler köşeli; yalnızca ürün resimlerinin kendisi etkilenmez */
.tile__link,
.tile__overlay,
.popover__figure-box { border-radius: 0; }

.tile--action { background: var(--tema-softer, #fff7f7); border-color: var(--tema-border, #f3dcdc); }
.tile--action:hover { background: #fff; }

.tile__link:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

/* Alt bant yazı boyutu */
.footer-inner { font-size: 12.5px; }

/* ---------------------------------------------------------------- Alt bant */
.site-footer {
    background: linear-gradient(180deg, var(--tema-light, #c91616) 0%, var(--tema-dark, #a40202) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 -10px 26px -14px rgba(15, 30, 40, .35);
}

.footer-contact a { opacity: .95; transition: opacity var(--transition); }
.footer-contact a:hover { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.footer-copy .footer-sep { display: none; }

.footer-mobile {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .26);
    color: #fff;
    text-decoration: none !important;
    font-size: 11.5px;
    transition: background var(--transition);
}
.footer-mobile:hover { background: rgba(255, 255, 255, .28); }

/* ---------------------------------------------------- Yükleme / uyarı ekranı */
.main-overlay,
.browser-overlay { background: radial-gradient(900px 480px at 50% 40%, #ffffff 0%, #f3f6f9 100%); }

.main-overlay__box { color: var(--muted); font-size: 14px; letter-spacing: .01em; }

.main-overlay__box::before {
    content: "";
    display: block;
    width: 132px;
    height: 44px;
    margin: 0 auto 16px;
    background: var(--marka-logo, url("../images/logo/logo.png")) center / contain no-repeat;
}

.progress { width: 280px; height: 6px; background: #e4e9ee; border-radius: 6px; margin-top: 16px; overflow: visible; }
.progress__bar { border-radius: 6px; }
.progress__text { top: 14px; font-size: 11px; font-weight: 600; color: #7b8a93; }

.browser-overlay__box {
    max-width: 420px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    box-shadow: 0 24px 60px -24px rgba(15, 30, 40, .35);
}
.browser-overlay__box p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.browser-overlay__box a { color: var(--dark); font-size: 13.5px; }
.browser-overlay__box a:hover { color: var(--primary); }

/* ----------------------------------------------------------------- Modal */
.modal-backdrop { background: rgba(14, 22, 28, .62); }
.modal-window { border-radius: 16px; }

/* ----------------------------------------------------- Hareket tercihi */
@media (prefers-reduced-motion: reduce) {
    .tile, .tile:hover { transition: none; }
}


/* ==========================================================================
   Popover v2 — köşeli, sade kart (yapı ve konumlandırma JS'i değişmez)
   ========================================================================== */
.tile__popover {
    width: 420px;
    border: 0;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(15, 30, 40, .09), 0 26px 56px -14px rgba(15, 30, 40, .5), 0 6px 16px rgba(15, 30, 40, .12);
}

.tile__popover:hover {
    box-shadow: 0 0 0 1px rgba(var(--tema-rgb, 189, 1, 1), .35), 0 30px 64px -14px rgba(15, 30, 40, .55), 0 6px 18px rgba(15, 30, 40, .14);
}

/* Başlık: sol blokta seri numarası, yanında ad ve açıklama */
.popover__head {
    align-items: stretch;
    gap: 0;
    padding: 0;
    color: var(--slate);
    background: #fff;
    border-bottom: 1px solid #edf0f3;
}

.popover__badge {
    min-width: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 0;
    border-radius: 0;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
}

.popover__titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 14px;
}

.popover__titles strong {
    font-size: 14.5px;
    color: #1d2c34;
}

.popover__titles em {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    opacity: 1;
}

/* Görseller */
.popover__media {
    gap: 10px;
    padding: 12px 14px 10px;
    background: #fff;
    border-bottom: 0;
}

.popover__figure-box {
    height: 112px;
    padding: 8px;
    background: #f6f8fa;
    border: 1px solid #e4e9ee;
    border-radius: 0;
}

.popover__figure figcaption {
    margin-top: 6px;
    font-size: 9.5px;
    letter-spacing: .08em;
    color: #7b8a93;
}

/* Açıklama */
.popover__desc {
    margin: 0 14px;
    padding: 10px 0 12px;
    max-height: 112px;
    border-top: 1px solid #edf0f3;
    font-size: 12px;
    line-height: 1.55;
    color: #4b5b64;
}

/* Alt satır: tıklanabilir olduğunu belirtir */
.tile__popover::after {
    content: "Seriyi incele  →";
    display: block;
    padding: 8px 14px;
    background: #f6f8fa;
    border-top: 1px solid #edf0f3;
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: right;
}

/* Popover çevresinde görünmez geçiş alanı: fare kutucuktan karta giderken
   araya giren komşu kutucuklara değmez, kart kapanmaz. */
.tile__popover { overflow: visible; }
.tile__popover::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
}


/* ==========================================================================
   Modal v2 — köşeli, sade ve ferah görünüm
   Yalnızca renk, çerçeve, köşe ve gölge değişir; yazı boyutları, tablo ve
   yerleşim ölçüleri ile JS davranışı aynı kalır.
   ========================================================================== */
.modal-window {
    border: 0;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(15, 30, 40, .08), 0 44px 96px -24px rgba(6, 15, 20, .6), 0 6px 18px rgba(6, 15, 20, .14);
}

/* Çerçeveler: koyu ağır kenarlık yerine ince, açık gri */
.media-box,
.urun-list,
.spec-price,
.info-card,
.card-grid,
.block--related,
.block--catalog {
    border-color: #d6dee4;
    border-radius: 0;
    box-shadow: none;
}

.media-box { background: #f8fafb; }
.media-box:hover { border-color: rgba(var(--tema-rgb, 189, 1, 1), .45); }

/* Tüm köşeler düz */
.lightbox__model,
.lightbox__close,
.renk-dot,
.btn-pill,
.nav-arrow,
.filter-menu,
.related__arrow,
.related__item,
.catalog-box,
.media-box__zoom-icon,
.price-row,
.price-row__btn,
.stat-card__head,
.stat-card--chem .stat-card__head,
.stat-card__val,
.chem-legend span,
.contact__map iframe,
.block__title::before { border-radius: 0; }

/* Ürün listesi tablosu: yalnızca renk dokunuşları */
.urun-list__head { background: #f4f6f8; border-bottom: 1px solid #e3e9ee; }
.urun-table thead th { background: transparent; }

/* İncele düğmesi köşeli, hover'da kırmızı (boyutlar aynı) */
.btn-pill { background: #aeb9c1; }

/* İlişkili ürünler ve katalog */
.related__item { border-color: #dde3e8; transition: border-color var(--transition), box-shadow var(--transition); }
.related__item:hover { border-color: rgba(var(--tema-rgb, 189, 1, 1), .5); box-shadow: 0 6px 16px -8px rgba(15, 30, 40, .4); }
.catalog-box { transition: background var(--transition); }
.block--catalog:hover { border-color: rgba(var(--tema-rgb, 189, 1, 1), .45); }

/* Ölçü / fiyat satırları */
.price-row { background: #fafbfc; border-color: #e3e9ee; }
.price-row:hover { border-color: rgba(var(--tema-rgb, 189, 1, 1), .35); background: #fff; }

/* Sol/sağ sütun ayırıcı daha sakin */
.seri-modal__left { border-right-color: #e3e9ee; }

/* Modal içi kaydırma çubukları ince ve sade */
.modal-content * { scrollbar-width: thin; scrollbar-color: #c3cdd4 transparent; }


/* ==========================================================================
   Bilgi (?) ve PDF düğmeleri — köşeli, etiketli, durumlu
   ========================================================================== */
.seri-head__tools .icon-btn,
.urun-detail__tools .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #d6dee4;
    border-radius: 0;
    background: #fff;
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}


.icon-btn__ikon { flex: 0 0 auto; }

.icon-btn:hover:not([disabled]) {
    border-color: var(--primary);
    background: var(--tema-softer, #fff5f5);
    box-shadow: 0 4px 12px -6px rgba(var(--tema-rgb, 189, 1, 1), .5);
}

.icon-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Başka bir PDF hazırlanırken ya da bekleme süresinde */
.icon-btn[disabled] { cursor: not-allowed; opacity: .55; }

/* Hazırlanıyor: ikon yerine dönen gösterge */
.icon-btn.is-busy {
    opacity: 1;
    pointer-events: none;
    color: #5c6c75;
    background: #f6f8fa;
    border-color: #d6dee4;
}
.icon-btn.is-busy .icon-btn__ikon { display: none; }
.icon-btn.is-busy::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid var(--tema-border, #e6c9c9);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: pdfSpin .7s linear infinite;
}

/* Hazır: kısa süre yeşil kalır, bu sürede yeniden tıklanamaz */
.icon-btn.is-done {
    opacity: 1;
    color: #1c8a4b;
    border-color: #bfe5cc;
    background: #f1faf4;
}

@keyframes pdfSpin { to { transform: rotate(360deg); } }

.seri-head__title { flex-wrap: nowrap; white-space: nowrap; }


/* Ölçü ve Fiyat Bilgileri: fiyat kademeleri yan yana (3 sütun).
   Kart: üstte adet + tutar, altta tam genişlikte "Sepete Ekle". Yazı boyutları aynı. */
.price-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.price-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    padding: 7px 8px;
}

.price-row__info {
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}

.price-row__btn {
    width: 100%;
    padding: 5px 10px;
    text-align: center;
}

@media (max-width: 900px) {
    .price-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}


/* ==========================================================================
   Geri / kapat göstergeleri: bilgi ekranı ve resim büyütme
   ========================================================================== */
.content-modal--info { flex-direction: column; align-items: stretch; justify-content: flex-start; }

.info-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f6f8fa;
    border-bottom: 1px solid #e3e9ee;
}

.info-bar__title {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    text-align: center;
}

.info-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #d0d9df;
    border-radius: 0;
    background: #fff;
    color: var(--slate);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.info-bar__btn:hover { border-color: var(--primary); color: var(--primary); background: var(--tema-softer, #fff5f5); }

.info-bar__btn--close { margin-left: auto; background: var(--primary); border-color: var(--primary); color: #fff; }
.info-bar__btn--close:hover { background: var(--tema-dark, #960101); border-color: var(--tema-dark, #960101); color: #fff; }

/* Çubukta başlığı ortalamak için kapat düğmesi en sağda, geri varsa solda kalır */
.info-bar__btn + .info-bar__title { margin: 0; }

.info-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

/* Resim büyütme (açık zemin): görünür kapat düğmesi ve ipucu */
#appLightbox .lightbox__close {
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid #d0d9df;
    border-radius: 0;
    background: #fff;
    color: var(--slate);
    font-size: 24px;
    box-shadow: 0 6px 18px -8px rgba(15, 30, 40, .4);
}
#appLightbox .lightbox__close:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

#appLightbox .lightbox__hint {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e3e9ee;
    color: #5c6c75;
    font-size: 12px;
    letter-spacing: .2px;
    pointer-events: none;
}


/* ==========================================================================
   Destek satırı: telefon numarası belirgin (marka kırmızısı etiket + ikon)
   ========================================================================== */
.support-row td,
.sr-support,
.sr-empty__support { color: #6b7a84; }

.support-row td { padding-top: 7px; padding-bottom: 7px; }

.support-row a[href^="tel:"],
.sr-support a[href^="tel:"],
.sr-empty__support a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 3px;
    padding: 3px 11px;
    background: var(--primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-decoration: none;
    vertical-align: middle;
    box-shadow: 0 3px 10px -4px rgba(var(--tema-rgb, 189, 1, 1), .55);
    transition: background var(--transition), box-shadow var(--transition);
}

.support-row a[href^="tel:"]::before,
.sr-support a[href^="tel:"]::before,
.sr-empty__support a[href^="tel:"]::before {
    content: "";
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.support-row a[href^="tel:"]:hover,
.sr-support a[href^="tel:"]:hover,
.sr-empty__support a[href^="tel:"]:hover {
    background: var(--tema-dark, #960101);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 5px 14px -4px rgba(var(--tema-rgb, 189, 1, 1), .65);
}

/* E-posta sade ama okunur kalır */
.support-row a[href^="mailto:"],
.sr-support a[href^="mailto:"] { color: #34454e; font-weight: 600; }
.support-row a[href^="mailto:"]:hover,
.sr-support a[href^="mailto:"]:hover { color: var(--primary); }


/* ==========================================================================
   Modal gezinme okları (beyaz kutu + kırmızı ok) ve kapat düğmesi
   ========================================================================== */
.modal-sidenav__btn {
    width: 36px;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .55);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.modal-sidenav__btn--prev { left: -46px; }
.modal-sidenav__btn--next { right: -46px; }

.modal-sidenav__btn svg { display: block; width: 20px; height: 20px; transition: transform var(--transition); }

.modal-sidenav__btn:hover:not([disabled]) {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 34px -8px rgba(var(--tema-rgb, 189, 1, 1), .6);
}
.modal-sidenav__btn--prev:hover:not([disabled]) svg { transform: translateX(-3px); }
.modal-sidenav__btn--next:hover:not([disabled]) svg { transform: translateX(3px); }

.modal-sidenav__btn:active:not([disabled]) { transform: translateY(-50%) scale(.97); }
.modal-sidenav__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* İlk/son seri: sönük, tıklanamaz */
.modal-sidenav__btn[disabled] {
    opacity: 1;
    background: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .6);
    box-shadow: none;
    cursor: not-allowed;
}

.modal-close svg {
    display: block;
    overflow: visible;
    filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, .95)) drop-shadow(0 6px 10px rgba(0, 0, 0, .4));
    transition: transform .18s ease, filter .18s ease;
}

/* Kapat: yalnızca büyük kırmızı çarpı */
.modal-close {
    width: 52px;
    height: 52px;
    padding: 0;
    gap: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--primary);
    box-shadow: none;
    transition: color var(--transition);
}

.modal-close svg { width: 38px; height: 38px; }
.modal-close:hover { color: #d61414; }
.modal-close:hover svg {
    transform: rotate(90deg) scale(1.08);
    filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 1)) drop-shadow(0 8px 16px rgba(var(--tema-rgb, 189, 1, 1), .55));
}
.modal-close:active svg { transform: rotate(90deg) scale(.94); }
.modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 0; }



/* ==========================================================================
   Sepet modalı v2 — köşeli, sade, şık (işlevler ve yazı boyutları aynı)
   ========================================================================== */
.content-modal--cart .content-modal__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    border-bottom: 1px solid #e3e9ee;
    padding: 2px 2px 10px;
    margin-bottom: 12px;
}

.content-modal--cart .content-modal__head h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--slate);
}

.cart-head__sayi {
    padding: 4px 11px;
    background: #f6f8fa;
    border: 1px solid #e3e9ee;
    color: #43535c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.cart-list { gap: 10px; padding-right: 8px; }

/* Ürün kartı */
.cart-item {
    position: relative;
    padding: 12px 14px 12px 16px;
    border: 1px solid #dde4ea;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 30, 40, .04);
}
.cart-item::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    width: 3px;
    background: transparent;
    transition: background var(--transition);
}
.cart-item:hover { border-color: #cfd9e0; box-shadow: 0 10px 26px -16px rgba(15, 30, 40, .5); }
.cart-item:hover::before { background: var(--primary); }

.cart-item__main { grid-template-columns: 58px 1fr auto auto 28px; gap: 14px; }

.cart-item__thumb {
    width: 58px;
    height: 58px;
    border: 1px solid #e1e7ec;
    border-radius: 0;
    background: #f6f8fa;
}
.cart-item__thumb:hover { border-color: var(--primary); box-shadow: none; }
.cart-item__thumb--yok { border-style: dashed; }

.cart-item__link { font-size: 13px; }

.cart-olcu {
    padding: 2px 7px;
    border-radius: 0;
    background: #f3f6f8;
    border: 1px solid #e1e7ec;
}

.cart-item__renk { border-radius: 0; }

.cart-item__qty { color: #5c6c75; }
.cart-item__total { font-size: 14px; }

.cart-item__breakdown { border-top: 1px solid #edf1f4; margin-top: 10px; padding-top: 10px; gap: 3px; }

/* Kademe satırları */
.cart-kalem { border-radius: 0; padding: 4px 8px; }
.cart-kalem:nth-child(odd) { background: #f7f9fb; }
.cart-kalem--kismi { background: #fff7e8; }

.cart-step {
    width: 22px;
    height: 22px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #d3dce3;
    color: #33454e;
}
.cart-step:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.cart-kalem__input { border-radius: 0; border-color: #d3dce3; height: 22px; }
.cart-kalem__input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--tema-rgb, 189, 1, 1), .12); }

/* Silme düğmeleri: köşeli, kırmızıya döner */
.cart-kalem__sil,
.cart-remove {
    border-radius: 0;
    color: #9aa7b0;
}
.cart-remove { width: 26px; height: 26px; font-size: 18px; border: 1px solid transparent; }
.cart-kalem__sil:hover,
.cart-remove:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Alt çubuk: toplam + eylemler */
.cart-foot {
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid #dde4ea;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    background: linear-gradient(180deg, #ffffff, #f6f8fa);
    box-shadow: 0 14px 30px -20px rgba(15, 30, 40, .55);
}
.cart-total { font-size: 24px; }
.cart-total::after { border-radius: 0; }

.cart-act {
    border-radius: 0;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: .02em;
}

.cart-act--ghost { background: #fff; border: 1px solid #d3dce3; color: #43535c; }
.cart-act--ghost:hover { background: var(--tema-softer, #fff5f5); border-color: var(--primary); color: var(--primary); }

.cart-act--primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; font-size: 12.5px; font-weight: 700; }
.cart-act--primary:hover { background: var(--tema-dark, #960101); }
.cart-act__ok {
    width: 14px;
    height: 14px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--transition);
}
.cart-act--primary:hover .cart-act__ok { transform: translateX(3px); }

/* Boş sepet */
.cart-empty { flex-direction: column; gap: 6px; }
.cart-empty strong { font-size: 16px; color: var(--slate); }
.cart-empty__ikon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    background: var(--primary);
    opacity: .9;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.3 12.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.3 12.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Ürün bilgisi yükleniyor göstergesi (sağ panel) */
.urun-yukleme {
    flex: 1 1 auto;
    min-height: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #5c6c75;
    animation: urunYuklemeGir .18s ease;
}

.urun-yukleme__spin {
    width: 38px;
    height: 38px;
    border: 3px solid var(--tema-border, #f0d3d3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: urunYuklemeDon .8s linear infinite;
}

.urun-yukleme__metin {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

/* 1 saniyede dolan ince ilerleme çubuğu */
.urun-yukleme__cubuk {
    width: 150px;
    height: 3px;
    background: #e8edf1;
    overflow: hidden;
}

.urun-yukleme__cubuk i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--primary);
    transform-origin: left;
    animation: urunYuklemeDolum 1s linear forwards;
}

@keyframes urunYuklemeDon { to { transform: rotate(360deg); } }
@keyframes urunYuklemeDolum { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes urunYuklemeGir { from { opacity: 0; } to { opacity: 1; } }


/* Ölçü ve Fiyat Bilgileri: önceki / sonraki ürün — mini, soft düğmeler */
.nav-arrow {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #e6ebf0;
    border-radius: 0;
    background: #f6f8fa;
    color: var(--primary);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-arrow svg { display: block; transition: transform var(--transition); }

.nav-arrow:hover:not(:disabled) {
    background: var(--tema-softer, #fdf0f0);
    border-color: var(--tema-border, #f0c9c9);
    color: var(--tema-dark, #960101);
}
.nav-arrow--prev:hover:not(:disabled) svg { transform: translateX(-1px); }
.nav-arrow--next:hover:not(:disabled) svg { transform: translateX(1px); }
.nav-arrow:active:not(:disabled) { background: var(--tema-soft, #fbe3e3); }
.nav-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

/* İlk/son ürün: sönük */
.nav-arrow:disabled { cursor: default; color: #b7c2ca; background: #f8fafb; border-color: #eef2f5; opacity: .75; }


/* İlişkili Ürünler carousel: tam ürünler görünür, mini soft oklar, köşeli kutular */
.related { justify-content: center; gap: 4px; }

.related__track {
    flex: 0 0 auto;           /* genişliği JS (fitRelated) tam ürün sayısına göre verir */
    padding: 2px;
    gap: 9px;
}

.related__item {
    border-radius: 0;
    border-color: #dde3e8;
}

.related__arrow {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #e6ebf0;
    border-radius: 0;
    background: #f6f8fa;
    color: var(--primary);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.related__arrow svg { display: block; transition: transform var(--transition); }
.related__arrow:hover { background: var(--tema-softer, #fdf0f0); border-color: var(--tema-border, #f0c9c9); color: var(--tema-dark, #960101); }
.related__arrow[data-related-prev]:hover svg { transform: translateX(-1px); }
.related__arrow[data-related-next]:hover svg { transform: translateX(1px); }
.related__arrow:active { background: var(--tema-soft, #fbe3e3); }
.related__arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }


/* Destek satırı: telefon etiketi kompakt */
.support-row td { padding-top: 5px; padding-bottom: 5px; }

.support-row a[href^="tel:"],
.sr-support a[href^="tel:"],
.sr-empty__support a[href^="tel:"] {
    gap: 4px;
    margin: 0 2px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    box-shadow: none;
}

.support-row a[href^="tel:"]::before,
.sr-support a[href^="tel:"]::before,
.sr-empty__support a[href^="tel:"]::before {
    width: 10px;
    height: 10px;
}

.support-row a[href^="tel:"]:hover,
.sr-support a[href^="tel:"]:hover,
.sr-empty__support a[href^="tel:"]:hover { box-shadow: none; }


/* ==========================================================================
   Sepet modalı: dar pencere + yumuşak hover
   ========================================================================== */
.modal-root.is-cart .modal-window {
    width: min(760px, calc(100vw - 40px));
    height: auto;
    max-height: min(84vh, 720px);
}
.modal-root.is-cart .modal-content { flex: 0 1 auto; }

/* Ürün kartı hover: sadece çok hafif ton farkı (gölge ve kırmızı çubuk yok) */
.cart-item { transition: background var(--transition), border-color var(--transition); }
.cart-item:hover { background: #fbfcfd; border-color: #ccd6de; box-shadow: 0 1px 2px rgba(15, 30, 40, .04); }
.cart-item:hover::before { background: transparent; }

.cart-item__thumb:hover { border-color: #d9a9a9; }
.cart-item__link:hover { color: var(--primary); text-decoration: none; }

/* Düğmelerde hover: dolu kırmızı yerine yumuşak pembe */
.cart-step:hover { background: var(--tema-softer, #fdf0f0); border-color: var(--tema-border, #f0c9c9); color: var(--primary); }
.cart-kalem__sil:hover,
.cart-remove:hover { background: var(--tema-softer, #fdf0f0); border-color: var(--tema-border, #f0c9c9); color: var(--primary); }
.cart-kalem { transition: background var(--transition); }
.cart-kalem:hover { background: #f1f5f8; }


/* ==========================================================================
   Arama v2 — köşeli arama alanı, düzenli sonuç paneli, 5 sonuçta bir destek şeridi
   (Not: .tile üzerinde transform/z-index/filter kullanılmaz; bu blok yalnızca arama.)
   ========================================================================== */
.search-form {
    gap: 10px;
    padding: 0 6px 0 13px;
    height: 38px;
    background: #f3f6f8;
    border: 1px solid #dfe6ec;
    border-radius: 0;
    box-shadow: none;
}
.search-form:hover { border-color: #c9d3db; background: #f7f9fb; }
.header-search.is-active .search-form {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--tema-rgb, 189, 1, 1), .1), 0 12px 26px -14px rgba(15, 30, 40, .5);
}
.search-icon { width: 16px; height: 16px; }
.search-input { font-size: 13.5px; height: 100%; }
.search-clear { width: 26px; height: 26px; border-radius: 0; }
.search-clear:hover { background: var(--tema-soft, #fdecec); }

/* Sonuç paneli */
.search-results {
    border-radius: 0;
    border: 1px solid #d9e1e7;
    border-top: 3px solid var(--primary);
    box-shadow: 0 28px 60px -20px rgba(6, 15, 20, .45), 0 4px 14px rgba(6, 15, 20, .08);
}
.sr-head {
    gap: 12px; padding: 10px 14px 10px 16px; border-radius: 0;
    background: #fff; border-bottom: 1px solid #e6ecf0; color: #6b7a84; font-size: 12.5px;
}
.sr-head__logo { height: 18px; }
.sr-head__text b { color: var(--primary); font-size: 14px; margin-right: 2px; }
.sr-head__q {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: #1d2c34; font-weight: 600; max-width: 22ch;
    padding-left: 12px; border-left: 1px solid #dde4e9;
}
.sr-head__tel {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    color: #34454e; font-weight: 600; font-size: 12px; white-space: nowrap;
}
.sr-head__tel::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1c8a4b;
    box-shadow: 0 0 0 3px rgba(28, 138, 75, .15);
}
.sr-head__tel:hover { color: var(--primary); }
.sr-head__close { margin-left: 0; width: 28px; height: 28px; border-radius: 0; font-size: 20px; }
.sr-head__logo + .sr-head__text:last-of-type { margin-right: auto; }

.sr-body { padding: 0; background: #fff; }
.sr-list { padding: 0; }

/* Ürün satırları */
.sr-item {
    position: relative; gap: 18px; padding: 11px 16px 11px 18px;
    border-radius: 0; border-bottom: 1px solid #eef2f5; background: #fff;
}
.sr-item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--primary); transform: scaleY(0); transition: transform .14s ease;
}
.sr-item:hover, .sr-item.is-first-result { background: var(--tema-softer, #fdf5f5); color: inherit; }
.sr-item:hover::before, .sr-item.is-first-result::before { transform: scaleY(1); }
.sr-item__code { min-width: 150px; font-size: 14px; color: #1d2c34; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sr-item:hover .sr-item__code, .sr-item.is-first-result .sr-item__code { color: var(--primary); }
.sr-item__specs { display: grid; grid-template-columns: repeat(6, 66px); gap: 5px; }
.sr-item__spec {
    display: flex; align-items: baseline; gap: 4px; padding: 2px 8px;
    background: #f3f6f8; font-size: 12px; color: #34454e; font-variant-numeric: tabular-nums;
}
.sr-item__spec b { margin: 0; font-size: 11px; font-weight: 700; color: #97a4ad; }
.sr-item:hover .sr-item__spec, .sr-item.is-first-result .sr-item__spec { background: #fff; }
.sr-item__go { margin-left: auto; color: #b5c0c7; font-size: 22px; line-height: 1; transition: color .14s, transform .14s; }
.sr-item:hover .sr-item__go, .sr-item.is-first-result .sr-item__go { color: var(--primary); transform: translateX(3px); }

/* Seri özeti ve seri sonuçları */
.sr-serie {
    border-radius: 0; padding: 14px 18px; background: #fafbfc;
    border-bottom: 1px solid #e6ecf0; gap: 8px 16px; grid-template-columns: 104px 1fr;
}
.sr-serie:hover, .sr-serie.is-first-result { background: var(--tema-softer, #fdf5f5); }
.sr-serie__title { font-size: 15px; }
.sr-serie__media img { width: 104px; height: 104px; border-radius: 0; box-shadow: none; border: 1px solid #e6ecf0; }
.sr-serie__desc {
    font-size: 12.5px; max-height: none; color: #5d6b73;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.sr-serie--row { width: 100%; text-align: left; border-bottom: 1px solid #eef2f5; position: relative; }
.sr-serie--row::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--primary); transform: scaleY(0); transition: transform .14s ease;
}
.sr-serie--row:hover::before, .sr-serie--row.is-first-result::before { transform: scaleY(1); }
.sr-serie--row { background: #fff; }

/* Destek şeridi (5 sonuçta bir) */
.sr-support {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
    padding: 9px 16px; font-size: 12px; color: #6b7a84; text-align: center;
    background: var(--tema-softer, #fcf6f6);
    border-top: 1px dashed #e3caca; border-bottom: 1px dashed #e3caca;
}
.sr-support__t { font-weight: 600; color: #4d5d66; }
.sr-support a[href^="tel:"] { margin: 0; padding: 3px 10px; font-size: 12px; }
.sr-support a[href^="tel:"]::before { width: 11px; height: 11px; }
.sr-support a[href^="mailto:"] { font-size: 12px; }

/* Boş sonuç */
.sr-empty { padding: 44px 24px 36px; }
.sr-empty h4 { font-size: 17px; margin: 0 0 4px; }
.sr-empty__support {
    margin-top: 20px; padding: 14px 22px; border: 1px dashed #e3caca; background: var(--tema-softer, #fbf4f4); line-height: 1.9;
}


/* ==========================================================================
   Alt bant: ödeme logoları + sözleşmeler (PayTR gereksinimi) — kompakt
   ========================================================================== */
.footer-tagline { flex: 0 0 auto; max-width: none; min-width: 0; white-space: nowrap; }
.footer-contact { white-space: nowrap; }
.footer-copy {
    flex: 0 0 auto; max-width: none; min-width: 0;
    display: flex; align-items: center; justify-content: flex-end; gap: 12px; white-space: nowrap;
}
.footer-copy__txt { opacity: .9; }
.footer-copy .footer-mobile { margin-left: 0; }

.footer-pay { display: inline-flex; align-items: center; gap: 4px; }
.pay-logo {
    display: inline-flex; align-items: center; justify-content: center;
    height: 22px; padding: 0 3px; background: #fff; line-height: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .22);
}
.pay-logo svg { height: 16px; width: auto; display: block; }
.pay-logo--paytr { padding: 0 5px; }
.pay-logo--paytr svg { height: 18px; }
.pay-logo--img img { height: 16px; width: auto; display: block; }

.footer-yasal { position: relative; display: inline-flex; }
.footer-yasal__btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 24px; padding: 0 11px; color: #fff; font-size: 11.5px; font-weight: 600; cursor: pointer;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
    transition: background var(--transition);
}
.footer-yasal__btn:hover, .footer-yasal__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .26); }
.footer-yasal__btn svg { transition: transform .15s; }
.footer-yasal__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.footer-yasal__menu {
    position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 1100;
    min-width: 270px; display: flex; flex-direction: column; text-align: left;
    background: #fff; color: #1d2c34; border: 1px solid #d9e1e7; border-top: 3px solid var(--primary);
    box-shadow: 0 -14px 40px -12px rgba(6, 15, 20, .45);
}
.footer-yasal__menu[hidden] { display: none; }
.footer-yasal__menu a {
    padding: 10px 16px; font-size: 12.5px; font-weight: 500; color: #34454e;
    border-bottom: 1px solid #eef2f5; text-decoration: none;
}
.footer-yasal__menu a:last-child { border-bottom: 0; }
.footer-yasal__menu a:hover { background: var(--tema-softer, #fdf5f5); color: var(--primary); }
@media (max-width: 1450px) { .footer-copy__txt { display: none; } }

/* Yasal metin (modal) */
.yasal-sekmeler { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.yasal-sekme {
    padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: #4d5d66; background: #f3f6f8;
    border: 1px solid #dfe6ec; cursor: pointer; text-decoration: none;
}
.yasal-sekme:hover { border-color: var(--primary); color: var(--primary); }
.yasal-sekme.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.yasal-metin {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 10px 14px 2px;
    font-size: 13.5px; line-height: 1.65; color: #34454e;
    scrollbar-width: thin; scrollbar-color: #c9d2d8 transparent;
}
.yasal-metin h3 { margin: 18px 0 6px; font-size: 14.5px; color: #1d2c34; }
.yasal-metin h3:first-child { margin-top: 0; }
.yasal-metin p { margin: 0 0 10px; }
.yasal-metin ul, .yasal-metin ol { margin: 0 0 10px; padding-left: 20px; }
.yasal-metin li { margin-bottom: 4px; list-style: disc; }
.yasal-metin ol li { list-style: decimal; }


/* Tema: kırmızı resim dosyaları (logo, menü simgesi, kutucuk simgeleri) tema rengine yaklaştırılır */
.logo-link img, .modal-logo img, .contact__logo, .about__logo { filter: var(--logo-filter, var(--tema-filter, none)); }
.menu-img,
.tile__img[src*="skonto"], .tile__img[src*="katalog"], .tile__img[src*="whatsapp"] { filter: var(--tema-filter, none); }


/* ==========================================================================
   İçerik modalları v2 — Hakkımızda / İletişim / Diğer / İndirimler (köşeli, temaya uyumlu)
   ========================================================================== */
.content-modal__head {
    position: relative; text-align: left; border-bottom: 1px solid #e3e9ee;
    padding: 2px 0 12px; margin-bottom: 16px;
}
.content-modal__head::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--primary);
}
.content-modal__head h1 { font-size: 22px; font-weight: 700; letter-spacing: .01em; color: #1d2c34; margin: 0; }
.content-modal__body { padding-right: 10px; }

/* Hakkımızda: marka şeridi */
.sayfa-hero {
    display: flex; align-items: center; gap: 22px; padding: 18px 22px; margin-bottom: 18px;
    background: var(--tema-softer, #fdf5f5); border: 1px solid var(--tema-border, #f0c9c9); border-left: 4px solid var(--primary);
}
.sayfa-hero__logo { width: 170px; max-width: 38%; height: auto; display: block; filter: var(--logo-filter, var(--tema-filter, none)); }
.sayfa-hero__metin { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sayfa-hero__metin b { font-size: 15px; color: #1d2c34; line-height: 1.3; }
.sayfa-hero__metin span { font-size: 13.5px; color: var(--primary); font-weight: 600; }

/* İçerik tipografisi (yönetim panelinden gelen metinler) */
.sayfa-icerik { font-size: 14px; line-height: 1.7; color: #34454e; }
.sayfa-icerik .lead { font-size: 16px; line-height: 1.65; color: #1d2c34; }
.sayfa-icerik h3, .sayfa-icerik h4 { margin: 20px 0 8px; font-size: 15.5px; color: #1d2c34; display: flex; align-items: center; gap: 9px; }
.sayfa-icerik h3::before, .sayfa-icerik h4::before { content: ""; width: 4px; height: 15px; background: var(--primary); flex: 0 0 auto; }
.sayfa-icerik h3:first-child, .sayfa-icerik h4:first-child { margin-top: 0; }
.sayfa-icerik p { margin: 0 0 12px; }
.sayfa-icerik ul, .sayfa-icerik ol { margin: 0 0 14px; padding-left: 22px; }
.sayfa-icerik li { margin-bottom: 5px; list-style: disc; }
.sayfa-icerik li::marker { color: var(--primary); }
.sayfa-icerik ol li { list-style: decimal; }
.sayfa-icerik a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.sayfa-icerik .text-section { padding: 0 0 14px; border-bottom: 1px solid #e3e9ee; margin-bottom: 16px; }
.sayfa-icerik .text-section:last-child { border-bottom: 0; }
.sayfa-icerik .text-section h5 { font-size: 16px; margin: 0 0 10px; color: #1d2c34; display: flex; align-items: center; gap: 9px; }
.sayfa-icerik .text-section h5::before { content: ""; width: 4px; height: 16px; background: var(--primary); }
.sayfa-icerik .text-section p { font-size: 13.5px; line-height: 1.6; }
.sayfa-icerik .text-section__center { text-align: center; }
.sayfa-icerik .table-wrap { overflow-x: auto; margin: 8px 0 14px; }
.sayfa-icerik .kvkk-table, .sayfa-icerik table { border-collapse: collapse; width: 100%; font-size: 12px; }
.sayfa-icerik th, .sayfa-icerik td { border: 1px solid #dfe6ec; padding: 7px 9px; text-align: left; vertical-align: top; }
.sayfa-icerik thead th, .sayfa-icerik th { background: var(--tema-softer, #f4f6f8); color: #1d2c34; font-weight: 700; }

/* Belgeler: kart ızgarası */
.doc-section { border-bottom: 0; padding: 4px 0 6px; margin-bottom: 6px; }
.doc-section h5 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 9px; color: #1d2c34; }
.doc-section h5::before { content: ""; width: 4px; height: 15px; background: var(--primary); }
.doc-grid { gap: 12px; padding-left: 0; }
.doc-item {
    width: 132px; padding: 14px 8px 12px; border: 1px solid #e3e9ee; background: #fff;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.doc-item:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 10px 22px -14px rgba(15, 30, 40, .5); }
.doc-item img { height: 54px; padding-bottom: 10px; }
.doc-item h6 { font-size: 12px; font-weight: 600; color: #34454e; line-height: 1.3; }

/* Destek şeridi */
.support-block {
    margin-top: 10px; padding: 14px 16px; background: #f7f9fb; border: 1px solid #e3e9ee; border-left: 4px solid var(--primary);
    text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
}
.support-block h4 { margin: 0; font-size: 13.5px; }
.support-block p { margin: 0; }
.support-block a { font-weight: 600; color: #1d2c34; }

/* İletişim */
.iletisim {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: 20px;
    padding-right: 8px; scrollbar-width: thin; scrollbar-color: #c9d2d8 transparent; align-items: start;
}
.iletisim__harita { border: 1px solid #dfe6ec; background: #eef2f5; height: clamp(300px, 56vh, 520px); position: sticky; top: 0; }
.iletisim__harita iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 0; }
.iletisim__marka { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e3e9ee; }
.iletisim__marka .contact__logo { width: 120px; max-width: 34%; margin: 0; }
.iletisim__marka h3 { margin: 0; text-align: left; font-size: 15px; line-height: 1.35; color: #1d2c34; font-weight: 700; }
.iletisim__kartlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ikart {
    display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; background: #fff; border: 1px solid #e3e9ee; color: inherit; text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.ikart:hover { border-color: var(--primary); box-shadow: 0 10px 22px -16px rgba(15, 30, 40, .5); }
.ikart__ikon {
    flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: var(--tema-soft, #fdecec); color: var(--primary);
}
.ikart__metin { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ikart__metin small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8896a0; }
.ikart__metin b { font-size: 13.5px; line-height: 1.4; color: #1d2c34; overflow-wrap: anywhere; }
.ikart__metin em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--primary); margin-top: 2px; }
.iletisim__saat { display: flex; gap: 12px; margin-top: 10px; padding: 13px 14px; background: #f7f9fb; border: 1px solid #e3e9ee; }
.iletisim__saat small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8896a0; margin-bottom: 4px; }
.iletisim__saat > div > div { display: flex; gap: 14px; font-size: 13px; line-height: 1.7; }
.iletisim__saat > div > div span { min-width: 84px; color: #5d6b73; }
.iletisim__ek { margin-top: 14px; }
.iletisim__vergi { margin: 14px 0 0; font-size: 12px; color: #8896a0; }
@media (max-width: 1100px) { .iletisim { grid-template-columns: 1fr; } .iletisim__harita { position: static; height: 300px; } }

/* Hamburger menü: sade, köşeli */
.menu-dropdown { border-radius: 0; }
.menu-item { transition: background .14s, color .14s, padding-left .14s; }
.menu-item:hover { padding-left: 20px; }


/* ------------------------------ Yeniden boyutlandırma ekranı */
.resize-overlay {
    position: fixed;
    inset: 0;
    z-index: 1650;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(900px 480px at 50% 40%, #ffffff 0%, #f3f6f9 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility 0s linear .18s;
}
.resize-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .12s ease;
}
.resize-overlay__box { max-width: 380px; padding: 0 24px; color: var(--muted, #6b7a84); }
.resize-overlay__box p { margin: 16px 0 6px; font-size: 16px; font-weight: 600; color: var(--dark, #2b3a42); }
.resize-overlay__box small { font-size: 12.5px; }
.resize-overlay__spin {
    display: block;
    width: 38px;
    height: 38px;
    margin: 0 auto;
    border: 3px solid #e4e9ee;
    border-top-color: var(--primary, #bd0101);
    border-radius: 50%;
    animation: resize-don .8s linear infinite;
}
@keyframes resize-don { to { transform: rotate(360deg); } }


/* ==========================================================================
   Vitrin stil parametreleri (Admin → Ayarlar → Vitrin & Alt Bant)
   Değişkenler Tema::vitrinDegiskenleri() ile <head> içine basılır; tanımsızsa
   aşağıdaki varsayılanlar (tema rengi) geçerli olur.
   ========================================================================== */
.site-header { box-shadow: var(--vt-ust-golge, 0 1px 0 rgba(15, 30, 40, .06), 0 10px 26px -16px rgba(15, 30, 40, .32)); }

.site-main { background: var(--vt-arka, linear-gradient(180deg, #f6f8fa 0%, #f0f3f6 100%)); }

.tile {
    border-width: var(--vt-kutu-px, 1px);
    border-style: solid;
    border-color: var(--vt-kutu-renk, #e6ecf1);
}
.tile:hover { border-color: var(--vt-kutu-hover, rgba(var(--tema-rgb, 189, 1, 1), .55)); }

.tile__overlay { background: var(--vt-overlay-kutu, linear-gradient(155deg, rgba(201, 22, 22, .93) 0%, rgba(var(--tema-dark-rgb, 147, 1, 1), .92) 100%)); }
.related__overlay { background: var(--vt-overlay-ilgili, var(--primary-soft)); }
.media-box__label { background: var(--vt-overlay-medya, var(--primary-soft)); }
.tile--action { border-color: var(--tema-border, #f3dcdc); }
.tile--action:hover { border-color: var(--vt-kutu-hover, rgba(var(--tema-rgb, 189, 1, 1), .55)); }

.modal-backdrop { background: var(--vt-modal-perde, rgba(14, 22, 28, .62)); -webkit-backdrop-filter: blur(var(--vt-modal-blur, 10px)); backdrop-filter: blur(var(--vt-modal-blur, 10px)); }

/* Açık (seçili) ürünün satırı: İncele düğmesi ve yazı kırmızı kalır */
.urun-row.is-secili td { color: var(--primary); font-weight: 700; }
.urun-row.is-secili .btn-pill { background: var(--primary); border-color: var(--primary); font-weight: 700; }

/* Destek satırı: telefon numarası zemin/ikon olmadan, kırmızı kalın yazı */
.support-row a[href^="tel:"],
.sr-support a[href^="tel:"],
.sr-empty__support a[href^="tel:"] {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    color: var(--primary);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
}
.support-row a[href^="tel:"]::before,
.sr-support a[href^="tel:"]::before,
.sr-empty__support a[href^="tel:"]::before { content: none; display: none; }
.support-row a[href^="tel:"]:hover,
.sr-support a[href^="tel:"]:hover,
.sr-empty__support a[href^="tel:"]:hover { background: none; color: var(--tema-dark, #960101); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   Yılşen: kendi ikonlarımız (assets/images/yilsen/) zaten tema renginde
   üretildiği için tema renk filtresi uygulanmaz.
   ------------------------------------------------------------------ */
.tile__img[src*="yilsen/"],
.menu-quick__link img[src*="yilsen/"] { filter: none !important; }
