:root {
    --green: #277c67;
    --green-dark: #155a49;
    --mint: #eaf8f3;
    --sand: #f7f1e7;
    --clay: #b97b52;
    --ink: #18302a;
    --muted: #63766f;
    --line: #dbe9e4;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(24, 48, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    font-weight: 900;
    letter-spacing: -0.06em;
}

.brand-mark strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.1;
}

.brand-mark small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 800;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
    background: var(--mint);
}

.hero {
    padding: 92px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(185, 123, 82, 0.18), transparent 27%),
        linear-gradient(135deg, #f3fbf8 0%, #ffffff 58%, #fff9f0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    line-height: 1.08;
}

h1 {
    font-size: clamp(42px, 6vw, 70px);
    letter-spacing: -0.06em;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.045em;
    margin-bottom: 18px;
}

h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

p {
    margin-top: 0;
}

.hero-lead,
.page-lead {
    font-size: 20px;
    color: #3f5a51;
    max-width: 780px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 12px 25px rgba(39, 124, 103, 0.22);
}

.btn.primary:hover {
    background: var(--green-dark);
}

.btn.secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn.light {
    background: var(--white);
    color: var(--green-dark);
}

.btn.full {
    width: 100%;
    border: 0;
    font-size: 16px;
}

.hero-card,
.ingredient-card,
.value-card,
.story-card,
.contact-panel,
.contact-form,
.ingredient-detail,
.use-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(24, 48, 42, 0.06);
}

.hero-card {
    box-shadow: var(--shadow);
}

.hero-card ul {
    padding-left: 20px;
    margin: 0;
}

.hero-card li {
    margin: 10px 0;
    color: #3f5a51;
}

.section {
    padding: 82px 0;
}

.section.soft {
    background: var(--mint);
}

.split {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 58px;
}

.split p {
    font-size: 18px;
    color: #3f5a51;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.ingredient-grid,
.value-grid,
.use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.value-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ingredient-card h3,
.value-card h3 {
    color: var(--green-dark);
}

.ingredient-card p,
.value-card p,
.story-card p,
.contact-panel p,
.ingredient-detail p {
    color: #4d665e;
}

.product-story {
    background: linear-gradient(135deg, #ffffff, var(--sand));
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-list div,
.contact-points div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
}

.benefit-list strong,
.benefit-list span,
.contact-points strong,
.contact-points span {
    display: block;
}

.benefit-list strong,
.contact-points strong {
    color: var(--green-dark);
    margin-bottom: 4px;
}

.benefit-list span,
.contact-points span {
    color: var(--muted);
}

.cta-band {
    padding: 58px 0;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.cta-band p {
    opacity: 0.9;
}

.cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.page-hero {
    padding: 84px 0 60px;
    background:
        radial-gradient(circle at 86% 12%, rgba(185, 123, 82, 0.16), transparent 24%),
        linear-gradient(135deg, #f3fbf8, #ffffff);
}

.ingredient-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.use-grid {
    grid-template-columns: repeat(3, 1fr);
}

.use-card {
    font-weight: 900;
    color: var(--green-dark);
    min-height: 112px;
    display: flex;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row.two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 900;
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    color: var(--ink);
    background: #fbfffd;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(39, 124, 103, 0.65);
    box-shadow: 0 0 0 4px rgba(39, 124, 103, 0.1);
}

.notice {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 900;
}

.notice.success {
    background: #eaf8ef;
    color: #1f7a3f;
}

.notice.error {
    background: #fff0f0;
    color: #a33434;
}

.small-note {
    padding: 18px;
    border-radius: 18px;
    background: #fff9f0;
    border: 1px solid #ead7bc;
    color: #6b4b2d !important;
    font-size: 15px !important;
}

.site-footer {
    padding: 34px 0;
    background: #0f2c25;
    color: var(--white);
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

@media (max-width: 940px) {
    .nav-wrap,
    .cta-wrap,
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero-grid,
    .split,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-grid,
    .value-grid,
    .use-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 64px 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    h1 {
        font-size: 40px;
    }

    .ingredient-grid,
    .value-grid,
    .use-grid,
    .form-row.two {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }
}

/* FDF4 brand/logo + light imagery polish */
.brand-logo {
    display: block;
    width: 142px;
    max-width: 38vw;
    height: auto;
}

.brand-text {
    display: block;
}

.hero-product-card {
    padding: 0;
    overflow: hidden;
}

.hero-product-image {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: contain;
    background: #f3fbf8;
    padding: 18px;
}

.hero-product-content {
    padding: 26px 28px 28px;
}

.hero-product-content ul {
    padding-left: 20px;
    margin: 0;
}

.hero-product-content li {
    margin: 10px 0;
    color: #3f5a51;
}

.visual-split {
    align-items: center;
}

.about-image-card {
    margin-top: 24px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--line);
}

.about-image-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.image-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    max-width: none;
}

.image-heading img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.ingredient-detail-enhanced {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
}

.ingredient-detail-enhanced img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 22px;
}

.footer-meta {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 940px) {
    .image-heading,
    .ingredient-detail-enhanced {
        grid-template-columns: 1fr;
    }

    .brand-logo {
        width: 132px;
    }
}

@media (max-width: 640px) {
    .hero-product-image {
        height: 260px;
    }

    .about-image-card img,
    .image-heading img,
    .ingredient-detail-enhanced img {
        height: 210px;
    }
}

/* FDF5 mockup-style blue product-brand redesign */
:root {
    --ink: #071f4d;
    --muted: #46617f;
    --green: #08715f;
    --green-dark: #064f43;
    --blue: #005edc;
    --blue-dark: #002d82;
    --aqua: #dff6ff;
    --aqua-2: #eefaff;
    --line: #cfe1ef;
    --mint: #eefaff;
    --sand: #eefaff;
    --shadow: 0 18px 42px rgba(0, 60, 150, 0.12);
}

body {
    color: var(--ink);
    background: #ffffff;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #d9e8f4;
}

.nav-wrap {
    min-height: 74px;
}

.brand-logo {
    width: 112px !important;
    max-width: 28vw;
}

.brand-mark {
    gap: 12px;
}

.brand-text strong {
    color: var(--ink);
    font-size: 15px;
}

.brand-text small {
    color: var(--muted);
    font-size: 11px;
}

.main-nav a {
    color: var(--ink);
    border-radius: 0;
    background: transparent;
    padding: 10px 13px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
    background: transparent;
    border-bottom-color: var(--blue);
}

.fdf-hero {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 82% 31%, rgba(37, 177, 229, 0.34), transparent 27%),
        radial-gradient(circle at 78% 68%, rgba(0, 94, 220, 0.10), transparent 34%),
        linear-gradient(105deg, #ffffff 0%, #f8fcff 43%, #dff6ff 100%);
    overflow: hidden;
}

.fdf-hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.fdf-hero-copy h1 {
    color: var(--blue-dark);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.eyebrow {
    color: #007260;
}

.fdf-hero-copy .hero-lead {
    color: #193e68;
    font-size: 18px;
    max-width: 470px;
}

.btn.primary {
    background: linear-gradient(135deg, var(--blue), #004fc2);
    box-shadow: 0 10px 24px rgba(0, 94, 220, 0.24);
}

.btn.secondary {
    color: var(--blue);
    border-color: rgba(0, 94, 220, 0.42);
    background: rgba(255, 255, 255, 0.72);
}

.fdf-product-stage {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fdf-product-stage::before {
    content: "";
    position: absolute;
    inset: 6% 2% 0 2%;
    background:
        radial-gradient(circle at 58% 46%, rgba(255, 255, 255, 0.86), transparent 34%),
        radial-gradient(circle at 70% 63%, rgba(0, 94, 220, 0.12), transparent 34%);
    filter: blur(2px);
}

.fdf-product-stage::after {
    content: "";
    position: absolute;
    width: 92%;
    height: 42%;
    right: -8%;
    bottom: 20%;
    border-radius: 50%;
    border-top: 3px solid rgba(255, 255, 255, 0.92);
    transform: rotate(-10deg);
    opacity: 0.75;
}

.fdf-hero-product {
    position: relative;
    z-index: 2;
    display: block;
    width: min(470px, 86%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(0, 45, 130, 0.16));
}

.audience-wrap {
    margin-top: 34px;
}

.audience-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d7e9f6;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: var(--shadow);
}

.audience-card .eyebrow {
    margin-bottom: 12px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.audience-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 8px 18px;
    border-right: 1px solid #d5e4ef;
}

.audience-item:last-child {
    border-right: 0;
}

.audience-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid var(--blue);
    border-radius: 14px;
    color: var(--blue);
    font-weight: 900;
}

.audience-item strong {
    color: var(--blue-dark);
    font-size: 14px;
}

.audience-item small {
    color: var(--muted);
    font-size: 12px;
}

.fdf-lifestyle-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 48%, #eefaff 100%);
    border-top: 1px solid #d8e8f4;
    border-bottom: 1px solid #d8e8f4;
}

.fdf-lifestyle-image {
    min-height: 440px;
    overflow: hidden;
}

.fdf-lifestyle-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.fdf-lifestyle-copy {
    padding: clamp(44px, 6vw, 78px);
    align-self: center;
}

.fdf-lifestyle-copy h2 {
    color: var(--blue-dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05;
}

.fdf-lifestyle-copy p {
    color: #16395f;
    font-size: 16px;
}

.fdf-ingredients-preview {
    background: #ffffff;
    padding-top: 64px;
}

.centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.centered h2 {
    color: var(--blue-dark);
}

.ingredient-visual-grid {
    align-items: stretch;
}

.ingredient-visual-card {
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 12px 22px;
    border-radius: 0;
    border-right: 1px solid #d3e2ee;
}

.ingredient-visual-card:last-child {
    border-right: 0;
}

.ingredient-visual-card h3 {
    color: var(--blue);
}

.ingredient-visual-card p {
    color: #17395f;
    font-size: 14px;
}

.ingredient-illustration {
    width: 145px;
    height: 96px;
    margin-bottom: 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0 28%, transparent 29%),
        radial-gradient(circle at 50% 68%, rgba(0, 94, 220, 0.14), transparent 50%);
    position: relative;
}

.ingredient-illustration::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    height: 48px;
    border-radius: 50% 50% 46% 46%;
    background: #c98742;
    box-shadow: inset 0 -12px 0 rgba(80, 45, 20, 0.16);
}

.ingredient-illustration::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 48px;
    height: 24px;
    border-radius: 50%;
    background: #f1eee5;
    box-shadow: 0 -10px 18px rgba(255,255,255,.6);
}

.powder-bowl::after {
    background: #fff6e5;
}

.bark-stack::before {
    left: 24px;
    right: 26px;
    bottom: 30px;
    height: 14px;
    border-radius: 6px;
    background: #9a6a3d;
    box-shadow:
        12px -14px 0 #b7864f,
        25px 4px 0 #8e5f34,
        48px -8px 0 #a87945;
    transform: rotate(-8deg);
}

.bark-stack::after {
    left: 86px;
    right: auto;
    bottom: 62px;
    width: 38px;
    height: 34px;
    border-radius: 50% 0 50% 0;
    background: #63b33d;
    transform: rotate(-24deg);
}

.trust-strip {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #d5e5f0;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    overflow: hidden;
}

.trust-strip div {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    border-right: 1px solid #d5e5f0;
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip span {
    grid-row: span 2;
    color: #08715f;
    font-size: 30px;
}

.trust-strip strong {
    color: #08715f;
}

.trust-strip small {
    color: var(--muted);
}

.ingredient-detail-enhanced {
    display: block !important;
}

.fdf-footer {
    background: linear-gradient(135deg, #005edc, #00339b);
    color: #ffffff;
    padding: 46px 0 0;
}

.fdf-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    display: block;
    width: 138px;
    height: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.fdf-footer p {
    color: rgba(255,255,255,.86);
    margin: 0;
}

.fdf-footer strong {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
    margin-bottom: 14px;
}

.footer-links.stacked {
    display: grid;
    gap: 9px;
}

.footer-links.stacked a {
    color: rgba(255,255,255,.9);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icons span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--blue);
    font-weight: 900;
}

.footer-bottom {
    margin-top: 36px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.18);
    display: flex;
    justify-content: center;
    gap: 64px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 940px) {
    .fdf-hero-grid,
    .fdf-lifestyle-band,
    .fdf-footer-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid,
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-item,
    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid #d5e4ef;
    }

    .fdf-product-stage {
        min-height: 320px;
    }

    .fdf-hero-product {
        width: min(380px, 86%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        width: 96px !important;
    }

    .fdf-hero {
        padding: 46px 0 36px;
    }

    .audience-grid,
    .trust-strip,
    .ingredient-grid {
        grid-template-columns: 1fr !important;
    }

    .fdf-lifestyle-copy {
        padding: 34px 22px;
    }
}

/* FDF5G product image fallback balance */
.fdf-product-stage {
    min-height: 390px;
}

.fdf-hero-product {
    width: min(390px, 76%) !important;
    background: transparent;
    border-radius: 0;
    mix-blend-mode: multiply;
}

.brand-logo {
    width: 96px !important;
}

@media (max-width: 940px) {
    .fdf-hero-product {
        width: min(330px, 78%) !important;
    }
}

/* FDF6 product/header balance cleanup */
.brand-logo {
    width: 90px !important;
}

.brand-text strong {
    font-size: 14px !important;
}

.brand-text small {
    font-size: 10px !important;
}

.fdf-product-stage {
    min-height: 390px !important;
}

.fdf-product-stage::before {
    background:
        radial-gradient(circle at 58% 46%, rgba(255, 255, 255, 0.38), transparent 34%),
        radial-gradient(circle at 70% 63%, rgba(0, 94, 220, 0.12), transparent 34%) !important;
}

.fdf-hero-product {
    width: min(420px, 78%) !important;
    background: transparent !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 24px 30px rgba(0, 45, 130, 0.18)) !important;
}

@media (max-width: 940px) {
    .fdf-hero-product {
        width: min(340px, 78%) !important;
    }
}

/* ============================================================
   FDF HERO PRODUCT + AUDIENCE ROW CLEANUP
   ============================================================ */

.fdf-hero-product-image{
  display:block;
  max-width:100%;
  width:420px;
  height:auto;
  margin:0 auto;
}

.fdf-audience-card{
  background:#fff;
  border:1px solid #d9e4ef;
  border-radius:22px;
  box-shadow:0 8px 24px rgba(10,50,120,.08);
  padding:22px 26px;
  margin-top:28px;
}

.fdf-audience-title{
  font-size:14px;
  line-height:1.2;
  letter-spacing:.12em;
  font-weight:800;
  color:#0b7a66;
  text-transform:uppercase;
  margin-bottom:18px;
}

.fdf-audience-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:0;
}

.fdf-audience-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 18px;
  border-right:1px solid #d9e4ef;
}

.fdf-audience-item:last-child{
  border-right:none;
}

.fdf-audience-icon{
  width:52px;
  height:52px;
  min-width:52px;
  border:2px solid #1c63e8;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#1c63e8;
  background:#fff;
}

.fdf-audience-icon svg{
  width:24px;
  height:24px;
  display:block;
}

.fdf-audience-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.fdf-audience-copy strong{
  font-size:16px;
  line-height:1.2;
  color:#0c2f79;
  font-weight:800;
}

.fdf-audience-copy span{
  font-size:14px;
  line-height:1.45;
  color:#35507f;
}

@media (max-width: 1100px){
  .fdf-audience-grid{
    grid-template-columns:1fr;
  }

  .fdf-audience-item{
    border-right:none;
    border-bottom:1px solid #d9e4ef;
    padding:14px 0;
  }

  .fdf-audience-item:last-child{
    border-bottom:none;
  }

  .fdf-hero-product-image{
    width:340px;
  }
}

@media (max-width: 768px){
  .fdf-hero-product-image{
    width:280px;
  }

  .fdf-audience-card{
    padding:18px 18px;
    border-radius:18px;
  }

  .fdf-audience-icon{
    width:46px;
    height:46px;
    min-width:46px;
    border-radius:14px;
  }

  .fdf-audience-copy strong{
    font-size:15px;
  }

  .fdf-audience-copy span{
    font-size:13px;
  }
}

/* FDF7 consistent hero audience icon row */
.fdf-audience-wrap {
    margin-top: 34px;
}

.fdf-audience-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d7e9f6;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 18px 42px rgba(0, 60, 150, 0.12);
}

.fdf-audience-title {
    color: #007260;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fdf-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.fdf-audience-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 8px 18px;
    border-right: 1px solid #d5e4ef;
}

.fdf-audience-item:last-child {
    border-right: 0;
}

.fdf-audience-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid #005edc;
    border-radius: 14px;
    color: #005edc;
    background: #ffffff;
}

.fdf-audience-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.fdf-audience-copy {
    display: grid;
    gap: 4px;
}

.fdf-audience-copy strong {
    color: #002d82;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
}

.fdf-audience-copy span {
    color: #46617f;
    font-size: 12px;
    line-height: 1.35;
}

/* Hide/de-prioritize old FDF5 placeholder icon selectors if any remain */
.audience-wrap,
.audience-card,
.audience-grid,
.audience-item,
.audience-icon {
    /* no-op reset target; new fdf-audience-* classes control the row */
}

@media (max-width: 1100px) {
    .fdf-audience-grid {
        grid-template-columns: 1fr;
    }

    .fdf-audience-item {
        border-right: 0;
        border-bottom: 1px solid #d5e4ef;
        padding: 14px 0;
    }

    .fdf-audience-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .fdf-audience-card {
        padding: 18px;
    }

    .fdf-audience-item {
        grid-template-columns: 42px 1fr;
    }

    .fdf-audience-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .fdf-audience-icon svg {
        width: 21px;
        height: 21px;
    }
}

/* FDF8 integrated hero product scene */
.fdf-product-stage {
    min-height: 390px !important;
    justify-content: center !important;
}

.fdf-product-stage::before,
.fdf-product-stage::after {
    display: none !important;
}

.fdf-hero-product {
    width: min(560px, 94%) !important;
    height: auto !important;
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 22px 28px rgba(0, 45, 130, 0.08)) !important;
}

@media (max-width: 940px) {
    .fdf-product-stage {
        min-height: 300px !important;
    }

    .fdf-hero-product {
        width: min(420px, 92%) !important;
    }
}

/* FDF8D hero product image only fix */
.fdf-product-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 430px !important;
    background: transparent !important;
    overflow: hidden !important;
}

.fdf-hero-product {
    display: block !important;
    width: min(500px, 96%) !important;
    max-width: 500px !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

@media (max-width: 980px) {
    .fdf-hero-product {
        width: min(400px, 92%) !important;
        max-width: 400px !important;
    }

    .fdf-product-stage {
        min-height: 320px !important;
    }
}

/* FDF8G hero product image blend/restoration */
.fdf-product-stage {
    min-height: 430px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 55% 48%, rgba(255,255,255,0.55), transparent 34%),
        radial-gradient(circle at 68% 58%, rgba(0,94,220,0.10), transparent 38%) !important;
    overflow: hidden !important;
}

.fdf-product-stage::before,
.fdf-product-stage::after {
    display: none !important;
}

.fdf-hero-product {
    display: block !important;
    width: min(390px, 78%) !important;
    max-width: 390px !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter:
        drop-shadow(0 22px 26px rgba(0, 45, 130, 0.16)) !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
}

@media (max-width: 940px) {
    .fdf-product-stage {
        min-height: 320px !important;
    }

    .fdf-hero-product {
        width: min(330px, 80%) !important;
        max-width: 330px !important;
    }
}

/* FDF8K product image class fix / hero balance */
.fdf-product-stage {
    min-height: 430px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 55% 48%, rgba(255,255,255,0.48), transparent 34%),
        radial-gradient(circle at 68% 58%, rgba(0,94,220,0.10), transparent 38%) !important;
    overflow: hidden !important;
}

.fdf-product-stage::before,
.fdf-product-stage::after {
    display: none !important;
}

.fdf-hero-product {
    display: block !important;
    width: min(390px, 78%) !important;
    max-width: 390px !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 22px 26px rgba(0, 45, 130, 0.16)) !important;
    mix-blend-mode: multiply;
}

@media (max-width: 940px) {
    .fdf-product-stage {
        min-height: 320px !important;
    }

    .fdf-hero-product {
        width: min(330px, 80%) !important;
        max-width: 330px !important;
    }
}

/* ============================================================
   FDF9 FINAL STAGING OVERRIDES
   Purpose: final homepage/header/product polish before DNS cutover.
   Do not remove until FreshDryFeet cutover is complete.
   ============================================================ */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(28, 84, 151, 0.10);
}

.brand-mark {
    gap: 12px;
    align-items: center;
}

.brand-logo {
    width: 138px !important;
    height: auto !important;
    display: block;
}

.brand-text strong {
    font-size: 1.02rem;
    line-height: 1.05;
}

.brand-text small {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fdf-hero {
    position: relative;
    overflow: hidden;
}

.fdf-hero-grid {
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.fdf-hero-copy {
    max-width: 620px;
}

.fdf-hero-copy h1 {
    max-width: 11ch;
    line-height: 0.95;
}

.fdf-product-stage {
    min-height: 455px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: visible !important;
    background:
        radial-gradient(circle at 52% 48%, rgba(255,255,255,0.92), transparent 32%),
        radial-gradient(circle at 50% 52%, rgba(49,132,212,0.14), transparent 52%) !important;
    border-radius: 34px;
}

.fdf-product-stage::before,
.fdf-product-stage::after {
    display: none !important;
    content: none !important;
}

.fdf-hero-product {
    display: block !important;
    width: min(430px, 84%) !important;
    max-width: 430px !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 24px 30px rgba(18, 61, 120, 0.20)) !important;
    mix-blend-mode: normal !important;
}

.fdf-audience-card {
    box-shadow: 0 24px 70px rgba(20, 67, 126, 0.12);
}

.footer-logo {
    width: 128px !important;
    height: auto !important;
}

@media (max-width: 980px) {
    .brand-logo {
        width: 118px !important;
    }

    .fdf-hero-grid {
        gap: 26px;
    }

    .fdf-hero-copy h1 {
        max-width: 100%;
    }

    .fdf-product-stage {
        min-height: 340px !important;
        border-radius: 26px;
    }

    .fdf-hero-product {
        width: min(350px, 82%) !important;
        max-width: 350px !important;
    }
}

@media (max-width: 640px) {
    .brand-mark {
        gap: 9px;
    }

    .brand-logo {
        width: 96px !important;
    }

    .brand-text strong {
        font-size: 0.9rem;
    }

    .brand-text small {
        font-size: 0.62rem;
    }

    .fdf-product-stage {
        min-height: 285px !important;
        margin-top: 8px;
    }

    .fdf-hero-product {
        width: min(290px, 86%) !important;
        max-width: 290px !important;
    }

    .footer-logo {
        width: 104px !important;
    }
}

/* ============================================================
   FDF11 PRODUCT IMAGE PRESENTATION
   CSS is active. Product JPG appears to be the limiting factor.
   This crops/frames the live JPG more intentionally.
   ============================================================ */

.fdf-product-stage {
    min-height: 470px !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,0.95), transparent 31%),
        radial-gradient(circle at 50% 50%, rgba(58,139,220,0.16), transparent 55%) !important;
    border-radius: 36px !important;
    overflow: hidden !important;
}

.fdf-hero-product {
    width: min(500px, 96%) !important;
    max-width: 500px !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    transform: scale(1.18) translateY(4px) !important;
    transform-origin: center center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 28px 34px rgba(18, 61, 120, 0.22)) !important;
}

@media (max-width: 980px) {
    .fdf-product-stage {
        min-height: 360px !important;
        padding: 10px !important;
    }

    .fdf-hero-product {
        width: min(410px, 94%) !important;
        max-width: 410px !important;
        transform: scale(1.14) translateY(2px) !important;
    }
}

@media (max-width: 640px) {
    .fdf-product-stage {
        min-height: 300px !important;
        padding: 8px !important;
    }

    .fdf-hero-product {
        width: min(340px, 94%) !important;
        max-width: 340px !important;
        transform: scale(1.12) translateY(0) !important;
    }
}



/* ============================================================
   FDF15 FINAL JPG PRODUCT RESTORE
   Product asset is /images/fdf-product.jpg. Do not point hero at transparent PNG.
   ============================================================ */

.fdf-product-stage {
    min-height: 470px !important;
    padding: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,0.95), transparent 31%),
        radial-gradient(circle at 50% 50%, rgba(58,139,220,0.16), transparent 55%) !important;
    border-radius: 36px !important;
    overflow: hidden !important;
}

.fdf-product-stage::before,
.fdf-product-stage::after {
    display: none !important;
    content: none !important;
}

.fdf-hero-product {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(500px, 96%) !important;
    max-width: 500px !important;
    min-width: 220px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: scale(1.18) translateY(4px) !important;
    transform-origin: center center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 28px 34px rgba(18, 61, 120, 0.22)) !important;
}

@media (max-width: 980px) {
    .fdf-product-stage {
        min-height: 360px !important;
        padding: 10px !important;
    }

    .fdf-hero-product {
        width: min(410px, 94%) !important;
        max-width: 410px !important;
        transform: scale(1.14) translateY(2px) !important;
    }
}

@media (max-width: 640px) {
    .fdf-product-stage {
        min-height: 300px !important;
        padding: 8px !important;
    }

    .fdf-hero-product {
        width: min(340px, 94%) !important;
        max-width: 340px !important;
        transform: scale(1.12) translateY(0) !important;
    }
}


/* ============================================================
   FDF16 HOME LIFESTYLE SECTION FIX
   Match live-style parent/child shoe image and compact split layout.
   Homepage only.
   ============================================================ */

.fdf-lifestyle-band {
    max-width: 1120px !important;
    margin: 0 auto 72px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 18px 50px rgba(20, 67, 126, 0.08) !important;
}

.fdf-lifestyle-image {
    min-height: 365px !important;
    height: 365px !important;
    overflow: hidden !important;
}

.fdf-lifestyle-image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.fdf-lifestyle-copy {
    min-height: 365px !important;
    padding: 52px 48px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98), rgba(245,251,255,0.92)) !important;
}

.fdf-lifestyle-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 20px !important;
}

.fdf-lifestyle-copy p {
    max-width: 560px !important;
}

@media (max-width: 900px) {
    .fdf-lifestyle-band {
        grid-template-columns: 1fr !important;
        margin-bottom: 54px !important;
    }

    .fdf-lifestyle-image {
        height: 320px !important;
        min-height: 320px !important;
    }

    .fdf-lifestyle-copy {
        min-height: auto !important;
        padding: 38px 28px 44px !important;
    }
}

@media (max-width: 640px) {
    .fdf-lifestyle-band {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .fdf-lifestyle-image {
        height: 250px !important;
        min-height: 250px !important;
    }

    .fdf-lifestyle-copy {
        padding: 32px 22px 36px !important;
    }
}


/* FDF9K comfort section image swap */
.fdf-comfort-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FDF9M comfort section no-image layout */
.fdf-lifestyle-band.no-image {
    display: block !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3fbff 100%) !important;
    border-top: 1px solid #d8e8f4;
    border-bottom: 1px solid #d8e8f4;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    max-width: 860px;
    margin: 0 auto;
    padding: 72px 0;
    text-align: left;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy h2 {
    max-width: 620px;
}

@media (max-width: 940px) {
    .fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
        padding: 48px 0;
    }
}

/* FDF9O align no-image comfort section with page grid */
.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    max-width: 720px !important;
    margin: 0 !important;
    padding: 72px 0 !important;
    text-align: left !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy h2 {
    max-width: 620px !important;
}

.fdf-lifestyle-band.no-image .container {
    max-width: 1120px;
}

@media (max-width: 940px) {
    .fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
        padding: 48px 0 !important;
    }
}

/* FDF9Q center no-image comfort section */
.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 72px 0 !important;
    text-align: center !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy h2 {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy p {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 940px) {
    .fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
        padding: 48px 0 !important;
    }
}

/* FDF9S remove comfort section shading */
.fdf-lifestyle-band.no-image {
    background: #ffffff !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.fdf-lifestyle-band.no-image .container {
    background: #ffffff !important;
    box-shadow: none !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    background: #ffffff !important;
    box-shadow: none !important;
}

/* FDF10 real ingredient images */
.ingredient-real-image {
    display: block;
    width: 150px;
    height: 110px;
    object-fit: contain;
    margin: 0 0 18px 0;
    border-radius: 18px;
}

.ingredient-visual-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 940px) {
    .ingredient-real-image {
        width: 140px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .ingredient-real-image {
        margin-left: auto;
        margin-right: auto;
    }

    .ingredient-visual-card {
        align-items: center;
        text-align: center;
    }
}

/* FDF11A widen and center comfort narrative section */
.fdf-lifestyle-band.no-image {
    padding: 72px 0 76px !important;
    background: #ffffff !important;
}

.fdf-lifestyle-band.no-image .container {
    max-width: 1120px !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy .eyebrow {
    text-align: center !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy h2 {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 22px !important;
    text-align: center !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy p {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    line-height: 1.65 !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy p + p {
    margin-top: 18px !important;
}

@media (max-width: 940px) {
    .fdf-lifestyle-band.no-image {
        padding: 52px 0 56px !important;
    }

    .fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
        max-width: 92% !important;
    }
}

/* FDF11C tighten spacing between comfort and ingredients sections */
.fdf-lifestyle-band.no-image {
    padding: 62px 0 34px !important;
}

.fdf-ingredients-preview {
    padding-top: 34px !important;
}

.fdf-lifestyle-band.no-image .fdf-lifestyle-copy {
    padding: 0 !important;
}

@media (max-width: 940px) {
    .fdf-lifestyle-band.no-image {
        padding: 46px 0 28px !important;
    }

    .fdf-ingredients-preview {
        padding-top: 28px !important;
    }
}
/* ------------------------------------------------------------------
   Header utility row - My Account | Cart (n)
   Added 2026-08-11 with the commerce nav. Matches the placement used on
   InfantDry and SqueakyCheeks: a right-aligned row above the main nav.

   The cart count span carries id="cartItemsCount" and class="cart-items-count"
   because javascripts/common.js already targets both after an add-to-cart.
   ------------------------------------------------------------------ */

.fdf-utility-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    font-size: 0.9rem;
}

.fdf-utility-link,
.fdf-cart-link {
    color: var(--ink, #333);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fdf-utility-link:hover,
.fdf-cart-link:hover {
    text-decoration: underline;
}

.fdf-utility-sep {
    color: #bbb;
}

/* Count badge. Outlined rather than filled so it reads as a quantity
   indicator rather than an alert. */
.fdf-cart-link .cart-items-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 1px solid var(--green, #277c67);
    border-radius: 4px;
    color: var(--green, #277c67);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

/* The main nav sits directly below, so drop its top padding to keep the
   header from growing taller than the brochure's original. */
.fdf-utility-row + .nav-wrap {
    padding-top: 4px;
}

@media (max-width: 640px) {
    .fdf-utility-row {
        padding-top: 10px;
        font-size: 0.85rem;
    }
}
/* ------------------------------------------------------------------
   Product page
   Added 2026-08-11 with the product view rewrite. Uses the brochure's own
   variables and spacing so the commerce pages read as the same site.

   This section loads fdf-brochure.css ONLY - no Bootstrap, no InfantDry
   stylesheets - so everything the page needs is here.
   ------------------------------------------------------------------ */

.fdf-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.fdf-product-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #f6f8f9;
}

.fdf-product-detail h1 {
    margin: 8px 0 12px;
}

.fdf-product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green, #277c67);
    margin: 0 0 16px;
}

.fdf-product-lede {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.fdf-buy-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.fdf-qty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.fdf-qty input {
    width: 84px;
    padding: 11px 12px;
    border: 1px solid #ccd4d8;
    border-radius: 6px;
    font-size: 1rem;
}

/* The brochure's .btn.primary is an <a>; this is a <button>, so normalise the
   bits a button does not inherit. */
.fdf-buy-row .btn.primary {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 14px 28px;
}

.fdf-in-cart {
    margin-top: 4px;
}

.fdf-product-sku {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #7c8a91;
}

.fdf-product-about p {
    max-width: 76ch;
}

@media (max-width: 860px) {
    .fdf-product-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .fdf-product-media img {
        max-width: 420px;
    }
}
/* ------------------------------------------------------------------
   Cart
   Added 2026-08-11 with the cart rewrite. Replaces WooCommerce class names
   (shop_table, woocommerce-Price-*, wpc-*) with FDF ones.

   The .fdf-cart-cell / .fdf-cell-label / .fdf-cell-value trio is the mobile
   stacked-label pattern: labels are hidden on desktop where the table header
   already names the column, and shown on narrow screens where each row
   becomes a card.
   ------------------------------------------------------------------ */

.fdf-cart h1 {
    margin-bottom: 24px;
}

.fdf-cart-alert {
    margin-bottom: 20px;
}

.fdf-cart-empty {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.fdf-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 36px;
}

.fdf-cart-table th,
.fdf-cart-table td {
    padding: 14px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e6ecee;
}

.fdf-cart-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7c8a91;
    border-bottom-width: 2px;
}

.fdf-col-thumb img {
    width: 72px;
    height: auto;
    border-radius: 6px;
    background: #f6f8f9;
}

.fdf-col-remove { width: 40px; }

.fdf-remove-item {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: #9aa7ad;
    padding: 0 4px;
}

.fdf-remove-item:hover { color: #c0392b; }

/* Desktop: the column header is the label, so hide the per-cell one. */
.fdf-cell-label { display: none; }

.fdf-option {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.fdf-option label { font-size: 0.92rem; }

.fdf-replenishment {
    font-size: 0.85rem;
    color: #5c6b72;
    margin-top: 8px;
    max-width: 46ch;
}

.fdf-col-qty input {
    width: 76px;
    padding: 9px 10px;
    border: 1px solid #ccd4d8;
    border-radius: 6px;
}

.fdf-cart-actions td { border-bottom: 0; }

.fdf-coupon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.fdf-coupon input {
    padding: 11px 12px;
    border: 1px solid #ccd4d8;
    border-radius: 6px;
    min-width: 200px;
}

.fdf-coupon-msg { margin-top: 8px; }
.fdf-coupon-msg .field_err     { color: #c0392b; font-size: 0.9rem; }
.fdf-coupon-msg .field_success { color: var(--green, #277c67); font-size: 0.9rem; }

.fdf-cart-totals {
    max-width: 460px;
    margin-left: auto;
}

.fdf-totals-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fdf-totals-table th,
.fdf-totals-table td {
    padding: 11px 0;
    border-bottom: 1px solid #e6ecee;
    text-align: left;
}

.fdf-totals-table td { text-align: right; }

.fdf-totals-table .fdf-coupon-desc {
    font-weight: 400;
    color: #7c8a91;
}

.fdf-order-total th,
.fdf-order-total td {
    font-size: 1.15rem;
    border-bottom: 0;
    padding-top: 16px;
}

.fdf-checkout-cta .btn {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 15px 24px;
}

/* Narrow screens: each row becomes a stacked card and the per-cell labels
   come back, since there is no visible column header to read from. */
@media (max-width: 860px) {
    .fdf-cart-table thead { display: none; }

    .fdf-cart-table,
    .fdf-cart-table tbody,
    .fdf-cart-table tr,
    .fdf-cart-table td { display: block; width: 100%; }

    .fdf-cart-table tr {
        border: 1px solid #e6ecee;
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 16px;
        position: relative;
    }

    .fdf-cart-table td { border-bottom: 0; padding: 6px 0; }

    .fdf-col-remove {
        position: absolute;
        top: 8px;
        right: 8px;
        width: auto;
    }

    .fdf-cell-label {
        display: block;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #7c8a91;
        margin-bottom: 3px;
    }

    .fdf-cart-totals { max-width: none; }
}

/* ==========================================================================
   CHECKOUT2 — FreshDryFeet
   Appended 2026-08-11. Styles views/checkout2/index.php against its existing
   class names. No markup was changed.

   Read before editing:
   - .wid-100/.wid-50/.wid-33 are replicated verbatim from InfantDry's
     style.css (width + float:left). The float is load-bearing: it establishes
     a BFC so the parent contains its floated children. Do not convert these
     to flex without restructuring the markup.
   - .d-none MUST exist. checkout2-index.js:998/1000 toggles it on
     #cartPaidShipping. It came from Bootstrap, which this page no longer
     loads. Removing this rule silently breaks the shipping-price toggle.
   - .fa-caret-up and .fa-credit-card-alt are drawn in CSS because Font
     Awesome is not loaded on brochure sections. The markup still carries
     <i class="fa fa-caret-up">.
   - .loading, .field_err-coupon, .cust-removecoupon are defined in the view's
     own inline <style> and survive the stylesheet switch. Not duplicated here.
   ========================================================================== */

/* --- Layout primitives (verbatim from InfantDry style.css) --------------- */

.wid-100 { width: 100%; float: left; }
.wid-50  { width: 50%;  float: left; }
.wid-33  { width: 33.3%; float: left; }

/* Bootstrap utility with a JS consumer — see header note. */
.d-none { display: none !important; }

/* --- Page shell --------------------------------------------------------- */

.new-checkout-page {
    background: var(--mint);
    padding: 38px 0 70px;
    min-height: 60vh;
}

.new-checkout-page .container { max-width: 1120px; }

.checkoutForm { width: 100%; float: left; }

.innr-new-checkout-page {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    align-items: flex-start;
    float: none;
}

.innr-new-checkout-page > .new-chkout-page-sec {
    flex: 1 1 420px;
    width: auto;
    float: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: var(--shadow);
}

/* --- Headings ----------------------------------------------------------- */

.new-checkout-heading { margin-bottom: 18px; }

.new-checkout-heading h1,
.new-checkout-heading h2,
.new-innr-checkout-heading h1,
.new-innr-checkout-heading h2 {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.new-innr-checkout-heading p { margin: 0; color: var(--muted); }

.ppg-your-order-head {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.ship-today-grid { display: block; }

.ship-today-ordern {
    margin: 0;
    color: var(--green-dark);
    font-weight: 700;
}

.timmer-start {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    border-radius: 999px;
    padding: 2px 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* --- Coupon ------------------------------------------------------------- */

.couponDiv { width: 100%; float: left; margin-bottom: 18px; }

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

.coupon input[type="text"] {
    flex: 1 1 200px;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    font-size: 15px;
    color: var(--ink);
}

.coupon .button,
button.button {
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--white);
    color: var(--green-dark);
    font-weight: 900;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.coupon .button:hover,
button.button:hover { background: var(--green); color: var(--white); }

.coupon-div {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Form fields -------------------------------------------------------- */

.new-chkout-form-top,
.new-chkout-form-mid { margin-bottom: 6px; }

.input-field { margin-bottom: 14px; }

.input-field > .wid-50,
.input-field > .wid-33 { padding-right: 12px; }

.input-field > .wid-50:last-child,
.input-field > .wid-33:last-child { padding-right: 0; }

.input-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.new-checkout-page input[type="text"],
.new-checkout-page input[type="email"],
.new-checkout-page input[type="tel"],
.new-checkout-page input[type="number"],
.new-checkout-page input[type="password"],
.new-checkout-page select,
.new-checkout-page textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.new-checkout-page input:focus,
.new-checkout-page select:focus,
.new-checkout-page textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(39, 124, 103, 0.14);
}

.new-checkout-page select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                      linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.new-checkout-page input[type="checkbox"],
.new-checkout-page input[type="radio"] {
    width: auto;
    min-height: 0;
    margin-right: 8px;
    accent-color: var(--green);
}

.amazon-txt {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.afterchecked { width: 100%; float: left; }

/* --- Validation --------------------------------------------------------- */

.login-error-msg { width: 100%; float: left; min-height: 1px; }

.field_err {
    font-size: 12px;
    color: #c0392b;
    font-weight: 600;
    line-height: 16px;
    display: block;
}

.field_success {
    font-size: 12px;
    color: var(--green-dark);
    font-weight: 600;
    line-height: 16px;
    display: block;
}

.error-message {
    font-size: 13px;
    color: #c0392b;
    font-weight: 700;
}

/* Applied by JS to fields awaiting validation — keep neutral, not alarming. */
.isvalid { border-color: var(--line); }

/* --- Express payment row ------------------------------------------------ */

.new-chkout-payment-method {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    float: none;
}

.new-chkout-payment-method .wid-33 {
    width: auto;
    flex: 1 1 0;
    float: none;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.check-paypal-btn,
.check-googlepay-btn { margin-bottom: 12px; }

.alternative-payment-separator,
.alternative-payment-separator-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    float: none;
    width: 100%;
}

.alternative-payment-separator::before,
.alternative-payment-separator::after,
.alternative-payment-separator-pay::before,
.alternative-payment-separator-pay::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.cust_chkbtnflex { float: none; }

/* --- Order summary ------------------------------------------------------ */

.cart-total-inner { width: 100%; float: left; }

.new-chkout-prod-detail { margin-bottom: 14px; }

.cart-view-sec {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.prod-img {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img img { max-width: 100%; max-height: 100%; display: block; }

.prod-detail { flex: 1 1 auto; font-weight: 700; line-height: 1.35; }

.prod-price { flex: 0 0 auto; font-weight: 900; font-variant-numeric: tabular-nums; }

.new-chkout-border {
    height: 1px;
    background: var(--line);
    margin: 14px 0;
}

.new-chkout-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    float: none;
    width: 100%;
}

.chkout-price,
.coupon-price,
.state_tax_updated,
.updateStateTaxTotal {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.chkout-total-p {
    font-size: 19px;
    font-weight: 900;
    padding-top: 12px;
}

.chkout-total-p .updateStateTaxTotal { font-size: 19px; font-weight: 900; }

.shippingSelect { max-width: 60%; min-height: 44px !important; }

/* --- Card fields -------------------------------------------------------- */

.payment-info-sec,
.innr-payment-info-sec { width: 100%; float: left; }

.innr-payment-info-sec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    background: var(--white);
    cursor: pointer;
}

.pay-card {
    width: 100%;
    float: left;
    padding: 16px;
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: var(--white);
}

.billing-form { width: 100%; float: left; display: flex; gap: 12px; }
.billing-form-left { flex: 1 1 0; float: none; width: auto; }

.pay-card .q { width: 100%; float: left; margin-bottom: 12px; }

.pay-card label,
.q label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.cust-cclogo { margin: 8px 0; }
.cust-cclogo img { max-height: 24px; width: auto; }

.innr-payment-stripe,
.strp_payment { width: 100%; float: left; }

.strp_payment {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

#card-element {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

#card-error {
    margin: 8px 0 0;
    font-size: 13px;
    color: #c0392b;
    font-weight: 600;
}

/* --- Submit ------------------------------------------------------------- */

.proceed-to-checkout,
.place-div { width: 100%; float: left; margin-top: 18px; }

.place-div button,
.proceed-to-checkout button:not(.button) {
    width: 100%;
    min-height: 54px;
    padding: 15px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.place-div button:hover,
.proceed-to-checkout button:not(.button):hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.place-div button:disabled {
    background: var(--muted);
    cursor: not-allowed;
    transform: none;
}

.place-div img { display: block; margin: 14px auto 0; max-width: 220px; }

#message {
    margin: 12px 0 0;
    text-align: center;
    font-weight: 700;
    color: var(--green-dark);
}

/* --- Login modal region ------------------------------------------------- */

.text-center { text-align: center; }
.col-xs-12 { width: 100%; }

.btn-danger {
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid #c0392b;
    background: #c0392b;
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
}

.btn-danger:hover { background: #a93226; border-color: #a93226; }
.ml-2 { margin-left: 8px; }

/* --- Font Awesome replacements ------------------------------------------
   Font Awesome is not loaded on brochure sections. The markup still carries
   <i class="fa fa-caret-up"> and <i class="fa fa-credit-card-alt">, so the
   glyphs are drawn here instead of editing the view.
   ------------------------------------------------------------------------ */

.fa { display: inline-block; line-height: 1; font-style: normal; }

.fa-caret-up {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid currentColor;
    vertical-align: middle;
}

.fa-credit-card-alt {
    position: relative;
    width: 22px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    vertical-align: middle;
}

.fa-credit-card-alt::before {
    content: "";
    position: absolute;
    left: -1.5px;
    right: -1.5px;
    top: 2px;
    height: 3px;
    background: currentColor;
}

.caret-up { display: inline-flex; align-items: center; }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 900px) {
    .innr-new-checkout-page { display: block; }
    .innr-new-checkout-page > .new-chkout-page-sec { margin-bottom: 20px; }
}

@media (max-width: 640px) {
    .new-checkout-page { padding: 24px 0 50px; }
    .new-checkout-heading h1,
    .new-checkout-heading h2 { font-size: 24px; }

    .input-field > .wid-50,
    .input-field > .wid-33 { width: 100%; padding-right: 0; margin-bottom: 12px; }

    .billing-form { display: block; }
    .billing-form-left { width: 100%; margin-bottom: 12px; }

    .new-chkout-payment-method { flex-wrap: wrap; }
    .new-chkout-payment-method .wid-33 { flex: 1 1 100%; }

    .shippingSelect { max-width: 100%; }
}

/* ==========================================================================
   CHECKOUT2 — palette correction
   Appended 2026-08-11, after the first checkout2 block above.

   The block above was written against the :root at fdf-brochure.css line 1,
   which declares a GREEN palette. That :root is superseded by a second one at
   line 660 which repaints the site BLUE (--blue: #005edc) and is what the
   brochure pages actually render with. The primary actions therefore came out
   green on a blue site.

   This corrects only the accent colours. Neutrals (--ink, --muted, --line,
   --mint, --sand, --shadow) are already redefined by the second :root and
   resolve correctly, so they are left alone.

   Later rules win, so this overrides without editing the block above.
   ========================================================================== */

/* Primary action — matches .btn.primary at line 755 */
.place-div button,
.proceed-to-checkout button:not(.button) {
    background: linear-gradient(135deg, var(--blue), #004fc2);
    box-shadow: 0 10px 24px rgba(0, 94, 220, 0.24);
}

.place-div button:hover,
.proceed-to-checkout button:not(.button):hover {
    background: linear-gradient(135deg, var(--blue-dark), #003a9e);
}

/* Secondary action — matches .btn.secondary at line 760 */
.coupon .button,
button.button {
    border-color: rgba(0, 94, 220, 0.42);
    color: var(--blue);
    background: rgba(255, 255, 255, 0.72);
}

.coupon .button:hover,
button.button:hover {
    background: var(--blue);
    color: var(--white, #ffffff);
    border-color: var(--blue);
}

/* Focus ring */
.new-checkout-page input:focus,
.new-checkout-page select:focus,
.new-checkout-page textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 94, 220, 0.16);
}

/* Checkbox / radio accent */
.new-checkout-page input[type="checkbox"],
.new-checkout-page input[type="radio"] {
    accent-color: var(--blue);
}

/* Timer pill in the ship-today banner */
.timmer-start {
    background: var(--blue);
}

.ship-today-ordern {
    color: var(--blue-dark);
}

/* Validation success — keep green, it reads as success not as brand */
.field_success {
    color: #0a7d5a;
}

/* Order-confirmation message */
#message {
    color: var(--blue-dark);
}

/* Selected payment method */
.innr-payment-info-sec:has(input:checked) {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(0, 94, 220, 0.14);
}

/* ==========================================================================
   MINI-CART DRAWER — FreshDryFeet
   Appended 2026-08-11. Styles includes/ppg_standard_cart_drawer.php, which
   already existed and is already rendered by controllers/cart.php:993.

   Read before editing:
   - Written fresh against the template's own markup, NOT ported from
     InfantDry. ID's drawer CSS is ~200 scattered fragments across
     style.css:13831-15805 plus 115 lines in look.css, layered over several
     generations (v1a / v3a / v3b / sc8c). Untangling which generation is live
     was not worth it; this is a clean implementation of the same markup.
   - getCart() in layouts/elements/footer.php toggles visibility with jQuery
     .show()/.hide(), which writes inline display:block / display:none. This
     stylesheet therefore uses DISPLAY for open/closed, not transform, so the
     inline style always wins as intended. Do not convert to a transform-based
     slide without also changing getCart().
   - .fa-trash and .fa-lock are drawn in CSS. Font Awesome is not loaded on
     brochure sections; the template still emits <i class="fa fa-trash">.
   - Blue palette from the :root at fdf-brochure.css:660, not the superseded
     green one at line 1.
   ========================================================================== */

/* --- Container -----------------------------------------------------------
   #mainCart wraps the drawer markup returned by cart/get_mini_cart.
   .cart-inner is the positioning context in the header.
   ------------------------------------------------------------------------ */

.cart-inner,
#mainCart {
    display: none;
}

body.ppg-cart-open .cart-inner,
body.ppg-cart-open #mainCart {
    display: block;
}

/* Scrim behind the panel. Clicking it is handled by common.js. */
body.ppg-cart-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 31, 77, 0.42);
    z-index: 998;
    backdrop-filter: blur(2px);
    /* Decoration only. Without this the scrim swallows clicks aimed at the
       drawer -- including the close button, whose handler in common.js is
       bound correctly and fires fine when triggered programmatically. */
    pointer-events: none;
}

body.ppg-cart-open {
    overflow: hidden;
}

/* --- The panel ---------------------------------------------------------- */

.ppg-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    z-index: 999;
    background: var(--white, #ffffff);
    box-shadow: -18px 0 45px rgba(0, 60, 150, 0.18);
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    text-align: left;
}

/* --- Header ------------------------------------------------------------- */

.ppg-cart-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.ppg-cart-header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.ppg-cart-header h2 span {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-left: 6px;
}

.ppg-cart-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white, #ffffff);
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ppg-cart-close:hover {
    background: var(--mint);
    color: var(--ink);
}

/* --- Free-shipping progress --------------------------------------------- */

.ppg-cart-shipping-message {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--mint);
}

.ppg-cart-ship-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 94, 220, 0.15);
    overflow: hidden;
}

.ppg-cart-ship-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #0090ff);
    transition: width 0.3s ease;
}

.ppg-cart-ship-text {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-dark);
}

/* --- Item list ---------------------------------------------------------- */

.ppg-cart-items {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 20px;
}

.ppg-cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.ppg-cart-item:last-child {
    border-bottom: none;
}

.ppg-cart-item-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white, #ffffff);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppg-cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.ppg-cart-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.ppg-cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.ppg-cart-item-top strong,
.ppg-cart-item-top a {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.ppg-cart-remove {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: none;
    color: #c0392b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.ppg-cart-remove:hover {
    background: rgba(192, 57, 43, 0.09);
}

.ppg-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.ppg-cart-item-price {
    font-size: 16px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* --- Quantity stepper --------------------------------------------------- */

.ppg-cart-qty-wrap,
.lp-quantity-inputs {
    flex: 0 0 auto;
}

.ppg-cart-qty,
.inc-dec-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white, #ffffff);
}

.decrease_product_qty,
.increase_product_qty {
    width: 34px;
    height: 36px;
    padding: 0;
    border: none;
    background: var(--mint);
    color: var(--blue-dark);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.15s ease;
}

.decrease_product_qty:hover,
.increase_product_qty:hover {
    background: rgba(0, 94, 220, 0.16);
}

.productmin_qty {
    width: 44px;
    height: 36px;
    padding: 0;
    border: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    background: var(--white, #ffffff);
    -moz-appearance: textfield;
}

.productmin_qty::-webkit-outer-spin-button,
.productmin_qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Purchase options (one-time vs subscribe) ---------------------------- */

.ppg-cart-subscription-label {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}

.ppg-purchase-options {
    margin-top: 10px;
}

.ppg-purchase-choice {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ppg-purchase-card {
    display: block;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white, #ffffff);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ppg-purchase-card:hover {
    border-color: rgba(0, 94, 220, 0.42);
}

.ppg-purchase-card:has(.ppg-purchase-radio:checked) {
    border-color: var(--blue);
    background: var(--mint);
    box-shadow: 0 0 0 2px rgba(0, 94, 220, 0.14);
}

.ppg-purchase-card-main {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.ppg-purchase-radio {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    accent-color: var(--blue);
}

.ppg-purchase-title {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 900;
}

.ppg-purchase-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ppg-purchase-note {
    display: block;
    width: 100%;
    margin-top: 3px;
    padding-left: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.35;
}

.ppg-one-time-note {
    color: var(--muted);
    font-weight: 400;
}

.ppg-frequency-select {
    width: 100%;
    min-height: 40px;
    margin-top: 9px;
    padding: 8px 34px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background-color: var(--white, #ffffff);
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                      linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 13px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.ppg-frequency-select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 94, 220, 0.16);
}

/* --- Upsells ------------------------------------------------------------ */

.ppg-cart-upsells {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    background: var(--sand);
}

.ppg-cart-upsells h3,
.ppg-cart-upsells h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 900;
}

.ppg-cart-upsell-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ppg-cart-upsell-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white, #ffffff);
}

.ppg-cart-upsell-image {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 9px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppg-cart-upsell-image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.ppg-cart-upsell-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 13px;
    font-weight: 700;
}

.ppg-cart-upsell-main button,
.ppg-cart-upsell-main .button {
    margin-left: auto;
    min-height: 36px;
    padding: 8px 15px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    background: var(--blue);
    color: var(--white, #ffffff);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ppg-cart-upsell-main button:hover,
.ppg-cart-upsell-main .button:hover {
    background: var(--blue-dark);
}

/* --- Footer ------------------------------------------------------------- */

.ppg-cart-footer {
    flex: 0 0 auto;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--line);
    background: var(--white, #ffffff);
    box-shadow: 0 -8px 22px rgba(0, 60, 150, 0.07);
}

.ppg-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
    font-size: 17px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ppg-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #004fc2);
    box-shadow: 0 10px 24px rgba(0, 94, 220, 0.24);
    color: var(--white, #ffffff);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ppg-cart-checkout:hover {
    color: var(--white, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 94, 220, 0.3);
}

.ppg-cart-continue {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    color: var(--blue);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
}

.ppg-cart-continue:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

/* --- Empty state -------------------------------------------------------- */

.ppg-cart-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 40px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.ppg-cart-empty .ppg-cart-continue {
    width: auto;
    padding: 12px 24px;
    border: 1px solid var(--blue);
}

/* --- Font Awesome replacements ------------------------------------------
   Font Awesome is not loaded on brochure sections. The template emits
   <i class="fa fa-trash"> and <i class="fa fa-lock">.
   ------------------------------------------------------------------------ */

.ppg-cart-drawer .fa {
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

.fa-trash {
    position: relative;
    width: 13px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-top: none;
    border-radius: 0 0 3px 3px;
}

.fa-trash::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -3px;
    width: 17px;
    height: 1.5px;
    background: currentColor;
    box-shadow: 0 -2.5px 0 -0.5px currentColor;
}

.fa-lock {
    position: relative;
    width: 12px;
    height: 10px;
    margin-top: 4px;
    border-radius: 2px;
    background: currentColor;
}

.fa-lock::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 2.5px;
    width: 7px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 480px) {
    .ppg-cart-drawer {
        width: 100vw;
    }

    .ppg-cart-items,
    .ppg-cart-upsells,
    .ppg-cart-footer,
    .ppg-cart-shipping-message,
    .ppg-cart-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ppg-cart-item-image {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }
}


/* PPG-FDF-CHECKOUT2-EXPRESS-BB-PARITY-V1 START
   Mirrors the proven Belle Bottom checkout2 Express Pay presentation.
   FDF checkout only. */

/* Three wallet cells: PayPal / Venmo / Google Pay. */
.new-checkout-page .cust_chkbtnflex {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Direct grid cells. */
.new-checkout-page .cust_chkbtnflex > #paypal_payment_div,
.new-checkout-page .cust_chkbtnflex > #venmo_payment_div,
.new-checkout-page .cust_chkbtnflex > .custchk_gbtn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border-radius: 8px !important;
}

/* Keep Google's BB-style wrapper inside its grid cell. */
.new-checkout-page .cust_chkbtnflex > .custchk_gbtn {
    overflow: hidden !important;
}

/* PayPal / Venmo generated surfaces. */
.new-checkout-page .cust_chkbtnflex #paypal-button-container,
.new-checkout-page .cust_chkbtnflex #venmo-button-container,
.new-checkout-page .cust_chkbtnflex .paypal-buttons,
.new-checkout-page .cust_chkbtnflex .paypal-button-row {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    margin: 0 !important;
}

/* Google Pay outer surface. */
.new-checkout-page .cust_chkbtnflex .custchk_gbtn #googlepay_payment_div,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .cust-check-googlepays-btn,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .check-googlepay-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/*
 * Mirror BB's proven compact plain G Pay containment.
 * These override FDF's legacy Google Pay offsets.
 */
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-card-info-container,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-card-info-animation-container,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-card-info-placeholder-container,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-button,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-button.short,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-button.plain,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn #gpay-button-online-api-id {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* Neutralize old FDF +30px / -22px Google Pay positioning. */
.new-checkout-page .cust_chkbtnflex .custchk_gbtn iframe,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-card-info-iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
}

/* Explicit BB plain-button sizing. */
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-button.short,
.new-checkout-page .cust_chkbtnflex .custchk_gbtn .gpay-button.plain {
    width: 100% !important;
    height: 45px !important;
}

/* Venmo is runtime-created and may legitimately be ineligible. */
.new-checkout-page .cust_chkbtnflex > #venmo_payment_div:empty {
    display: none !important;
}

@media (max-width: 520px) {
    .new-checkout-page .cust_chkbtnflex {
        grid-template-columns: 1fr !important;
    }

    .new-checkout-page .cust_chkbtnflex > #paypal_payment_div,
    .new-checkout-page .cust_chkbtnflex > #venmo_payment_div,
    .new-checkout-page .cust_chkbtnflex > .custchk_gbtn {
        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
    }
}

/* PPG-FDF-CHECKOUT2-EXPRESS-BB-PARITY-V1 END */


/* PPG-FDF-CHECKOUT2-MOBILE-HEADING-FLOW-V1 START
   DEV visual remediation.
   Neutralizes legacy checkout heading geometry on narrow screens only.
   Desktop and payment/runtime surfaces are intentionally untouched. */

@media (max-width: 720px) {

    /*
     * Both checkout heading rows must participate in normal page flow.
     * Legacy checkout stylesheets apply float/card/geometry rules to these
     * shared class names, which can otherwise produce clipping/overlap.
     */
    body .new-checkout-page form#checkoutForm >
    .new-checkout-heading.checkout-sec.ship-today-grid {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        clear: both !important;

        position: static !important;
        inset: auto !important;

        margin: 0 0 8px !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /*
     * The second heading row contains login + ship-today copy.
     * Stack those two pieces naturally on mobile.
     */
    body .new-checkout-page form#checkoutForm >
    .new-checkout-heading.checkout-sec.ship-today-grid +
    .new-checkout-heading.checkout-sec.ship-today-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 6px !important;
        align-items: start !important;
        margin-bottom: 8px !important;
    }

    body .new-checkout-page form#checkoutForm >
    .new-checkout-heading.checkout-sec.ship-today-grid >
    .new-innr-checkout-heading {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        clear: both !important;

        position: static !important;
        inset: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /*
     * Keep the Checkout heading itself in normal flow instead of allowing
     * legacy position/height rules to place it across its parent boundary.
     */
    body .new-checkout-page form#checkoutForm >
    .new-checkout-heading.checkout-sec.ship-today-grid
    .new-innr-checkout-heading > h1 {
        display: block !important;
        width: auto !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        position: static !important;

        margin: 0 !important;
        padding: 0 !important;

        line-height: 1.15 !important;

        overflow: visible !important;
        transform: none !important;
    }

    /*
     * Returning-customer row.
     */
    body .new-checkout-page form#checkoutForm
    .new-chkout-login-btn {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        clear: both !important;

        position: static !important;
        inset: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
        transform: none !important;
    }

    body .new-checkout-page form#checkoutForm
    .new-chkout-login-btn > span {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        position: static !important;

        margin: 0 !important;
        padding: 0 !important;

        line-height: 1.4 !important;
        white-space: normal !important;

        overflow: visible !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /*
     * Same-day shipping row.
     */
    body .new-checkout-page form#checkoutForm
    .new-innr-checkout-heading >
    p.ship-today-ordern {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        clear: both !important;

        position: static !important;
        inset: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        line-height: 1.4 !important;
        white-space: normal !important;

        overflow: visible !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /*
     * Ensure the actual checkout cards begin after the heading content,
     * regardless of any legacy float behavior elsewhere.
     */
    body .new-checkout-page form#checkoutForm >
    .innr-new-checkout-page {
        clear: both !important;
        position: relative !important;
        margin-top: 4px !important;
    }
}

/* PPG-FDF-CHECKOUT2-MOBILE-HEADING-FLOW-V1 END */


/* PPG-FDF-CHECKOUT2-RESPONSIVE-SECTION-FLOW-V1 START
   Contains legacy floated checkout children once the responsive layout
   switches from flex columns to stacked blocks. The visible desktop card
   chrome is removed at the same responsive breakpoint; horizontal inset
   is preserved. */

@media (max-width: 900px) {

    body .new-checkout-page
    .innr-new-checkout-page >
    .new-chkout-page-sec {
        display: flow-root !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        float: none !important;
        clear: both !important;

        position: static !important;

        /*
         * Preserve the existing 24px horizontal content inset while
         * eliminating the collapsed parent's visible top/bottom bands.
         */
        padding: 0 24px !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
        box-sizing: border-box !important;
    }
}

/* PPG-FDF-CHECKOUT2-RESPONSIVE-SECTION-FLOW-V1 END */
