/**
 * special-offers-slider.css
 * Matches mockup exactly:
 *  - White card with thin grey border, no accent stripe
 *  - Bold black title, grey body text
 *  - Dark navy rounded pill CTA button
 *  - Maroon "SPECIAL OFFER" label with circular icon
 *  - Grey square prev/next arrows outside the card
 *
 * Enqueue after slick-carousel and slick-carousel-theme.
 * Copy fi_13703709.png to: /assets/images/fi_13703709.png in your theme.
 */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
    --so-navy: #1a2d5a;
    /* CTA button background            */
    --so-navy-h: #0f1e3d;
    /* "SPECIAL OFFER" text colour       */
    --so-white: #ffffff;
    --so-border: #d9dde6;
    /* card + arrow border               */
    --so-title: #fff;
    /* bold card title                   */
    --so-desc: #fff;
    /* body paragraph                    */
    --so-arrow-bg: #f0f2f5;
    /* prev/next button fill             */
    --so-arrow-h: #e0e3ea;
    /* prev/next hover                   */
    --so-radius: 4px;
}

/* ── Outer section ───────────────────────────────────────────── */
.so-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 40px;
    box-sizing: border-box;
}

/* ── Slider wrapper — horizontal padding gives room for arrows ─ */
.so-slider-wrap {
    position: relative;
      padding: 0px;
    box-shadow: 0px 5px 20px #DEE5F0;

}

/* ── Card ────────────────────────────────────────────────────── */
.so-card {
    display: flex !important;
    /* slick sets display:block */
    flex-direction: row;
    align-items: stretch;
    background: var(--so-white);
    border: 1px solid #194891;
    overflow: hidden;
    height: 190px;
    box-sizing: border-box;
    outline: none;
    margin:0px;
}

/* ── Image pane — ~44% width, no gap/border between sides ────── */
.so-card__img-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.so-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Content pane ────────────────────────────────────────────── */
.so-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px 20px 28px;
    background-color:#194891;
    gap: 0;
}

/* Title — bold, dark, sentence case, no uppercase */
.so-card__title {
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    color: var(--so-title);
    letter-spacing: 0;
    text-transform: none;
}

/* Description — regular weight, muted grey */
.so-card__desc {
        font-size: 16px;
    line-height: 20px;

    color: var(--so-desc);
    margin: 25px 0px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer row: CTA + Special Offer ────────────────────────── */
.so-card__footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* CTA button — dark navy, rounded pill, letter-spaced caps */
.so-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #194891;
    font-size: 14px;

    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 18px;
    padding: 14px 60px;

    border-radius: 30px;
    /* pill shape from mockup */
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease;
    border:1px solid transparent;

}

.so-card__btn:hover,
.so-card__btn:focus {
 border-color:#fff;
 color:#fff;
 background-color:#194891;

}

/* "SPECIAL OFFER" badge — icon + maroon uppercase text */
.so-card__special {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: default;
    white-space: nowrap;
}

.so-card__special-icon {
    width: 35px;
    height: 35px;
    object-fit: cover;

}

.so-card__special span {
    font-size: 18px;
    line-height:22px;
    font-weight: 700;
    letter-spacing:1px;
    text-transform: uppercase;
    color: var(--so-white);

}

/* ── Slick arrow overrides ───────────────────────────────────── */
/* .so-slider-wrap .slick-prev,
.so-slider-wrap .slick-next {
    width: 36px !important;
    height: 36px !important;
    background: var(--so-arrow-bg) !important;
    border: 1px solid var(--so-border) !important;
    border-radius: var(--so-radius) !important;
    box-shadow: none !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5;
    transition: background 0.15s ease;
} */

/* .so-slider-wrap .slick-prev {
    left: 4px !important;
}

.so-slider-wrap .slick-next {
    right: 4px !important;
}

.so-slider-wrap .slick-prev:hover,
.so-slider-wrap .slick-next:hover {
    background: var(--so-arrow-h) !important;
}

.so-slider-wrap .slick-prev::before,
.so-slider-wrap .slick-next::before {
    color: #555e6d !important;
    font-size: 16px !important;
    opacity: 1 !important;
    line-height: 1;
} */

/* ── Slick dots ──────────────────────────────────────────────── */
.so-section .slick-dots {
    bottom: -28px !important;
}

.so-section .slick-dots li button::before {
    font-size: 8px !important;
    color: #b0b8c8 !important;
    opacity: 1 !important;
}

.so-section .slick-dots li.slick-active button::before {
    color: var(--so-navy) !important;
}

@media (max-width: 991px) {
.so-card__title{font-size:20px;line-height:24px;}
.so-card__img-wrap img{object-fit: fill;;}
.so-card__btn{padding:10px 30px;}
.so-card__desc{margin:15px 0px;font-size:14px;line-height:18px;}
.so-card__special span{font-size:15px;line-height:19px;}
}



/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {

    .so-card {
        height: auto;
        flex-direction: column;
    }

    /* .so-card__img-wrap {
        width: 100%;
        height: 160px;
    } */

    .so-card__body {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
   .so-card__title {
        font-size: 0.95rem;
    }

    .so-card__btn {
        padding: 8px 15px;
        font-size: 0.72rem;
    }
    .so-card__special{gap:5px;}

    .so-card__footer {
        gap: 10px;flex-wrap: nowrap;
    }
    .so-card__special-icon{width:30px;height:30px;object-fit:contain;}
    .so-card__special span{font-size:12px;line-height:16px;}

}


/* Special offers details page css */

/**
 * special-offer-hero.css
 *
 * Styles for the Special Offer hero section (no slider).
 * Matches mockup: centred layout, badge with laurel watermark,
 * large bold title, grey desc, two pill CTAs.
 *
 * Enqueue in functions.php:
 *   wp_enqueue_style(
 *       'special-offer-hero',
 *       get_template_directory_uri() . '/assets/css/special-offer-hero.css',
 *       array(),
 *       '1.0.0'
 *   );
 */

/* ── Section ─────────────────────────────────────────────────── */
.soh-section {
    width: 100%;
    background: #ffffff;
    text-align: center;
    padding: 48px 24px 56px;
    box-sizing: border-box;
}

/* ── Badge + watermark wrapper ───────────────────────────────── */
.soh-badge-wrap {
    position: relative;
    display: inline-flex;
    /* shrink-wraps the watermark width  */
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    min-width: 200px;
}

/* Laurel SVG sits behind the badge pill */
.soh-watermark {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

/* Badge pill */
.soh-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4f6fb;
    border: 1px solid #c8d0e8;
    border-radius: 30px;
    padding: 6px 18px 6px 10px;
}

.soh-badge__icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.soh-badge__text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a3a7a;
    letter-spacing: 0.02em;
}

/* ── Title ───────────────────────────────────────────────────── */
.soh-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 48px;
    color: #111111;
    max-width: 720px;
    margin: 0 auto 18px;
    letter-spacing: -0.01em;
}

/* ── Description ─────────────────────────────────────────────── */
.soh-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    max-width: 620px;
    margin: 0 auto 36px;
}

/* ── CTA row ─────────────────────────────────────────────────── */
.soh-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Shared pill base */
.soh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    min-width: 180px;
    transition: background 0.18s ease, transform 0.12s ease;
}

#so-slider .slick-next::before,
#so-slider .slick-prev::before {
    background-color: #a6a5ac;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center
}

#so-slider .slick-next,
#so-slider .slick-prev {
    width: 50px;
    height: 50px
}

#so-slider .slick-prev {
    left: -60px
}

#so-slider .slick-next {
    right: -60px
}

#so-slider .slick-prev::before {
    content: url(../img/slide-arrow.svg)
}

#so-slider .slick-next::before {
    content: url(../img/slide-arrow.svg);
    transform: rotate(180deg)
}

.soh-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.soh-btn svg {
    flex-shrink: 0;
}

/* "CALL US NOW" — medium blue, phone icon */
.soh-btn--call {
    background: #194892;
    color: #ffffff;
    border: 1px solid #194892;
}

.soh-btn--call:hover,
.soh-btn--call:focus {
    background: #ffffff;
    color: #194892;
    text-decoration: none;
}

/* "BUY NOW" — darker navy */
.soh-btn--buy {
    background: #194892;
    color: #ffffff;
    border: 1px solid #194892;
}

.soh-btn--buy:hover,
.soh-btn--buy:focus {
    background: #ffffff;
    color: #194892;
    text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .soh-section {
        padding: 36px 20px 44px;
    }

    .soh-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .soh-title {
        font-size: 1.35rem;
    }

    .soh-desc {
        font-size: 0.88rem;
    }

    .soh-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .soh-btn {
        min-width: unset;
        width: 100%;
    }
}