:root{--store-surface:#fff;--store-muted-surface:#f4f6f8;--store-text:#263344;--store-muted:#677484}
body.dark{--store-surface:#2d313e;--store-muted-surface:#22252f;--store-text:#f2f4fa;--store-muted:#c0c7d6;--store-border:#494e5d;--store-link:#a6caff;color:var(--store-text);background:var(--store-muted-surface);color-scheme:dark}
.stories-divider{background:linear-gradient(90deg,var(--store-accent,#3474d4),color-mix(in srgb,var(--store-accent,#3474d4) 15%,var(--store-surface)),var(--store-accent,#3474d4));box-shadow:0 5px 14px color-mix(in srgb,var(--store-accent,#3474d4) 12%,transparent)}
.store-story,.store-story:visited{color:var(--store-text)}.store-story:hover,.store-story:focus-visible{color:var(--store-accent,#3474d4)}.story-ring img{border-color:var(--store-surface)}
.header-top-message{display:block;padding:0;border-radius:0;background:none!important;box-shadow:none!important;animation:none!important;transform:none;opacity:1;color:var(--store-muted);font-size:13px;white-space:normal}
.header-top-message:before{display:none;animation:none}.header-top-message span{color:var(--store-text);padding-right:5px;font-weight:600}
.compact-slider .ec-slide-item{background:var(--store-muted-surface)}.compact-slider .slide-title{color:var(--store-text)}.compact-slider .slide-description{color:var(--store-muted)}.compact-slider .slide-eyebrow{color:var(--store-accent,#3474d4)}.compact-slider .slide-copy .btn-primary{background:var(--store-accent,#3474d4);border-color:var(--store-accent,#3474d4);color:white}
.header-top-lan-curr a,.header-top-lan-curr .social-unlinked{color:var(--store-accent,#3474d4)}
body.dark .story-page{background:var(--store-muted-surface);color:var(--store-text)}body.dark .story-kart .story-paper{background:var(--store-surface);border-color:#494e5d}body.dark .story-copy h1,body.dark .story-content h2,body.dark .story-content h3{color:var(--store-text)}body.dark .story-subtitle{color:var(--store-muted)}
@media(min-width:992px){.header-top-message{white-space:nowrap;font-size:12px}}@media(max-width:575px){.header-top-message{font-size:10px}}
.home-wide-ad{margin:24px auto 40px}.home-wide-ad a{display:block;border-radius:14px;overflow:hidden}.home-wide-ad img{display:block;width:100%;height:clamp(90px,15vw,180px);object-fit:cover}
.category-sidebar .cat-sidebar{background:var(--store-surface);color:var(--store-text)}
/* Ortak üst menü, sayfanın demo1/style seçimine bağlı olmadan çekmece olarak çalışır. */
body .category-sidebar{position:fixed;inset:0 auto 0 0;z-index:1000;display:block;width:min(350px,calc(100vw - 24px));max-width:none;height:100%;margin:0;padding:30px;overflow:auto;overscroll-behavior:contain;background:var(--store-surface);color:var(--store-text);font-size:14px;transform:translateX(-100%);visibility:hidden;pointer-events:none;transition:transform .3s ease,visibility 0s .3s}
body .category-sidebar.ec-open{transform:translateX(0);visibility:visible;pointer-events:auto;transition:transform .3s ease,visibility 0s}
body .ec-side-cat-overlay{display:none;position:fixed;inset:0;z-index:999;width:100%;height:100%;background:rgba(0,0,0,.5)}
.category-sidebar .ec-sidebar-wrap{padding:0;border:0}.category-sidebar .ec-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:20px;color:var(--store-text)}.category-sidebar .ec-sidebar-title .ec-close{position:static;display:block;flex-shrink:0;width:32px;height:32px;padding:0;border:0;background:transparent;color:var(--store-text);font-size:28px;line-height:1;cursor:pointer}
@media(max-width:575px){body .category-sidebar{width:min(320px,calc(100vw - 24px));padding:22px}}@media(prefers-reduced-motion:reduce){body .category-sidebar,body .category-sidebar.ec-open{transition:none}}
.category-sidebar .category-welcome{padding:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--store-accent,#3474d4) 16%,var(--store-surface)),var(--store-muted-surface));border-radius:12px;margin:15px 0}
.category-welcome>span{font-size:10px;letter-spacing:3px;color:var(--store-accent,#3474d4)}.category-sidebar .category-welcome h4{font-size:19px;color:var(--store-text);margin-top:10px}.category-welcome p{font-size:12px;color:var(--store-muted);margin-bottom:0}
.category-search{display:flex;gap:6px;margin-bottom:14px}.category-search input{min-width:0;width:100%;padding:10px;border:1px solid color-mix(in srgb,var(--store-text) 20%,transparent);border-radius:8px;background:var(--store-muted-surface);color:var(--store-text)}.category-search button{background:var(--store-accent,#3474d4);color:white;padding:0 14px;border-radius:8px;font-size:24px}
.category-account{display:grid;grid-template-columns:1fr 1fr;gap:8px}.category-account a{padding:10px;background:var(--store-muted-surface);border-radius:8px;font-size:12px;color:var(--store-text)}.category-account a:hover{color:var(--store-accent,#3474d4)}.category-sidebar .category-heading{font-size:13px;color:var(--store-muted);margin:24px 0 12px}.category-sidebar .ec-sidebar-sub-item a{display:flex!important;justify-content:space-between;gap:8px;padding:13px 10px!important;border-bottom:1px solid color-mix(in srgb,var(--store-text) 12%,transparent);color:var(--store-text)!important}.category-sidebar .ec-sidebar-sub-item span{font-size:11px;color:var(--store-muted)}
body .ec-tools-sidebar{position:fixed;right:-260px;top:0;width:260px;height:100%;z-index:1201;background:var(--store-surface);color:var(--store-text);transition:right .25s ease;box-shadow:-6px 0 24px #0001}
body .ec-tools-sidebar.theme-panel-open{right:0}body .ec-tools-sidebar-overlay{position:fixed;inset:0;z-index:1200;background:#0006;display:none}body .ec-tools-sidebar-overlay.theme-panel-open{display:block}
body .ec-tools-sidebar .ec-tools-detail{height:calc(100% - 65px);overflow:auto;overscroll-behavior:contain}body .ec-tools-sidebar .tool-title,body .ec-tools-sidebar .ec-tools-sidebar-content{background:var(--store-surface);border-color:color-mix(in srgb,var(--store-text) 15%,transparent)}body .ec-tools-sidebar h3{color:var(--store-text)}body .ec-tools-sidebar .ec-tools-sidebar-toggle{left:-40px;right:auto;width:40px;z-index:1}
.social-login{width:100%;margin-bottom:20px}.social-login form{display:block!important;margin:0 0 10px!important;padding:0!important}.social-login-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;width:100%;padding:10px 15px;border:1px solid color-mix(in srgb,var(--store-text) 22%,transparent);border-radius:9px;background:var(--store-surface);color:var(--store-text);font-size:14px;font-weight:500;cursor:pointer}.social-login-button:hover{background:var(--store-muted-surface);border-color:var(--store-accent,#3474d4)}.social-login-button:disabled{cursor:not-allowed;opacity:.6}.social-login-button svg{width:20px;height:20px;flex-shrink:0}.social-login-button small{font-size:10px;color:var(--store-muted)}.social-login p{font-size:11px;line-height:1.6;color:var(--store-muted);margin:10px 0}.social-divider{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:11px;color:var(--store-muted)}.social-divider:before,.social-divider:after{content:'';height:1px;background:color-mix(in srgb,var(--store-text) 15%,transparent);flex:1}

/* Storefront additions use the same palette as the vendor dark theme. */
body.dark :is(.cart-card,.cart-summary,.cart-empty,.pd-summary-card,.pd-main-image-wrap,.pd-thumb,.search-dropdown,.search-close,.pd-share-inline a,.swal2-popup){background:var(--store-surface);color:var(--store-text);border-color:var(--store-border)}
body.dark :is(.cart-table-custom th,.qty-btn,.qty-value,.cart-live-notice,.search-all,.search-result-image){background:var(--store-muted-surface);color:var(--store-text);border-color:var(--store-border)}
body.dark :is(.cart-table-custom td,.cart-product img,.cart-summary-row.total,.pd-options-card,.pd-option-row + .pd-option-row,.search-result){border-color:var(--store-border)}
body.dark :is(.cart-product-name,.cart-price,.cart-line-total,.cart-empty h3,.cart-summary-row,.pd-summary-value,.pd-price-box .new-price,.search-caption,.search-result-name,.search-result-link){color:var(--store-text)}
body.dark :is(.cart-variant,.stock-text,.cart-live-indicator,.pd-summary-label,.pd-option-label,.pd-share-label,.pd-price-box del,.search-status,.search-result-category,.search-result-old-price,.search-result-arrow){color:var(--store-muted)}
body.dark #selection-message{color:var(--store-muted)}
body.dark :is(.pd-summary-value a,.search-result-price,.search-all,.bilgi-content a){color:var(--store-link)}
body.dark :is(.qty-btn:hover,.search-result-link:hover,.search-result[aria-selected=true] .search-result-link,.pd-share-inline a:hover){background:var(--store-border);color:var(--store-text)}
body.dark .product-search .ec-search-bar,body.dark .product-search .ec-search-bar:focus{background:var(--store-muted-surface);color:var(--store-text);border-color:var(--store-border)}
body.dark input::placeholder,body.dark textarea::placeholder{color:var(--store-muted);opacity:1}
body.dark .product-search .submit{background:transparent;color:var(--store-text)}
body.dark .product-search .submit img{filter:brightness(0) invert(1)}
body.dark .pd-share-inline a i{color:var(--store-text)}
body.dark .pd-action-row .ec-single-cart .btn{background:#245fac;border-color:#245fac;color:#fff}
body.dark .pd-action-row .ec-single-cart .btn:hover{background:#1d4e90;border-color:#1d4e90}
body.dark .pd-action-row .ec-single-cart .btn:disabled{opacity:.55}
body.dark .pd-action-row .qty-plus-minus,body.dark .pd-action-row .qty-plus-minus input,body.dark .pd-action-row .ec-btn-group{background:var(--store-surface);color:var(--store-text);border-color:var(--store-border)}
body.dark .pd-action-row .qty-plus-minus .ec_qtybtn{color:var(--store-text)}
body.dark .pd-option-content .ec-pro-variation-size li{background:var(--store-surface);color:var(--store-text);border-color:var(--store-border)}
body.dark .pd-option-content .ec-pro-variation-size li:is(:hover,.active,[aria-pressed=true]){background:#245fac;border-color:var(--store-link);color:#fff}
body.dark .pd-thumb:is(:hover,.active){border-color:var(--store-link);box-shadow:0 0 0 1px var(--store-link)}
body.dark .pd-stock-badge{color:#85dba0}
body.dark :is(.pd-stock-badge.out,.stock-text.stock-warning,.delete-btn){color:#ff9c9c}
body.dark .cart-row-stock-problem{background:#432c35}
body.dark :is(.cart-live-notice.warning,.alert-warning){background:#423820;border-color:#8c7440;color:#ffe0a0}
body.dark :is(.cart-live-notice.danger,.alert-danger){background:#432c35;border-color:#925160;color:#ffb9c4}
body.dark :is(.cart-live-notice.success,.alert-success){background:#203e31;border-color:#427c60;color:#a2e4b7}
body.dark .alert-info{background:#263b50;border-color:#496f96;color:#badcff}
body.dark :is(.form-help,.password-rules,.terms-label){color:var(--store-muted)}
body.dark .swal2-title,body.dark .swal2-html-container{color:var(--store-text)}
/* Vendor dark.css includes layout rules; keep the shared drawer geometry intact. */
body .category-sidebar .cat-sidebar,body .category-sidebar .cat-sidebar-box{width:100%;max-width:none;margin:0;padding:0;background:var(--store-surface)}
body .category-sidebar .cat-sidebar .cat-sidebar-box .ec-sidebar-wrap{padding:0;border:0;background:transparent}
body .category-sidebar .cat-sidebar .cat-sidebar-box .ec-sidebar-wrap .ec-sidebar-block .ec-sb-title .ec-close{position:static;inset:auto;width:32px;height:32px;color:var(--store-text)!important}
body.dark .category-sidebar .category-search input{border-color:var(--store-border)}
body.dark :is(.category-search button,.category-welcome>span){color:var(--store-text)}
body.dark :focus-visible{outline:2px solid var(--store-link);outline-offset:3px}
body.dark :is(.password-hint,.register-agreement,.stories-heading small){color:var(--store-muted)}
body.dark .register-field.is-valid .password-hint{color:#85dba0}
body.dark :is(.register-agreement a,.story-back,.story-content a){color:var(--store-link)}
body.dark .pd-action-row .ec-btn-group:not(.favorite-active) img{filter:brightness(0) invert(1)}
body.dark .pd-action-row .ec-btn-group:not(.favorite-active) svg path{fill:var(--store-text)}
/* IMG icons must match their asynchronously inlined SVG replacements. */
html.dark .ec-header img.header_svg,html.dark .ec-cart-float img.header_svg,html.dark .ec-nav-toolbar img.header_svg{filter:brightness(0) invert(1)}
.pd-action-row .ec_qtybtn[aria-disabled=true]{opacity:.4;cursor:not-allowed}
#product-quantity{appearance:textfield;-moz-appearance:textfield}
#product-quantity::-webkit-inner-spin-button,#product-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.header-logo img,.ec-footer-logo img.store-footer-logo{max-width:100%;height:auto;object-fit:contain}
body.dark .ec-footer-logo img.store-footer-logo{display:block}
/* Reserve the existing header height; enlarge only the artwork within its slot. */
.ec-header .header-logo>a{position:relative;display:inline-block;width:190px;max-width:100%;height:40px;vertical-align:middle}
.ec-header .header-logo img{position:absolute;left:0;top:50%;transform:translateY(-50%);width:190px;max-width:100%;height:58px;object-fit:contain}
@media(max-width:767px){.ec-header .header-logo>a{width:166px}.ec-header .header-logo img{width:166px;height:50px}}
