/* =========================================
   SK XPRES - PREMIUM OFFER PRODUCT CARD
   Uses Global Store Colors
========================================= */

.offer-product-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.offer-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8, 38, 77, .11);
}

.offer-product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5f7fa;
}

.offer-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.offer-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.offer-product-card:hover .offer-product-image-wrap img {
    transform: scale(1.05);
}

.offer-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 10px;
    color: #ffffff;
    background: #e94b35;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.offer-card-tag {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    color: #ffffff;
    background: var(--primary-color, #01224B);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
}

.offer-product-content {
    padding: 14px;
}

.offer-product-category {
    display: block;
    margin-bottom: 6px;
    color: #8995a5;
    font-size: 11px;
    font-weight: 600;
}

.offer-product-name {
    min-height: 42px;
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.offer-product-name a {
    color: #172b45;
    text-decoration: none;
}

.offer-product-name a:hover {
    color: var(--secondary-color, #FF7101);
}

.offer-product-pricing {
    min-height: 57px;
    margin-bottom: 12px;
}

.offer-product-price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.offer-current-price {
    color: var(--primary-color, #01224B);
    font-size: 19px;
    font-weight: 800;
}

.offer-original-price {
    color: #929baa;
    font-size: 12px;
}

.offer-savings {
    display: inline-block;
    margin-top: 5px;
    color: #159b72;
    font-size: 11px;
    font-weight: 700;
}

.offer-product-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.offer-product-actions form {
    flex: 1;
    min-width: 0;
}

.offer-add-cart {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    color: #ffffff;
    background: var(--secondary-color, #FF7101);
    border: 1px solid var(--secondary-color, #FF7101);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.offer-add-cart:hover {
    color: #ffffff;
    background: var(--primary-color, #01224B);
    border-color: var(--primary-color, #01224B);
}

.offer-add-cart:focus-visible {
    outline: 2px solid var(--primary-color, #01224B);
    outline-offset: 3px;
}

.offer-view-product {
    display: flex;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--primary-color, #01224B);
    background: #eef2f7;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.offer-view-product:hover {
    color: #ffffff;
    background: var(--primary-color, #01224B);
}

@media (max-width: 480px) {
    .offer-product-content {
        padding: 11px;
    }

    .offer-product-name {
        font-size: 12px;
    }

    .offer-current-price {
        font-size: 16px;
    }

    .offer-add-cart {
        font-size: 10px;
    }
}