/* MARKA R7 — storefront card polish. Scoped to product cards, RTL-aware. */
.marka-ui-b01 .product-card .marka-r7-product-topline,
.product-card .marka-r7-product-topline {
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-width:0;
    gap:8px;
    direction:rtl;
}
.marka-ui-b01 .product-card .marka-r7-product-topline .marka-r5-product-meta,
.product-card .marka-r7-product-topline .marka-r5-product-meta {
    flex:1 1 auto;
    min-width:0;
    max-width:100%;
    display:flex;
    flex-wrap:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    gap:4px;
}
.marka-r7-product-topline .marka-r5-product-meta > * {
    flex-shrink:0;
    max-width:100%;
}
.marka-ui-b01 .product-card .marka-r7-stock-status,
.product-card .marka-r7-stock-status {
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    flex:0 0 auto;
    margin-inline-start:auto;
    font-size:clamp(.67rem,.8vw,.75rem);
    line-height:1.25;
    font-weight:700;
    white-space:nowrap;
    direction:rtl;
}
.marka-r7-stock-status.is-available {color:#159968;}
.marka-r7-stock-status.is-unavailable {color:#dc6874;}
html[data-marka-theme="dark"] .marka-r7-stock-status.is-available {color:#55d59f;}
html[data-marka-theme="dark"] .marka-r7-stock-status.is-unavailable {color:#ff9096;}
.marka-ui-b01 .product-card .marka-r7-stock-dot,
.product-card .marka-r7-stock-dot {
    display:block;
    width:.78rem;
    height:.78rem;
    min-width:.78rem;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 1px rgba(0,0,0,.08);
}
/* The money component is inline-flex, so decorating <del> alone may not
   draw the line over its nested currency and amount. Strike the complete unit. */
.marka-ui-b01 .product-card .marka-r7-price .marka-r5-original,
.product-card .marka-r7-price .marka-r5-original {
    position:relative;
    display:inline-flex;
    flex-shrink:0;
    text-decoration:none!important;
    opacity:.78;
}
.marka-ui-b01 .product-card .marka-r7-price .marka-r5-original::after,
.product-card .marka-r7-price .marka-r5-original::after {
    content:"";
    position:absolute;
    top:52%;
    left:0;
    right:0;
    height:1.5px;
    background:currentColor;
    pointer-events:none;
    z-index:2;
}
.marka-ui-b01 .product-card .marka-r7-price .marka-r5-current {font-weight:850;}
@media(max-width:480px){
    .product-card .marka-r7-product-topline {gap:5px;}
    .product-card .marka-r7-stock-status {font-size:.67rem;gap:4px;}
    .product-card .marka-r7-stock-dot {width:.7rem;height:.7rem;min-width:.7rem;}
}
