﻿
#offers-container {
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient( 135deg, #ecddc5 0%, #eee0c8 50%, #eee6dd 100% );
    color: #302820;
}

.offers-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 70px;
}

.triangle {
    z-index: 101;
    position: absolute;
    width: 120px;
    height: 120px;
    top: 21px;
    left: 55px;
}

.mb-4 .col-md-3 {
    position: relative;
}

#hot-product-item-pattern {
    display: none;
}

.offer-item {
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.offer-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(80, 45, 15, 0.18);
}

.custom-card {
    width: 100%;
    height: 100%;
    padding: 20px 24px 24px;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    background: radial-gradient( circle at center, rgba(255, 255, 255, 0.9), rgba(247, 239, 220, 0.96) 70%, rgba(238, 223, 195, 0.98) );
    box-shadow: 0 8px 22px rgba(80, 45, 15, 0.12);
    border-radius: 12px;
    cursor: pointer;
}

.card-img-top {
    height: 250px !important;
}

.custom-card .hot-item-tag {
    /* exactly over the ribbon (the triangle image: 120 x 120 with its notch at the bottom): the text is centred in the part above the notch */
    z-index: 102;
    position: absolute;
    top: 1px;
    left: 55px;
    width: 120px;
    height: 98px;
    padding: 8px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #000;
}

.custom-card .hot-item-tag::before {
    content: "";
    position: absolute;
    border-left: 0px solid #0000;
    border-right: 2px solid #0000;
    border-top: 0px solid #0000;
    border-bottom: 2px solid #0000;
    width: 50px;
    height: 50px;
    top: 100%;
    left: 22%;
    transform: rotate(45deg);
    margin-top: -25px;
}

.custom-card .hot-item-tag p {
    margin: 0;
    max-width: 100%;
    font-size: 20px;
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
    overflow-wrap: anywhere;
}
