/* Quicksand Font Family */
@font-face {
    font-family: 'Quicksand';
    src: url('quicksand/Quicksand-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Quicksand';
    src: url('quicksand/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Quicksand';
    src: url('quicksand/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Quicksand';
    src: url('quicksand/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Quicksand';
    src: url('quicksand/Quicksand-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}

.showcase-card-img {
    padding: 20px;
}

.showcase-card-content.has-image {

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    border: 1px solid #e5e5e5;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
}

.cat-featured-banner-cta {
    font-size: 0.95rem !important;
}

.cat-featured-banner-desc {
    font-size: 1.1rem !important;
    opacity: .85 !important;
}

.cat-featured-banner-body {
    padding: 2.2rem !important;
}

.cat-featured-banner-name {
    margin-bottom: 1rem !important;
}

.cat-grid-card__img-wrap,
.cat-grid-card__img-placeholder {
    width: 45% !important;
    aspect-ratio: 1 / 1;
    padding: 50px !important;
    background-color: white !important;
}

.cat-grid-card__child {
    font-size: 17px !important;
    line-height: unset !important;
    font-weight: 500;
}

.cat-grid-card__name {
    color: var(--primaryColor) !important;
    font-weight: bold !important;
}

.cat-grid-card__children {
    gap: 12px !important
}

.cat-grid-card {
    align-items: center !important;
}

.cat-grid-card__body {
    gap: 10px !important;
    padding: 30px 10px 30px 0px !important;
}

.nav-pills {
    gap: 10px
}

.nav-link {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #E5E5E5;
    border-radius: 5px 5px 5px 5px;
    color: #111111;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-light {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #E5E5E5;
    border-radius: 5px 5px 5px 5px;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    background-color: white;
    padding: 8px 16px;
}

.addBasketButton {
    background-color: #f0f0f0 !important;
    color: #111111 !important;
    border-color: #f0f0f0 !important;
  
}
.addBasketApp .btn, .addBasketButton{
  text-transform: uppercase;
    font-weight: 600;
    padding: 5px 23px;
    font-size: 15px
}
.showcase-card-cta {
    color: unset !important;
    border: 0 !important;
    font-size: 14px;
    font-weight: 600 !important;
}

.showcase-card-title {
    font-size: 17px !important;
    font-weight: bold !important;

}

.showcase-card-content {
    gap: 10px !important;
}

.counter input {
    min-width: 4ch;
    font-weight: 600;
}

.counter .btn {
    padding: 5px 9px;
}

#slider {
    overflow: hidden;
    border-radius: 14px;
}

header {
    background-color: var(--primaryColor);
}

.categoriesSummary img {
    object-fit: cover !important;
}

* {
    font-family: 'Quicksand', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.search-component {
    width: 60%;
}

.search-component .form-control {
    border: 2px solid var(--primaryColor);
    min-height: 50px;
}

.search-component .form-control:focus {
    background-color: #f3f3f3 !important;
}

.search-component .form-control:focus-visible {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important
}

#slider .slide-desc2 p {
    margin: 15px 0;
    font-size: 16px;
}

#slider .slide-desc2 p strong {
    color: var(--primaryColor);

}

.slideButton {
    padding: 7px 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.slideButton img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: invert(1);
    margin-right: 8px;
    margin-top: -3px;
}

.carousel-caption {
    height: fit-content;
    top: 50%;
    left: 70px;
    color: unset;
    text-align: start;
    transform: translateY(-50%);
    width: calc(50% - 106px);
    z-index: 3;
    padding: 0;
}

.carousel-caption h5 {
    font-size: 37px;
    font-weight: 600;
    text-transform: uppercase;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

.profileMenu {
    width: 17ch
}

.desktop-search img {
    right: 1px !important;
    background-color: var(--primaryColor) !important;
    padding: 13px;
    width: 45px;
    height: 46px;
    top: 2px !important;
    border-radius: 0 0 5px;
}

.topHeader {
    background-color: #f2f2f2;
}

.topHeader * {
    font-size: 14px !important;
    color: #3b3b3b;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.topHeader a {

    padding-right: 17px;
    padding-top: 0.05em;
    padding-bottom: 0.05em;
}

.topHeader .storeNotice {
    margin: 0 !important;

}

.topHeader .shorts .desktop {
    gap: 17px !important;
}

.topHeader .shorts .desktop a {
    border-right: 1px solid #ddd;
}

.topHeader .shorts .desktop a:last-child {
    border-right: none;
}

header nav>.container,
.menu>ul>li>a {
    min-height: 56px;
    color: #fdfdfd;
    letter-spacing: 0.3px;
}

.menu>ul>li.active>a {
    color: var(--primaryColor);
}

.menu>ul {
    gap: 0;
}

.menu>ul>li>a {
    padding: 0 20px;
}

.menu li * {
    font-size: 16px;
    font-weight: 600 !important;
}

.menu ul li ul {
    min-width: 100%;
}

.offcanvas-body {
    justify-content: start !important;
}

.logo-text {
    color: #111827 !important;
}

.menu ul li {
    transition: background-color 0.3s ease;
}

.menu ul li:hover {
    background-color: var(--primaryColorLightest);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.25s ease;
    cursor: pointer;
    height: 100%;
}

.category-card p {
    margin: 0;
}

.category-card svg {
    fill: var(--primaryColor);
}

.category-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--primaryColor);
    /* senin turuncuya yakın */
}

.category-card i {
    font-size: 18px;
    color: var(--primaryColor);
}

.category-card span {
    font-weight: 600;
    color: #111827;
}

.menu ul li:hover>a {
    color: var(--primaryColor) !important;
}

.menu li.active {

    background-color: var(--bs-gray-100);
}

.search-results {
    z-index: 1021;
}

.search-results ul li a {
    color: #333 !important;
    padding: 6px 15px;
    display: block;
    background-color: #f7f7f7;
    margin-bottom: 5px;
    border-radius: 5px;
    font-weight: 500;
}

.search-results ul li a:hover {
    background-color: #e2e2e2;

}

.search-results h6 {
    font-weight: bold;
    color: var(--primaryColor);
}

.profileMenu a {
    color: #111827;
}

.categorySummary .title h5 {
    font-size: 26px;
    font-weight: 600;
}

.category-type-wrapper .card-body {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 0;
    color: white;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-type-wrapper .card-body h5 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 17px;
}

.category-type-wrapper .card {
    border-radius: 10px;
    overflow: hidden;
}

.category-type-wrapper .card img,
.category-type-wrapper h5::before {
    transition: transform 0.3s ease;

}

.category-type-wrapper .card:hover img {
    transform: scale(1.15);
}

.category-type-wrapper .card:hover .card-body h5::before {
    opacity: 0.58;
    background: black;
}

.category-type-wrapper .card-body h5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primaryColor);
    z-index: -1;
    opacity: 0.88;
}

.page-title {
    background-color: var(--bs-gray-100) !important;
    color: var(--primaryColor);
    padding: 21px 0;
}

.product-details p,
#details p {
    font-size: 15px;
    font-weight: 400;
    color: #252525;
}


#details p strong,
#details h1,
#details h2,
#details h3,
#details h4,
#details h5,
#details h6 {
    color: var(--primaryColor);
    font-weight: 600;
}

.all-categories {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #3b3b3b !important;
}

.product-attribute-label {
    color: var(--primaryColor) !important;
    font-weight: 600;
}


.nav-tabs button.nav-link {
    text-transform: uppercase;
    padding: 14px 57px;
    font-weight: 500;
}

.page-title h1 {
    font-size: 21px;

    text-transform: uppercase;
}

.discount-badge h5.d-block.text-primary.fw-bold.fs-5.m-0 {
    font-size: 17px !important;
}

/* ── Featured Category Boxes ─────────────────────────────── */
.featured-cat-box {
    display: flex;
    align-items: flex-end;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--primaryColor);
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
    min-height: 140px;
    flex: 1 1 0;
}

.featured-cat-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .08) 65%);
    transition: opacity .25s ease;
}

.featured-cat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

.featured-cat-box:hover::before {
    opacity: .8;
}

.featured-cat-body {
    position: relative;
    z-index: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.featured-cat-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 6px;
    filter: brightness(0) invert(1);
}

.featured-cat-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    letter-spacing: .2px;
}

.featured-cat-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .featured-cat-box {
        min-height: 120px;
    }

    .featured-cat-name {
        font-size: 15px;
    }
}

.route-magaza-urunler-param1 .tab-content {
    padding: 15px 35px;
    background-color: #f3f3f3;
    margin-bottom: 40px;
}

.sidebar-section {
    background-color: var(--bs-gray-100);
    padding: 7px;
}

.sidebar-content {
    margin: 0 !important
}

@media (max-width: 991.98px) {
    .toggler-icon {
        width: 25px !important;
        height: 2px;
    }

    .featured-cat-icon {
        width: 26px;
        height: 26px;
    }

    .carousel-caption {
        left: 20px;
        width: calc(50% - 40px);
        display: block !important;

    }

    .carousel-caption h5 {
        font-size: 14px !important;
    }

    .carousel-caption p {
        display: none;
    }

    #slider .slide-desc2 p {
        margin: 2px 0;
    }

    .slideButton {
        font-size: 10px;
        padding: 3px 7px;
        font-weight: 600;
        text-transform: uppercase;
        margin: 0 !important;
    }

    .slideButton img {
        width: 10px;
        height: 10px;
        margin-right: 4px;
        margin-top: -2px;
    }

    .route-magaza-urunler-param1 .tab-content {
        padding: 10px 20px;
        margin-bottom: 20px;
    }

    .nav-tabs button.nav-link {
        padding: 14px 37px;

    }

    .page-title {

        padding: 8px 0;
    }

    .logo {
        max-width: 140px;
    }

    h5.card-title.h6 {
        font-size: 14px;
    }

    header {
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 0;
        overflow: hidden;
    }

    .category-card svg {
        width: 24px;
        height: 24px;
    }

    .topHeader .storeNotice {
        font-size: 12px !important;
        font-weight: 600;
    }

    .category-card {
        padding: 10px 8px;
        gap: 4px;
        align-items: center;
        text-align: center;
        justify-content: space-between;
    }

    .category-card>span {
        font-size: 0.72rem;
        order: 2;
    }

    .category-card .d-flex {
        justify-content: center;
        order: 1;
    }
}

/* Bootstrap Container Genişlik Overrides */
@media (min-width: 1200px) {
    .first-header {
        position: unset !important;
    }

    .menu>ul {
        margin-left: -20px;
    }

    .container,
    .container-xl {
        max-width: 1400px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-xxl {
        max-width: 1450px;
    }
}

/* ── Mega Menu ──────────────────────────────────────────── */
.mega-menu-panel {
    flex-direction: row;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    min-height: 420px;
    max-height: 72vh;
}

.mega-menu-panel.show {
    display: flex !important;
    top: 122%;
}

/* ── Left sidebar: root categories ──────────────────────── */
.mmp-sidebar {
    width: 230px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 6px 0;
}

.mmp-root-item {
    cursor: pointer;
}

.mmp-root-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #374151;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
    line-height: 1.3;
}

.mmp-root-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(40%) opacity(.7);
    transition: filter .15s;
}

.mmp-root-icon-placeholder {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mmp-root-label {
    flex: 1;
}

.mmp-root-link .bi-chevron-right {
    font-size: 10px;
    opacity: .45;
    flex-shrink: 0;
}

.mmp-root-item:hover .mmp-root-link,
.mmp-root-item.active .mmp-root-link {
    background: #fff;
    color: var(--primaryColor);
    border-left-color: var(--primaryColor);
}

.mmp-root-item:hover .mmp-root-icon,
.mmp-root-item.active .mmp-root-icon {
    filter: grayscale(0%) opacity(1);
}

/* ── Right content area ──────────────────────────────────── */
.mmp-content {
    flex: 1;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.mmp-panel {
    display: none;
    padding: 22px 26px;
    animation: mmFadeIn .15s ease;
}

.mmp-panel.active {
    display: block;
}

@keyframes mmFadeIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Panel heading (category title + description) */
.mmp-panel-cover {
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.mmp-panel-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .05) 60%);
    border-radius: 10px;
}

.mmp-panel-cover-title {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.mmp-panel-cover-title:hover {
    text-decoration: underline !important;
}

.mmp-panel-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.mmp-panel-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primaryColor);
    text-decoration: none !important;
}

.mmp-panel-title:hover {
    text-decoration: underline !important;
}

.mmp-panel-desc {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    display: block;
}

.mmp-panel-desc-standalone {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
    margin-top: -8px;
}

/* Grid of sub-category columns */
.mmp-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 22px 18px;
}

/* Column header (level-1 subcategory) */
.mmp-col-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #111827;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .45px;
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e5e7eb;
    transition: color .15s;
}

.mmp-col-title:hover {
    color: var(--primaryColor);
}

/* Level-2 items */
.mmp-col-items {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mmp-col-items>li>a {
    font-size: 13px;
    color: #4b5563;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .15s;
    display: block;
    padding: 2px 0;
}

.mmp-col-items>li>a:hover {
    color: var(--primaryColor);
}

/* Level-3 items (deep) */
.mmp-deep {
    list-style: none;
    padding: 3px 0 2px 10px;
    margin: 0;
    border-left: 2px solid #f3f4f6;
}

.mmp-deep li a {
    font-size: 11.5px;
    color: #9ca3af;
    text-decoration: none !important;
    transition: color .15s;
    display: block;
    padding: 1px 0;
}

.mmp-deep li a:hover {
    color: var(--primaryColor);
}