/* ==========================================
   JEWELVY OFFERS & REWARDS
   Shared header, navigation and footer are
   controlled by layouts/front.
========================================== */

:root {
    --offer-gold: #ffc047;
    --offer-gold-dark: #c88a20;
    --offer-black: #080808;
    --offer-cream: #fffaf2;
    --offer-white: #ffffff;
    --offer-text: #28231d;
    --offer-muted: #77716a;
    --offer-border: #e9e1d5;
}

.offers-page {
    width: 100%;
    min-width: 0;
    color: var(--offer-text);
    background: #fffdf9;
    font-family: Georgia, "Times New Roman", serif;
}

.offers-page *,
.offers-toast {
    box-sizing: border-box;
}

.offers-page a {
    text-decoration: none;
}

.offers-page img {
    max-width: 100%;
}

/* Breadcrumb */

.offers-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 4%;
    color: #716a60;
    background: #fffdf9;
    font: 12px Arial, sans-serif;
}

.offers-breadcrumb a {
    color: #716a60;
}

.offers-breadcrumb a:hover {
    color: var(--offer-gold-dark);
}

/* Hero */

.offers-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 390px;
    padding: 55px 8%;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 80% 45%, #49351c 0, transparent 33%),
        linear-gradient(110deg, #080808 0%, #17120c 65%, #2b1d0b 100%);
}

.offers-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 40%, rgba(255, 192, 71, .07)),
        repeating-linear-gradient(135deg,
            transparent 0,
            transparent 42px,
            rgba(255, 255, 255, .018) 43px,
            transparent 44px);
    pointer-events: none;
}

.offers-hero-content {
    position: relative;
    z-index: 2;
    width: 58%;
    max-width: 640px;
}

.offers-eyebrow,
.offers-section-heading>span,
.rewards-banner-copy>span {
    display: block;
    margin-bottom: 15px;
    color: var(--offer-gold);
    font: 11px Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}

.offers-hero h1 {
    margin: 0 0 18px;
    color: #fffaf1;
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: normal;
    line-height: 1.06;
    letter-spacing: -1.4px;
}

.offers-hero-content>p {
    max-width: 430px;
    margin: 0 0 27px;
    color: #d5c9b6;
    font: 15px/1.8 Arial, sans-serif;
}

.offers-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 48px;
    padding: 0 24px;
    color: #17110a;
    background: var(--offer-gold);
    border: 1px solid var(--offer-gold);
    font: 12px Arial, sans-serif;
    font-weight: 700;
    transition: .25s ease;
}

.offers-primary-btn:hover {
    color: #080808;
    background: #ffe0a0;
    transform: translateY(-2px);
}

.offers-primary-btn span {
    font-size: 19px;
}

.offers-hero-note {
    margin-top: 24px;
    color: #c5b7a1;
    font: 11px Arial, sans-serif;
}

.offers-hero-note span {
    margin-right: 7px;
    color: var(--offer-gold);
}

/* Decorative jewellery-inspired artwork */

.offers-hero-decoration {
    position: absolute;
    top: 0;
    right: 7%;
    width: 37%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.offers-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(170px, 23vw, 290px);
    height: clamp(170px, 23vw, 290px);
    color: var(--offer-gold);
    border: 1px solid rgba(255, 192, 71, .55);
    border-radius: 50%;
    box-shadow:
        0 0 0 17px rgba(255, 192, 71, .035),
        0 0 0 35px rgba(255, 192, 71, .025),
        inset 0 0 35px rgba(255, 192, 71, .06);
    font-size: clamp(85px, 13vw, 160px);
    font-weight: normal;
    transform: rotate(-15deg);
}

.offers-spark {
    position: absolute;
    color: #ffe0a0;
}

.spark-one {
    top: 22%;
    right: 18%;
    font-size: 25px;
}

.spark-two {
    bottom: 24%;
    left: 15%;
    font-size: 36px;
}

.spark-three {
    top: 34%;
    left: 5%;
    font-size: 17px;
}

/* Benefits */

.offers-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 26px 5%;
    background: #fff;
    border-bottom: 1px solid var(--offer-border);
}

.offer-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 7px 16px;
}

.offer-benefit+.offer-benefit {
    border-left: 1px solid var(--offer-border);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--offer-gold-dark);
    background: var(--offer-cream);
    border-radius: 50%;
    font-size: 24px;
}

.offer-benefit h3 {
    margin: 0 0 5px;
    color: #211b13;
    font-size: 15px;
    font-weight: normal;
}

.offer-benefit p {
    margin: 0;
    color: var(--offer-muted);
    font: 11px/1.6 Arial, sans-serif;
}

/* Section headings */

.offers-section-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.offers-section-heading>span {
    margin-bottom: 12px;
    color: var(--offer-gold-dark);
    letter-spacing: 2.5px;
}

.offers-section-heading h2 {
    margin: 0 0 12px;
    color: #17130e;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: normal;
    line-height: 1.2;
}

.offers-section-heading p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--offer-muted);
    font: 13px/1.8 Arial, sans-serif;
}

/* Coupon cards */

.offers-coupons {
    padding: 75px 5%;
    scroll-margin-top: 70px;
}

.offers-coupon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto;
}

.offer-coupon {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 310px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--offer-border);
    border-radius: 4px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.offer-coupon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 24, 12, .09);
}

.coupon-gold {
    background: linear-gradient(145deg, #fff8e8, #f8e4b8);
    border-color: #ead4a4;
}

.coupon-cream {
    background: #fff;
}

.coupon-dark {
    color: #fff;
    background: #15120d;
    border-color: #3b3020;
}

.coupon-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.coupon-tag {
    display: inline-block;
    padding: 7px 9px;
    color: #74501c;
    background: rgba(255, 192, 71, .2);
    font: 9px Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.coupon-dark .coupon-tag {
    color: var(--offer-gold);
    background: rgba(255, 192, 71, .12);
}

.coupon-symbol {
    color: var(--offer-gold-dark);
    font-size: 25px;
}

.coupon-dark .coupon-symbol {
    color: var(--offer-gold);
}

.coupon-discount {
    margin: 20px 0 6px;
    color: #19140c;
    font-size: clamp(32px, 3vw, 43px);
    line-height: 1.1;
}

.coupon-discount small {
    font: 700 12px Arial, sans-serif;
    letter-spacing: 1px;
}

.coupon-dark .coupon-discount,
.coupon-dark h3 {
    color: #fff8ec;
}

.offer-coupon h3 {
    margin: 0 0 9px;
    font-size: 19px;
    font-weight: normal;
}

.offer-coupon>p {
    margin: 0 0 20px;
    color: #756e64;
    font: 12px/1.7 Arial, sans-serif;
}

.coupon-dark>p {
    color: #b9b0a1;
}

.coupon-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 13px 0;
    border-top: 1px dashed #d7c6a5;
    border-bottom: 1px dashed #d7c6a5;
}

.coupon-code-row>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.coupon-code-row small {
    color: #7e7464;
    font: 9px Arial, sans-serif;
    letter-spacing: 1px;
}

.coupon-code-row strong {
    overflow-wrap: anywhere;
    color: #21190e;
    font: 700 13px Arial, sans-serif;
    letter-spacing: .8px;
}

.coupon-dark .coupon-code-row {
    border-color: #59462a;
}

.coupon-dark .coupon-code-row strong {
    color: var(--offer-gold);
}

.copy-offer-code,
.coupon-shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 35px;
    padding: 0 12px;
    color: #1c150a;
    background: var(--offer-gold);
    border: 1px solid var(--offer-gold);
    cursor: pointer;
    font: 11px Arial, sans-serif;
    font-weight: 700;
    transition: .2s ease;
}

.copy-offer-code:hover,
.coupon-shop-link:hover {
    background: #ffe0a0;
}

.coupon-footnote {
    display: block;
    margin-top: 12px;
    color: #82786a;
    font: 10px/1.5 Arial, sans-serif;
}

.coupon-dark .coupon-footnote {
    color: #b4a894;
}

/* Category cards */

.offers-category-section {
    padding: 72px 5%;
    background: var(--offer-cream);
}

.offers-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
    max-width: 1320px;
    margin: 0 auto;
}

.offers-category-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee6da;
    transition: transform .25s ease, box-shadow .25s ease;
}

.offers-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(44, 32, 15, .09);
}

.offers-category-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 205px;
    overflow: hidden;
}

.offers-category-image>span {
    position: absolute;
    top: 16px;
    left: 17px;
    z-index: 1;
    color: rgba(255, 255, 255, .85);
    font: 10px Arial, sans-serif;
    letter-spacing: 2.5px;
}

.category-gold {
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 210, 114, .3), transparent 45%),
        linear-gradient(135deg, #3a2811, #100e0a);
}

.category-diamond {
    background:
        radial-gradient(circle at 50% 45%, rgba(221, 226, 238, .35), transparent 43%),
        linear-gradient(135deg, #253040, #111722);
}

.category-gift {
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 192, 71, .3), transparent 43%),
        linear-gradient(135deg, #624127, #25160e);
}

.category-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 125px;
    color: var(--offer-gold);
    border: 1px solid rgba(255, 192, 71, .6);
    border-radius: 50%;
    font-size: 75px;
    transition: transform .35s ease;
}

.offers-category-card:hover .category-art {
    transform: rotate(-12deg) scale(1.06);
}

.offers-category-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px;
}

.offers-category-info h3 {
    margin: 0 0 7px;
    color: #211a10;
    font-size: 19px;
    font-weight: normal;
}

.offers-category-info p {
    margin: 0;
    color: var(--offer-muted);
    font: 11px/1.6 Arial, sans-serif;
}

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    color: #1a1309;
    background: #fff4d8;
    border-radius: 50%;
    font: 20px Arial, sans-serif;
}

/* Rewards banner */

.offers-rewards-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 65px 5%;
    padding: 38px 5%;
    color: #fff;
    background: linear-gradient(110deg, #0a0907, #21180c);
    border: 1px solid #3e2f19;
}

.rewards-banner-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    color: var(--offer-gold);
    border: 1px solid rgba(255, 192, 71, .5);
    border-radius: 50%;
    font-size: 38px;
}

.rewards-banner-copy {
    flex: 1;
    min-width: 0;
}

.rewards-banner-copy>span {
    margin-bottom: 9px;
    font-size: 9px;
}

.rewards-banner-copy h2 {
    margin: 0 0 10px;
    color: #fff8ec;
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: normal;
}

.rewards-banner-copy p {
    margin: 0;
    max-width: 600px;
    color: #c7bdad;
    font: 12px/1.8 Arial, sans-serif;
}

.offers-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 18px;
    min-height: 45px;
    padding: 0 18px;
    color: var(--offer-gold);
    border: 1px solid var(--offer-gold);
    font: 12px Arial, sans-serif;
    transition: .2s ease;
}

.offers-outline-btn:hover {
    color: #17110a;
    background: var(--offer-gold);
}

/* Terms */

.offers-terms {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5% 45px;
}

.offers-terms h3 {
    margin: 0 0 9px;
    color: #393127;
    font-size: 15px;
    font-weight: normal;
}

.offers-terms p {
    margin: 0;
    color: #827a70;
    font: 11px/1.8 Arial, sans-serif;
}

/* Coupon feedback */

.offers-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10001;
    max-width: calc(100% - 36px);
    padding: 14px 20px;
    color: #fff;
    background: #17130d;
    border: 1px solid var(--offer-gold-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
    font: 12px/1.5 Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
}

.offers-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tablet */

@media (max-width: 900px) {
    .offers-hero {
        min-height: 350px;
        padding: 45px 6%;
    }

    .offers-hero-content {
        width: 65%;
    }

    .offers-hero-decoration {
        right: 1%;
        width: 36%;
    }

    .offers-coupon-grid,
    .offers-category-grid {
        gap: 14px;
    }

    .offer-coupon {
        padding: 18px;
    }

    .coupon-discount {
        font-size: 34px;
    }

    .coupon-code-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .copy-offer-code,
    .coupon-shop-link {
        width: 100%;
    }

    .offers-category-image {
        min-height: 170px;
    }

    .offers-rewards-banner {
        margin: 45px 4%;
        padding: 30px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .offers-breadcrumb {
        padding: 12px 5%;
        font-size: 11px;
    }

    .offers-hero {
        min-height: 430px;
        align-items: flex-start;
        padding: 48px 6% 35px;
    }

    .offers-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .offers-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .offers-hero-content>p {
        max-width: 330px;
        font-size: 13px;
    }

    .offers-hero-decoration {
        top: auto;
        right: -7%;
        bottom: -28px;
        width: 180px;
        height: 180px;
        opacity: .5;
    }

    .offers-ring {
        width: 135px;
        height: 135px;
        font-size: 75px;
    }

    .offers-spark {
        display: none;
    }

    .offers-benefits {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px 5%;
    }

    .offer-benefit {
        justify-content: flex-start;
        padding: 15px 4px;
    }

    .offer-benefit+.offer-benefit {
        border-top: 1px solid var(--offer-border);
        border-left: 0;
    }

    .offers-coupons,
    .offers-category-section {
        padding: 48px 5%;
    }

    .offers-section-heading {
        margin-bottom: 27px;
    }

    .offers-section-heading h2 {
        font-size: 29px;
    }

    .offers-section-heading p {
        font-size: 12px;
    }

    .offers-coupon-grid,
    .offers-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offer-coupon {
        min-height: 285px;
        padding: 23px;
    }

    .coupon-discount {
        font-size: 40px;
    }

    .coupon-code-row {
        flex-direction: row;
        align-items: center;
    }

    .copy-offer-code,
    .coupon-shop-link {
        width: auto;
    }

    .offers-category-image {
        min-height: 195px;
    }

    .offers-rewards-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
        margin: 40px 5%;
        padding: 25px 22px;
    }

    .rewards-banner-symbol {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 30px;
    }

    .rewards-banner-copy h2 {
        font-size: 25px;
    }

    .offers-outline-btn {
        width: 100%;
    }

    .offers-terms {
        padding: 0 5% 35px;
    }

    .offers-toast {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .offers-page *,
    .offers-toast {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}