/* Bu dosya, vitrin şablonlarında her sayfaya satır içi (inline) basılan CSS'in dışarı alınmış halidir (sayfa HTML boyutu ve tarayıcı önbelleği için).
   Kaynak partial: resources/views/frontend/partials/_scripts.blade.php — içerik birebir aynıdır, değiştirirken sürüm parametresi (filemtime) otomatik yenilenir. */
/* Quick View: kısa, tek parça ve sakin bir modal geçişi. */
    .mfp-product.mfp-wrap .mfp-content {
        opacity: 0;
        transform: translateY(14px) scale(.975);
        filter: blur(5px);
        transition:
            opacity .24s ease-out,
            transform .34s cubic-bezier(.16, 1, .3, 1),
            filter .24s ease-out;
        transform-origin: 50% 48%;
        will-change: opacity, transform, filter;
    }
    .mfp-product.mfp-wrap.mfp-ready .mfp-content {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    .mfp-product.mfp-wrap.mfp-removing .mfp-content {
        opacity: 0;
        transform: translateY(8px) scale(.985);
        filter: blur(2px);
        transition: opacity .2s ease-in, transform .24s ease-in, filter .2s ease-in;
    }

    /* Arka plan karartması: temanın kuralında `transition: opactiy ...` şeklinde
       bir YAZIM HATASI var (bkz. style.min.css .mfp-bg), o yüzden karartma
       hiç yumuşak geçiş yapmıyordu — doğru property ile burada düzeltiyoruz. */
    .mfp-product.mfp-bg {
        opacity: 0;
        backdrop-filter: blur(0);
        transition: opacity .28s ease-out, backdrop-filter .28s ease-out;
    }
    .mfp-product.mfp-bg.mfp-ready { opacity: .46; backdrop-filter: blur(2px); }
    .mfp-product.mfp-bg.mfp-removing { opacity: 0; backdrop-filter: blur(0); }

    @media (prefers-reduced-motion: reduce) {
        .mfp-product.mfp-wrap .mfp-content,
        .mfp-product.mfp-wrap.mfp-ready .mfp-content,
        .mfp-product.mfp-wrap.mfp-removing .mfp-content {
            transform: none;
            filter: none;
            transition-duration: .01ms;
        }
        .mfp-product.mfp-bg { backdrop-filter: none; transition-duration: .01ms; }
    }

    .mfp-product .mfp-content {
        max-width: 104rem;
        padding: 1.5rem;
    }
    .mfp-product .product-popup {
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(25, 42, 70, .08);
        border-radius: 1.2rem;
        background: #fff;
        box-shadow: 0 28px 80px rgba(18, 32, 55, .2);
    }
    .mfp-product .qv-commerce {
        min-height: 0;
        align-items: stretch;
        background: #fff;
    }
    .mfp-product .qv-gallery-column {
        position: relative;
        display: flex;
        flex: 0 0 45%;
        max-width: 45%;
        align-items: flex-start;
        padding: 3rem 1.5rem 3rem 3rem;
        background: #fff;
    }
    .mfp-product .qv-gallery-column .product-gallery { width: 100%; }
    .mfp-product .qv-gallery-column .product-image {
        overflow: hidden;
        border-radius: .4rem;
        background: #f6f6f6;
    }
    .mfp-product .qv-gallery-column .product-image img {
        width: 100%;
        height: 41rem;
        object-fit: contain;
    }
    .mfp-product .qv-type-badge {
        position: absolute;
        top: 2rem;
        left: 2rem;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        min-height: 3rem;
        padding: .5rem 1.1rem;
        border: 1px solid rgba(51, 102, 153, .16);
        border-radius: 99rem;
        background: rgba(255, 255, 255, .92);
        color: #315f8d;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        box-shadow: 0 5px 18px rgba(30, 62, 94, .08);
    }
    .mfp-product .qv-details-column {
        flex: 0 0 55%;
        max-width: 55%;
        background: #fff;
    }
    .mfp-product .qv-details-panel {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        height: auto !important;
        max-height: none;
        overflow: visible !important;
        padding: 3rem 4rem 2.8rem 3rem;
    }
    .mfp-product .product-thumbs-wrap {
        display: block !important;
        margin-top: 1.1rem;
        padding: 0;
    }
    .mfp-product .product-thumbs {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
    }
    .mfp-product .product-thumbs .product-thumb {
        flex: 0 0 7.4rem;
        width: 7.4rem;
        height: 7.4rem;
        margin: 0;
        overflow: hidden;
        border: 1px solid #e4e7eb;
        border-radius: .3rem;
        background: #f7f7f7;
        cursor: pointer;
    }
    .mfp-product .product-thumbs .product-thumb.active,
    .mfp-product .product-thumbs .swiper-slide-thumb-active {
        border: 2px solid #336699;
    }
    .mfp-product .product-thumbs .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .mfp-product .qv-eyebrow {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .8rem;
        margin-bottom: 1rem;
        color: #8993a4;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: .045em;
        text-transform: uppercase;
    }
    .mfp-product .qv-eyebrow a { color: #336699; }
    .mfp-product .qv-eyebrow-dot {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #b6bfcb;
    }
    .mfp-product .qv-details-panel .product-title {
        margin-bottom: 1.2rem;
        color: #172033;
        font-size: clamp(2.2rem, 2.4vw, 3rem);
        line-height: 1.25;
        letter-spacing: -.025em;
    }
    .mfp-product .qv-brand-meta { margin-bottom: 1.3rem; }
    .mfp-product .qv-price {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .8rem 1.4rem;
        margin: 0 0 1rem;
        min-height: 6.6rem;
        padding: 1rem 1.2rem;
        border: 1px solid #e7ebf0;
        border-radius: .9rem;
        background: #f8fafc;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        white-space: normal !important;
    }
    .mfp-product .qv-price-block {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
    }
    .mfp-product .qv-price-block > small {
        color: #8a93a1;
        font-size: .9rem;
        font-weight: 650;
        letter-spacing: .035em;
        line-height: 1;
        text-transform: uppercase;
    }
    .mfp-product .qv-price del {
        color: #8a93a1 !important;
        font-size: 1.75rem;
        font-weight: 550;
        line-height: 1.15;
    }
    .mfp-product .qv-price .new-price {
        color: #172033 !important;
        font-size: 2.75rem;
        font-weight: 750;
        letter-spacing: -.025em;
        line-height: 1.05;
    }
    .mfp-product .qv-discount-badge {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 3.6rem;
        margin-left: auto;
        padding: .5rem .9rem;
        border-radius: .7rem;
        background: #eaf7ef;
        color: #258451;
        font-size: 1.05rem;
        font-weight: 750;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .mfp-product .qv-discount-badge strong { line-height: 1.15; }
    .mfp-product .qv-discount-badge small {
        color: #4d8f68;
        font-size: .9rem;
        font-weight: 650;
        line-height: 1.2;
    }
    @media (max-width: 575px) {
        .mfp-product .qv-price { gap: .8rem 1rem; padding: .9rem 1rem; }
        .mfp-product .qv-price .new-price { font-size: 2.35rem; }
        .mfp-product .qv-price del { font-size: 1.5rem; }
        .mfp-product .qv-discount-badge { margin-left: 0; }
    }
    .mfp-product .qv-availability { margin-bottom: 1.6rem; }
    .mfp-product .qv-spec-summary {
        display: grid;
        gap: .9rem;
        margin: .3rem 0 1.8rem;
        padding: 1.4rem 1.5rem;
        border: 1px solid #e7ebf0;
        border-radius: 1rem;
        background: #fafbfd;
    }
    .mfp-product .qv-spec-item {
        display: flex;
        align-items: flex-start;
        gap: .9rem;
        color: #687386;
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .mfp-product .qv-spec-item i {
        flex: 0 0 auto;
        margin-top: .25rem;
        color: #3a9b63;
        font-size: 1.15rem;
    }
    .mfp-product .qv-spec-item strong { color: #344156; font-weight: 700; }
    .mfp-product .product-short-desc {
        margin-bottom: 0;
        color: #687386;
        font-size: 1.3rem;
        line-height: 1.7;
    }
    .mfp-product .product-short-desc + .product-divider {
        margin: .7rem 0 .35rem;
    }
    .mfp-product .product-variation-form {
        display: block;
        margin-bottom: 0 !important;
        padding: .9rem 0;
        border-top: 1px solid #edf0f4;
    }
    .mfp-product .product-divider + .product-variation-form {
        padding-top: .55rem;
        border-top: 0;
    }
    .mfp-product .product-variation-form > label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        min-width: 0;
        margin: 0 0 .65rem;
        color: #273449;
        font-weight: 700;
    }
    .mfp-product .product-variation-form > label > span {
        flex: 0 0 auto;
        font-size: 1.25rem;
        line-height: 1.25;
        white-space: nowrap;
    }
    .mfp-product .product-variation-form > label small {
        margin: 0;
        color: #98a1af;
        font-size: .95rem;
        font-weight: 500;
        line-height: 1.25;
        white-space: nowrap;
    }
    .mfp-product .product-variation-form .product-variations {
        gap: .6rem;
        width: 100%;
    }
    .mfp-product .product-variation-form .product-variations > a {
        margin: 0 !important;
    }
    .mfp-product .product-variations .size {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 7rem;
        height: auto;
        min-height: 3.5rem;
        padding: .65rem 1.1rem;
        border-radius: .7rem;
        line-height: 1.25;
        text-align: center;
        white-space: nowrap;
    }
    .mfp-product .product-variations .size.active {
        border-color: #336699;
        background: #edf5fc;
        color: #245b8e;
        box-shadow: 0 0 0 1px rgba(51, 102, 153, .08);
    }
    .mfp-product .qv-option-copy {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .15rem;
        line-height: 1.1;
    }
    .mfp-product .qv-option-copy strong {
        color: inherit;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .mfp-product .qv-option-copy small {
        color: #8290a4;
        font-size: .9rem;
        font-weight: 500;
    }
    .mfp-product .product-variations > a.is-disabled {
        cursor: not-allowed;
        border-color: #e6e9ee !important;
        background: #f6f7f9 !important;
        color: #9ba4b1 !important;
        opacity: .72;
        box-shadow: none !important;
    }
    .mfp-product .product-variations > a.is-disabled .qv-color-dot {
        filter: grayscale(.65);
        opacity: .55;
    }
    .mfp-product .product-color-swatch .qv-color-option {
        display: inline-flex !important;
        align-items: center;
        gap: .75rem;
        width: auto !important;
        min-width: 10rem;
        height: 3.5rem !important;
        margin: 0 !important;
        padding: .45rem .8rem !important;
        border: 1px solid #dfe4ea !important;
        border-radius: .75rem !important;
        background: #fff !important;
        color: #536074 !important;
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1;
        box-shadow: none;
    }
    .mfp-product .product-color-swatch .qv-color-option::before,
    .mfp-product .product-color-swatch .qv-color-option::after {
        display: none !important;
        content: none !important;
    }
    .mfp-product .qv-color-option .qv-color-dot {
        flex: 0 0 2.2rem;
        width: 2.2rem;
        height: 2.2rem;
        border: 1px solid rgba(23, 32, 51, .16);
        border-radius: 50%;
        background: var(--qv-swatch-color);
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
    }
    .mfp-product .qv-color-option > i {
        display: none;
        margin-left: auto;
        color: #336699;
        font-size: 1rem;
    }
    .mfp-product .product-color-swatch .qv-color-option.active {
        border-color: #336699 !important;
        background: #edf5fc !important;
        color: #245b8e !important;
        box-shadow: 0 0 0 1px rgba(51, 102, 153, .08);
    }
    .mfp-product .qv-color-option.active > i { display: inline-block; }
    .mfp-product .qv-combo-box {
        margin: 1.2rem 0 1.8rem;
        overflow: hidden;
        border: 1px solid #e4e9f0;
        border-radius: 1.1rem;
        background: #fafbfd;
    }
    .mfp-product .qv-combo-heading,
    .mfp-product .qv-combo-total,
    .mfp-product .qv-combo-item {
        display: flex;
        align-items: center;
    }
    .mfp-product .qv-combo-heading {
        justify-content: space-between;
        padding: 1.3rem 1.5rem;
        background: #f1f5fa;
        color: #25344a;
    }
    .mfp-product .qv-combo-heading > div { display: flex; flex-direction: column; }
    .mfp-product .qv-combo-heading i { color: #336699; font-size: 2rem; }
    .mfp-product .qv-combo-kicker {
        color: #77869a;
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: .055em;
        text-transform: uppercase;
    }
    .mfp-product .qv-combo-list { padding: .5rem 1.5rem; }
    .mfp-product .qv-combo-item { gap: .9rem; padding: .8rem 0; color: #536074; }
    .mfp-product .qv-combo-item + .qv-combo-item { border-top: 1px dashed #dfe5ec; }
    .mfp-product .qv-combo-quantity {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2.8rem;
        height: 2.4rem;
        border-radius: .5rem;
        background: #e7eef7;
        color: #336699;
        font-size: 1.1rem;
        font-weight: 700;
    }
    .mfp-product .qv-combo-name { flex: 1; }
    .mfp-product .qv-combo-item strong { color: #273449; font-size: 1.15rem; }
    .mfp-product .qv-combo-total {
        justify-content: space-between;
        padding: 1rem 1.5rem;
        border-top: 1px solid #e4e9f0;
        color: #697589;
        font-size: 1.15rem;
    }
    .mfp-product .qv-combo-total strong { color: #273449; }
    .mfp-product .qv-purchase .product-form { border-top: 0; }
    .mfp-product .qv-purchase .btn-cart {
        flex: 1;
        min-height: 5rem;
        border-radius: .8rem;
        box-shadow: 0 8px 20px rgba(51, 102, 153, .2);
    }
    .mfp-product .qv-purchase .product-qty-form,
    .mfp-product .qv-purchase .input-group { border-radius: .8rem; }
    .mfp-product .qv-assurance {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2.2rem;
        padding: 1rem 0 1.3rem;
        color: #748095;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .mfp-product .qv-assurance span { display: inline-flex; align-items: center; gap: .6rem; }
    .mfp-product .qv-assurance i { color: #3a9b63; font-size: 1.35rem; }
    .mfp-product .social-links-wrapper {
        justify-content: space-between;
        margin-top: 0;
        padding-top: 1.5rem;
        border-top: 1px solid #edf0f4;
    }
    .mfp-product .mfp-close {
        top: 1.2rem;
        right: 1.2rem;
        z-index: 10;
        width: 3.8rem;
        height: 3.8rem;
        border-radius: 50%;
        background: rgba(255,255,255,.92);
        color: transparent !important;
        font-size: 0;
        box-shadow: 0 4px 16px rgba(20,32,50,.12);
        transform: none !important;
        opacity: 1;
        transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
    }
    .mfp-product .mfp-close::before,
    .mfp-product .mfp-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1.5rem;
        height: 2px;
        background: #273449;
        border-radius: 2px;
        transform-origin: center;
    }
    .mfp-product .mfp-close::before { transform: translate(-50%, -50%) rotate(45deg); }
    .mfp-product .mfp-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
    .mfp-product .mfp-close:hover {
        background: #273449;
        box-shadow: 0 6px 18px rgba(20,32,50,.2);
        transform: scale(1.05) !important;
    }
    .mfp-product .mfp-close:hover::before,
    .mfp-product .mfp-close:hover::after {
        background: #fff;
    }

    /* Sağ panel uzun varyant/kombin içeriklerinde kaydırılabilir kalır; satın
       alma bloğu kısa ürünlerde de fiyatın ardından doğal akışta görünür. */
    .mfp-product .product-single > .col-md-6:last-child {
        display: flex;
        flex-direction: column;
    }
    .mfp-product .product-details {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .mfp-product .qv-purchase { margin-top: .9rem; }

    @media (max-width: 767px) {
        /* Mobilde sütunlar alt alta gelir, panel yüksekliği içeriğe göre
           belirlenir — yaslama anlamsız olacağı için normal akışa dönüyoruz. */
        .mfp-product .qv-purchase { margin-top: 0; }
        .mfp-product .mfp-container { padding: 16px; }
        .mfp-product .mfp-content { padding: 0; width: 100%; }
        .mfp-product .product-popup { border-radius: 1.2rem; }
        .mfp-product .qv-commerce { min-height: 0; margin: 0; width: 100%; }
        .mfp-product .qv-gallery-column,
        .mfp-product .qv-details-column { flex: 0 0 100%; max-width: 100%; }
        .mfp-product .qv-gallery-column { padding: 2rem; }
        .mfp-product .qv-gallery-column .product-image img { height: auto; max-height: 34rem; }
        .mfp-product .qv-details-column .qv-details-panel { max-height: none; padding: 2.5rem 2rem 2rem !important; }
        .mfp-product .qv-type-badge { top: 1.2rem; left: 1.2rem; }
        .mfp-product .product-variation-form { display: block; }
        .mfp-product .product-variation-form > label { margin-bottom: .65rem; }
        .mfp-product .qv-assurance { justify-content: flex-start; flex-wrap: wrap; gap: 1.2rem; }
    }
    .qv-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 32rem;
    }
    .qv-stock-state {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .qv-stock-state::before {
        content: "";
        width: 9px; height: 9px;
        border-radius: 50%;
        background: currentColor;
    }
    .qv-stock-state.is-in { color: #3BB54A; }
    .qv-stock-state.is-out { color: #E5383B; }
    .qv-notice {
        font-size: 1.3rem;
        color: #555;
        background: #F3F6FA;
        padding: 1.4rem 1.6rem;
        margin-bottom: 1.6rem;
    }
    .qv-notice a { color: #336699; font-weight: 600; }
    .qv-detail-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 1.3rem;
        font-weight: 700;
        color: #262626;
        border-bottom: 2px solid #262626;
        padding-bottom: 2px;
        transition: color .15s ease, border-color .15s ease;
    }
    .qv-detail-link:hover { color: #FF6A00; border-color: #FF6A00; }
