.tf-grid-layout {
    row-gap: 24px;
}


.product-card-simple {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    padding: 0 0 38px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}


.product-card-thumb {
    display: block;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.product-card-thumb-inner {
    position: relative;
    padding-top: 82%;
}

.product-card-thumb-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}


.product-card-simple:hover .product-card-thumb-inner img {
    transform: scale(1.03);
}
.product-card-labels {
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: auto;
}
.product-card-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none; /* alt link tıklanabilsin */
}
.product-badge.badge-sale {
    position: static;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffffff;
    color: #e53935;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.product-pill {
    position: static !important;
    padding: 3px 9px !important;
    font-size: 11px !important;
    border-radius: 999px !important;
    background: #e6f8ec !important;
    color: #2e7d32 !important;
    border: 1px solid #b7e2c2 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
.product-wishlist-btn {
    pointer-events: auto; /* tıklanabilsin */
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.product-wishlist-btn .icon-heart {
    font-size: 16px;
    color: #111827;
}

.product-wishlist-btn:hover {
    background-color: #fef2f2;
}


.product-card-title {
    display: block;
    padding: 10px 12px 0;
    font-size: 13px;
    font-weight: 400;
    color: #374151;
    line-height: 1.4;
    min-height: 2.8em;
}

.product-card-title:hover {
    color: #ef4444;
}


.price-group-simple {
    padding: 4px 12px 0;
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-group-simple .price-new {
    font-weight: 600;
    color: #e53935;
}

.price-group-simple .price-old {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}


.product-card-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.product-card-simple:hover .product-card-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-main-product-simple {
    display: block;
    width: 100%;
    text-align: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    font-weight: 500;
    background: #ffffff;
    color: #111827;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-main-product-simple:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}


.card-product {
    background: transparent;
    border: none;
    box-shadow: none;
}

.homewear-carousel {
    position: relative !important;
}


.homewear-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: none !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #111827 !important;
    cursor: pointer !important;
    z-index: 20 !important;
    padding: 0 !important;
}

.homewear-prev {
    left: -20px !important;
    right: auto !important;
}

.homewear-next {
    right: -20px !important;
    left: auto !important;
}

.homewear-nav-btn:hover {
    background: #111827 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35) !important;
    transform: translateY(-50%) scale(1.05) !important;
}


@media (max-width: 767.98px) {
    .homewear-nav-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
    }

    .homewear-prev {
        left: 4px !important;
    }

    .homewear-next {
        right: 4px !important;
    }
}



.xmas-corner-section {
    margin-top: 40px;
}

.xmas-corner-heading .heading {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: .02em;
}

.xmas-corner-heading .subheading {
    font-size: 14px;
    color: #6b7280;
    margin-top: 6px;
}

.xmas-corner-left {
    position: relative;
    height: 100%;
    background: #f7f0ea;
    padding: 24px 20px 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.xmas-corner-left::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 18px;
    background: #7a1b1b;
}

.xmas-corner-left-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.xmas-corner-left-inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.xmas-corner-left-caption {
    margin-top: 14px;
    font-size: 13px;
    color: #4b5563;
}

.xmas-corner-right-grid {
    row-gap: 24px;
}

@media (max-width: 991.98px) {
    .xmas-corner-left {
        margin-bottom: 20px;
        padding-left: 28px;
    }

    .xmas-corner-left::before {
        top: 4%;
        bottom: 4%;
        width: 12px;
    }
}


.homewear-carousel {
    position: relative !important;
}


.homewear-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: none !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #111827 !important;
    cursor: pointer !important;
    z-index: 20 !important;
    padding: 0 !important;
}

.homewear-prev {
    left: -20px !important;
    right: auto !important;
}

.homewear-next {
    right: -20px !important;
    left: auto !important;
}

.homewear-nav-btn:hover {
    background: #111827 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* Fiyat satırında görünen “Yeni” pili */
.price-group-simple .product-pill-inline {
    margin-right: 6px;
    align-self: center;
    /* istersen biraz daha küçük yapabilirsin */
    font-size: 11px !important;
}

@media (max-width: 767.98px) {
    .homewear-nav-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
    }

    .homewear-prev {
        left: 4px !important;
    }

    .homewear-next {
        right: 4px !important;
    }
}

.homewear-carousel .product-card-thumb-inner {
    padding-top: 82%;
}


.tf-grid-layout.wrapper-shop.tf-col-4 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 32px !important;
    row-gap: 48px !important;
}


@media (max-width: 991.98px) {
    .tf-grid-layout.wrapper-shop.tf-col-4

    {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 24px !important;
        row-gap: 36px !important;
    }

}


@media (max-width: 575.98px) {
    .tf-grid-layout.wrapper-shop.tf-col-4

    {
        grid-template-columns: 1fr !important;
        column-gap: 16px !important;
        row-gap: 28px !important;
    }

}


.card-product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.card-product-wrapper {
    position: relative;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #f5eee7 !important;
}


.product-img {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    background: #f5eee7 !important;
}


.product-img::before {
    content: "" !important;
    display: block !important;
    padding-bottom: 66.66% !important;
}

.product-img img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    transition: opacity .25s ease !important;
}


.img-product {
    opacity: 1 !important;
}

.img-hover {
    opacity: 0 !important;
}

.card-product:hover .img-hover {
    opacity: 1 !important;
}

.card-product:hover .img-product {
    opacity: 0 !important;
}


.card-product:hover .product-img img {
    transform: none !important;
}


.list-product-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-6px);
    transition: .25s;
    z-index: 5;
}

.card-product:hover .list-product-btn {
    opacity: 1;
    transform: translateY(0);
}

.box-icon {
    background: #ffffff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
}

.card-product-info {
    margin-top: 14px !important;
}

.card-product-info .title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
}

.card-product-info .price,
.card-product-info .current-price {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #c22525 !important;
}


#discountPopup .modal-dialog.modal-xl {
    max-width: 1120px !important;
}

#discountPopup .modal-content.discount-products-popup {
    padding: 32px 56px 28px !important;
    border-radius: 18px !important;
}

.discount-products-popup .modal-top {
    padding-bottom: 8px !important;
}

.discount-products-popup .modal-top h4 {
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* Swiper alanı */
.discount-popup-swiper {
    position: relative !important;
    padding: 28px 64px 24px !important; /* oklar için boşluk */
    width: 100% !important;
}

/* Swiper zaten flex veriyor, wrapper’a dokunmuyoruz.
   Sadece slide genişliğini kart gibi sabitliyoruz. */
.discount-popup-swiper .swiper-slide {
    width: 250px !important;  /* 4 kart = ~ 250*4 + boşluklar */
    height: auto !important;
}

/* Popup içindeki kart – dışarıdaki kartları BOZMAMAK için
   sadece popup içini hedefliyoruz. */
.discount-products-popup .product-card-simple {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 0 12px !important;
    height: 100% !important;
}

.discount-products-popup .product-card-thumb-inner {
    padding-top: 120% !important; /* daha kare görünüm */
}

.discount-products-popup .product-card-title {
    padding: 10px 0 0 !important;
    font-size: 14px !important;
    min-height: 3em !important;
}

.discount-products-popup .price-group-simple {
    padding: 4px 0 0 !important;
    margin: 0 !important;
    gap: 4px !important;
    font-size: 14px !important;
}

/* Ok butonları – birinci ekrandaki gibi ortada yuvarlak */
.discount-popup-prev,
.discount-popup-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

.discount-popup-prev {
    left: 18px !important;
}

.discount-popup-next {
    right: 18px !important;
}

/* Küçük ekranlar */
@media (max-width: 991.98px) {
    #discountPopup .modal-dialog.modal-xl {
        max-width: 100% !important;
        margin: 0 12px !important;
    }

    .discount-popup-swiper {
        padding: 20px 48px 20px !important;
    }
}

@media (max-width: 575.98px) {
    .discount-popup-swiper {
        padding: 16px 40px 16px !important;
    }

    .discount-popup-swiper .swiper-slide {
        width: 70% !important; /* mobilde 1–1.2 kart */
    }
}

.menu-item-sale .item-link-sale {
    color: #e02424;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}


.menu-item-sale .item-link-sale:hover {
    color: #b91c1c;
}

.nav-cart .nav-icon-item {
    position: relative;
}

.nav-cart .count-box {
    position: absolute;
    top: -4px;
    right: -6px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 999px;
    background-color: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 0 2px #fff;
}




.mimiko-container{

    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;


    padding-left: clamp(14px, 2.2vw, 28px) !important;
    padding-right: clamp(14px, 2.2vw, 28px) !important;
}


.home-index{
    --page-max: 1374px;
    --page-pad: clamp(14px, 2.2vw, 0px);
    --section-y: clamp(28px, 4vw,0px);
    --section-y-tight: clamp(18px, 2.6vw, 44px);
    --radius-xl: 18px;
    --shadow-soft: 0 12px 34px rgba(0,0,0,.06);
}


.home-index .mimiko-container{
    max-width: var(--page-max) !important;
    padding-left: var(--page-pad) !important;
    padding-right: var(--page-pad) !important;
}


@media (min-width: 1600px){
    .home-index{
        --page-max: 1240px;
        --page-pad: 40px;
    }
}
@media (min-width: 1900px){
    .home-index{
        --page-max: 2500px;
        --page-pad: 56px;
    }
}



.home-index .flat-spacing.pt-0,
.home-index .flat-spacing-2.pt-0,
.home-index .flat-spacing-3.pt-0{
    padding-top: 0 !important;
}

.home-index .flat-spacing.pb_0,
.home-index .flat-spacing-2.pb_0,
.home-index .flat-spacing-3.pb_0{
    padding-bottom: 80px !important;
}

.home-index .home-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap: 16px;
    margin-bottom: clamp(18px, 2.2vw, 34px);
}

.home-index .home-section-title{
    font-size:3.375rem ;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

.home-index .home-section-subtitle{
    margin: 8px 0 0 0;
    font-size: 1rem;
    color: rgba(0,0,0,.62);
    max-width: 70ch;
}

.home-index .home-section-link{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration:none;
    border-bottom: 1px solid rgba(0,0,0,.25);
    padding-bottom: 4px;
    white-space: nowrap;
}

.home-index .soft-surface{
    background: rgba(0,0,0,.02);
    border-radius: var(--radius-xl);
    padding: clamp(18px, 2.6vw, 34px);
}

.home-index .soft-divider{
    height: 1px;
    background: rgba(0,0,0,.06);
    margin: clamp(22px, 3vw, 54px) 0;
}


.home-index .tf-slideshow .wrap-slider img{
    border-radius: 0 !important;
}


.home-index .home-cat-section .home-cat-heading{
    padding-right: 10px;
}
.home-index .home-cat-section .home-cat-title{
    font-size: 64px;
    line-height: 1.1;
}
.home-index .home-cat-section .home-cat-subtitle{
    font-size: 2rem;
    letter-spacing: .02em;
    margin-bottom: 8px;
    opacity: .7;
}


.home-index .tab-product{
    gap: 14px !important;
    margin-bottom: clamp(16px, 2vw, 28px) !important;
}
.home-index .tab-product a{
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(0,0,0,.035);
}
.home-index .tab-product a.active{
    background: rgba(0,0,0,.08);
}


.home-index .tf-grid-layout{
    gap: clamp(14px, 1.8vw, 26px) !important;
}


.home-index .homewear-carousel{
    position: relative;
}
.home-index .homewear-nav-btn{
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 22px;
    z-index: 5;
}
.home-index .homewear-prev{ left: -10px; }
.home-index .homewear-next{ right: -10px; }

@media (max-width: 991.98px){
    .home-index .homewear-prev{ left: 6px; }
    .home-index .homewear-next{ right: 6px; }
}
.home-index .tf-slideshow { padding: 0 !important; }
.home-index .tf-slideshow .tf-sw-slideshow { max-width: none !important; margin: 0 !important; }


@media (min-width: 2000px){
    .home-index .tf-slideshow{
        padding-left: 64px !important;
        padding-right: 64px !important;
    }

    .home-index .tf-slideshow .tf-sw-slideshow{
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-index .tf-slideshow .wrap-pagination .mimiko-container{
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}



.mimiko-loader{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(2px);
}

.mimiko-loader.is-active{ display:flex; }

.mimiko-loader__box{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    padding:18px 22px;
    border-radius:18px;
}

.mimiko-loader__brand{
    display:flex;
    gap:4px;
    font-weight:800;
    letter-spacing:6px;
    font-size:22px;
    color:#8A6653;
    user-select:none;
}

.mimiko-loader__brand span{
    display:inline-block;
    transform: translateY(0);
    animation: mimikoBounce 1.05s infinite ease-in-out;
    opacity:.88;
}


.mimiko-loader__brand span:nth-child(1){ animation-delay:0s; }
.mimiko-loader__brand span:nth-child(2){ animation-delay:.08s; }
.mimiko-loader__brand span:nth-child(3){ animation-delay:.16s; }
.mimiko-loader__brand span:nth-child(4){ animation-delay:.24s; }
.mimiko-loader__brand span:nth-child(5){ animation-delay:.32s; }
.mimiko-loader__brand span:nth-child(6){ animation-delay:.40s; }

@keyframes mimikoBounce{
    0%,100% { transform: translateY(0); opacity:.75; }
    50%     { transform: translateY(-8px); opacity:1; }
}

/* altta ince progress bar */
.mimiko-loader__bar{
    width: 220px;
    height: 6px;
    border-radius: 999px;
    background: rgba(138,102,83,.18);
    overflow:hidden;
    position:relative;
}

.mimiko-loader__bar::before{
    content:"";
    position:absolute;
    inset:0;
    width:40%;
    border-radius:999px;
    background:#8A6653;
    animation: mimikoSlide 1.1s infinite ease-in-out;
}

@keyframes mimikoSlide{
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}


