@import url(
    "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap"
);

/* ==========================================================
   KATMAN SIRALAMASI
   ========================================================== */

.offcanvas {
    z-index: 1045;
}

.offcanvas-backdrop {
    z-index: 1040;
}

/* ==========================================================
   GENEL HEADER
   ========================================================== */

.dr-site-header {
    position: relative;
    z-index: 1030;
    font-family: "Roboto", sans-serif;
}

.dr-site-header *,
.dr-site-header *::before,
.dr-site-header *::after {
    box-sizing: border-box;
}

.dr-header-main {
    position: relative;
    background: #f6c713;
}

.dr-header-main::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(32, 39, 52, 0.09);
    content: "";
}

.dr-header-layout {
    display: grid;
    grid-template-columns: 180px minmax(260px, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 104px;
    padding: 14px 0;
}

/* ==========================================================
   LOGO
   ========================================================== */

.dr-header-logo {
    min-width: 0;
}

.dr-header-logo a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.dr-header-logo img {
    display: block;
    width: 100%;
    max-width: 175px;
    max-height: 76px;
    object-fit: contain;
}

/* ==========================================================
   ARAMA
   ========================================================== */

.dr-header-search {
    min-width: 0;
}

.dr-header-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid rgba(32, 39, 52, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(32, 39, 52, 0.08);
}

.dr-header-search-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 13px;
    color: #202734;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 0.85rem;
}

.dr-header-search-input::placeholder {
    color: #939dac;
}

.dr-header-search-input::-webkit-search-cancel-button {
    display: none;
}

.dr-header-search-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 40px;
    color: #ffffff;
    background: #202734;
    border: 0;
    border-radius: 9px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dr-header-search-button:hover {
    background: #343d4c;
}

.dr-header-search-button:active {
    transform: scale(0.96);
}

/* ==========================================================
   HEADER AKSİYONLARI
   ========================================================== */

.dr-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    min-width: 0;
}

/* Telefon */

.dr-header-support {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-right: 12px;
    color: #202734;
    border-right: 1px solid rgba(32, 39, 52, 0.16);
    text-decoration: none;
}

.dr-header-support:hover {
    color: #202734;
}

.dr-header-support-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.37);
    border-radius: 10px;
    font-size: 0.86rem;
}

.dr-header-support-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dr-header-support-label {
    color: rgba(32, 39, 52, 0.7);
    font-size: 0.67rem;
}

.dr-header-support-number {
    color: #202734;
    font-size: 0.8rem;
    font-weight: 750;
    white-space: nowrap;
}

/* Sepet */

.dr-header-cart {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 0 11px;
    color: #ffffff;
    background: #202734;
    border-radius: 10px;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dr-header-cart:hover {
    color: #ffffff;
    background: #343d4c;
}

.dr-header-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    color: #202734;
    background: #ffc928;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* Kullanıcı */

.dr-header-account {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    padding: 0 11px;
    color: #202734;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dr-header-account:hover {
    color: #202734;
    background: #ffffff;
}

/* ==========================================================
   NAVİGASYON
   ========================================================== */

.menu-container.dr-navigation {
    width: 100%;
    color: #ffffff;
    background: #202734;
}

.dr-navigation-inner {
    min-height: 54px;
}

.dr-navigation .main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dr-navigation-item {
    position: relative;
}

.dr-navigation .main-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 19px;
    color: #e6e9ee;
    font-size: 0.79rem;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.dr-navigation .main-menu > li > a::after {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    content: "";
}

.dr-navigation .main-menu > li > a.active {
    color: #ffc928;
    font-weight: 700;
}

.dr-navigation .main-menu > li > a.active::after {
    background: #ffc928;
}

.dr-navigation-link-icon {
    font-size: 0.76rem;
}

.dr-categories-arrow {
    margin-left: 2px;
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

/* ==========================================================
   MOBİL MENÜ BUTONU
   ========================================================== */

.menu-mobile.dr-navigation-toggle {
    display: none;
    width: 100%;
    min-height: 49px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.dr-navigation-toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.dr-navigation-toggle-arrow {
    color: #ffc928;
    transition: transform 0.2s ease;
}

.dr-navigation-toggle[aria-expanded="true"]
    .dr-navigation-toggle-arrow {
    transform: rotate(180deg);
}

/* ==========================================================
   MEGA MENÜ
   ========================================================== */

.dr-navigation .menu-item.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1035;
    display: none;
    width: 100%;
    max-height: min(72vh, 740px);
    overflow-y: auto;
    background: #f4f6f9;
    border-top: 3px solid #ffc928;
    box-shadow: 0 18px 30px rgba(18, 28, 45, 0.16);
}

.mega-inner {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 24px;
}

.dr-mega-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dr-mega-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #202734;
    background: #ffc928;
    border-radius: 10px;
}

.dr-mega-heading h3 {
    margin: 0;
    color: #202734;
    font-size: 0.95rem;
    font-weight: 750;
}

.dr-mega-heading p {
    margin: 4px 0 0;
    color: #788395;
    font-size: 0.73rem;
}

.dr-mega-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.mega-category-row {
    min-width: 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 11px;
}

.mega-category-title {
    margin: 0 0 10px;
}

.mega-category-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding-bottom: 8px;
    color: #202734;
    border-bottom: 1px solid #edf0f4;
    font-size: 0.79rem;
    font-weight: 750;
    text-decoration: none;
}

.mega-category-title a i {
    flex-shrink: 0;
    color: #c79a00;
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.mega-category-title a:hover i {
    transform: translateX(3px);
}

.mega-subcategory-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}

.mega-subcategory-item {
    min-width: 0;
}

.mega-subcategory-item a {
    display: block;
    overflow: hidden;
    padding: 7px 8px;
    color: #596579;
    border-radius: 6px;
    font-size: 0.74rem;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-left 0.2s ease;
}

.mega-subcategory-item a:hover {
    padding-left: 11px;
    color: #202734;
    background: #fff5d7;
}

/* Masaüstü hover */

@media screen and (min-width: 960px) {
    .dr-navigation .main-menu > li:hover > a {
        color: #ffc928;
        background: rgba(255, 255, 255, 0.055);
    }

    .dr-navigation .menu-item.has-mega:hover .mega-menu,
    .dr-navigation .menu-item.has-mega:focus-within .mega-menu {
        display: block;
    }

    .dr-navigation
        .menu-item.has-mega:hover
        .dr-categories-arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================
   SEPET BİLDİRİMLERİ
   ========================================================== */

.dr-cart-notification {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: auto;
    z-index: 1090;
    display: none;
    width: min(440px, calc(100vw - 28px));
    padding: 14px;
    color: #ffffff;
    background: #202734;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    box-shadow: 0 16px 38px rgba(18, 28, 45, 0.25);
}

.dr-cart-notification-content {
    display: flex;
    align-items: center;
    gap: 11px;
}

.dr-cart-notification-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #202734;
    background: #ffc928;
    border-radius: 10px;
}

.dr-cart-notification-content strong,
.dr-cart-notification-content > div > span {
    display: block;
}

.dr-cart-notification-content strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.dr-cart-notification-content > div > span {
    margin-top: 3px;
    color: #c4ccd6;
    font-size: 0.72rem;
}

.dr-cart-notification-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: 12px;
    padding: 0 12px;
    color: #202734;
    background: #ffc928;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
}

.dr-cart-notification-button:hover {
    color: #202734;
    background: #ffd54a;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1199.98px) {
    .dr-header-layout {
        grid-template-columns: 150px minmax(220px, 1fr) auto;
        gap: 15px;
    }

    .dr-header-support-content {
        display: none;
    }

    .dr-header-support {
        padding-right: 9px;
    }

    .dr-header-logo img {
        max-width: 145px;
    }
}

/* ==========================================================
   MOBİL
   ========================================================== */

@media screen and (max-width: 959.98px) {
    .dr-header-layout {
        grid-template-columns: minmax(100px, 1fr) auto;
        grid-template-areas:
            "logo actions"
            "search search";
        gap: 12px;
        min-height: auto;
        padding: 13px 0;
    }

    .dr-header-logo {
        grid-area: logo;
    }

    .dr-header-logo img {
        max-width: 150px;
        max-height: 62px;
    }

    .dr-header-search {
        grid-area: search;
    }

    .dr-header-actions {
        grid-area: actions;
        gap: 8px;
    }

    .dr-header-support {
        padding-right: 0;
        border-right: 0;
    }

    .dr-header-support-icon {
        width: 39px;
        height: 39px;
    }

    .dr-header-cart,
    .dr-header-account {
        min-height: 39px;
        padding: 0 10px;
    }

    .dr-header-cart-label {
        display: none;
    }

    .dr-header-account span {
        display: none;
    }

    .dr-header-account {
        width: 39px;
    }

    .dr-header-search-form {
        min-height: 45px;
    }

    .dr-header-search-input {
        height: 37px;
    }

    .dr-header-search-button {
        width: 39px;
        height: 37px;
    }

    /* Menü */

    .dr-navigation-inner {
        min-height: 49px;
    }

    .menu-mobile.dr-navigation-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .dr-navigation .main-menu {
        display: none;
        min-height: auto;
        padding: 0 0 7px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .dr-navigation .main-menu.active {
        display: flex;
    }

    .dr-navigation .main-menu > li {
        width: 100%;
    }

    .dr-navigation .main-menu > li > a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 45px;
        padding: 0 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.79rem;
    }

    .dr-navigation .main-menu > li > a::after {
        right: auto;
        bottom: 7px;
        left: 0;
        width: 3px;
        height: calc(100% - 14px);
        border-radius: 0 3px 3px 0;
    }

    .dr-categories-arrow {
        margin-left: auto;
    }

    .dr-navigation
        .menu-item.has-mega.open
        .dr-categories-arrow {
        transform: rotate(180deg);
    }

    /* Mega menü */

    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        max-height: 58vh;
        overflow-y: auto;
        background: #f4f6f9;
        border-top: 0;
        border-radius: 0 0 9px 9px;
        box-shadow: none;
    }

    .dr-navigation .menu-item.has-mega.open .mega-menu {
        display: block;
    }

    .mega-inner {
        padding: 12px;
    }

    .dr-mega-heading {
        gap: 9px;
        margin-bottom: 12px;
    }

    .dr-mega-heading-icon {
        width: 33px;
        height: 33px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .dr-mega-heading h3 {
        font-size: 0.83rem;
    }

    .dr-mega-heading p {
        font-size: 0.68rem;
    }

    .dr-mega-categories {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .mega-category-row {
        padding: 11px;
        border-radius: 9px;
    }

    .mega-category-title a {
        min-height: 31px;
        font-size: 0.76rem;
    }

    .mega-subcategory-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 6px;
    }

    .mega-subcategory-item a {
        padding: 7px 5px;
        font-size: 0.69rem;
    }
}

/* ==========================================================
   DAR EKRANLAR
   ========================================================== */

@media screen and (max-width: 479.98px) {
    .dr-header-layout {
        gap: 10px;
    }

    .dr-header-logo img {
        max-width: 125px;
    }

    .dr-header-actions {
        gap: 6px;
    }

    .dr-header-support-icon,
    .dr-header-account {
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .dr-header-cart {
        min-height: 36px;
        padding: 0 8px;
    }

    .dr-header-cart-count {
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 0.65rem;
    }

    .dr-header-search-input {
        padding: 0 9px;
        font-size: 0.76rem;
    }

    .dr-cart-notification {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
}

@media screen and (max-width: 359.98px) {
    .dr-header-logo img {
        max-width: 108px;
    }

    .dr-header-support {
        display: none;
    }

    .mega-subcategory-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ERİŞİLEBİLİRLİK
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .dr-header-search-button,
    .dr-header-cart,
    .dr-header-account,
    .dr-navigation .main-menu > li > a,
    .dr-categories-arrow,
    .mega-subcategory-item a,
    .mega-category-title a i {
        transition: none;
    }
}