/* =========================================
   HERO SLIDER
========================================= */

/* Slider kutusu: tam genişlik banner için oran aşağıda (--hero-full); klasik slayt sabit yükseklik */
.hero-slider-wrapper,
.heroSwiper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.heroSwiper .swiper-slide:not(.swiper-slide--hero-full) {
    height: 420px !important;
}

/* Banner görseli ~2.6:1 (ör. 1300×500); genişliğe göre yükseklik — kırpma/şerit yok */
.heroSwiper .swiper-slide.swiper-slide--hero-full {
    position: relative;
    height: auto !important;
    aspect-ratio: 12 / 5;
}

.heroSwiper .swiper-slide .hero-slide-full-image {
    border-radius: 0 !important;
}

.heroSwiper .swiper-slide.swiper-slide--hero-full .hero-slide-full-image {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero-slide {
    padding: 60px 40px;
    border-radius: 18px;
    min-height: 420px;
    height: 420px;
    display: flex;
    align-items: center;
}

/* Görsel slayt alanını tamamen doldurur (kenarda siyah bant yok); net, bulanık efekt yok */
.hero-img-full {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Karartma/gradient yok; metin okunurluğu gölge ile */
.hero-slide-full-image .hero-title,
.hero-slide-full-image .hero-desc {
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 2px 24px rgba(0, 0, 0, 0.85),
        0 1px 6px rgba(0, 0, 0, 0.95);
}

.hero-slide .col-md-6:first-child {
    padding-left: 80px !important;
}

.hero-img {
    max-height: 320px;
    object-fit: contain;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 480px;
}

@media (max-width: 768px) {
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.55);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.55);
}

.slider-arrow::after {
    font-size: 22px;
    color: white;
    font-weight: bold;
}

.swiper-button-prev {
    left: 35px !important;
}

.swiper-button-next {
    right: 30px !important;
}

.heroSwiper .swiper-pagination {
    bottom: 25px !important;
}

.hero-slide-clickable {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.heroSwiper .swiper-slide.swiper-slide--hero-full .hero-slide-clickable {
    position: absolute;
    inset: 0;
}

.hero-cta-btn {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 14px;
}

.hero-cta-btn:hover {
    background: color-mix(in srgb, var(--bs-primary) 88%, #000);
    border-color: color-mix(in srgb, var(--bs-primary) 88%, #000);
    color: #fff;
}

@media (max-width: 768px) {
    .heroSwiper .swiper-slide:not(.swiper-slide--hero-full) {
        height: 600px !important;
    }

    .hero-slide {
        padding: 40px 20px;
        min-height: 600px;
        height: 600px;
        text-align: center;
        display: block;
    }

    .hero-img-full {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        object-fit: cover;
        object-position: center center;
    }

    .hero-slide-full-image .hero-content-overlay {
        padding: 30px 20px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-slide .col-md-6:first-child {
        padding-left: 0 !important;
    }

    .hero-img {
        margin-top: 30px;
        max-height: 300px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        bottom: 45px !important;
        top: auto !important;
    }

    .swiper-button-prev {
        left: 22%;
    }

    .swiper-button-next {
        right: 22%;
    }

    .heroSwiper .swiper-pagination {
        bottom: 18px !important;
    }
}

/* Mobile hero slider: card-like look (matches design) */
@media (max-width: 768px) {
    .heroSwiper {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
        height: auto !important;
    }

    .hero-slider-wrapper,
    .heroSwiper .swiper-wrapper {
        height: auto !important;
    }

    /* Klasik (gradient) slayt: sabit kart yüksekliği */
    .heroSwiper .swiper-slide:not(.swiper-slide--hero-full) {
        height: 240px !important;
    }

    /* Tam genişlik banner: masaüstüyle aynı oran (12/5), biraz daha yüksek kutu — üst/alt kırpım azalır */
    .heroSwiper .swiper-slide.swiper-slide--hero-full {
        height: auto !important;
        aspect-ratio: 12 / 5;
        border-radius: 14px !important;
        overflow: hidden;
    }

    .heroSwiper .swiper-slide.swiper-slide--hero-full .hero-slide-full-image {
        border-radius: 14px !important;
    }

    /* Ensure image always fills the card */
    .hero-slide {
        position: relative;
        min-height: 240px;
        height: 240px;
        border-radius: 14px !important;
        overflow: hidden;
    }

    .hero-img-full {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center center;
    }

    /*
      Non-full-image slides are rendered as a 2-col layout in HTML.
      On mobile, convert to "image background + text overlay" layout.
    */
    .hero-slide.row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        padding: 0 !important;
        margin: 0 !important;
        align-items: stretch !important;
    }

    .hero-slide.row > .col-md-6 {
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-slide.row > .col-md-6.text-center {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .hero-slide.row > .col-md-6.text-center .hero-img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: cover;
        margin: 0 !important;
    }

    .hero-slide.row > .col-md-6.text-white {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        padding: 16px 16px 40px !important;
    }

    .hero-slide.row::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.18) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );
    }

    .hero-slide-full-image .hero-content-overlay {
        align-items: flex-start;
        text-align: left;
        justify-content: flex-start;
        padding: 16px 16px 40px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-title {
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 8px !important;
    }

    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.35;
        max-width: 260px;
        margin-bottom: 10px !important;
    }

    .hero-cta-btn {
        padding: 8px 12px;
        font-size: 0.92rem;
        border-radius: 10px;
    }

    .heroSwiper .swiper-pagination {
        bottom: 10px !important;
    }

    .heroSwiper .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        opacity: 0.35;
        background: #fff;
    }

    .heroSwiper .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }

    .slider-arrow {
        display: none;
    }
}

.product-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.3rem;
    text-align: left;
    position: relative;
    padding-left: 4px;
}

.product-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 4px;
    margin-top: 6px;
    opacity: 0.9;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: #dcdcdc;
}

.product-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f6f6f6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.2s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.old-price {
    font-size: 0.82rem;
    color: #9b9b9b;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: .2px;
}

.product-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px 0;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}

.product-btn:hover {
    background: #333;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

@media (max-width: 576px) {
    .product-title {
        height: auto;
    }
}

.hb-category-bar {
    padding: 6px 5px;
    position: relative;
    z-index: 1050;
    background: transparent;
}

.hb-category-bar .navbar {
    padding: 0;
}

/* KATEGORI ITEM */
.hb-category-item {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: transparent;
    color: #333;
    position: relative;
}

.hb-category-item:hover,
.hb-category-item:focus,
.hb-category-item.show {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
    transform: translateY(-1px);
}

.hb-category-item.no-arrow::after {
    display: none;
}

.hb-category-item.dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: 0.2em;
}

.mega-menu {
    border: none;
    border-radius: 12px;
    padding: 0;
    margin-top: 8px;
    min-width: 600px;
    max-width: 1200px;
    left: 0 !important;
    right: auto !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #fff;
    z-index: 1060;
}

.mega-menu .container-fluid {
    padding: 30px 25px;
}

.mega-menu-column {
    padding: 0 10px;
}

.mega-menu-item {
    margin-bottom: 20px;
}

.mega-menu-item:last-child {
    margin-bottom: 0;
}

.mega-menu-link {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.mega-menu-link strong {
    font-weight: 600;
    color: var(--bs-primary);
}

.mega-menu-link:hover {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
    padding-left: 5px;
    transition: all .2s ease;
}

.mega-menu-sublist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.mega-menu-sublist li {
    margin-bottom: 6px;
}

.mega-menu-sublink {
    display: block;
    padding: 6px 0 6px 15px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mega-menu-sublink::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--bs-primary);
}

.tum-kategoriler-wrapper {
    position: relative;
}

.tum-kategoriler-btn {
    background: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}

.tum-kategoriler-btn:hover,
.tum-kategoriler-btn:focus {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    filter: brightness(0.9);
}

.tum-kategoriler-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    max-width: 95vw;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 1060;
    margin-top: 8px;
    border: 1px solid #eee;
    overflow: hidden;
}

.tum-kategoriler-wrapper:hover .tum-kategoriler-mega-menu {
    display: block;
}

.mega-menu-container {
    display: flex;
    min-height: 400px;
    max-height: 600px;
}

.mega-menu-left {
    width: 240px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    overflow-y: auto;
}

.mega-menu-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-category-item {
    border-bottom: 1px solid #eee;
}

.mega-menu-category-item:last-child {
    border-bottom: none;
}

.mega-menu-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.mega-menu-category-item:hover .mega-menu-category-link,
.mega-menu-category-item.active .mega-menu-category-link {
    background: #fff5f0;
    color: var(--bs-primary);
}

.mega-menu-category-name {
    font-size: 14px;
    font-weight: 500;
}

.mega-menu-arrow {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mega-menu-category-item:hover .mega-menu-arrow,
.mega-menu-category-item.active .mega-menu-arrow {
    opacity: 1;
}

.mega-menu-right {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    position: relative;
}

.mega-menu-subcategories {
    display: none;
    animation: fadeIn 0.2s ease;
}

.mega-menu-subcategories.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mega-menu-subcategory-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mega-menu-subcategory-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-subcategory-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    margin-bottom: 4px;
}

.mega-menu-subcategory-title:hover {
    color: var(--bs-primary);
}

.mega-menu-subcategory-title i {
    font-size: 12px;
}

.mega-menu-subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-menu-subcategory-item {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
    display: block;
}

.mega-menu-subcategory-item:hover {
    color: var(--bs-primary);
}

.mega-menu-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 16px;
}

@media (max-width: 992px) {
    .tum-kategoriler-mega-menu {
        width: 100vw;
        left: -50vw;
        margin-left: 50%;
    }

    .mega-menu-subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mega-menu-container {
        flex-direction: column;
        max-height: 500px;
    }

    .mega-menu-left {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .mega-menu-subcategories-grid {
        grid-template-columns: 1fr;
    }
}

.mega-menu-sublink:hover {
    color: var(--bs-primary);
    padding-left: 20px;
}

.mega-menu-sublink:hover::before {
    opacity: 1;
}

@media (max-width: 992px) {
    .mega-menu {
        min-width: 100%;
        max-width: 100%;
    }

    .mega-menu .container-fluid {
        padding: 20px 15px;
    }

    .mega-menu-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hb-category-bar {
        overflow: visible;
        z-index: 9996;
    }

    .hb-category-bar .category-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hb-category-bar .d-flex {
        flex-wrap: nowrap;
    }

    .mega-menu {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0;
        border-radius: 0;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 2147483647 !important;
    }

    .tum-kategoriler-mega-menu,
    body .hb-mega-menu-in-body.tum-kategoriler-mega-menu {
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        border-radius: 0;
        z-index: 2147483647 !important;
        max-height: calc(100vh - 56px);
        -webkit-overflow-scrolling: touch;
    }

    .mega-menu .row {
        margin: 0;
    }

    .mega-menu .col-lg-3,
    .mega-menu .col-md-6 {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .hb-category-item {
        font-size: 14px;
        padding: 8px 12px;
    }

    .mega-menu .container-fluid {
        padding: 15px 10px;
    }

    .mega-menu-item {
        margin-bottom: 15px;
    }
}

.icon-banner-wrapper {
    position: relative;
    width: 100%;
    margin-top: -4px;
}

.icon-banner-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 4px 0 6px;
    scrollbar-width: none;
}

.icon-banner-scroll::-webkit-scrollbar {
    display: none;
}

.icon-banner-item {
    min-width: 80px;
    text-align: center;
    text-decoration: none;
    color: #1f1f1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 2px;
    margin: 0 auto 5px;
    transition: transform 0.2s ease;
}

.icon-circle-inner {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle-inner img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.icon-banner-item:hover .icon-circle {
    transform: scale(1.06);
}

.icon-title {
    display: block;
    font-size: 11.5px;
    line-height: 1.3;
    font-weight: 500;
    color: #333;
    max-width: 80px;
    margin: 0 auto;
}
.icon-scroll-arrow {
    position: absolute;
    top: 28px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

.icon-scroll-arrow:hover {
    transform: scale(1.08);
}

.icon-scroll-arrow.left {
    left: -14px;
}

.icon-scroll-arrow.right {
    right: -14px;
}

@media (max-width: 768px) {
    .icon-scroll-arrow {
        display: none !important;
    }
}

.triple-campaign-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tripleCampaignSwiper {
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    background: transparent;
    position: relative;
}

.tripleCampaignSwiper .swiper-slide {
    height: auto;
    width: 100% !important; /* prevent "peek" */
}

.triple-campaign-slide {
    width: 100%;
}

.tripleCampaignSwiper .triple-campaign-banner-item {
    border-radius: 14px !important;
    overflow: hidden;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.tripleCampaignSwiper .triple-campaign-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tripleCampaignSwiper .swiper-pagination {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 10px !important;
    margin: 0;
    text-align: center;
}

.tripleCampaignSwiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    opacity: 0.35;
    background: #fff;
}

.tripleCampaignSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

@media (max-width: 768px) {
    /* Match short, wide banner look on mobile */
    .tripleCampaignSwiper .triple-campaign-banner-item {
        aspect-ratio: 3.6 / 1 !important;
    }

    .tripleCampaignSwiper .swiper-pagination {
        bottom: 10px !important;
    }
}

.trust-bar {
    margin-top: 16px;
}

.trust-bar__items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.trust-bar__icon {
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-block;
    font-size: 30px;
    color: #111;
    background: transparent;
    line-height: 1;
    flex: 0 0 auto;
}

.trust-bar__text {
    min-width: 0;
}

.trust-bar__text-title {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    line-height: 1.2;
    white-space: nowrap;
}

.trust-bar__text-sub {
    font-size: 12px;
    font-weight: 600;
    color: #7a7a7a;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .trust-bar {
        margin-top: 22px; /* more gap from campaign */
    }

    .trust-bar .section-header {
        margin-bottom: 8px;
    }

    /* Match other mobile section headers (no orange underline) */
    .trust-bar .product-section-title {
        font-size: 15px;
        margin-bottom: 0;
    }

    .trust-bar .product-section-title::after {
        display: none;
    }

    .trust-bar__items {
        gap: 6px;
        justify-content: space-between;
        padding-top: 0;
    }

    .trust-bar__icon {
        font-size: 22px;
    }

    .trust-bar__item {
        flex-direction: column;
        gap: 6px;
        padding: 10px 8px;
        border-radius: 12px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .trust-bar__text {
        text-align: center;
    }

    .trust-bar__text-title {
        font-size: 11px;
        font-weight: 700;
        color: #222;
        white-space: nowrap;
    }

    .trust-bar__text-sub {
        font-size: 10px;
        font-weight: 600;
        color: #8a8a8a;
        white-space: nowrap;
    }
}
.triple-campaign-banner-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.triple-campaign-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.triple-campaign-banner-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.triple-campaign-banner-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.triple-campaign-banner-item:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .triple-campaign-banners {
        grid-template-columns: 1fr;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.see-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
}

.see-all:hover {
    color: var(--bs-primary);
    opacity: 0.8;
}

.featured-products-wrapper {
    position: relative;
}

/* Video trend products (homepage) */
.video-thumb-box {
    position: relative;
}

.vt-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    cursor: pointer;
    z-index: 2;
}

.vt-play i {
    font-size: 28px;
    margin-left: 2px;
}

.home-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.home-video-frame iframe,
.home-video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
}

/* Dikey video: karartma tüm sayfa, video header altında üstte hizalanır */
:root {
    --home-video-header-offset: 72px;
    --home-video-bottom-offset: 24px;
    --home-video-vertical-top-gap: 8px;
}

@media (max-width: 991.98px) {
    :root {
        --home-video-header-offset: 118px;
        --home-video-bottom-offset: 72px;
        --home-video-vertical-top-gap: 4px;
    }
}

#homeVideoModal.modal {
    --bs-modal-zindex: 11060;
}

body.home-video-modal-open:not(.home-video-modal-vertical) > .navbar,
body.home-video-modal-open:not(.home-video-modal-vertical) .mobile-bottom-nav {
    z-index: 11100 !important;
}

body.home-video-modal-open.home-video-modal-vertical > .modal-backdrop.show {
    position: fixed !important;
    z-index: 11050 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

body.home-video-modal-open.home-video-modal-vertical #homeVideoModal.modal {
    position: fixed !important;
    z-index: 11060 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: calc(var(--home-video-header-offset) + var(--home-video-vertical-top-gap)) 0 var(--home-video-bottom-offset) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    pointer-events: none;
}

body.home-video-modal-open.home-video-modal-vertical #homeVideoModal .modal-dialog.is-video-vertical {
    width: auto;
    max-width: min(92vw, 380px);
    margin: 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - var(--home-video-header-offset) - var(--home-video-bottom-offset) - var(--home-video-vertical-top-gap) - 16px) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    transform: none !important;
    pointer-events: auto;
}

#homeVideoModal .modal-content.is-video-vertical,
#homeVideoModal .modal-dialog.is-video-vertical .modal-body {
    background: #000;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

#homeVideoModal .modal-dialog.is-video-vertical .modal-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    height: auto;
    width: 100%;
}

#homeVideoModal .modal-dialog.is-video-vertical .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-height: 0;
    height: auto;
    max-height: 100%;
}

#homeVideoModal .modal-dialog.is-video-vertical .btn-close {
    filter: invert(1);
    z-index: 3;
}

.home-video-frame.is-video-vertical {
    width: auto;
    max-width: min(92vw, 380px);
    max-height: min(
        calc(100dvh - var(--home-video-header-offset) - var(--home-video-bottom-offset) - var(--home-video-vertical-top-gap) - 32px),
        68vh,
        520px
    );
    aspect-ratio: 9 / 16;
    height: auto;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
}

.home-video-frame.is-video-vertical iframe,
.home-video-frame.is-video-vertical video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

@media (max-width: 768px) {
    .vt-play {
        width: 42px;
        height: 42px;
    }
}

.featured-products-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 8px;
}

.featured-products-scroll::-webkit-scrollbar {
    display: none;
}

.fp-card {
    min-width: 180px;
    max-width: 180px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    text-decoration: none;
    color: #222;
    transition: all 0.2s ease;
    display: block;
    overflow: hidden;
}

.fp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.fp-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fp-link:hover {
    color: inherit;
}

.fp-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f6f6;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
}

.fp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-badge-best {
    position: absolute;
    left: 8px;
    top: 8px;
    background: #ff6a00;
    color: #fff;
    font-weight: 900;
    font-size: 9.5px;
    line-height: 1.05;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fp-badge-new {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.fp-badge-discount {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    min-width: 44px;
    padding: 5px 7px 4px;
    border-radius: 11px;
    background: linear-gradient(160deg, #ff5a7a 0%, #f43f5e 42%, #e11d48 100%);
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow:
        0 10px 22px rgba(225, 29, 72, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.fp-badge-discount__percent {
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 2px rgba(127, 29, 29, 0.16);
}

.fp-badge-discount__label {
    font-weight: 800;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.96;
}

.fp-stock {
    margin-top: 4px;
    font-size: 10px;
    color: #7a7a7a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.fp-stock-icon {
    color: #22c55e;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 auto;
}

/* Home main categories slider */
.home-cats__wrapper {
    position: relative;
}

.homeCatsSwiper {
    padding: 0 2px 4px;
    height: auto;
}

.homeCatsSwiper .swiper-wrapper {
    align-items: stretch;
}

.homeCatsSwiper .swiper-slide {
    height: auto;
}

.home-cats__slide {
    width: auto;
}

.home-cats__item {
    text-decoration: none;
    color: inherit;
    flex: 0 0 auto;
}

.home-cats__thumb {
    position: relative;
    width: 138px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-cats__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #333;
}

.home-cats__arrow.left {
    left: -12px;
}

.home-cats__arrow.right {
    right: -12px;
}

@media (max-width: 768px) {
    .home-cats__arrow {
        display: none;
    }
}

.home-cats__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-cats__icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    background: #fff;
}

.home-cats__icon i {
    font-size: 26px;
}

.home-cats__label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-cats__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
}

.home-cats__label {
    z-index: 2;
}

@media (max-width: 768px) {
    .home-cats .section-header {
        margin-bottom: 12px;
    }

    /* Match "Yeni Gelen Ürünler" header row style on mobile */
    .home-cats .product-section-title {
        font-size: 15px;
        margin-bottom: 0;
    }

    .home-cats .product-section-title::after {
        display: none;
    }

    .home-cats .see-all {
        font-size: 12px;
        font-weight: 700;
        color: #7b7b7b;
    }
}
.fp-info {
    padding: 8px 10px 10px;
}

.fp-title {
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
    max-height: calc(2 * 1.3em);
    word-break: break-word;
}

.fp-price {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.fp-price .old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-right: 0;
}

.fp-price .new {
    font-size: 15px;
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: 0.2px;
}

.fp-arrow {
    position: absolute;
    top: 40%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.fp-arrow.left {
    left: -12px;
}

.fp-arrow.right {
    right: -12px;
}

@media (max-width: 768px) {
    .fp-arrow {
        display: none;
    }

    .fp-card {
        min-width: 160px;
    }

    .featured-products-section.mt-4 {
        margin-top: 12px !important;
    }

    .fp-img-box img {
        object-fit: cover;
    }

    .fp-price .new {
        color: #111;
    }
}

/* Trend section: compact mobile layout like the screenshot */
@media (max-width: 768px) {
    .featured-products--trend {
        margin-top: 10px !important;
    }

    .featured-products--trend .section-header {
        margin-bottom: 8px;
    }

    .featured-products--trend .product-section-title {
        font-size: 15px;
        margin-bottom: 0;
    }

    .featured-products--trend .product-section-title::after {
        display: none;
    }

    .featured-products--trend .see-all {
        font-size: 12px;
        font-weight: 700;
        color: #7b7b7b;
    }

    .featured-products--trend .featured-products-scroll {
        gap: 10px;
        padding: 0 2px 6px;
    }

    /* Fit ~2 cards in viewport */
    .featured-products--trend .fp-card {
        min-width: 148px;
        max-width: 148px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }

    .featured-products--trend .fp-link {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .featured-products--trend .fp-img-box {
        border-radius: 10px 10px 0 0;
        aspect-ratio: 1 / 1;
        background: #f3f3f3;
    }

    .featured-products--trend .fp-info {
        padding: 6px 8px 4px;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .featured-products--trend .fp-title {
        font-size: 10.8px;
        line-height: 1.25;
        height: auto;
        min-height: calc(2 * 1.25em);
        max-height: calc(2 * 1.25em);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    /* If there is no meta, use that space for the title (better UX) */
    .featured-products--trend .fp-card.is-no-meta .fp-title {
        min-height: calc(3 * 1.25em);
        max-height: calc(3 * 1.25em);
        -webkit-line-clamp: 3;
    }

    /* Full meta on mobile (same content as desktop) */
    .featured-products--trend .product-meta--full {
        margin-top: 5px;
    }

    .featured-products--trend .product-meta--full .rating-line {
        flex-wrap: wrap;
        gap: 3px;
    }

    .featured-products--trend .product-meta--full .rating-score {
        font-size: 10px;
        font-weight: 700;
    }

    .featured-products--trend .product-meta--full .star-rating {
        font-size: 9px;
    }

    .featured-products--trend .product-meta--full .rating-count {
        font-size: 9px;
    }

    .featured-products--trend .product-meta--full .favorite-line {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.2;
    }

    /* Legacy compact meta (no longer used) */
    .featured-products--trend .product-meta--compact {
        margin-top: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #7a7a7a;
        font-size: 11px;
        line-height: 1;
        min-height: 14px;
    }

    .featured-products--trend .product-meta--compact.is-empty {
        visibility: hidden; /* keeps height for alignment but doesn't show anything */
    }

    .featured-products--trend .product-meta--compact .pm-item {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

    .featured-products--trend .product-meta--compact .bi-star-fill {
        color: #ffc107;
        font-size: 11px;
    }

    .featured-products--trend .product-meta--compact .bi-heart-fill {
        color: #ff4d6d;
        font-size: 11px;
    }

    .featured-products--trend .product-meta--compact .pm-num {
        font-weight: 700;
        font-size: 11px;
        color: #666;
    }

    .featured-products--trend .fp-price {
        margin-top: 4px;
        gap: 1px;
        /* Force consistent vertical alignment of sale price (new) */
        display: grid;
        grid-template-rows: 12px 16px;
        align-content: start;
    }

    .featured-products--trend .fp-price .old {
        font-size: 10px;
        line-height: 12px;
        height: 12px;
        margin: 0;
    }

    .featured-products--trend .fp-price .old.is-empty {
        visibility: hidden; /* reserve space so new price aligns */
    }

    .featured-products--trend .fp-price .new {
        line-height: 16px;
        height: 16px;
        margin: 0;
        align-self: end;
    }

    .featured-products--trend .fp-price .new {
        font-size: 12px;
        font-weight: 800;
        color: #111;
    }

    .featured-products--trend .fp-add-cart-btn {
        width: calc(100% - 12px);
        margin: 8px 6px 8px;
        padding: 7px 8px;
        font-size: 11px;
        border-radius: 10px;
        background: var(--bs-primary);
        border: 1px solid var(--bs-primary);
        color: #fff;
    }
}

.fp-add-cart-btn {
    width: calc(100% - 16px);
    margin: 8px 8px 10px;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: #ff6a00;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

.fp-add-cart-btn:active {
    transform: scale(0.98);
}
.product-meta {
    font-size: 12.5px;
    color: #666;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.rating-score {
    font-weight: 600;
    color: #333;
}

.star-rating {
    position: relative;
    font-size: 13px;
    line-height: 1;
}

.star-rating-back {
    color: #ddd;
}

.star-rating-front {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107;
    white-space: nowrap;
    overflow: hidden;
}

.star-rating i {
    margin-right: 1px;
}

.rating-count {
    color: #777;
    font-size: 12px;
}

.favorite-line {
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.category-scroll-wrapper {
    position: relative;
    width: 100%;
}

/* KATEGORİ SCROLLBAR TAM GİZLE (GRİ ÇİZGİYİ KALDIRIR) */
.category-scroll {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

.category-scroll::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
    height: 0;
}

.category-scroll > * {
    flex: 0 0 auto;
}

.category-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1025;
    transition: all 0.2s ease;
}

.category-scroll-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.category-scroll-arrow.left {
    left: -10px;
}

.category-scroll-arrow.right {
    right: -10px;
}

@media (max-width: 768px) {
    .category-scroll-arrow {
        display: none !important;
    }
}
