/* TUNS COUPON TOP V2 */

.product-card .picture {
    position: relative !important;
}

.product-card .picture .twcv2-card {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    z-index: 91 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 8px 10px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;

    border: 1px solid rgba(249,217,144,.8) !important;
    border-radius: 9px !important;

    background: linear-gradient(
        115deg,
        rgba(63,41,10,.82),
        rgba(160,110,29,.76),
        rgba(63,41,10,.82)
    ) !important;

    box-shadow: 0 4px 16px rgba(0,0,0,.23) !important;
    color: #fff8e5 !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center !important;

    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none !important;
}

.product-card .picture .twcv2-line {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px 7px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #fff8e5 !important;
}

.product-card .picture .twcv2-line + .twcv2-line {
    border-top: 1px solid rgba(255,235,194,.35) !important;
    padding-top: 5px !important;
}

.product-card .picture .twcv2-offer {
    color: #fff1c2 !important;
    font-weight: 800 !important;
}

.product-card .picture .twcv2-code {
    color: #ffffff !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere;
}

.product-card .picture .twcv2-line small,
.product-card .picture .twcv2-extra {
    color: #fff0c7 !important;
    font-size: 10px !important;
}

/* ETIKETLER GOVDEDE */

.product-card .product-labels-card {
    max-height: none !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
}

/* GEREKSIZ BOSLUGU AZALT */

.product-card .card-content > .eyebrow {
    display: none !important;
}

.product-card .card-content {
    padding-top: 10px !important;
}

/* MOBIL */

@media(max-width:600px) {
    .product-card .picture .twcv2-card {
        top: 6px !important;
        left: 6px !important;
        right: 6px !important;
        max-width: calc(100% - 12px) !important;
        padding: 6px 7px !important;
        font-size: 10px !important;
    }

    .product-card .card-content {
        padding-top: 8px !important;
    }
}

/* TUNS_COUPON_STUDIO_V3 */
.product-card.pc-card-skin .picture .twcv2-card {
    top:var(--pc-coupon-top,9px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:max-content!important;
    max-width:calc(100% - 18px)!important;
    padding:7px 11px!important;
    margin:0!important;
    border-radius:var(--pc-coupon-radius,14px)!important;
    font-size:var(--pc-coupon-size,11px)!important;
    color:var(--pc-coupon-text,#FFF6DE)!important;
    background:color-mix(
        in srgb,
        var(--pc-coupon-bg,#86612E)
        var(--pc-coupon-opacity,76%),
        transparent
    )!important;
    border:1px solid rgba(255,235,185,.75)!important;
    box-shadow:0 3px 12px rgba(40,25,5,.17)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
}

.product-card.pc-card-skin .picture .twcv2-line {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px 7px!important;
}

.product-card.pc-card-skin .picture .twcv2-offer {
    color:var(--pc-coupon-text,#FFF6DE)!important;
    font-weight:750!important;
}

.product-card.pc-card-skin .picture .twcv2-code {
    padding:2px 6px!important;
    border-radius:5px!important;
    background:rgba(255,255,255,.16)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    color:white!important;
    font-weight:850!important;
}

.product-card[data-pc-coupon-style="classic"]
.picture .twcv2-card {
    background:linear-gradient(
        110deg,
        rgba(102,69,20,.85),
        rgba(195,154,82,.85)
    )!important;
}

.product-card[data-pc-coupon-style="ribbon"]
.picture .twcv2-card {
    width:calc(100% - 18px)!important;
    border-radius:8px!important;
}

.product-card[data-pc-coupon-style="minimal"]
.picture .twcv2-card {
    padding:5px 8px!important;
    box-shadow:0 2px 6px rgba(0,0,0,.1)!important;
}

.product-card[data-pc-coupon-position="left"]
.picture .twcv2-card {
    left:9px!important;
    right:auto!important;
    transform:none!important;
}

.product-card[data-pc-coupon-position="right"]
.picture .twcv2-card {
    left:auto!important;
    right:9px!important;
    transform:none!important;
}

.product-card[data-pc-coupon-show="0"]
.picture .twcv2-card {
    display:none!important;
}

.product-card[data-pc-coupon-code="0"]
.picture .twcv2-code {
    display:none!important;
}

@media(max-width:600px) {
    .product-card.pc-card-skin .picture .twcv2-card {
        padding:5px 7px!important;
        font-size:min(var(--pc-coupon-size,11px),10px)!important;
        max-width:calc(100% - 12px)!important;
    }
}


/* TUNS_COUPON_CODE_FIX_V31 */
body .product-card[data-pc-coupon-code="0"]
.twcv2-card .twcv2-code,
#pc-scope .product-card[data-pc-coupon-code="0"]
.twcv2-card .twcv2-code {
    display: none !important;
    visibility: hidden !important;
}
