/* SAMAT OFFERS PAGE V1 */

.samat-offers {
    color: #183b67;
    padding-bottom: 55px;
}

.samat-offers__hero {
    padding: 58px 0;
    background: linear-gradient(115deg, #e9f4ff, #f7fbff);
    margin-bottom: 44px;
}

.samat-offers__hero-content {
    max-width: 720px;
}

.samat-offers__eyebrow {
    color: #4775a9;
    font-size: 13px;
    font-weight: 700;
}

.samat-offers__hero h1 {
    color: #103b86;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    margin: 13px 0 18px;
}

.samat-offers__hero p {
    color: #627b99;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.samat-offers__hero a,
.samat-offers__help a {
    display: inline-flex;
    padding: 14px 22px;
    background: #1258b0;
    color: white;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
}

.samat-offers__intro {
    margin-bottom: 30px;
}

.samat-offers__intro h2,
.samat-offers__promotions h2 {
    font-size: 30px;
    font-weight: 800;
    color: #103b86;
}

.samat-offers__intro p {
    color: #72849a;
}

.samat-offers__section {
    padding: 16px 0 36px;
}

.samat-offers__section:nth-child(even) {
    background: #f7faff;
}

.samat-offers__section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.samat-offers__section-head h2 {
    color: #174782;
    font-size: 23px;
    font-weight: 800;
    margin: 0;
}

.samat-offers__section-head a {
    color: #1358b5;
    font-weight: 700;
    font-size: 13px;
}

.samat-offers__products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.samat-offers__product {
    display: flex;
    flex-direction: column;
    padding: 17px;
    border: 1px solid #e4eaf3;
    border-radius: 13px;
    background: #fff;
    text-decoration: none;
    min-width: 0;
}

.samat-offers__product:hover {
    border-color: #94b9e8;
    text-decoration: none;
}

.samat-offers__product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-bottom: 14px;
}

.samat-offers__product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.samat-offers__product-name {
    color: #2a486e;
    line-height: 1.5;
    font-size: 13px;
    flex: 1;
}

.samat-offers__product-price {
    color: #153d79;
    font-size: 18px;
    margin-top: 15px;
}

.samat-offers__product-link {
    color: #1458b5;
    font-size: 12px;
    margin-top: 10px;
}

.samat-offers__promotions {
    margin-bottom: 42px;
}

.samat-offers__promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.samat-offers__promotion {
    display: block;
    padding: 18px;
    background: #f4f9ff;
    border-radius: 13px;
}

.samat-offers__promotion img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    margin-bottom: 15px;
}

.samat-offers__promotion strong {
    display: block;
    color: #164984;
}

.samat-offers__promotion p {
    color: #70849c;
    margin: 10px 0 0;
}

.samat-offers__help {
    margin-top: 40px;
}

.samat-offers__help-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px;
    border-radius: 15px;
    background: #e8f3ff;
}

.samat-offers__help h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #103b86;
}

.samat-offers__help p {
    margin: 0;
    color: #667f9c;
}

@media (max-width: 767px) {
    .samat-offers__hero {
        padding: 34px 0;
    }

    .samat-offers__products,
    .samat-offers__promotions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .samat-offers__section-head,
    .samat-offers__help-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .samat-offers__products,
    .samat-offers__promotions-grid {
        grid-template-columns: 1fr;
    }
}


/* SAMAT OFFERS HERO PHOTO V2 */

.samat-offers__hero {
    display: flex;
    align-items: center;
    min-height: 350px;
    box-sizing: border-box;
    border-radius: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(244,249,255,.99) 0%,
            rgba(244,249,255,.96) 26%,
            rgba(244,249,255,.76) 43%,
            rgba(244,249,255,.12) 68%,
            rgba(244,249,255,0) 100%
        ),
        url('/static/images/samat-offers-hero.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.samat-offers__hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.samat-offers__hero h1 {
    line-height: 1.12;
}

@media (max-width: 767px) {
    .samat-offers__hero {
        align-items: flex-start;
        min-height: 540px;
        padding: 35px 0 220px;

        background-image:
            linear-gradient(
                180deg,
                rgba(244,249,255,1) 0%,
                rgba(244,249,255,.96) 45%,
                rgba(244,249,255,.20) 100%
            ),
            url('/static/images/samat-offers-hero.png');

        background-position: center, 65% center;
    }

    .samat-offers__hero-content {
        max-width: 100%;
    }
}


/* SAMAT OFFERS PROMO CARDS V3 */

.samat-offers__promo-strip {
    margin: -14px 0 45px;
}

.samat-offers__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.samat-offers__promo-card {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid #e2e9f2;
    border-radius: 12px;
    background: #f3f7fb;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}

.samat-offers__promo-card:hover {
    border-color: #a6c5ea;
    transform: translateY(-2px);
    text-decoration: none;
}

.samat-offers__promo-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 61%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    background: #fff;
}

.samat-offers__promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f4f8fd 0%,
        rgba(244,248,253,.99) 38%,
        rgba(244,248,253,.65) 57%,
        rgba(244,248,253,0) 85%
    );
    pointer-events: none;
}

.samat-offers__promo-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 68%;
    min-width: 0;
    padding: 23px 17px;
}

.samat-offers__promo-content small {
    margin-bottom: 13px;
    color: #5176a3;
    font-size: 11px;
    font-weight: 600;
}

.samat-offers__promo-content strong {
    color: #102f60;
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 800;
    line-height: 1.2;
}

.samat-offers__promo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 9px 12px;
    border: 1px solid #d9e7f7;
    border-radius: 7px;
    background: #ebf4ff;
    color: #114b9c;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .samat-offers__promo-grid {
        grid-template-columns: 1fr;
    }

    .samat-offers__promo-card {
        min-height: 195px;
    }

    .samat-offers__promo-content strong {
        font-size: 21px;
    }
}

/* SAMAT OFFERS NATIVE CARDS V5 */
.samat-offers__products-section {
    padding: 30px 0 50px;
    background: #f8fbff;
}

.samat-offers__products-section h2 {
    color: #153d77;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.samat-offers__products-section > .container > p {
    color: #71839a;
    margin-bottom: 24px;
}


/* SAMAT OFFERS BOTTOM V6 */

.samat-offers__help-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    min-height: 205px;
    padding: 32px 38px;
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            #eaf4ff 0%,
            rgba(234,244,255,.98) 34%,
            rgba(234,244,255,.85) 48%,
            rgba(234,244,255,.12) 100%
        ),
        url('/static/images/samat-wholesale-engineering.png');
    background-size: cover;
    background-position: center right;
}

.samat-offers__help-inner > div {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.samat-offers__help h2 {
    color: #103b78;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    margin-bottom: 9px;
}

.samat-offers__help-inner > a {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .samat-offers__help-inner {
        min-height: 320px;
        padding: 26px 21px 150px;
        background:
            linear-gradient(180deg,
                #eaf4ff 0%,
                rgba(234,244,255,.97) 50%,
                rgba(234,244,255,.12) 100%
            ),
            url('/static/images/samat-wholesale-engineering.png');
        background-size: cover;
        background-position: center, 70% bottom;
    }
}
