body[data-theme="red"]{--accent:#e60012;--accent-dark:#ad000d;--accent-soft:#fff1f2}
body[data-theme="blue"]{--accent:#0d6efd;--accent-dark:#084298;--accent-soft:#eff6ff}
body[data-theme="green"]{--accent:#16a34a;--accent-dark:#166534;--accent-soft:#f0fdf4}
body[data-theme="orange"]{--accent:#f97316;--accent-dark:#c2410c;--accent-soft:#fff7ed}
body[data-theme="purple"]{--accent:#7c3aed;--accent-dark:#5b21b6;--accent-soft:#f5f3ff}
body[data-theme="dark"]{--accent:#1f2937;--accent-dark:#111827;--accent-soft:#f3f4f6}
.category-page{padding:30px 0 54px}.breadcrumb{display:flex;gap:10px;align-items:center;margin:0 0 34px;font-size:13px;color:#8a95a3;letter-spacing:.3px}.breadcrumb a{color:#8a95a3}.breadcrumb strong{color:var(--text);font-weight:900}.category-layout{display:grid;grid-template-columns:260px 1fr;gap:34px;align-items:start}.category-sidebar{position:sticky;top:78px}.side-box{margin-bottom:34px}.side-box h3{font-size:14px;letter-spacing:.8px;margin:0 0 18px;color:var(--text);font-weight:900}.side-box h3:after{content:"";display:block;width:38px;height:2px;background:var(--border);margin-top:12px}.side-box ul{list-style:none;padding:0;margin:0}.side-box li a{display:block;padding:11px 0;border-bottom:1px solid var(--border);font-size:13px;font-weight:900;color:#153153;transition:.2s}.side-box li a:hover{color:var(--accent);padding-left:7px}.price-filter{display:grid;gap:13px}.range-line{height:4px;background:#d4d7dc;border-radius:999px;position:relative;margin:10px 0 2px}.range-line:before,.range-line:after{content:"";position:absolute;top:50%;width:17px;height:17px;border-radius:50%;background:#737373;transform:translateY(-50%)}.range-line:before{left:0}.range-line:after{right:0}.price-filter button{justify-self:start;border:0;border-radius:999px;background:#777;color:#fff;font-size:11px;font-weight:900;padding:9px 14px;cursor:pointer}.price-filter button:hover{background:var(--accent)}.price-filter strong{font-size:12px;color:#17325a}.recent-products{display:grid;gap:13px}.recent-products a{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:12px}.recent-products img{width:54px;height:42px;object-fit:contain}.recent-products span{font-size:12px;line-height:1.35;font-weight:900;color:#17325a}.recent-products b{display:block;margin-top:5px;color:#111;font-size:12px}.category-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-bottom:26px}.category-toolbar span{font-size:12px;font-weight:900;color:#17325a}.category-toolbar select{width:230px;height:42px;border-radius:0;border:1px solid #cbd5e1;font-size:12px;font-weight:800;color:#17233a;background:#fff}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:58px 46px}.catalog-card{text-align:center;min-width:0}.catalog-img{height:230px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.catalog-img img{max-height:220px;width:100%;object-fit:contain;transition:.25s}.catalog-card:hover .catalog-img img{transform:translateY(-6px) scale(1.03)}.catalog-card small{display:block;font-size:10px;letter-spacing:.8px;color:#a0a8b4;font-weight:900;text-transform:uppercase;margin-bottom:8px}.catalog-card h2{margin:0 auto 8px;max-width:230px;font-size:13px;line-height:1.35;color:#17325a;font-weight:900}.catalog-card h2 a:hover{color:var(--accent)}.catalog-card strong{display:block;color:#050b14;font-size:13px;font-weight:900;margin-bottom:12px}.catalog-btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 15px;border:2px solid var(--accent);border-radius:999px;color:var(--accent);font-size:10px;font-weight:900;transition:.2s}.catalog-btn:hover{background:var(--accent);color:#fff;transform:translateY(-2px)}.theme-panel .theme-choice.active{background:var(--accent-soft);color:var(--accent)}
@media(max-width:1000px){.category-layout{grid-template-columns:1fr}.category-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-box{margin-bottom:0}.recent-products{grid-column:1/-1}.catalog-grid{grid-template-columns:repeat(2,1fr);gap:38px 24px}.category-toolbar{justify-content:space-between}.catalog-img{height:210px}}
@media(max-width:620px){.category-page{padding-top:22px}.breadcrumb{margin-bottom:20px;font-size:12px}.category-sidebar{grid-template-columns:1fr}.category-toolbar{align-items:stretch;flex-direction:column;gap:10px}.category-toolbar select{width:100%}.catalog-grid{grid-template-columns:1fr;gap:34px}.catalog-img{height:210px}.catalog-card h2{max-width:290px}.side-box li a{font-size:12px}.recent-products a{grid-template-columns:64px 1fr}.recent-products img{width:64px;height:46px}}


/* Dikey kategori linkleri hover olunca iki satıra düşmesin. İnsanlığın padding-left ile layout bozma merakı burada bitti. */
.side-box li a{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding-left:0 !important;
    padding-right:4px;
}
.side-box li a:hover{
    padding-left:0 !important;
    transform:translateX(6px);
}


/* Menü ve sol kategori düzeltmeleri */
.category-sidebar .side-box li a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:0!important;}
.category-sidebar .side-box li a:hover{padding-left:0!important;color:var(--accent);}

.category-sidebar .side-box li a.active {
    color: var(--accent);
    font-weight: 900;
}

.category-intro {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 20px;
    margin: 0 0 24px;
    background: #fff;
}

.category-intro h1 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.category-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.product-detail-page {
    padding: 26px 0 50px;
}

.product-detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

.product-gallery-box {
    background: #fff;
}

.product-main-image {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.zoom-btn {
    position: absolute;
    left: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid #d9dee5;
    background: #fff;
    border-radius: 50%;
    color: #9aa3ad;
    font-size: 20px;
    cursor: pointer;
}

.product-breadcrumb {
    margin: 0 0 8px;
    font-size: 11px;
    color: #a0a8b2;
}

.product-breadcrumb a {
    color: #a0a8b2;
}

.product-info-box h1 {
    margin: 0 0 13px;
    font-size: 31px;
    line-height: 1.18;
    color: var(--text);
    letter-spacing: -.4px;
}

.detail-separator {
    width: 34px;
    height: 3px;
    background: #e5e8eb;
    margin: 0 0 18px;
}

.detail-price {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
    color: #10243a;
}

.product-info-box h3 {
    margin: 0 0 12px;
    font-size: 15px;
}

.detail-bullets {
    margin: 0 0 20px;
    padding-left: 18px;
    color: #34495e;
    font-weight: 800;
    line-height: 1.9;
    font-size: 14px;
}

.detail-bullets li::marker {
    color: #44576d;
}

.detail-offer-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    min-height: 48px;
    padding: 0 26px 0 22px;
    margin: 8px 0 26px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 28px rgba(15, 34, 56, .18), 0 8px 18px rgba(230, 0, 18, .18);
    letter-spacing: .2px;
    font-size: 13px;
    font-weight: 900;
    overflow: hidden;
    isolation: isolate;
}

.detail-offer-btn:before {
    content: "✉";
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-size: 13px;
}

.detail-offer-btn:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: translateX(-120%);
    transition: transform .45s ease;
    z-index: -1;
}

.detail-offer-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 34, 56, .22), 0 10px 22px rgba(230, 0, 18, .22);
}

.detail-offer-btn:hover:after {
    transform: translateX(120%);
}

.detail-offer-btn:active {
    transform: translateY(-1px);
}

.detail-meta {
    border-top: 1px dotted #cfd6de;
    padding-top: 16px;
    font-size: 12px;
    color: #34495e;
}

.detail-tabs {
    margin-top: 48px;
    border-top: 1px solid #dfe4ea;
}

.tab-head {
    display: flex;
    gap: 18px;
}

.tab-head button {
    border: 0;
    background: transparent;
    padding: 16px 0 12px;
    font-size: 11px;
    font-weight: 900;
    color: #7b8490;
    cursor: pointer;
    border-top: 3px solid transparent;
}

.tab-head button.active {
    color: #26384d;
    border-top-color: var(--accent);
}

.tab-content {
    display: none;
    padding-top: 22px;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 16px;
    color: var(--accent);
    margin: 0 0 18px;
    text-transform: uppercase;
}

.tab-content h2:after {
    content: "";
    display: block;
    width: 110px;
    height: 1px;
    background: #e0e4e9;
    margin-top: 13px;
}

.technical-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 42px;
    font-size: 13px;
    color: #405166;
}

.technical-table th,
.technical-table td {
    border-bottom: 1px solid #e4e8ee;
    padding: 12px 0;
    text-align: left;
}

.technical-table th {
    width: 60%;
    font-weight: 900;
    color: #5b6877;
}

.technical-table td {
    font-weight: 800;
}

.detail-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.detail-bullets.long {
    font-size: 14px;
    line-height: 2.05;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    margin-bottom: 20px;
}

.comment-form label {
    font-weight: 900;
    font-size: 13px;
}

.comment-form .full {
    grid-column: 1 / -1;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
}

.comment-form textarea {
    min-height: 100px;
}

.comment-form button {
    width: max-content;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    font-weight: 900;
    cursor: pointer;
}

.comment-alert {
    padding: 12px 14px;
    border: 1px solid #c7ead2;
    border-radius: 12px;
    background: #f0fff4;
    color: #09632a;
    font-weight: 900;
    margin-bottom: 14px;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment-list article {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.comment-list small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

@media(max-width:900px) {
    .product-detail-top,
    .detail-two-cols {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-main-image {
        min-height: 320px;
    }

    .product-info-box h1 {
        font-size: 25px;
    }
}

@media(max-width:620px) {
    .comment-form {
        grid-template-columns: 1fr;
    }
}

/* Sol dikey kategori menüsü yazı boyutu */
.category-sidebar .side-box h3 {
    font-size: 13px;
}

.category-sidebar .side-box li a {
    font-size: 12px;
    line-height: 1.35;
    padding-top: 9px;
    padding-bottom: 9px;
    letter-spacing: 0;
}

.category-sidebar .recent-products span {
    font-size: 11px;
}

.category-sidebar .recent-products b {
    font-size: 11px;
}

/* Sol dikey kategori menüsü - daha küçük ve card içine sığan yazılar */
.category-sidebar .side-box li a {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: normal !important;
}

.category-sidebar .side-box h3 {
    font-size: 12px !important;
    margin-bottom: 12px !important;
}

.category-sidebar .side-box li a:hover {
    transform: none !important;
    padding-left: 0 !important;
}

/* Ürün kart başlıkları da taşmasın */
.catalog-card h2 {
    font-size: 12px !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
}

.catalog-card small {
    font-size: 9px !important;
}
