.collection .pagination:empty {
    display: none;
}

.store-highlights {
    margin-block: 20px 28px;
}

.store-highlights-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.store-highlights-featured--single {
    grid-template-columns: minmax(0, 1fr);
}

.store-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: clamp(16px, 2.2vw, 28px);
    border: 1px solid;
    border-radius: 18px;
}

.store-highlight--shipping {
    color: #4c3024;
    border-color: #efdbc6;
    background: radial-gradient(ellipse at 99% 5%, #ffe1c5 0, transparent 68%),
        linear-gradient(125deg, #fff8ee, #ffeddc);
    box-shadow: 0 7px 18px #74452c19, inset 0 1px #ffffffb3;
}

.store-highlight--gift {
    color: #4c2933;
    border-color: #eac3cb;
    background-color: #f9d9da;
    background-image: linear-gradient(100deg, #fff2ef 16%, #fff2eff5 43%, #fff2efc9 60%, #fff2ef00 80%),
        linear-gradient(180deg, #f9d9da 28%, #f9d9da00 52%),
        url("./gift-wrapping-holidays.webp");
    background-position: center, center, right bottom;
    background-repeat: no-repeat;
    background-size: auto, auto, auto 72%;
    box-shadow: 0 7px 18px #74283c1a, inset 0 1px #ffffffb3;
}

.store-highlight .eyebrow,
.store-journal-heading .eyebrow {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .12em;
}

.store-highlight--shipping .eyebrow { color: #8a4628; }
.store-highlight--gift .eyebrow { color: #804055; }
.store-journal-heading .eyebrow { color: #844a35; }

.store-highlight h2,
.store-highlights .store-journal-heading h2 {
    margin: 0;
    font-size: clamp(22px, 2.25vw, 32px);
    line-height: 1.27;
    text-wrap: balance;
}

.store-highlight h2 { color: inherit; }

.store-highlight p,
.store-journal-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.store-highlight--shipping p { color: #684937; }
.store-highlight--gift p { color: #604751; }
.store-journal-heading p { color: #5c493b; }

.store-highlight-link {
    display: inline-flex;
    min-height: 36px;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 6px 12px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.store-highlight--shipping .store-highlight-link {
    color: #793d22;
    background: #fff8ee;
}

.store-highlight--gift .store-highlight-link {
    color: #fff;
    background: #84273c;
    border-color: #84273c;
}

.store-highlight--shipping .store-highlight-link:hover { background: #ffe0c4; }
.store-highlight--gift .store-highlight-link:hover { background: #651e2e; }

.shipping-carriers {
    width: min(100%, 360px);
    min-width: 0;
    margin: 3px 0;
    overflow: hidden;
    border: 1px solid #efdbc6;
    border-radius: 10px;
    background: #fff8ee;
}

.shipping-carriers img {
    display: block;
    width: 100%;
    height: auto;
}

.shipping-carriers figcaption {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    color: #793d22;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 1120px) {
    .store-highlight--gift {
        background-size: auto, auto, auto 100%;
    }

    .store-highlight--shipping {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
        grid-template-areas:
            "label carriers"
            "title carriers"
            "details carriers"
            "tracking carriers";
        column-gap: 16px;
        justify-items: start;
    }

    .store-highlight--shipping .eyebrow { grid-area: label; }
    .store-highlight--shipping h2 { grid-area: title; }
    .store-highlight--shipping p { grid-area: details; }
    .store-highlight--shipping .store-highlight-link { grid-area: tracking; }

    .shipping-carriers {
        grid-area: carriers;
        align-self: center;
        justify-self: end;
    }
}

.shipping-truck-icon {
    position: relative;
    flex: 0 0 20px;
    height: 16px;
}

.shipping-truck-icon::before,
.shipping-truck-icon::after {
    position: absolute;
    box-sizing: border-box;
    border: 1.5px solid currentColor;
    content: "";
}

.shipping-truck-icon::before {
    inset: 2px auto auto 0;
    width: 13px;
    height: 10px;
    border-radius: 2px;
}

.shipping-truck-icon::after {
    inset: 5px 0 auto auto;
    width: 8px;
    height: 7px;
    border-radius: 1px 4px 2px 0;
}

.shipping-truck-icon > span {
    position: absolute;
    bottom: 1px;
    left: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 11px 0 currentColor;
}

.store-highlights a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.gift-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 0 0 3px;
    padding: 0;
    list-style: none;
    color: #604751;
    font-size: 12px;
    line-height: 1.5;
}

.gift-palette li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 5px;
    border-radius: 999px;
    background: #fff5f2f5;
}

.gift-swatch {
    width: 13px;
    height: 13px;
    border: 1px solid #442f3559;
    border-radius: 50%;
}

.gift-swatch--kraft { background: #d6ad79; }
.gift-swatch--pink { background: #e7a4b6; }
.gift-swatch--mint { background: #a0ccba; }
.gift-swatch--lavender { background: #c6b2e6; }

.store-highlights .home-journal {
    margin: 14px 0 0;
    padding: clamp(14px, 1.8vw, 22px);
    background: linear-gradient(150deg, #f6eee1, #f8f8f0);
    border: 1px solid #e6dbcb;
    border-radius: 18px;
}

.store-journal-heading {
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 6px;
    min-height: 150px;
    margin-bottom: 12px;
    padding: clamp(14px, 2vw, 24px);
    border: 1px solid #e4d2b9;
    border-radius: 12px;
    background-color: #f8ead7;
    background-image: linear-gradient(90deg, #f8ead7 44%, #f8ead7e6 59%, #f8ead700 78%),
        url("./craft-journal-worktable.webp");
    background-position: center, right 52%;
    background-repeat: no-repeat;
    background-size: auto, min(66%, 760px) auto;
}

.store-journal-heading h2 {
    color: #384332;
}

.store-journal-heading p {
    margin-top: 4px;
}

.store-journal-heading .inline-link {
    color: #405236;
    text-decoration: underline;
    text-underline-offset: .22em;
}

.store-highlights .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.store-highlights .post-card {
    display: flex;
    flex-direction: column;
    border-color: #e6ded0;
    border-radius: 12px;
    box-shadow: 0 3px 9px #253c3110;
}

.store-highlights .post-type {
    color: #733e2d;
    background: #f7e5dc;
}

.store-highlights .post-card img {
    height: clamp(100px, 12vw, 150px);
    object-fit: cover;
}

.store-highlights .post-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    overflow-wrap: anywhere;
}

.store-highlights .post-card h3,
.store-highlights .post-card p {
    margin: 0;
}

.store-highlights .post-card h3 {
    font-size: 16px;
    line-height: 1.4;
}

.store-highlights .post-card p {
    font-size: 13px;
    line-height: 1.55;
}

.store-highlights .post-card-body > .inline-link {
    margin-top: auto;
}

@media (min-width: 651px) {
    .store-highlights .post-card-body:first-child {
        justify-content: center;
        padding: clamp(14px, 2vw, 26px);
        background: linear-gradient(150deg, #e7ebda, #faf8ef 78%);
    }

    .store-highlights .post-card-body:first-child h3 {
        font-size: clamp(17px, 1.6vw, 22px);
    }

    .store-highlights .post-card-body:first-child > .inline-link {
        margin-top: 6px;
    }
}

@media (max-width: 650px) {
    .store-highlights-featured,
    .store-highlights .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-highlights-featured {
        gap: 10px;
    }

    .store-highlights .home-journal {
        margin-top: 10px;
    }

    .store-journal-heading {
        min-height: 0;
        background-image: linear-gradient(90deg, #f8ead7 16%, #f8ead7f5 45%, #f8ead7b0 74%, #f8ead751),
            url("./craft-journal-worktable.webp");
        background-position: center, right bottom;
        background-size: auto, auto 85%;
    }

    .store-highlights .post-card {
        flex-direction: row;
    }

    .store-highlights .post-card > a {
        flex: 0 0 27%;
        align-self: stretch;
        display: grid;
        align-items: center;
    }

    .store-highlights .post-card img {
        height: 100%;
        min-height: 0;
    }

    .store-highlights .post-card p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}
