/*
 * ALYA Storefront V4.2 — Mağaza arayüzü, kategori akordiyonu,
 * kararlı sabit üst alan ve modern çerez bildirimi.
 * Mevcut ürün detay, sepet, favori ve karşılaştırma işlevlerine dokunmaz.
 */

/* =========================================================
   1. KARARLI SABİT ÜST MENÜ — TİTREME YOK
========================================================= */
.theme-2 .site-header,
.theme-2 .theme2-store-header {
    position: sticky !important;
    top: 0;
    z-index: 1200 !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

/* Scroll sırasında yüksekliği değiştiren eski animasyonlar kapatıldı. */
.theme-2 .site-header,
.theme-2 .theme2-store-header,
.theme-2 .theme2-store-header .theme2-topline,
.theme-2 .theme2-store-header .theme2-announcement,
.theme-2 .theme2-store-header .theme2-tools > .wrap,
.theme-2 .theme2-store-header .theme2-category-nav .wrap {
    transition: none !important;
}

/* Önceki sürümden sınıf tarayıcıda kalırsa görünüm yine değişmesin. */
@media (min-width: 821px) {
    .theme-2 .theme2-store-header.is-condensed .theme2-topline,
    .theme-2 .theme2-store-header.is-condensed .theme2-announcement {
        display: flex !important;
    }

    .theme-2 .theme2-store-header.is-condensed .theme2-tools > .wrap,
    .theme-2 .theme2-store-header .theme2-tools > .wrap {
        min-height: 92px;
    }

    .theme-2 .theme2-store-header.is-condensed .theme2-category-nav .wrap,
    .theme-2 .theme2-store-header .theme2-category-nav .wrap {
        min-height: 50px;
    }

    .theme-2 .site-header.is-condensed .brandrow {
        min-height: inherit;
    }
}

html {
    scrollbar-gutter: stable;
}

/* =========================================================
   2. MOBİL MAĞAZA ÜST ALANI
========================================================= */
@media (max-width: 820px) {
    .theme-2 .theme2-store-header {
        position: relative !important;
    }

    .theme-2 .theme2-tools > .wrap {
        min-height: 0 !important;
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        grid-template-rows: 76px 48px !important;
        gap: 10px !important;
        padding-top: 0 !important;
        padding-bottom: 12px !important;
        align-items: center !important;
    }

    .theme-2 .theme2-tools .store-mobile-menu {
        grid-column: 1;
        grid-row: 1;
    }

    .theme-2 .theme2-tools .store-logo {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .theme-2 .theme2-tools .theme2-account-links {
        grid-column: 3;
        grid-row: 1;
    }

    .theme-2 .theme2-search {
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        align-self: stretch !important;
    }

    .theme-2 .theme2-category-nav {
        margin-top: 0 !important;
    }
}

/* =========================================================
   3. MAĞAZA ÜST AVANTAJ ŞERİDİ
========================================================= */
.theme-2 .storefront-v4-benefits {
    display: grid;
    grid-template-columns: 1.8fr repeat(4, 1fr);
    gap: 0;
    margin-top: 14px;
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid var(--t2-line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.theme-2 .storefront-v4-benefits article {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-right: 1px solid var(--t2-line);
}

.theme-2 .storefront-v4-benefits article:last-child {
    border-right: 0;
}

.theme-2 .storefront-v4-benefits article > span {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid #e8eaee;
    border-radius: 50%;
    color: var(--red);
    background: #fff8f7;
}

.theme-2 .storefront-v4-benefits article:first-child > span {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    background: #fdeceb;
}

.theme-2 .storefront-v4-benefits .site-icon {
    width: 22px;
    height: 22px;
}

.theme-2 .storefront-v4-benefits article div {
    min-width: 0;
}

.theme-2 .storefront-v4-benefits small {
    display: block;
    margin-bottom: 3px;
    color: var(--red);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

.theme-2 .storefront-v4-benefits b {
    display: block;
    color: var(--t2-ink);
    font-size: 11px;
    line-height: 1.35;
}

.theme-2 .storefront-v4-benefits article:first-child b {
    font-size: 18px;
    letter-spacing: -.02em;
}

.theme-2 .storefront-v4-benefits p {
    margin: 4px 0 0;
    color: var(--t2-muted);
    font-size: 9px;
    line-height: 1.45;
}

/* =========================================================
   4. MAĞAZA ANA SAYFA: SOL KATEGORİ + POPÜLER + ÇÖZÜMLER
========================================================= */
.theme-2 .storefront-v4-overview {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 4px;
    padding-bottom: 26px;
}

.theme-2 .storefront-v4-sidebar {
    border: 1px solid var(--t2-line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.theme-2 .storefront-v4-sidebar > h2 {
    margin: 0;
    padding: 15px 16px;
    color: #fff;
    background: var(--t2-ink);
    font-size: 11px;
    line-height: 1;
    letter-spacing: .04em;
}

.theme-2 .storefront-v4-main {
    min-width: 0;
    display: grid;
    gap: 28px;
}

.theme-2 .storefront-v4-heading {
    margin: 0 0 14px !important;
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 18px;
}

.theme-2 .storefront-v4-heading > div {
    text-align: left !important;
}

.theme-2 .storefront-v4-heading small {
    color: var(--red);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.theme-2 .storefront-v4-heading h2 {
    margin: 5px 0 0;
    font-size: 25px;
    line-height: 1.1;
}

.theme-2 .storefront-v4-heading a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.theme-2 .storefront-v4-heading a .site-icon {
    width: 14px;
    height: 14px;
}

.theme-2 .storefront-v4-category-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 12px !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
}

.theme-2 .storefront-v4-category-grid > a {
    min-width: 0;
    padding: 13px 10px 12px;
    display: grid;
    grid-template-rows: 118px auto auto;
    justify-items: center;
    gap: 5px;
    border: 1px solid var(--t2-line);
    border-radius: 14px;
    background: #fff;
}

.theme-2 .storefront-v4-category-grid > a:hover {
    border-color: #cdd2d9;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .07);
}

.theme-2 .storefront-v4-category-grid .theme2-category-image {
    width: 112px;
    height: 112px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.theme-2 .storefront-v4-category-grid .theme2-category-image img {
    padding: 5px;
}

.theme-2 .storefront-v4-category-grid strong {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.25;
}

.theme-2 .storefront-v4-category-grid small {
    font-size: 9px;
}

.theme-2 .storefront-v4-solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.theme-2 .storefront-v4-solution-grid > a {
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 13px;
    color: var(--t2-ink);
    border: 1px solid var(--t2-line);
    border-radius: 14px;
    background: #fff;
}

.theme-2 .storefront-v4-solution-grid > a:hover {
    border-color: #cdd2d9;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .07);
}

.theme-2 .storefront-v4-solution-grid > a > span {
    width: 112px;
    height: 88px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f8fa;
}

.theme-2 .storefront-v4-solution-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-2 .storefront-v4-solution-grid b {
    display: block;
    font-size: 12px;
    line-height: 1.25;
}

.theme-2 .storefront-v4-solution-grid p {
    min-height: 32px;
    margin: 5px 0 7px;
    color: var(--t2-muted);
    font-size: 9px;
    line-height: 1.45;
}

.theme-2 .storefront-v4-solution-grid small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    font-size: 9px;
    font-weight: 800;
}

.theme-2 .storefront-v4-solution-grid small .site-icon {
    width: 13px;
    height: 13px;
}

/* =========================================================
   5. KATEGORİ AKORDİYONU
========================================================= */
.theme-2 .catalog-category-accordion {
    background: #fff;
}

.theme-2 .category-accordion-item,
.theme-2 .catalog-category-accordion > .category-accordion-link {
    border-bottom: 1px solid #eceff3;
}

.theme-2 .category-accordion-toggle,
.theme-2 .category-accordion-link,
.theme-2 .category-view-all {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px 10px 15px;
    color: #283445;
    border: 0;
    border-radius: 0 !important;
    background: #fff;
    text-align: left;
    box-shadow: none;
}

.theme-2 .category-accordion-toggle {
    cursor: pointer;
}

.theme-2 .category-accordion-toggle:hover,
.theme-2 .category-accordion-link:hover,
.theme-2 .category-view-all:hover {
    color: var(--red);
    background: #fafafa;
    transform: none;
}

.theme-2 .category-accordion-toggle > span,
.theme-2 .category-accordion-link > span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.theme-2 .category-accordion-toggle b,
.theme-2 .category-accordion-link b {
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.theme-2 .category-accordion-toggle small,
.theme-2 .category-accordion-link small,
.theme-2 .category-view-all small {
    color: #929baa;
    font-size: 8px;
}

.theme-2 .category-accordion-toggle i,
.theme-2 .category-accordion-link i,
.theme-2 .category-view-all i {
    flex: 0 0 auto;
    color: var(--red);
    font-size: 16px;
    font-style: normal;
    transition: transform .18s ease;
}

.theme-2 .category-accordion-item.open > .category-accordion-toggle i {
    transform: rotate(180deg);
}

.theme-2 .category-accordion-item.open > .category-accordion-toggle,
.theme-2 .category-accordion-item.active > .category-accordion-toggle,
.theme-2 .category-accordion-link.active,
.theme-2 .category-view-all.active {
    color: var(--red);
    background: #fff6f5;
    box-shadow: inset 3px 0 0 var(--red);
}

.theme-2 .category-accordion-children {
    background: #f8fafc;
    border-top: 1px solid #eef1f4;
}

.theme-2 .category-accordion-children[hidden] {
    display: none !important;
}

.theme-2 .category-accordion-children .category-accordion-toggle,
.theme-2 .category-accordion-children .category-accordion-link,
.theme-2 .category-accordion-children .category-view-all {
    min-height: 46px;
    padding-left: 25px;
    background: #f8fafc;
}

.theme-2 .category-accordion-children .category-accordion-children .category-accordion-toggle,
.theme-2 .category-accordion-children .category-accordion-children .category-accordion-link,
.theme-2 .category-accordion-children .category-accordion-children .category-view-all {
    padding-left: 38px;
    background: #f4f7fa;
}

.theme-2 .category-view-all {
    min-height: 42px;
    font-size: 10px;
    font-weight: 800;
}

.theme-2 .category-deals {
    color: var(--red);
}

/* =========================================================
   6. ÜRÜN LİSTESİ ÜST BANNER
========================================================= */
.theme-2 .store-catalog-banner-wrap {
    padding-top: 18px;
}

.theme-2 .store-catalog-heading-v4 {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0;
    padding: 23px 30px;
    overflow: hidden;
    border: 1px solid #e3e7ec;
    border-radius: 16px;
    background:
        linear-gradient(110deg, rgba(255,255,255,.98), rgba(243,246,249,.92)),
        radial-gradient(circle at 82% 0%, rgba(227,6,19,.08), transparent 34%);
    box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.theme-2 .store-catalog-heading-v4::after {
    content: "";
    position: absolute;
    right: 70px;
    top: -55px;
    width: 340px;
    height: 190px;
    opacity: .22;
    background: repeating-linear-gradient(-18deg, transparent 0 9px, rgba(227, 6, 19, .20) 10px 11px);
    transform: skewX(-18deg);
    pointer-events: none;
}

.theme-2 .store-catalog-heading-v4 > div {
    position: relative;
    z-index: 1;
}

.theme-2 .store-catalog-heading-v4 h1 {
    margin: 0 0 7px;
    color: #172033;
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.theme-2 .store-catalog-heading-v4 p {
    max-width: 720px;
    margin: 0;
    color: #697485;
    font-size: 12px;
    line-height: 1.5;
}

.theme-2 .store-catalog-banner-icon {
    position: relative;
    z-index: 1;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    color: var(--red);
    border: 1px solid rgba(227, 6, 19, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .86);
}

.theme-2 .store-catalog-banner-icon .site-icon {
    width: 31px;
    height: 31px;
}

.theme-2 .store-catalog-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 26px;
    padding-top: 26px;
}

.theme-2 .catalog-sidebar {
    top: 94px;
}

/* =========================================================
   7. KURUMSAL ANA SAYFA POPÜLER KATEGORİLER
========================================================= */
.theme-2 .home-popular-categories {
    padding-top: 38px !important;
    padding-bottom: 40px !important;
}

.theme-2 .home-popular-categories .heading {
    margin-bottom: 20px;
    align-items: end;
}

.theme-2 .home-popular-categories .heading > div {
    text-align: left !important;
    margin: 0 !important;
}

.theme-2 .home-popular-categories .category-showcase {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.theme-2 .home-popular-categories .category-showcase a {
    min-width: 0;
    padding: 14px 10px;
    border-radius: 16px;
}

.theme-2 .home-popular-categories .category-showcase img {
    height: 120px;
}

/* =========================================================
   8. TRENDYOL BENZERİ ALT ÇEREZ BİLDİRİMİ
========================================================= */
.cookie-panel {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 86px;
    margin: 0 !important;
    padding: 15px max(28px, calc((100vw - 1500px) / 2)) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #fff !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(20, 24, 30, .97) !important;
    box-shadow: 0 -12px 42px rgba(0, 0, 0, .22) !important;
    backdrop-filter: blur(12px);
}

.cookie-panel-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-panel-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    font-size: 24px;
}

.cookie-panel b {
    color: #fff;
    font-size: 13px;
}

.cookie-panel p {
    max-width: 790px;
    margin: 5px 0 0 !important;
    color: #c9cfd7;
    font-size: 10px !important;
    line-height: 1.55 !important;
}

.cookie-inline-policy {
    display: inline;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font: inherit;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px !important;
    white-space: nowrap;
}

.cookie-actions button {
    min-height: 43px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 7px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 9px;
    font-weight: 800;
}

.cookie-actions button:hover {
    border-color: #fff;
}

.cookie-actions [data-cookie="accept"] {
    min-width: 150px;
    border-color: var(--red) !important;
    background: var(--red) !important;
}

.cookie-actions [data-cookie="reject"] {
    border-color: rgba(255,255,255,.55) !important;
}

.cookie-actions .cookie-dismiss {
    min-width: 42px;
    width: 42px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    font-size: 24px;
}

/* =========================================================
   9. RESPONSIVE
========================================================= */
@media (max-width: 1250px) {
    .theme-2 .storefront-v4-benefits {
        grid-template-columns: 1.6fr repeat(2, 1fr);
    }

    .theme-2 .storefront-v4-benefits article:nth-child(3) {
        border-right: 0;
    }

    .theme-2 .storefront-v4-benefits article:nth-child(n+4) {
        border-top: 1px solid var(--t2-line);
    }

    .theme-2 .storefront-v4-benefits article:first-child {
        grid-row: span 2;
    }

    .theme-2 .storefront-v4-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .theme-2 .storefront-v4-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-2 .home-popular-categories .category-showcase {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .theme-2 .storefront-v4-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-2 .storefront-v4-benefits article:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .theme-2 .storefront-v4-benefits article {
        border-top: 1px solid var(--t2-line);
    }

    .theme-2 .storefront-v4-benefits article:first-child {
        border-top: 0;
    }

    .theme-2 .storefront-v4-benefits article:nth-child(odd) {
        border-right: 0;
    }

    .theme-2 .storefront-v4-overview {
        grid-template-columns: 1fr;
    }

    .theme-2 .storefront-v4-sidebar {
        display: none;
    }

    .theme-2 .store-catalog-layout {
        grid-template-columns: 1fr;
    }

    .theme-2 .catalog-sidebar {
        top: auto;
    }

    .theme-2 .home-popular-categories .category-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .cookie-panel {
        padding: 15px 18px 82px !important;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .cookie-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-actions button:not(.cookie-dismiss) {
        flex: 1 1 145px;
    }

    .cookie-actions .cookie-dismiss {
        position: absolute;
        right: 10px;
        top: 8px;
    }
}

@media (max-width: 680px) {
    .theme-2 .storefront-v4-benefits {
        margin-left: 10px;
        margin-right: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .theme-2 .storefront-v4-benefits article {
        padding: 14px 12px;
    }

    .theme-2 .storefront-v4-benefits article:first-child {
        grid-column: 1 / -1;
    }

    .theme-2 .storefront-v4-benefits article:first-child b {
        font-size: 15px;
    }

    .theme-2 .storefront-v4-category-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding-bottom: 8px;
    }

    .theme-2 .storefront-v4-category-grid > a {
        flex: 0 0 145px;
        scroll-snap-align: start;
        grid-template-rows: 100px auto auto;
    }

    .theme-2 .storefront-v4-category-grid .theme2-category-image {
        width: 95px;
        height: 95px;
    }

    .theme-2 .storefront-v4-solution-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 8px;
    }

    .theme-2 .storefront-v4-solution-grid > a {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .theme-2 .storefront-v4-heading h2 {
        font-size: 22px;
    }

    .theme-2 .store-catalog-banner-wrap {
        padding-top: 12px;
    }

    .theme-2 .store-catalog-heading-v4 {
        min-height: 82px;
        padding: 18px 20px;
        border-radius: 12px;
    }

    .theme-2 .store-catalog-heading-v4 h1 {
        font-size: 27px;
    }

    .theme-2 .store-catalog-heading-v4 p {
        font-size: 10px;
    }

    .theme-2 .store-catalog-banner-icon {
        display: none;
    }

    .theme-2 .home-popular-categories {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

    .theme-2 .home-popular-categories .category-showcase {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding-bottom: 8px;
    }

    .theme-2 .home-popular-categories .category-showcase a {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }

    .cookie-panel-copy {
        padding-right: 25px;
    }

    .cookie-panel-icon {
        display: none;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-actions [data-cookie="accept"] {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* =========================================================
   ALYA STOREFRONT V4.1 — EKRAN UYUMU VE KOMPAKT SLIDER
   2026-08-03
========================================================= */

/* Mağaza sayfalarında içerik, 1366 / 1440 / 1600 / 1920 px ekranlara
   akışkan biçimde oturur. Sabit masaüstü genişliği kullanılmaz. */
.theme-2.store-body .wrap {
    width: min(calc(100% - clamp(20px, 3vw, 48px)), 1500px);
    max-width: 1500px;
    padding-left: 0;
    padding-right: 0;
}

/* Slider: önceki 400–500 px görünümden daha ince ve uzun yatay yapı.
   Görsel KESİLMEZ; yanlarda boşluk oluşursa aynı görselin yumuşak arka
   plan kopyası alanı doldurur. */
.theme-2.store-body .theme2-home-hero {
    padding-top: clamp(10px, 1.2vw, 16px) !important;
}

.theme-2.store-body .theme2-home-hero > .wrap {
    width: min(calc(100% - clamp(20px, 3vw, 48px)), 1500px) !important;
    max-width: 1500px !important;
    padding: 0 !important;
}

@media (min-width: 1200px) {
    .theme-2.store-body .theme2-home-hero .theme2-slider,
    .theme-2.store-body .theme2-home-hero .store-slider.advanced-slider {
        width: 100% !important;
        max-width: 1500px !important;
        height: clamp(305px, 20.5vw, 350px) !important;
        min-height: 305px !important;
        max-height: 350px !important;
        aspect-ratio: auto !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider .alya-slide,
    .theme-2.store-body .theme2-home-hero .theme2-slider .advanced-slide-media,
    .theme-2.store-body .theme2-home-hero .store-slider .alya-slide,
    .theme-2.store-body .theme2-home-hero .store-slider .advanced-slide-media {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    .theme-2.store-body .theme2-home-hero .advanced-slide-media {
        isolation: isolate;
        background: #f4f6f8 !important;
    }

    .theme-2.store-body .theme2-home-hero .advanced-slide-media::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: -24px;
        background-image: var(--alya-slide-backdrop, none);
        background-position: center;
        background-size: cover;
        filter: blur(20px) saturate(.9);
        opacity: .32;
        transform: scale(1.04);
        pointer-events: none;
    }

    .theme-2.store-body .theme2-home-hero .advanced-slide-media img {
        position: relative;
        z-index: 1;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: var(--slide-image-position, center) center !important;
        background: transparent !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider .slidecopy {
        padding: 34px 46px !important;
        max-width: 570px !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider .slidecopy h1,
    .theme-2.store-body .theme2-home-hero .theme2-slider .slidecopy .slide-title {
        font-size: clamp(31px, 2.55vw, 43px) !important;
        margin: 10px 0 !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider .slidecopy p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider .slidecopy a {
        margin-top: 14px !important;
        padding: 12px 19px !important;
    }
}

/* Tablet görseli kendi 1200×450 oranında, mobil görseli 750×400 oranında
   gösterilir. Bu iki görünümde kırpma yapılmaz. */
@media (min-width: 768px) and (max-width: 1199px) {
    .theme-2.store-body .theme2-home-hero .theme2-slider,
    .theme-2.store-body .theme2-home-hero .store-slider.advanced-slider {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1200 / 450 !important;
        border-radius: 15px !important;
    }

    .theme-2.store-body .theme2-home-hero .advanced-slide-media img {
        object-fit: contain !important;
    }
}

@media (max-width: 767px) {
    .theme-2.store-body .wrap {
        width: calc(100% - 20px);
    }

    .theme-2.store-body .theme2-home-hero > .wrap {
        width: calc(100% - 20px) !important;
    }

    .theme-2.store-body .theme2-home-hero .theme2-slider,
    .theme-2.store-body .theme2-home-hero .store-slider.advanced-slider {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 750 / 400 !important;
        border-radius: 12px !important;
    }

    .theme-2.store-body .theme2-home-hero .advanced-slide-media img {
        object-fit: contain !important;
    }
}

/* Ok ve noktalar kompakt slider oranına göre küçültüldü. */
.theme-2.store-body .theme2-home-hero .slider-arrow {
    width: 40px !important;
    height: 40px !important;
}

.theme-2.store-body .theme2-home-hero .slider-dots {
    bottom: 13px !important;
}

/* İçerik blokları farklı masaüstü çözünürlüklerinde otomatik sıkışır. */
.theme-2.store-body .storefront-v4-overview {
    grid-template-columns: clamp(225px, 17vw, 255px) minmax(0, 1fr);
    gap: clamp(16px, 1.7vw, 26px);
}

.theme-2.store-body .storefront-v4-main {
    gap: clamp(20px, 2vw, 28px);
}

.theme-2.store-body .storefront-v4-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: clamp(9px, .9vw, 13px) !important;
}

.theme-2.store-body .storefront-v4-category-grid > a {
    grid-template-rows: clamp(96px, 7.5vw, 116px) auto auto;
    padding: 11px 8px 10px;
}

.theme-2.store-body .storefront-v4-category-grid .theme2-category-image {
    width: clamp(90px, 7vw, 110px);
    height: clamp(90px, 7vw, 110px);
}

.theme-2.store-body .storefront-v4-solution-grid {
    gap: clamp(9px, .9vw, 13px);
}

@media (min-width: 1180px) and (max-width: 1379px) {
    .theme-2.store-body .storefront-v4-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .theme-2.store-body .storefront-v4-category-grid > a {
        grid-template-rows: 92px auto auto;
    }

    .theme-2.store-body .storefront-v4-category-grid .theme2-category-image {
        width: 88px;
        height: 88px;
    }

    .theme-2.store-body .storefront-v4-solution-grid > a {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .theme-2.store-body .storefront-v4-solution-grid > a > span {
        width: 86px;
        height: 76px;
    }
}

@media (min-width: 901px) and (max-width: 1179px) {
    .theme-2.store-body .storefront-v4-overview {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 16px;
    }

    .theme-2.store-body .storefront-v4-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .theme-2.store-body .storefront-v4-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ürün liste ekranı: genişlik ve kolonlar ekrana göre otomatik ayarlanır. */
.theme-2.store-body .store-catalog-layout {
    grid-template-columns: clamp(238px, 18vw, 272px) minmax(0, 1fr);
    gap: clamp(18px, 1.7vw, 28px);
}

.theme-2.store-body .catalog-product-grid.view-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
}

/* Eksik ürün görselinde kırık resim ikonu yerine yer tutucu gösterilir. */
.theme-2.store-body img[data-alya-image-fallback="1"] {
    object-fit: contain !important;
    padding: 22px;
    background: #f7f8fa;
}

@media (max-width: 900px) {
    .theme-2.store-body .storefront-v4-overview,
    .theme-2.store-body .store-catalog-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ALYA STOREFRONT V4.3 — SADECE MAĞAZA MENÜSÜ
   Kurumsal ana menüler mağazaya taşınmaz. Mağazada kategori
   açılır menüsü ve Kurumsal Site ikonu bulunur.
========================================================= */

.theme-2 .theme2-store-top-features {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.theme-2 .theme2-store-top-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    color: #d9dade;
}

.theme-2 .theme2-store-top-features .site-icon {
    width: 14px;
    height: 14px;
}

@media (min-width: 1281px) {
    .theme-2 .theme2-tools > .wrap {
        grid-template-columns: 205px minmax(390px, 1fr) 470px;
        gap: 26px;
    }

    .theme-2 .theme2-account-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1051px) and (max-width: 1280px) {
    .theme-2 .theme2-tools > .wrap {
        grid-template-columns: 185px minmax(330px, 1fr) 390px;
        gap: 18px;
    }

    .theme-2 .theme2-account-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .theme-2 .theme2-account-links a {
        padding-left: 4px;
        padding-right: 4px;
    }
}

@media (min-width: 821px) and (max-width: 1050px) {
    .theme-2 .theme2-tools > .wrap {
        grid-template-columns: 165px minmax(260px, 1fr) 232px;
    }

    .theme-2 .theme2-account-links {
        grid-template-columns: repeat(4, 52px);
        justify-content: end;
    }
}

.theme-2 .store-corporate-link .theme2-action-icon {
    color: #111827;
}

.theme-2 .store-corporate-link:hover .theme2-action-icon {
    color: var(--red);
}

/* Açılır kategori menüsü */
.theme-2 .store-category-dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    min-width: 230px;
}

.theme-2 .store-category-dropdown > .all-categories {
    width: 100%;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.theme-2 .store-category-caret {
    margin-left: auto;
    font-size: 17px;
    line-height: 1;
    transition: transform .18s ease;
}

.theme-2 .store-category-dropdown.is-open .store-category-caret {
    transform: rotate(180deg);
}

.theme-2 .store-category-dropdown-panel {
    position: absolute;
    z-index: 1350;
    top: calc(100% + 1px);
    left: 0;
    width: 290px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
}

.theme-2 .store-category-dropdown-panel[hidden] {
    display: none !important;
}

.theme-2 .store-category-dropdown-item {
    position: relative;
}

.theme-2 .store-category-dropdown-item > a {
    min-height: 43px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 9px;
    border: 0 !important;
    color: #1f2937;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
}

.theme-2 .store-category-dropdown-item > a:hover,
.theme-2 .store-category-dropdown-item:focus-within > a,
.theme-2 .store-category-dropdown-item.is-open > a {
    color: var(--red);
    background: #fff4f3;
}

.theme-2 .store-category-dropdown-item > a i {
    font-style: normal;
    font-size: 18px;
}

.theme-2 .store-category-submenu {
    display: none;
    position: absolute;
    left: calc(100% + 8px);
    top: -8px;
    min-width: 280px;
    max-height: 430px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
}

.theme-2 .store-category-dropdown-item:hover > .store-category-submenu,
.theme-2 .store-category-dropdown-item:focus-within > .store-category-submenu,
.theme-2 .store-category-dropdown-item.is-open > .store-category-submenu {
    display: grid;
}

.theme-2 .store-category-submenu a {
    min-height: 39px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: #374151;
    font-size: 12px;
    font-weight: 650;
}

.theme-2 .store-category-submenu a:hover {
    color: var(--red);
    background: #f8fafc;
}

.theme-2 .store-category-submenu .store-category-view-all {
    margin-bottom: 5px;
    color: #111827;
    background: #f3f4f6;
    font-weight: 800;
}

@media (max-width: 1050px) and (min-width: 821px) {
    .theme-2 .theme2-store-top-features span:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 820px) {
    .theme-2 .theme2-tools > .wrap {
        grid-template-columns: 42px minmax(0, 1fr) 92px !important;
    }

    .theme-2 .theme2-account-links {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .theme-2 .theme2-account-links a {
        display: none !important;
    }

    .theme-2 .theme2-account-links .store-corporate-link,
    .theme-2 .theme2-account-links .store-cart-link {
        display: flex !important;
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0 !important;
        justify-content: center;
    }

    .theme-2 .store-category-dropdown {
        width: 100%;
        min-width: 0;
        display: block;
    }

    .theme-2 .store-category-dropdown > .all-categories {
        min-height: 45px;
        justify-content: flex-start;
        border-radius: 10px;
        margin-bottom: 5px;
        padding: 0 12px;
    }

    .theme-2 .store-category-dropdown-panel {
        position: static;
        width: 100%;
        padding: 4px 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .theme-2 .store-category-dropdown-item > a {
        min-height: 43px;
        border-bottom: 1px solid #efefef !important;
        border-radius: 0;
    }

    .theme-2 .store-category-submenu {
        position: static;
        min-width: 0;
        max-height: none;
        margin: 0;
        padding: 3px 0 7px 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fafafa;
    }

    .theme-2 .store-category-submenu a {
        min-height: 38px;
        border-bottom: 1px solid #ececec;
    }

    .theme-2 .theme2-category-nav .wrap > a:not(.store-deals) {
        display: none !important;
    }

    .theme-2 .theme2-category-nav .store-deals {
        display: flex !important;
    }
}

.theme-2 .store-category-submenu .store-category-sub-level-1 {
    padding-left: 24px;
    color: #64748b;
    font-size: 11px;
}

.theme-2 .store-category-submenu .store-category-sub-level-2,
.theme-2 .store-category-submenu .store-category-sub-level-3 {
    padding-left: 36px;
    color: #7c8798;
    font-size: 10.5px;
}

/* =========================================================
   ALYA STOREFRONT V4.4 — ANA SLIDER + SAĞ KAMPANYA
   VE TIKLAMALI KATEGORİ AKORDİYONU
========================================================= */

/* Ana slider artık gereksiz sağ/sol boşluk bırakmaz.
   Masaüstünde büyük slider + sağ kampanya kartı yan yana görünür. */
.theme-2.store-body .storefront-v44-hero > .storefront-v44-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(270px, 20vw, 320px);
    gap: 18px;
    align-items: stretch;
}

.theme-2.store-body .storefront-v44-main-slider,
.theme-2.store-body .storefront-v44-main-slider > .advanced-slider,
.theme-2.store-body .storefront-v44-main-slider > .theme2-fallback-hero {
    min-width: 0;
    width: 100%;
    height: clamp(285px, 19vw, 320px) !important;
    min-height: 285px !important;
    max-height: 320px !important;
    margin: 0 !important;
}

.theme-2.store-body .storefront-v44-main-slider .advanced-slider,
.theme-2.store-body .storefront-v44-main-slider .advanced-slider .alya-slide,
.theme-2.store-body .storefront-v44-main-slider .advanced-slider .advanced-slide-media {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.theme-2.store-body .storefront-v44-main-slider .advanced-slide-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.theme-2.store-body .storefront-v44-side-promo {
    position: relative;
    isolation: isolate;
    min-height: 285px;
    height: clamp(285px, 19vw, 320px);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background-color: #111827;
    background-size: cover;
    background-repeat: no-repeat;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
    transition: transform .22s ease, box-shadow .22s ease;
}

.theme-2.store-body .storefront-v44-side-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .16);
}

.theme-2.store-body .storefront-v44-side-promo.no-image.dark {
    background: linear-gradient(145deg, #0f172a 0%, #111827 52%, #1f2937 100%);
}

.theme-2.store-body .storefront-v44-side-promo.no-image.light {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
}

.theme-2.store-body .storefront-v44-side-promo.no-image.accent {
    background: linear-gradient(145deg, #850b12 0%, #e30613 54%, #ff3944 100%);
}

.theme-2.store-body .storefront-v44-side-promo-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 10, 20, .08) 20%, rgba(5, 10, 20, .86) 100%);
}

.theme-2.store-body .storefront-v44-side-promo.light .storefront-v44-side-promo-shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, .08) 20%, rgba(255, 255, 255, .94) 100%);
}

.theme-2.store-body .storefront-v44-side-promo > div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    color: #fff;
}

.theme-2.store-body .storefront-v44-side-promo.light > div {
    color: #111827;
}

.theme-2.store-body .storefront-v44-side-promo small {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .15em;
    color: #ff4b54;
}

.theme-2.store-body .storefront-v44-side-promo h2 {
    margin: 0 0 18px;
    font-size: clamp(23px, 2vw, 31px);
    line-height: 1.08;
    letter-spacing: -.04em;
    color: inherit;
}

.theme-2.store-body .storefront-v44-side-promo b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 10px;
    background: #e30613;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.theme-2.store-body .storefront-v44-side-promo b .site-icon {
    width: 15px;
    height: 15px;
}

/* TÜM KATEGORİLER: hover yok, yalnızca tıklamayla açılır. */
.theme-2 .store-category-dropdown-panel {
    width: 340px;
    max-height: min(68vh, 620px);
    overflow-y: auto;
    padding: 8px;
}

.theme-2 .store-master-category-accordion {
    display: grid;
    gap: 2px;
}

.theme-2 .store-master-category-item {
    min-width: 0;
}

.theme-2 .store-master-category-toggle,
.theme-2 .store-master-category-link,
.theme-2 .store-master-category-all {
    width: 100%;
    min-height: 46px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.theme-2 .store-master-category-toggle:hover,
.theme-2 .store-master-category-link:hover,
.theme-2 .store-master-category-item.is-open > .store-master-category-toggle {
    color: var(--red);
    background: #fff3f3;
}

.theme-2 .store-master-category-toggle span,
.theme-2 .store-master-category-link span {
    display: grid;
    gap: 2px;
}

.theme-2 .store-master-category-toggle b,
.theme-2 .store-master-category-link b {
    font-size: 12px;
    line-height: 1.3;
}

.theme-2 .store-master-category-toggle small,
.theme-2 .store-master-category-link small {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
}

.theme-2 .store-master-category-toggle i,
.theme-2 .store-master-category-link i {
    font-style: normal;
    font-size: 17px;
    transition: transform .18s ease;
}

.theme-2 .store-master-category-item.is-open > .store-master-category-toggle i {
    transform: rotate(180deg);
}

.theme-2 .store-master-category-children[hidden] {
    display: none !important;
}

.theme-2 .store-master-category-children {
    margin: 2px 0 5px 10px;
    padding: 4px 0 4px 9px;
    border-left: 2px solid #f0b3b7;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
}

.theme-2 .store-master-category-all {
    min-height: 39px;
    margin-bottom: 2px;
    color: #111827;
    background: #f1f5f9;
    font-size: 11px;
    font-weight: 800;
}

.theme-2 .store-master-category-item.level-2 .store-master-category-toggle,
.theme-2 .store-master-category-item.level-2 .store-master-category-link {
    padding-left: 16px;
}

.theme-2 .store-master-category-item.level-3 .store-master-category-toggle,
.theme-2 .store-master-category-item.level-3 .store-master-category-link {
    padding-left: 25px;
}

/* Yatay kategori satırındaki ana kategoriler de tıklamayla alt menü açar. */
.theme-2 .store-nav-category {
    position: relative;
    display: flex;
    align-self: stretch;
    min-width: 0;
}

.theme-2 .store-nav-category > button {
    width: 100%;
    min-width: 0;
    padding: 0 20px;
    border: 0;
    border-left: 1px solid #eceff3;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.theme-2 .store-nav-category > button:hover,
.theme-2 .store-nav-category.is-open > button {
    color: var(--red);
    background: #fff7f7;
}

.theme-2 .store-nav-category > button i {
    font-style: normal;
    transition: transform .18s ease;
}

.theme-2 .store-nav-category.is-open > button i {
    transform: rotate(180deg);
}

.theme-2 .store-nav-category-panel {
    position: absolute;
    z-index: 1345;
    top: 100%;
    left: 0;
    min-width: 260px;
    max-width: 330px;
    max-height: 430px;
    overflow-y: auto;
    padding: 9px;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
}

.theme-2 .store-nav-category-panel[hidden] {
    display: none !important;
}

.theme-2 .store-nav-category-panel a {
    min-height: 39px;
    padding: 0 11px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: #374151;
    font-size: 11.5px;
    font-weight: 650;
}

.theme-2 .store-nav-category-panel a:hover {
    color: var(--red);
    background: #f8fafc;
}

.theme-2 .store-nav-category-panel .store-nav-view-all {
    margin-bottom: 4px;
    color: #111827;
    background: #f1f5f9;
    font-weight: 850;
}

.theme-2 .store-nav-category-panel .store-nav-sub-level-1 {
    padding-left: 24px;
    color: #64748b;
}

.theme-2 .store-nav-category-panel .store-nav-sub-level-2,
.theme-2 .store-nav-category-panel .store-nav-sub-level-3 {
    padding-left: 36px;
    color: #7c8798;
    font-size: 10.5px;
}

@media (max-width: 1199px) {
    .theme-2.store-body .storefront-v44-hero > .storefront-v44-hero-grid {
        grid-template-columns: 1fr;
    }

    .theme-2.store-body .storefront-v44-main-slider,
    .theme-2.store-body .storefront-v44-main-slider > .advanced-slider,
    .theme-2.store-body .storefront-v44-main-slider > .theme2-fallback-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .theme-2.store-body .storefront-v44-side-promo {
        min-height: 190px;
        height: 190px;
    }
}

@media (max-width: 820px) {
    .theme-2 .store-nav-category {
        display: none !important;
    }

    .theme-2 .store-category-dropdown-panel {
        width: 100%;
        max-height: none;
    }

    .theme-2.store-body .storefront-v44-side-promo {
        min-height: 170px;
        height: 170px;
        border-radius: 12px;
    }

    .theme-2.store-body .storefront-v44-side-promo > div {
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .theme-2.store-body .storefront-v44-side-promo h2 {
        max-width: 420px;
        font-size: 23px;
        margin-bottom: 12px;
    }
}

/* =========================================================
   ALYA STOREFRONT V4.7 — BAĞIMSIZ SAĞ KAMPANYA SLIDERI
========================================================= */
.theme-2.store-body .storefront-side-campaigns{
    position:relative;
    min-width:0;
    min-height:285px;
    height:clamp(285px,19vw,320px);
    overflow:hidden;
    border-radius:16px;
    border:1px solid rgba(15,23,42,.08);
    background:#111827;
    box-shadow:0 12px 30px rgba(15,23,42,.10);
}
.theme-2.store-body .storefront-side-campaign{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transform:translateX(16px);
    transition:opacity .35s ease,transform .35s ease,visibility .35s;
    pointer-events:none;
}
.theme-2.store-body .storefront-side-campaign.is-active{
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    z-index:2;
}
.theme-2.store-body .storefront-side-campaign>a{
    position:absolute;
    inset:0;
    display:block;
    overflow:hidden;
    background-color:#111827;
    background-size:cover;
    background-repeat:no-repeat;
    color:#fff;
    text-decoration:none;
}
.theme-2.store-body .storefront-side-campaign.no-image.dark>a{background:linear-gradient(145deg,#0f172a,#1f2937)}
.theme-2.store-body .storefront-side-campaign.no-image.light>a{background:linear-gradient(145deg,#f8fafc,#e7edf5);color:#111827}
.theme-2.store-body .storefront-side-campaign.no-image.accent>a{background:linear-gradient(145deg,#7f0710,#e30613 58%,#ff414b)}
.theme-2.store-body .storefront-side-campaign-shade{
    position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(5,10,20,.05) 10%,rgba(5,10,20,.88) 100%);
}
.theme-2.store-body .storefront-side-campaign.light .storefront-side-campaign-shade{
    background:linear-gradient(180deg,rgba(255,255,255,.04) 10%,rgba(255,255,255,.95) 100%);
}
.theme-2.store-body .storefront-side-campaign-copy{
    position:absolute;left:22px;right:22px;bottom:22px;z-index:2;color:#fff;
}
.theme-2.store-body .storefront-side-campaign.light .storefront-side-campaign-copy{color:#111827}
.theme-2.store-body .storefront-side-campaign-copy small{
    display:block;margin-bottom:8px;font-size:10px;font-weight:900;letter-spacing:.15em;color:#ff5058;
}
.theme-2.store-body .storefront-side-campaign-copy h2{
    margin:0 0 12px;font-size:clamp(21px,1.75vw,29px);line-height:1.08;letter-spacing:-.04em;color:inherit;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.theme-2.store-body .storefront-side-campaign-price{display:flex;align-items:baseline;gap:8px;margin:0 0 12px}
.theme-2.store-body .storefront-side-campaign-price del{font-size:12px;opacity:.75}
.theme-2.store-body .storefront-side-campaign-price strong{font-size:21px;color:#fff}
.theme-2.store-body .storefront-side-campaign.light .storefront-side-campaign-price strong{color:#e30613}
.theme-2.store-body .storefront-side-campaign-copy>b{
    display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:10px;background:#e30613;color:#fff;font-size:10px;font-weight:900;
}
.theme-2.store-body .storefront-side-campaign-arrow{
    position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:34px;height:34px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(17,24,39,.62);color:#fff;font-size:23px;line-height:1;cursor:pointer;backdrop-filter:blur(5px);
}
.theme-2.store-body .storefront-side-campaign-arrow.prev{left:10px}
.theme-2.store-body .storefront-side-campaign-arrow.next{right:10px}
.theme-2.store-body .storefront-side-campaign-dots{
    position:absolute;left:50%;bottom:8px;z-index:6;display:flex;gap:6px;transform:translateX(-50%);
}
.theme-2.store-body .storefront-side-campaign-dots button{
    width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;
}
.theme-2.store-body .storefront-side-campaign-dots button.is-active{width:18px;border-radius:8px;background:#e30613}
.theme-2.store-body .storefront-side-campaigns.mode-static .storefront-side-campaign-arrow,
.theme-2.store-body .storefront-side-campaigns.mode-static .storefront-side-campaign-dots{display:none!important}
@media(max-width:1199px){
    .theme-2.store-body .storefront-side-campaigns{height:210px;min-height:210px}
}
@media(max-width:820px){
    .theme-2.store-body .storefront-side-campaigns{height:190px;min-height:190px;border-radius:12px}
    .theme-2.store-body .storefront-side-campaign-copy{left:18px;right:18px;bottom:17px}
    .theme-2.store-body .storefront-side-campaign-copy h2{font-size:22px;max-width:78%;-webkit-line-clamp:2}
    .theme-2.store-body .storefront-side-campaign-arrow{width:31px;height:31px}
}


/* ===== V4.8 hero/side campaign recovery ===== */
/*
 * ALYA Mağaza V4.8 — Sağ kampanya alanı ve düzen kurtarma dosyası
 * Benzersiz dosya adı Cloudflare/eski tarayıcı önbelleğini devre dışı bırakır.
 * Yalnız mağaza sayfasındaki V4.4/V4.7 sınıflarını etkiler.
 */

.storefront-v44-hero {
    width: 100%;
    padding: 18px 0 10px !important;
    margin: 0 !important;
    overflow: visible !important;
    background: #fff;
}

.storefront-v44-hero > .storefront-v44-hero-grid {
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 18px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.storefront-v44-main-slider {
    width: 100% !important;
    min-width: 0 !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #f5f6f8 !important;
}

.storefront-v44-main-slider > .advanced-slider,
.storefront-v44-main-slider > .theme2-fallback-hero,
.storefront-v44-main-slider .advanced-slider,
.storefront-v44-main-slider .alya-slide,
.storefront-v44-main-slider .advanced-slide-media,
.storefront-v44-main-slider picture {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
}

.storefront-v44-main-slider .advanced-slide-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
}

.storefront-v44-main-slider .advanced-slide-media::before {
    display: none !important;
}

.storefront-v44-main-slider .advanced-slide-media img,
.storefront-v44-main-slider .alya-slide img,
.storefront-v44-main-slider picture img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Sağ kampanya kartı */
.storefront-side-campaigns {
    position: relative !important;
    display: block !important;
    width: 300px !important;
    min-width: 0 !important;
    height: 300px !important;
    min-height: 300px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    background: #111827 !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10) !important;
    box-sizing: border-box !important;
}

.storefront-side-campaign {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(14px) !important;
    transition: opacity .32s ease, transform .32s ease, visibility .32s ease !important;
    pointer-events: none !important;
}

.storefront-side-campaign.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

.storefront-side-campaign > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background-color: #111827 !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    text-decoration: none !important;
    color: #fff !important;
}

.storefront-side-campaign.no-image.dark > a {
    background: linear-gradient(145deg, #0f172a, #1f2937) !important;
}

.storefront-side-campaign.no-image.light > a {
    background: linear-gradient(145deg, #f8fafc, #e7edf5) !important;
    color: #111827 !important;
}

.storefront-side-campaign.no-image.accent > a {
    background: linear-gradient(145deg, #7f0710, #e30613 58%, #ff414b) !important;
}

.storefront-side-campaign-shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, rgba(5, 10, 20, .04) 5%, rgba(5, 10, 20, .90) 100%) !important;
}

.storefront-side-campaign.light .storefront-side-campaign-shade {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.95)) !important;
}

.storefront-side-campaign-copy {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 3 !important;
    color: #fff !important;
}

.storefront-side-campaign.light .storefront-side-campaign-copy {
    color: #111827 !important;
}

.storefront-side-campaign-copy small {
    display: block !important;
    margin: 0 0 8px !important;
    color: #ff5058 !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
}

.storefront-side-campaign-copy h2 {
    margin: 0 0 12px !important;
    color: inherit !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.storefront-side-campaign-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 0 0 11px !important;
}

.storefront-side-campaign-price del {
    font-size: 12px !important;
    opacity: .72 !important;
}

.storefront-side-campaign-price strong {
    color: inherit !important;
    font-size: 21px !important;
}

.storefront-side-campaign-copy > b {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    background: #e30613 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

.storefront-side-campaign-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 8 !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgba(255,255,255,.62) !important;
    border-radius: 50% !important;
    background: rgba(17,24,39,.66) !important;
    color: #fff !important;
    font-size: 23px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.storefront-side-campaign-arrow.prev { left: 9px !important; }
.storefront-side-campaign-arrow.next { right: 9px !important; }

.storefront-side-campaign-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 8px !important;
    z-index: 9 !important;
    display: flex !important;
    gap: 6px !important;
    transform: translateX(-50%) !important;
}

.storefront-side-campaign-dots button {
    width: 7px !important;
    height: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.58) !important;
    cursor: pointer !important;
}

.storefront-side-campaign-dots button.is-active {
    width: 18px !important;
    border-radius: 8px !important;
    background: #e30613 !important;
}

.storefront-side-campaigns.mode-static .storefront-side-campaign-arrow,
.storefront-side-campaigns.mode-static .storefront-side-campaign-dots {
    display: none !important;
}

/* Ana slider ile sonraki bölümler arasında kontrollü boşluk */
.storefront-v4-benefits,
.storefront-v4-overview {
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 1199px) {
    .storefront-v44-hero > .storefront-v44-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .storefront-v44-main-slider {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1200 / 450 !important;
    }

    .storefront-side-campaigns {
        width: 100% !important;
        height: 210px !important;
        min-height: 210px !important;
    }
}

@media (max-width: 767px) {
    .storefront-v44-hero {
        padding-top: 10px !important;
    }

    .storefront-v44-hero > .storefront-v44-hero-grid,
    .storefront-v4-benefits,
    .storefront-v4-overview {
        width: calc(100% - 20px) !important;
    }

    .storefront-v44-main-slider {
        aspect-ratio: 750 / 400 !important;
        border-radius: 12px !important;
    }

    .storefront-side-campaigns {
        height: 180px !important;
        min-height: 180px !important;
        border-radius: 12px !important;
    }

    .storefront-side-campaign-copy {
        left: 17px !important;
        right: 17px !important;
        bottom: 16px !important;
    }

    .storefront-side-campaign-copy h2 {
        max-width: 82% !important;
        font-size: 21px !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* =========================================================
   ALYA STOREFRONT V4.9 — ZORUNLU DÜZEN KURTARMA
   Eski tema kurallarının mağaza ve katalog düzenini bozmasını engeller.
========================================================= */

.theme-2.store-body.page-magaza .storefront-v4-benefits {
    display: grid !important;
    grid-template-columns: 1.8fr repeat(4, minmax(0, 1fr)) !important;
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin: 14px auto 20px !important;
    padding: 0 !important;
}

.theme-2.store-body.page-magaza .storefront-v4-benefits > article {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
}

.theme-2.store-body.page-magaza .storefront-v4-overview {
    display: grid !important;
    grid-template-columns: 245px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

.theme-2.store-body.page-magaza .storefront-v4-sidebar {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

.theme-2.store-body.page-magaza .storefront-v4-main {
    display: grid !important;
    min-width: 0 !important;
    gap: 24px !important;
}

.theme-2.store-body.page-magaza .storefront-v4-category-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.theme-2.store-body.page-magaza .storefront-v4-solution-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.theme-2.store-body.page-magaza .storefront-v4-solution-grid > a {
    min-height: 112px !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
}

.theme-2.store-body.page-magaza .storefront-v4-solution-grid > a > span {
    width: 104px !important;
    height: 82px !important;
}

/* Mağaza ve ürün listesi akordiyonları */
.theme-2.store-body .catalog-category-accordion,
.theme-2.store-body .storefront-v4-sidebar .catalog-category-accordion {
    display: block !important;
    width: 100% !important;
    background: #fff !important;
}

.theme-2.store-body .category-accordion-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.theme-2.store-body .category-accordion-toggle,
.theme-2.store-body .category-accordion-link,
.theme-2.store-body .category-view-all {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 13px 10px 15px !important;
    border: 0 !important;
    border-bottom: 1px solid #eceff3 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #283445 !important;
    box-shadow: none !important;
    text-align: left !important;
}

.theme-2.store-body .category-accordion-toggle > span,
.theme-2.store-body .category-accordion-link > span {
    display: grid !important;
    min-width: 0 !important;
    gap: 3px !important;
}

.theme-2.store-body .category-accordion-toggle b,
.theme-2.store-body .category-accordion-link b {
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.theme-2.store-body .category-accordion-toggle small,
.theme-2.store-body .category-accordion-link small,
.theme-2.store-body .category-view-all small {
    color: #929baa !important;
    font-size: 8px !important;
}

.theme-2.store-body .category-accordion-toggle i,
.theme-2.store-body .category-accordion-link i,
.theme-2.store-body .category-view-all i {
    color: var(--red) !important;
    font-style: normal !important;
}

.theme-2.store-body .category-accordion-children[hidden] {
    display: none !important;
}

.theme-2.store-body .category-accordion-children {
    display: block;
    width: 100% !important;
    background: #f8fafc !important;
}

.theme-2.store-body .category-accordion-item.open > .category-accordion-toggle,
.theme-2.store-body .category-accordion-item.active > .category-accordion-toggle,
.theme-2.store-body .category-accordion-link.active,
.theme-2.store-body .category-view-all.active {
    color: var(--red) !important;
    background: #fff6f5 !important;
    box-shadow: inset 3px 0 0 var(--red) !important;
}

/* Ürün liste sayfası */
.theme-2.store-body.page-products .store-catalog-banner-wrap {
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

.theme-2.store-body.page-products .store-catalog-layout {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: start !important;
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding-top: 26px !important;
}

.theme-2.store-body.page-products .catalog-sidebar {
    display: block !important;
    position: sticky !important;
    top: 94px !important;
    min-width: 0 !important;
}

.theme-2.store-body.page-products .catalog-content {
    min-width: 0 !important;
}

@media (max-width: 1250px) {
    .theme-2.store-body.page-magaza .storefront-v4-benefits {
        grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr)) !important;
    }

    .theme-2.store-body.page-magaza .storefront-v4-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .theme-2.store-body.page-magaza .storefront-v4-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .theme-2.store-body.page-magaza .storefront-v4-overview,
    .theme-2.store-body.page-products .store-catalog-layout {
        grid-template-columns: 1fr !important;
    }

    .theme-2.store-body.page-magaza .storefront-v4-sidebar {
        display: none !important;
    }

    .theme-2.store-body.page-products .catalog-sidebar {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 680px) {
    .theme-2.store-body.page-magaza .storefront-v4-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: calc(100% - 20px) !important;
    }

    .theme-2.store-body.page-magaza .storefront-v4-overview,
    .theme-2.store-body.page-products .store-catalog-banner-wrap,
    .theme-2.store-body.page-products .store-catalog-layout {
        width: calc(100% - 20px) !important;
    }

    .theme-2.store-body.page-magaza .storefront-v4-category-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x proximity;
    }

    .theme-2.store-body.page-magaza .storefront-v4-category-grid > a {
        flex: 0 0 164px !important;
        scroll-snap-align: start;
    }
}
