/* TWANA_PRODUCT_CARD_V1_G5_BEGIN */

.tw-product-card-v1 {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 39, 71, .07);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.tw-product-card-v1:hover {
    transform: translateY(-3px);
    border-color: #d5dde7;
    box-shadow: 0 16px 38px rgba(15, 39, 71, .11);
}

.tw-product-card-v1__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f7f9fb;
}

.tw-product-card-v1__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tw-product-card-v1__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.tw-product-card-v1:hover .tw-product-card-v1__image {
    transform: scale(1.025);
}

.tw-product-card-v1__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ff4f16;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(255, 79, 22, .22);
}

.tw-product-card-v1__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e5eaf0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #0b2b50;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(15, 39, 71, .10);
}

.tw-product-card-v1__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.tw-product-card-v1__seller {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.tw-product-card-v1__seller-avatar {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0b2b50;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.tw-product-card-v1__seller-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tw-product-card-v1__seller-copy strong {
    overflow: hidden;
    color: #102a47;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-product-card-v1__seller-copy small {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    color: #16865c;
    font-size: 10px;
    font-weight: 700;
}

.tw-product-card-v1__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    color: #718096;
    font-size: 12px;
}

.tw-product-card-v1__rating strong {
    color: #102a47;
    font-weight: 800;
}

.tw-product-card-v1__stars {
    color: #ff4f16;
    font-size: 16px;
}

.tw-product-card-v1__title {
    min-height: 44px;
    margin: 0;
    color: #0b2b50;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.tw-product-card-v1__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tw-product-card-v1__facts {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 30px;
    overflow: hidden;
    border: 1px solid #edf1f5;
    border-radius: 9px;
    background: #f8fafc;
}

.tw-product-card-v1__fact {
    position: relative;
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 6px 7px;
    color: #62748a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.tw-product-card-v1__fact + .tw-product-card-v1__fact::before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 1px;
    background: #dce4ec;
    content: "";
}

.tw-product-card-v1__fact i {
    flex: 0 0 auto;
    color: #0b2b50;
    font-size: 14px;
}

.tw-product-card-v1__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    min-height: 70px;
    justify-content: flex-end;
}

.tw-product-card-v1__old-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 20px;
    margin-bottom: 2px;
}

.tw-product-card-v1__old-price-row del {
    color: #5f6f82;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration-thickness: 1.5px;
    text-decoration-color: #7f8ea0;
}

.tw-product-card-v1__old-price-row del span {
    margin-right: 2px;
    text-decoration: none;
}

.tw-product-card-v1__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff0eb;
    color: #e9420b;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.tw-product-card-v1__price-label {
    color: #718096;
    font-size: 11px;
    font-weight: 600;
}

.tw-product-card-v1__price strong {
    color: #0b2b50;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.1;
}

.tw-product-card-v1__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 2px;
}

.tw-product-card-v1__primary,
.tw-product-card-v1__secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.tw-product-card-v1__primary {
    border: 1px solid #ff4f16;
    background: #ff4f16;
    color: #fff !important;
}

.tw-product-card-v1__primary:hover {
    background: #e9420b;
    border-color: #e9420b;
    color: #fff !important;
}

.tw-product-card-v1__secondary {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0b2b50 !important;
}

.tw-product-card-v1__secondary:hover {
    border-color: #0b2b50;
    color: #0b2b50 !important;
}

.tw-product-card-v1__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 9px;
    border-radius: 10px;
    background: #f5f9fd;
}

.tw-product-card-v1__trust span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    color: #326799;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.tw-product-card-v1__trust i {
    flex: 0 0 auto;
    color: #1784e8;
    font-size: 14px;
}

@media (min-width: 1200px) {
    .tw-product-card-v1__body {
        padding: 18px;
    }

    .tw-product-card-v1__actions:has(.tw-product-card-v1__secondary) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .tw-product-card-v1 {
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(15, 39, 71, .07);
    }

    .tw-product-card-v1:hover {
        transform: none;
    }

    .tw-product-card-v1__badge {
        top: 8px;
        left: 8px;
        min-height: 27px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .tw-product-card-v1__favorite {
        top: 7px;
        right: 7px;
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .tw-product-card-v1__body {
        gap: 8px;
        padding: 10px;
    }

    .tw-product-card-v1__seller {
        gap: 6px;
    }

    .tw-product-card-v1__seller-avatar {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 10px;
    }

    .tw-product-card-v1__seller-copy strong {
        font-size: 10px;
    }

    .tw-product-card-v1__seller-copy small {
        font-size: 8px;
    }

    .tw-product-card-v1__rating {
        gap: 3px;
        font-size: 9px;
    }

    .tw-product-card-v1__stars {
        font-size: 13px;
    }

    .tw-product-card-v1__title {
        min-height: 36px;
        font-size: 13px;
        line-height: 1.35;
    }

    .tw-product-card-v1__facts {
        min-height: 27px;
        border-radius: 8px;
    }

    .tw-product-card-v1__fact {
        gap: 3px;
        padding: 5px 3px;
        font-size: 8px;
    }

    .tw-product-card-v1__fact + .tw-product-card-v1__fact::before {
        top: 5px;
        bottom: 5px;
    }

    .tw-product-card-v1__fact i {
        font-size: 11px;
    }

    .tw-product-card-v1__old-price-row {
        gap: 5px;
        min-height: 17px;
        margin-bottom: 1px;
    }

    .tw-product-card-v1__old-price-row del {
        font-size: 10px;
        line-height: 1.25;
    }

    .tw-product-card-v1__discount-badge {
        min-height: 17px;
        padding: 2px 5px;
        font-size: 7px;
    }

    .tw-product-card-v1__price-label {
        font-size: 9px;
    }

    .tw-product-card-v1__price strong {
        font-size: 18px;
    }

    .tw-product-card-v1__primary,
    .tw-product-card-v1__secondary {
        min-height: 36px;
        padding: 7px 6px;
        border-radius: 9px;
        font-size: 10px;
    }

    .tw-product-card-v1__trust {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 7px;
    }

    .tw-product-card-v1__trust span {
        justify-content: flex-start;
        font-size: 8px;
    }
}

/* TWANA_PRODUCT_CARD_V1_G5_END */
