/* Ortak ürün kartları, etiketler, kampanya yüzeyleri ve Continue planning.
 * style.css dosyasından taşınmıştır; mevcut kurallar korunur.
 */

/* Optional card labels: image/footer on grid cards, stacked beneath list-card meta. */
.ytk-card-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}
.ytk-card-label,
.ytk-home-product-badge {
    display: inline-block;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 4px;
    color: #fff;
    font-family: var(--ytk-font-family);
    font-size: var(--ytk-product-badge-font-size);
    line-height: 1.25;
    font-weight: var(--ytk-product-badge-font-weight);
    letter-spacing: -.1px;
    overflow-wrap: anywhere;
}
.ytk-home-product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    background: #fff;
    color: var(--ytk-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ytk-card-label--navy { background: #1a2b49; }
.ytk-card-label--red { background: #c72a3d; }
.ytk-card-labels--image {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
}
.ytk-card-labels--body {
    align-items: flex-end;
    align-self: flex-end;
    margin-top: 10px;
}
.ytk-home-product-bottom > .ytk-card-labels--body {
    flex: 0 1 auto;
    margin-top: 0;
    margin-left: auto;
    padding-left: 4px;
}
.ytk-home-product-bottom > .ytk-card-labels--body .ytk-card-label {
    padding-right: 6px;
    padding-left: 6px;
}
.ytk-home-product-bottom > .ytk-home-product-price {
    flex-shrink: 0;
}
/* Stack regular/sale amounts on every card without squeezing the campaign label. */
.ytk-home-product-price strong,
.woocommerce ul.products li.product .ytk-home-product-price strong {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 3px;
}
.ytk-home-product-price del {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    opacity: .65;
}
.ytk-home-product-price ins { text-decoration: none; }
.ytk-card-labels--meta { display: none; }
.ytk-card-labelled-related-image {
    display: block;
    position: relative;
}
/* Campaign surfaces include the card's outer padding, not just its inner link. */
.products > .product:has(.ytk-card-label--offer),
.ytk-home-product-card:has(.ytk-card-label--offer) {
    --ytk-offer-surface: #fbf0f1;
    background-color: var(--ytk-offer-surface);
}
.ytk-home-product-card:has(.ytk-card-label--offer) .ytk-home-product-link,
:is(.ytk-home-recent, .ytk-sail27, .ytk-archive-products-wrap) .products .ytk-home-product-card:has(.ytk-card-label--offer) .ytk-home-product-link {
    background-color: var(--ytk-offer-surface);
}

/* Shared borderless horizontal product cards. Recent tours use them at all widths. */
.ytk-home-recent .products .ytk-home-product-link {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    height:162px;
    min-height:0;
    padding:9px 0;
    border:0;
    border-radius:0;
    box-shadow:none;
    transition:none;
    background:#fff;
    color:var(--ytk-navy);
    text-decoration:none;
    overflow:hidden;
}
.ytk-home-recent .products .ytk-home-product-link:hover {
    transform:none;
    box-shadow:none;
}
.ytk-home-recent .products .ytk-home-product-image {
    position:relative;
    display:block;
    width:124px;
    height:124px;
    flex:0 0 124px;
    border-radius:9px;
    overflow:hidden;
}
.ytk-home-recent .products .ytk-home-product-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.ytk-home-recent .products .ytk-home-product-badge {
    display:none;
}
.ytk-home-recent .products .ytk-home-product-body {
    position:relative;
    display:flex;
    flex:1;
    flex-direction:column;
    height:144px;
    min-width:0;
    padding:1px 0 1px 10px;
}
.ytk-home-recent .products .ytk-home-product-title {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    color:var(--ytk-navy);
    font-size:16.5px;
    line-height:1.24;
    font-weight:780;
    letter-spacing:-.03em;
}
.ytk-home-recent .products .ytk-home-product-excerpt {
    display:block;
    margin-top:4px;
    color:#6d7d99;
    font-size:11px;
    line-height:1.3;
    font-weight:400;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.ytk-home-recent .products .ytk-home-product-rating {
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:4px;
    font-size:12px;
    line-height:1;
}
.ytk-home-recent .products .ytk-home-product-bottom {
    position:absolute;
    right:0;
    bottom:20px;
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    margin-top:auto;
    padding:0;
}
.ytk-home-recent .products .ytk-home-product-price {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
    gap:1px;
    color:var(--ytk-navy);
    line-height:1.2;
}
.ytk-home-recent .products .ytk-home-product-price small {
    color:#6d7d99;
    font-size:11px;
    font-weight:500;
    text-transform:none;
    letter-spacing:normal;
    line-height:1;
}
.ytk-home-recent .products .ytk-home-product-price strong {
    color:var(--ytk-navy);
    font-size:19px;
    font-weight:750;
    line-height:1.15;
}
.ytk-home-recent .products .ytk-home-product-price em {
    display:none;
}
.ytk-home-recent .products .ytk-card-labels--image,
.ytk-home-recent .products .ytk-card-labels--body {
    display:none;
}
.ytk-home-recent .products .ytk-card-labels--meta {
    display:flex;
    margin-top:7px;
    max-width:50%;
    flex-shrink:0;
}
@media (max-width: 760px) {
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products > .product:has(.ytk-card-label--offer) {
    position: relative;
    isolation: isolate;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products > .product:has(.ytk-card-label--offer)::before {
    content: '';
    position: absolute;
    inset: 0 calc(var(--ytk-layout-cut, 32px) / -2);
    z-index: -1;
    background-color: var(--ytk-offer-surface);
    pointer-events: none;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-link {
    display:flex;
    flex-direction:row;
    align-items:center;
    height:142px;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    transition:none;
    background:#fff;
    color:var(--ytk-navy);
    text-decoration:none;
    overflow:hidden;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-link:hover {
    transform:none;
    box-shadow:none;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-image {
    position:relative;
    display:block;
    width:124px;
    height:124px;
    flex:0 0 124px;
    border-radius:9px;
    overflow:hidden;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-badge {
    display:none;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-body {
    display:flex;
    flex:1;
    flex-direction:column;
    height:124px;
    min-width:0;
    padding:1px 0 1px 10px;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-title {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    color:var(--ytk-navy);
    font-size:16.5px;
    line-height:1.24;
    font-weight:780;
    letter-spacing:-.03em;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-excerpt {
    display:block;
    margin-top:4px;
    color:#6d7d99;
    font-size:11px;
    line-height:1.3;
    font-weight:400;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-rating {
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:4px;
    font-size:12px;
    line-height:1;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-bottom {
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    margin-top:auto;
    padding:0;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-price {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
    gap:1px;
    color:var(--ytk-navy);
    line-height:1.2;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-price small {
    color:#6d7d99;
    font-size:11px;
    font-weight:500;
    text-transform:none;
    letter-spacing:normal;
    line-height:1;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-price strong {
    color:var(--ytk-navy);
    font-size:19px;
    font-weight:750;
    line-height:1.15;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-price em {
    display:none;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-card-labels--image, :is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-card-labels--body {
    display:none;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-card-labels--meta {
    display:flex;
    margin-top:7px;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-card:has(.ytk-card-label) .ytk-home-product-link {
    height:auto;
    min-height:142px;
    align-items:flex-start;
    padding-top:9px;
    padding-bottom:9px;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-card:has(.ytk-card-label) .ytk-home-product-body {
    height:auto;
    min-height:124px;
}
:is(.ytk-archive-taxonomy .ytk-archive-products-wrap, .ytk-sail27) .products .ytk-home-product-card:has(.ytk-card-label) .ytk-home-product-bottom {
    margin-top:8px;
}
}
