/* =============================================================
   CP4U — Home Page (Custom Template)
   Brand: #003978 (green)  |  #256f96 (dark)  |  #e8f2fb (light)
   ============================================================= */

/* ── Full-width override (body class from page-home.php template)
─────────────────────────────────────────────────────────────── */
body.page-template-page-home-php #primary,
body.page-template-page-home     #primary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
}
body.page-template-page-home-php .ast-row,
body.page-template-page-home     .ast-row {
    display: block !important;
    max-width: 100% !important;
}
body.page-template-page-home-php #secondary,
body.page-template-page-home     #secondary {
    display: none !important;
}
body.page-template-page-home-php .entry-header,
body.page-template-page-home     .entry-header,
body.page-template-page-home-php .post-navigation,
body.page-template-page-home     .post-navigation {
    display: none !important;
}
body.page-template-page-home-php .entry-content,
body.page-template-page-home     .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
body.page-template-page-home-php .ast-container,
body.page-template-page-home     .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}
body.page-template-page-home-php .site-content,
body.page-template-page-home     .site-content,
body.page-template-page-home-php #content,
body.page-template-page-home     #content {
    padding: 0 !important;
    margin: 0 !important;
}
body.page-template-page-home-php .ast-article-single,
body.page-template-page-home     .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
}


/* ══════════════════════════════════════════
   GLOBAL WRAP
══════════════════════════════════════════ */
.cp4u-home-wrap {
    display: block;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ── Astra typography kill-switch ──────────────────────────────
   Astra loads global heading/body styles that override our custom
   weights and colours after initial render. These rules win by
   combining the body class (high specificity) with !important.
─────────────────────────────────────────────────────────────── */
body.page-template-page-home-php .cp4u-home-wrap h1,
body.page-template-page-home     .cp4u-home-wrap h1 {
    font-weight: 800 !important;
    line-height: 1.22 !important;
    margin-top: 0 !important;
}
body.page-template-page-home-php .cp4u-home-wrap h2,
body.page-template-page-home     .cp4u-home-wrap h2 {
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
}
body.page-template-page-home-php .cp4u-home-wrap h3,
body.page-template-page-home     .cp4u-home-wrap h3 {
    font-weight: 700 !important;
    margin-top: 0 !important;
}
body.page-template-page-home-php .cp4u-home-wrap p,
body.page-template-page-home     .cp4u-home-wrap p {
    font-weight: inherit !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
/* Prevent Astra from adding underline on hover — but do NOT
   force color:inherit on <a> globally as it breaks button colours */
body.page-template-page-home-php .cp4u-home-wrap a:hover,
body.page-template-page-home     .cp4u-home-wrap a:hover {
    text-decoration: none !important;
}


/* ══════════════════════════════════════════
   1. HERO BANNER — standardpatches.com layout
══════════════════════════════════════════ */

/* ─── Outer shell ─────────────────────────── */
.cpf-hero {
    position: relative;
    background: #0a0f18;
    overflow: hidden;
    width: 100%;
    font-size: 16px;
    line-height: normal;
}

/* Subtle dot-grid overlay */
.cpf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Blue glow blobs */
.cpf-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(48,144,192,.15);
    filter: blur(110px);
    pointer-events: none;
    z-index: 1;
}
.cpf-hero-glow--left  { top: -180px; left: -180px; }
.cpf-hero-glow--right { bottom: -180px; right: -180px; }

/* ─── Category scroll strip ───────────────── */
.cpf-hero-cats-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 10;
}
.cpf-cats-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
}
.cpf-cats-scroll::-webkit-scrollbar { display: none; }
.cpf-cats-scroll a {
    flex-shrink: 0;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: all .15s;
    white-space: nowrap;
}
.cpf-cats-scroll a:hover {
    background: rgba(48,144,192,.2);
    color: #fff;
    border-color: #003978;
}
.cpf-cats-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.cpf-cats-arrow:hover { background: rgba(48,144,192,.35); border-color: #003978; }

/* ─── Two-column layout ───────────────────── */
.cpf-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 40px 52px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/* ─── Left column ─────────────────────────── */
.cpf-hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cpf-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.cpf-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cpf-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none !important;
    background: #fff;
    color: #131a31 !important;
    border: 2px solid #fff;
    transition: all .2s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.cpf-hero-btn:hover {
    background: #003978 !important;
    color: #fff !important;
    border-color: #003978;
    transform: translateY(-1px);
}

/* ─── Right column ────────────────────────── */
.cpf-hero-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #fff;
}
.cpf-hero-eyebrow {
    display: inline-block;
    width: fit-content;
    padding: 7px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
}
.cpf-hero-h1 {
    font-size: clamp(26px, 2.6vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: -.3px;
}
.cpf-hero-h1 span {
    color: #003978 !important;
}
.cpf-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    margin: 0;
    line-height: 1.5;
}

/* ─── Category cards row ──────────────────── */
.cpf-hero-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}
.cpf-hero-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 4px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    text-decoration: none !important;
    color: #fff;
    text-align: center;
    transition: all .15s;
}
.cpf-hero-cat-card:hover,
.cpf-hero-cat-card.active {
    border-color: #003978;
    background: rgba(48,144,192,.12);
    color: #fff;
}
.cpf-hero-cat-img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    flex-shrink: 0;
}
.cpf-hero-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cpf-hero-cat-name  { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.2; }
.cpf-hero-cat-as-low { font-size: 9px; color: rgba(255,255,255,.45); line-height: 1; }
.cpf-hero-cat-price  { font-size: 14px; font-weight: 800; color: #003978; line-height: 1; }
.cpf-hero-cat-cta    { font-size: 9px; color: rgba(255,255,255,.5); line-height: 1; margin-top: 1px; }
.cpf-hero-caption    { font-size: 13px; color: rgba(255,255,255,.45); margin: 2px 0 0; }

/* ─── Responsive ──────────────────────────── */
@media (max-width: 900px) {
    .cpf-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px 36px;
    }
    .cpf-hero-left { order: 2; }
    .cpf-hero-right { order: 1; }
}
@media (max-width: 520px) {
    .cpf-hero-cats-grid { grid-template-columns: repeat(3, 1fr); }
    .cpf-hero-cats-strip { padding: 8px 12px; }
}

/* ── Legacy hero classes (kept for safety, hidden) ── */
.cp4u-hero, .patch-hero-content {

.patch-kicker {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(16px, 1.35vw, 25px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    color: #f2f2f2;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow:
        0 2px 0 rgba(0,0,0,.5),
        0 4px 12px rgba(0,0,0,.35);
}

.patch-title {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(42px, 4.25vw, 76px) !important;
    font-weight: 900 !important;
    line-height: .88 !important;
    letter-spacing: -1.5px !important;
    text-transform: uppercase;
    color: #f5f5f2 !important;
    text-shadow:
        2px 2px 0 rgba(0,0,0,.65),
        4px 5px 0 rgba(0,0,0,.25),
        0 8px 20px rgba(0,0,0,.35);
}

.patch-title span {
    display: block;
    margin-top: 5px;
    color: #003978 !important;
    text-shadow:
        2px 2px 0 rgba(0,0,0,.7),
        0 5px 15px rgba(0,0,0,.4);
}

.patch-feature-bar {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 8px 13px;
    margin-bottom: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(115, 180, 75, .9);
    border-radius: 3px;
    background: rgba(0, 0, 0, .16);
    color: #f1f1ec;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10px, .78vw, 14px);
    font-weight: 700;
    letter-spacing: 1.1px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow:
        0 3px 12px rgba(0,0,0,.18),
        inset 0 0 10px rgba(100,170,70,.05);
}

.patch-feature-bar b {
    color: #003978;
    margin: 0 5px;
}

.patch-description {
    max-width: 530px;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(11px, .82vw, 15px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 5px rgba(0,0,0,.7);
}

.patch-description a {
    color: #003978 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.patch-description a:hover {
    color: #256f96 !important;
}

.patch-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.patch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 22px;
    box-sizing: border-box;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.patch-btn-primary {
    background: #003978;
    color: #fff !important;
    border: 1px solid #003978;
    box-shadow:
        0 5px 18px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.patch-btn-primary:hover {
    background: #256f96;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.45);
}

.patch-btn-secondary {
    background: rgba(0,0,0,.22);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.patch-btn-secondary:hover {
    background: rgba(255,255,255,.12);
    color: #fff !important;
    border-color: #256f96;
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .patch-hero-content {
        width: 42%;
        padding-left: 35px;
        padding-right: 25px;
    }
    .patch-title {
        font-size: clamp(38px, 4vw, 58px) !important;
    }
    .patch-description {
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .patch-hero-content {
        position: absolute;
        width: 100%;
        height: auto;
        padding: 30px 20px 20px;
        justify-content: flex-start;
        background: none;
        top: 0;
        left: 0;
    }
    .patch-kicker {
        font-size: 15px;
    }
    .patch-title {
        font-size: clamp(38px, 11vw, 58px) !important;
        line-height: .9 !important;
    }
    .patch-feature-bar {
        font-size: 9px;
        letter-spacing: .7px;
        padding: 7px 9px;
    }
    .patch-description {
        max-width: 90%;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    .patch-btn {
        min-height: 40px;
        padding: 0 16px;
        font-size: 11px;
    }
}


/* ══════════════════════════════════════════
   2. MARQUEE — Scrolling patch gallery
══════════════════════════════════════════ */
.cp4u-marquee-wrap {
    overflow: hidden;
    background: #f7faf8;
    padding: 24px 0;
    border-top: 2px solid #e8f2fb;
    border-bottom: 2px solid #e8f2fb;
}

.cp4u-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: cp4u-marquee 40s linear infinite;
}
.cp4u-marquee-wrap:hover .cp4u-marquee-track {
    animation-play-state: paused;
}

.cp4u-marquee-track img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.10);
    transition: transform .25s;
}
.cp4u-marquee-track img:hover {
    transform: scale(1.06);
}

@keyframes cp4u-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════
   2b. INSPIRATION GALLERY
══════════════════════════════════════════ */
.cp4u-gallery-wrap {
    background: #e8f2fb;
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}
.cp4u-gallery-title {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #256f96;
    line-height: 1;
    margin: 0 0 8px;
    padding-top: 30px;
}
.cp4u-gallery-subtitle {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #256f96;
    margin: 0 0 16px;
}
.cp4u-gallery-slider-wrap {
    position: relative;
    padding: 10px 56px;
}
.cp4u-gallery-viewport {
    overflow: hidden;
}
.cp4u-gallery-track {
    display: flex;
    gap: 10px;
    /* transition is controlled by JS — set per-move */
}
.cp4u-gallery-slide {
    flex-shrink: 0;
}
.cp4u-gallery-slide img {
    border-radius: 12px;
    width: 100%;
    height: 376px;
    object-fit: cover;
    display: block;
}
.cp4u-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #003978;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(48,144,192,.18);
    transition: background .2s, border-color .2s;
}
.cp4u-gallery-arrow:hover {
    background: #003978;
}
.cp4u-gallery-arrow svg {
    width: 18px;
    height: 18px;
    fill: #003978;
    transition: fill .2s;
}
.cp4u-gallery-arrow:hover svg { fill: #fff; }
.cp4u-gallery-prev { left: 6px; }
.cp4u-gallery-next { right: 6px; }

@media (max-width: 900px) {
    .cp4u-gallery-slide img { height: 280px; }
    .cp4u-gallery-slider-wrap { padding: 10px 52px; }
}
@media (max-width: 600px) {
    .cp4u-gallery-title    { font-size: 28px; }
    .cp4u-gallery-subtitle { font-size: 14px; }
    .cp4u-gallery-slide img { height: 340px; }
    .cp4u-gallery-slider-wrap { padding: 10px 48px; }
}


/* ══════════════════════════════════════════
   3. SECTION HEADER
══════════════════════════════════════════ */
.cp4u-section-header {
    text-align: center;
    padding: 64px 20px 32px;
    background: #fff;
}

.cp4u-decorated-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #171e29;
    margin: 0 0 12px;
    letter-spacing: -.5px;
}

.cp4u-deco-line {
    flex: 1;
    max-width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #003978);
    border-radius: 2px;
}
.cp4u-deco-line:last-child {
    background: linear-gradient(90deg, #003978, transparent);
}

.cp4u-section-subheading {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 500;
    color: #256f96;
    margin: 0;
    letter-spacing: .4px;
}


/* ══════════════════════════════════════════
   4. PRODUCT GRID WRAP (shared w/ category)
══════════════════════════════════════════ */
.fp-products-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 32px 40px 20px; box-sizing: border-box; }
.fp-section-title { font-size: 32px; font-weight: 500; color: #256f96; margin: 24px 0 14px; text-align: left; text-transform: capitalize; line-height: 1.2; padding: 10px 0; }

.cp4u-products-intro {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 32px;
    padding-top: 8px;
}
.cp4u-products-intro-h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
    font-weight: 800 !important;
    color: #256f96 !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;
}
.cp4u-products-intro-p {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem) !important;
    color: #444 !important;
    line-height: 1.75 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* Grid — always 4 columns */
.fp-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card */
.fp-prod-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    overflow: hidden; display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.fp-prod-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.13); transform: translateY(-3px); }

/* Image */
.fp-prod-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #f9f9f9; padding: 14px; box-sizing: border-box; border-radius: 14px 14px 0 0; }

/* Body */
.fp-prod-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; text-align: center; }

/* Title */
.fp-prod-title-wrap { display: table; width: 100%; font-size: 17px; font-weight: 600; color: #003978; text-align: center; margin-bottom: 4px; }
.fp-prod-title-inner { display: flex; justify-content: center; }
.fp-prod-title-clamp { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: ellipsis; line-height: 1.3; max-height: 2.6em; }
.fp-prod-name { color: #003978; text-decoration: none; font-weight: 600; font-size: 15px; }
.fp-prod-card:hover .fp-prod-name { text-decoration: underline; }

/* Stars */
.fp-stars-wrap { display: flex; align-items: center; justify-content: center; gap: 4px; }
.fp-stars { position: relative; display: inline-block; font-size: 15px; color: #ccc; white-space: nowrap; }
.fp-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: #f59e0b; white-space: nowrap; }
.fp-review-count { font-size: 12px; color: #555; font-weight: 500; }

/* Price */
.fp-prod-price { color: #003978; font-weight: 600; font-size: 18px; line-height: 1; text-align: center; margin: 4px 0; }

/* Button */
.fp-prod-btn {
    width: 100%; background: #003978; border-radius: 50px; color: #fff;
    display: flex; justify-content: center; align-items: center;
    margin-top: auto; text-transform: uppercase; font-weight: 500;
    text-align: center; border: none; padding: 8px 12px; font-size: 15px;
    line-height: 24px; cursor: pointer; font-family: inherit;
    transition: background 0.2s ease; box-sizing: border-box;
}
.fp-prod-btn:hover,
.fp-prod-card:hover .fp-prod-btn {
    background: #256f96;
    color: #fff !important;
}

/* Sizes */
body.page-template-page-home-php .cp4u-home-wrap .fp-prod-desc,
body.page-template-page-home     .cp4u-home-wrap .fp-prod-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #666 !important;
    margin: 4px 0 6px !important;
    text-align: left;
}
.fp-prod-sizes { font-size: 12px; color: #999; margin: 0; text-align: center; }

/* Badge */
.fp-min-badge { position: absolute; top: 10px; right: 10px; background: #003978; color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; z-index: 2; }

@media (max-width: 1024px) { .fp-prod-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 600px) {
    .fp-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Title: 16px / 22.4px as specified */
    .fp-prod-name  { font-size: 16px !important; line-height: 22.4px !important; }

    /* Hide description and sizes on mobile */
    .fp-prod-desc,
    .fp-prod-sizes { display: none !important; }

    /* Tighten price and button */
    .fp-prod-price { font-size: 14px; }
    .fp-prod-btn   { font-size: 13px; padding: 9px 10px; }

    /* Tighter body padding */
    .fp-prod-body  { padding: 10px 10px 12px; gap: 4px; }
}


/* ══════════════════════════════════════════
   5. ORDER PROCESS
══════════════════════════════════════════ */
.cp4u-steps-wrap {
    width: 100%;
    background: #e8f2fb;
    padding: 20px 20px;
    box-sizing: border-box;
}
.cp4u-steps-heading {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
    padding: 8px 0 16px;
}
.cp4u-steps-heading h2 {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #256f96;
    line-height: 1;
    margin: 0 0 10px;
    padding: 0;
}
.cp4u-steps-heading p {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2e2e2e;
    margin: 0;
    text-align: center;
}
.cp4u-steps-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.cp4u-step {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 16px;
    gap: 12px;
    box-sizing: border-box;
}
.cp4u-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #003978;
    border-radius: 50%;
    flex-shrink: 0;
}
.cp4u-step-icon svg {
    width: 38px;
    height: 38px;
    fill: #ffffff;
}
.cp4u-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}
.cp4u-step p {
    font-size: 14px;
    font-weight: 400;
    color: #444;
    margin: 0;
    line-height: 1.6;
}
.cp4u-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 4px;
}
.cp4u-step-arrow svg {
    width: 24px;
    height: 24px;
    fill: #003978;
}
@media (max-width: 768px) {
    .cp4u-steps-inner { flex-direction: column; }
    .cp4u-step-arrow { transform: rotate(90deg); }
}


/* ══════════════════════════════════════════
   6. AUDIENCE / "TURN YOUR IDEAS" SECTION
══════════════════════════════════════════ */
@media (max-width: 991px) {
    .cp-section          { padding: 60px 0px 50px !important; }
    .cp-heading          { font-size: 28px !important; }
    .cp-intro-p          { font-size: 14px !important; }
    .cp-col              { width: 100% !important; }
    .cp-image-wrap       { min-height: 320px !important; }
    .cp-image            { height: auto !important; max-height: 400px !important; }
    .cp-badge-top        { top: 16px !important; left: 16px !important; padding: 10px 14px !important; }
    .cp-badge-bottom     { bottom: 16px !important; right: 16px !important; padding: 10px 14px !important; }
    .cp-badge-bottom-num { font-size: 20px !important; }
    .cp-quality-box      { padding: 22px 22px !important; margin-top: 8px !important; }
    .cp-quality-title    { font-size: 19px !important; }
    .cp-industry-title   { font-size: 19px !important; }
    .cp-industry-intro   { font-size: 13px !important; margin-bottom: 14px !important; }
    .cp-industry-card    { padding: 14px !important; }
    .cp-card-title       { font-size: 13px !important; }
    .cp-card-text        { font-size: 11px !important; }
    .cp-header-wrap      { margin-bottom: 30px !important; }
}
@media (max-width: 575px) {
    .cp-section       { padding: 50px 0px 40px !important; }
    .cp-heading       { font-size: 24px !important; }
    .cp-intro-p       { font-size: 13px !important; line-height: 1.6 !important; }
    .cp-image-wrap    { min-height: 260px !important; }
    .cp-image         { max-height: 320px !important; }
    .cp-industry-col  { width: 100% !important; }
    .cp-badge-label   { font-size: 10px !important; }
    .cp-badge-value   { font-size: 14px !important; }
    .cp-quality-box   { padding: 20px !important; }
    .cp-quality-title { font-size: 18px !important; }
    .cp-industry-title{ font-size: 18px !important; }
    .cp-tag           { font-size: 11px !important; padding: 6px 14px !important; }
}


/* ══════════════════════════════════════════
   7. REVIEWS
══════════════════════════════════════════ */
body.page-template-page-home-php .cp4u-home-wrap .rv-intro,
body.page-template-page-home     .cp4u-home-wrap .rv-intro,
body.page-template-page-home-php .cp4u-home-wrap .rv-cta-text,
body.page-template-page-home     .cp4u-home-wrap .rv-cta-text {
    color: #e8f2fb !important;
}
.cp4u-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
    padding-top: 24px; /* room for the overflowing quote badge */
}

.cp4u-review {
    background: #ffffff;
    border: 2px solid #003978;
    border-radius: 16px;
    padding: 32px 24px 28px;
    position: relative;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 2px 12px rgba(48,144,192,.08);
}
.cp4u-review:hover {
    box-shadow: 0 8px 30px rgba(48,144,192,.22);
    transform: translateY(-4px);
}

/* Green circle quote badge — centered at top edge */
.cp4u-review-quote {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #003978;
    color: #fff;
    font-size: 1.4rem;
    line-height: 40px;
    text-align: center;
    font-family: Georgia, serif;
    opacity: 1;
    pointer-events: none;
}

.cp4u-review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cp4u-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #003978;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0;
}

.cp4u-review-name {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.cp4u-review-stars {
    display: block;
    color: #ffc107;
    font-size: .85rem;
    letter-spacing: 1px;
}

.cp4u-review > p {
    font-size: .875rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* CTA box responsive */
@media (max-width: 991px) {
    .cp4u-reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .rv-cta-box   { padding: 32px 24px !important; margin-top: 40px !important; }
    .rv-cta-title { font-size: 22px !important; }
    .rv-cta-text  { font-size: 14px !important; }
    .rv-btn       { padding: 12px 28px !important; font-size: 14px !important; }
    .rv-section   { padding: 60px 0px !important; }
    .rv-heading   { font-size: 28px !important; }
    .rv-intro     { font-size: 15px !important; margin-bottom: 30px !important; }
    .rv-tag       { font-size: 11px !important; }
}
@media (max-width: 575px) {
    .cp4u-reviews-grid { grid-template-columns: 1fr; }
    .rv-cta-box   { padding: 28px 18px !important; }
    .rv-cta-title { font-size: 20px !important; }
    .rv-btn-group { gap: 12px !important; flex-direction: column !important; align-items: stretch !important; }
    .rv-btn       { padding: 12px 20px !important; width: 100% !important; box-sizing: border-box !important; }
    .rv-section   { padding: 50px 0px !important; }
    .rv-heading   { font-size: 24px !important; }
    .rv-intro     { font-size: 14px !important; }
}


/* Delivery banner CSS moved to cp4u-footer.css (loads globally) */


/* ══════════════════════════════════════════
   GLOBAL RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
    .cp4u-section-header { padding: 48px 20px 24px; }
    .fp-products-wrap    { padding: 8px 16px 32px; }
    .cp4u-process        { padding: 60px 16px; }
    .cp4u-audience       { padding: 60px 16px; }
    .cp4u-reviews        { padding: 60px 16px; }
}

/* ══════════════════════════════════════════
   "MADE FOR YOU" SECTION — Base styles
   (desktop inherits from inline; these give
    class-based elements their desktop look)
══════════════════════════════════════════ */
.cp4u-made-stat {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(48,144,192,0.15);
    box-shadow: 0 3px 10px rgba(41,82,48,0.06);
    box-sizing: border-box;
}
.cp4u-made-stat p {
    font-size: 13px;
    font-weight: 600;
    color: #256f96;
    margin: 0;
    line-height: 1.4;
}
.cp4u-made-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(48,144,192,0.15);
    box-shadow: 0 3px 10px rgba(41,82,48,0.06);
    box-sizing: border-box;
}
.cp4u-made-card span {
    display: block;
    color: #256f96;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
}
.cp4u-made-card p {
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    color: #6b7280;
}

/* ══════════════════════════════════════════
   "MADE FOR YOU" SECTION — Mobile
══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Section padding */
    .cp4u-made-section { padding: 40px 0 48px !important; }

    /* Inner container padding */
    .cp4u-made-inner { padding-left: 16px !important; padding-right: 16px !important; }

    /* Zone 1 */
    .cp4u-made-zone1 { margin-bottom: 24px !important; }
    .cp4u-made-h2    { font-size: 24px !important; letter-spacing: -0.3px !important; }
    .cp4u-made-p     { font-size: 14px !important; line-height: 1.65 !important; }

    /* Zone 2 — trust stats: 2 columns on mobile */
    .cp4u-made-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 28px !important;
    }

    /* Zone 4 bottom row: stack vertically */
    .cp4u-made-bottom { gap: 20px !important; }

    /* Image: full width, reduced height on mobile */
    .cp4u-made-img-col { flex-basis: 100% !important; }
    .cp4u-made-img-col > div { height: 260px !important; border-radius: 14px !important; }

    /* Industry section takes full width */
    .cp4u-made-industry { flex-basis: 100% !important; }
    .cp4u-made-industry-title { font-size: 18px !important; }
    .cp4u-made-industry-intro { font-size: 13px !important; margin-bottom: 14px !important; }

    /* Industry cards: 1 column on mobile */
    .cp4u-made-cards { grid-template-columns: 1fr !important; gap: 10px !important; }
    .cp4u-made-card  { padding: 14px 14px !important; }
}

@media (max-width: 420px) {
    /* Extra small: stats go 1 column */
    .cp4u-made-stats { grid-template-columns: 1fr !important; }
}
