/**
 * Store Highlights — Modern pack.
 * All three variants live in this file so the browser caches one stylesheet
 * regardless of which variant a page uses.
 *
 * Shared layout mechanics (grid, icon box, responsive columns) live in
 * pack-widgets-base.css. Only this pack's visual
 * treatment belongs here.
 *
 * Each variant was designed by a different designer with its own palette, so
 * each redeclares the --wl-pack-* colour tokens on its own root. Selecting a
 * variant therefore lands the reference layout and colours exactly, with nothing
 * for the user to adjust by hand. v1 matches the pack defaults and needs no
 * override.
 *
 * Font families are deliberately NOT overridden. No webfont is loaded for these
 * widgets — type falls back to the theme's own family, and the Style tab's
 * typography controls are how a user changes it.
 */

/* ═══════════════════════════════════════════════════════════════════════════
   Variant palettes
   ═══════════════════════════════════════════════════════════════════════════ */

/* v2 — Warm stone base · Olive accent */
.wl-sh-modern-v2 {
    --wl-pack-primary: #7A8F3A;
    --wl-pack-accent: #B4573F;
    --wl-pack-bg: #FAFAF7;
    --wl-pack-bg-alt: #F0EEE9;
    --wl-pack-text: #111111;
    --wl-pack-text-muted: #666666;
    --wl-pack-border: #D8D5CE;
    --wl-pack-radius: 4px;
}

/* v3 — White band on off-white · Clay accent */
.wl-sh-modern-v3 {
    --wl-pack-primary: #B8755B;
    --wl-pack-accent: #626A5D;
    --wl-pack-bg: #FAFAF7;
    --wl-pack-bg-alt: #FFFFFF;
    --wl-pack-text: #1F1F1D;
    --wl-pack-text-muted: #6F716D;
    --wl-pack-border: #D8D2C8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Variant: v1 — Borderless trust band
   ═══════════════════════════════════════════════════════════════════════════ */

/* Band defaults. Elementor's generated CSS loads after this file, so the Item Box
   panel controls override anything set here the moment a user touches them. */
.wl-sh-modern-v1 .wl-sh-list {
    background: var(--wl-pack-bg);
    padding: 40px 0;
}

.wl-sh-modern-v1 .wl-sh-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wl-sh-modern-v1 .wl-sh-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 12px;
    /* Fallback first for browsers without color-mix(). */
    background: var(--wl-pack-bg-alt);
    background: color-mix(in srgb, var(--wl-pack-primary) 10%, transparent);
    transition: background-color .25s ease, color .25s ease;
}

.wl-sh-modern-v1 .wl-sh-text {
    min-width: 0;
}

.wl-sh-modern-v1 .wl-sh-title {
    font-family: var(--wl-pack-font-heading);
    font-size: var(--wl-pack-text-base);
    font-weight: 600;
    line-height: 1.35;
    color: var(--wl-pack-text);
    margin-bottom: 2px;
}

.wl-sh-modern-v1 .wl-sh-sub {
    font-family: var(--wl-pack-font-body);
    font-size: var(--wl-pack-text-sm);
    line-height: 1.5;
    color: var(--wl-pack-text-muted);
}

/* Only linked items get a hover affordance. */
.wl-sh-modern-v1 a.wl-sh-item:hover .wl-sh-icon,
.wl-sh-modern-v1 .wl-sh-item.is-highlighted .wl-sh-icon {
    background: var(--wl-pack-primary);
    color: var(--wl-pack-btn-text);
}

@media (max-width: 1024px) {
    .wl-sh-modern-v1 .wl-sh-list {
        padding: 32px 0;
    }
}

@media (max-width: 767px) {
    .wl-sh-modern-v1 .wl-sh-list {
        padding: 24px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Variant: v2 — Bordered proof cards
   ═══════════════════════════════════════════════════════════════════════════ */

.wl-sh-modern-v2 .wl-sh-list {
    gap: 14px;
}

.wl-sh-modern-v2 .wl-sh-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 22px;
    background: var(--wl-pack-bg-alt);
    border: 1px solid var(--wl-pack-border);
    border-radius: var(--wl-pack-radius);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.wl-sh-modern-v2 .wl-sh-icon {
    font-size: 22px;
}

.wl-sh-modern-v2 .wl-sh-title {
    font-family: var(--wl-pack-font-heading);
    font-size: var(--wl-pack-text-xl);
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.1;
    color: var(--wl-pack-text);
}

.wl-sh-modern-v2 .wl-sh-sub {
    font-family: var(--wl-pack-font-body);
    font-size: var(--wl-pack-text-sm);
    line-height: 1.5;
    letter-spacing: .1px;
    color: var(--wl-pack-text-muted);
}

.wl-sh-modern-v2 .wl-sh-item:hover,
.wl-sh-modern-v2 .wl-sh-item.is-highlighted {
    border-color: var(--wl-pack-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Variant: v3 — Soft grey benefit rows
   ═══════════════════════════════════════════════════════════════════════════ */

.wl-sh-modern-v3 .wl-sh-list {
    gap: 24px;
    padding: 64px 0;
    background: var(--wl-pack-bg-alt);
}

/* Top-aligned, so a two-line description does not drag the icon down with it. */
.wl-sh-modern-v3 .wl-sh-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wl-sh-modern-v3 .wl-sh-icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
    border-radius: 12px;
    background: var(--wl-pack-border);
    color: var(--wl-pack-text);
    transition: background .25s ease, color .25s ease;
}

.wl-sh-modern-v3 .wl-sh-text {
    min-width: 0;
}

.wl-sh-modern-v3 .wl-sh-title {
    font-family: var(--wl-pack-font-heading);
    font-size: var(--wl-pack-text-lg);
    font-weight: 600;
    line-height: 1.3;
    color: var(--wl-pack-text);
    margin-bottom: 4px;
}

.wl-sh-modern-v3 .wl-sh-sub {
    font-family: var(--wl-pack-font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--wl-pack-text-muted);
}

.wl-sh-modern-v3 a.wl-sh-item:hover .wl-sh-icon,
.wl-sh-modern-v3 .wl-sh-item.is-highlighted .wl-sh-icon {
    background: var(--wl-pack-primary);
    color: var(--wl-pack-btn-text);
}

@media (max-width: 767px) {
    .wl-sh-modern-v3 .wl-sh-list {
        padding: 40px 0;
    }
}
