/* ==========================================================================
   Her Peptides — main stylesheet
   ========================================================================== */

:root {
    --pink: #e05c96;
    --pink-dark: #c8447e;
    --pink-soft: #fbdfe9;
    --pink-tint: #fdeef4;
    --border: #f2dbe4;
    --ink: #23201f;
    --muted: #82797c;
    --serif: "Playfair", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

img {
    max-width: 100%;
}

.explore-more-btn {
    display: inline-block;
    background: var(--pink-soft);
    color: #000;
    border: 2px solid var(--pink-dark);

}

.explore-more-btn:hover {
    background: var(--pink-dark);
}

/*.container {*/
/*    max-width: 1200px;*/
/*}*/

.text-main {
    color: var(--pink);
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: .2px;
}

.eyebrow {
    display: block;
    color: var(--pink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.btn-pink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 40px;
    color: #fff;
    background: var(--pink);
    padding: 11px 24px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 6px 18px rgba(224, 92, 150, .28);
    transition: background .2s ease, transform .2s ease;
}

.btn-pink:hover,
.btn-pink:focus {
    color: #fff;
    background: var(--pink-dark);
    transform: translateY(-1px);
}

.btn-pink i {
    font-size: 17px;
}

/*
 * The Iconsax font puts its whole em box above the baseline (1em ascent, no
 * descent), while an <i> takes its height from the surrounding Inter line box.
 * Centring that taller box in a flex button left the arrow ~0.15em high.
 * Sizing the <i> to the icon font's own em box makes the box centre and the
 * glyph centre the same point; `middle` covers the arrow used inline in text.
 */
i.icon-arrow-right-2,
.hp-pager i,
.woocommerce-pagination i {
    display: inline-block;
    font-family: icons;
    line-height: 1;
    vertical-align: middle;
}

.btn-pink.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.section {
    padding: 40px 0 0;
    scroll-margin-top: 110px;
}

html {
    scroll-behavior: smooth;
}

/* ================================== brand ================================== */
/* the header itself — bars, mega-menus, drawer — lives in navigation.css */

.brand {
    display: block;
    padding: 14px 0;
    line-height: 1;
}

.brand-name {
    display: block;
    color: #262223;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .5px;
    white-space: nowrap;
}

.brand-name em {
    color: var(--pink);
    font-style: normal;
}

.brand-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 5px 0 4px;
}

.brand-rule::before,
.brand-rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink));
}

.brand-rule::after {
    background: linear-gradient(90deg, var(--pink), transparent);
}

.brand-tag {
    display: block;
    color: var(--pink);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .22em;
    text-align: center;
    text-transform: uppercase;
}

/* ================================== hero ================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 24px 0 32px;
    background: radial-gradient(60% 70% at 75% 62%, #fef3f8, transparent 70%),
    linear-gradient(180deg, #fef7fa 0%, #fdeef4 65%, #ffffff 100%);
}

/*.hero::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: -100px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    background: linear-gradient(90deg, #fef7fa 0%, #fdeef4 50%, #fff 100%);*/
/*    height: 200px;*/
/*}*/

/* --------------------------- video background --------------------------- */

.hero--video {
    display: flex;
    align-items: center;
    min-height: 520px;
}

.hero--video > .container {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Sits between the video and the copy so text stays legible over any footage. */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(24, 12, 18, .34);
}

.hero--video .hero-copy {
    max-width: 640px;
}

.hero--video .hero-copy h1,
.hero--video .hero-copy p {
    max-width: none;
    color: #fff;
}

.hero--video .trust-bar {
    justify-content: flex-start;
}

/*
 * A looping background is decoration, so it stops for anyone who has asked for
 * less motion. The poster frame remains as a still image.
 */
@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        display: none;
    }

    .hero--video {
        background-size: cover;
        background-position: center;
    }
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 26px 0;
}

.hero-copy h1 {
    max-width: 560px;
    margin: 0 0 18px;
    font-size: clamp(34px, 3.3vw, 46px);
    line-height: 1.22;
}

.hero-copy h1 span {
    color: var(--pink);
}

.hero-copy p {
    max-width: 400px;
    margin-bottom: 26px;
    color: #6f6669;
    font-size: 14.5px;
}

.hero-art {
    display: flex;
    justify-content: center;
}

.hero-art img {
    width: 100%;
    max-width: 620px;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.trust-bar li {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(224, 92, 150, .22);
    border-radius: 40px;
    background: rgba(255, 255, 255, .75);
    padding: 8px 20px;
    color: #6b6265;
    font-size: 13px;
    backdrop-filter: blur(2px);
}

.trust-bar i {
    color: var(--pink);
    font-size: 20px;
    line-height: 14px;
}

/* ============================== feature cards ============================== */

.feature-section {
    margin-top: -18px;
}

.feature-section .container-fluid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 16px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 206px;
    border-radius: 14px;
    background: #fdf4f7;
    box-shadow: 0 10px 30px rgba(190, 130, 155, .12);
}

/*
 * Scoped to the card rather than left bare so it out-specifies the prose rule
 * for images in .hp-entry-content, which a page builder renders inside. Its
 * `height: auto` would otherwise size this box to the source's aspect ratio and
 * leave object-fit with nothing to do.
 */
.feature-card .feature-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
 * Below 768px app.js turns the row into a one-card carousel. Bootstrap's gutters
 * are undone first: owl sizes each card from the row's width, and `.row > *`
 * would otherwise land on owl's own wrappers — padded, and pinned to the row's
 * width so the shadow bleed below shifts the clip instead of widening it.
 */
.feature-row.owl-carousel {
    margin: 0;
}

.feature-row.owl-carousel > * {
    width: auto;
    max-width: none;
    margin-top: 0;
    padding: 0;
}

/* Room for the card shadow: owl sizes cards from the row, not this box, so the
   bleed widens the clip without widening the cards. Taps in the bleed fall
   through to the section below; the stage still takes the swipes. */
.feature-row.owl-carousel .owl-stage-outer {
    margin: 0 -16px -32px;
    padding: 0 16px 32px;
    pointer-events: none;
}

.feature-row.owl-carousel .owl-stage {
    pointer-events: auto;
}

/* stretch every card to the tallest in the row */
.feature-row.owl-carousel .owl-stage,
.feature-row.owl-carousel .owl-item {
    display: flex;
}

/* owl's clearfix ::after is a flex item here, and would shrink every card to fit */
.feature-row.owl-carousel .owl-item {
    flex-shrink: 0;
}

.feature-row.owl-carousel .owl-item > * {
    width: 100%;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fdf4f7 38%, rgba(253, 244, 247, .92) 50%, rgba(253, 244, 247, 0) 70%);
    display: none;
}

.feature-body {
    position: relative;
    z-index: 2;
    max-width: 60%;
    padding: 24px 16px 56px 16px;
}

.feature-body h3 {
    margin: 9px 0 8px;
    font-size: 24px;
    font-weight: 700;
}

.feature-body p {
    margin: 0;
    color: #776e71;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.round-arrow {
    position: absolute;
    bottom: 20px;
    left: 24px;
    display: grid;
    width: 27px;
    height: 27px;
    place-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: #fcd5e3;
    font-size: 15px;
    line-height: 15px;
    transition: background .2s ease, color .2s ease;
}

.round-arrow:hover {
    color: #fff;
    background: var(--pink);
}

/* ============================= section headings ============================= */

.sec-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.sec-head h2 {
    flex: none;
    margin: 0;
    font-size: 27px;
    white-space: nowrap;
}

/*
 * nowrap suits the theme's own short headings, but a heading is editable per
 * section now and a long one would run out of its container rather than wrap.
 * Below lg there is not enough width to gamble on.
 */
@media (max-width: 991.98px) {
    .sec-head h2 {
        flex: 0 1 auto;
        white-space: normal;
    }
}

.sec-head h2 span {
    color: var(--pink);
}

.sec-lotus {
    flex: none;
    opacity: .85;
}

.sec-rule {
    flex: 1;
    height: 2px;
    min-width: 20px;
    background: #f9e7ef
}

.sec-head--center .sec-rule:last-of-type {
    background: #f9e7ef
}

.sec-link {
    flex: none;
    color: var(--pink);
    font-size: 13px;
    white-space: nowrap;
}

.sec-link:hover {
    color: var(--pink-dark);
}

.sec-link i {
    font-size: 14px;
    position: relative;
    top: 2px;
    margin-left: 4px;
}

/* =============================== product cards =============================== */

.products-carousel .owl-stage {
    display: flex;
}

/* owl's clearfix ::after is a flex item here, and would shrink every card to fit */
.products-carousel .owl-item {
    flex-shrink: 0;
}

.products-carousel .item {
    height: 100%;
}

/*
 * On phones app.js stacks the cards two rows deep: each slide is one of these,
 * its columns, rows and gap set inline from the carousel's config. The rows are
 * 1fr of the slide's height, so a short last slide keeps its cards the size of
 * the others instead of stretching them.
 */
.products-carousel .hp-slide-grid {
    display: grid;
    height: 100%;
}

/* Two to a row leaves a phone about 170px a card, so the shop card tightens up. */
.hp-slide-grid .shop-card .product-body {
    padding: 12px 10px;
}

.hp-slide-grid .shop-card .product-body h3 {
    margin-bottom: 6px;
    font-size: 14px;
}

.hp-slide-grid .shop-desc {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hp-slide-grid .tag-row {
    gap: 4px;
    margin-bottom: 10px;
}

.hp-slide-grid .tag {
    padding: 3px 8px;
    font-size: 10px;
}

.hp-slide-grid .shop-card .price {
    margin-bottom: 10px;
    font-size: 14px;
}

.hp-slide-grid .add-btn {
    gap: 6px;
    padding: 8px 6px;
    font-size: 12.5px;
}

.hp-slide-grid .add-btn i {
    font-size: 15px;
}

.hp-slide-grid .product-card .badge-seller {
    top: 8px;
    left: 8px;
    width: 42px;
    height: 42px;
    font-size: 7px;
}

.hp-slide-grid .wish-btn {
    top: 6px;
    right: 6px;
}

.product-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 14px;
    background: #fbf2f3;
    padding-bottom: 20px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(200, 120, 160, .22);
}

.badge-seller {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    display: grid;
    width: 50px;
    height: 50px;
    place-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--pink);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.product-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media img {
    width: 100%;
    object-fit: contain;
}

.product-body {
    padding: 14px 6px 0;
}

.product-body h3 {
    margin: 0 8px 6px;
    font-size: 19px;
}

/*
 * The design draws this title as plain text; it is a link here so the card is
 * clickable. Scoped two classes deep to out-specify the prose rule for links in
 * .hp-entry-content, which a page builder renders inside and which would
 * otherwise paint every product title pink and underline it.
 */
.product-card .product-body h3 a {
    color: inherit;
    text-decoration: none;
}

/* rating stars use the Iconsax "star" glyph in its Bold weight, shipped as SVG
   (the Iconsax webfont only carries the Linear/outline cut). */
.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    line-height: 1;
}

.rating i {
    display: block;
    width: 13px;
    height: 13px;
    background: url("../vendor/iconsax/svg/star-full.svg") center / contain no-repeat;
}

.rating i.is-half {
    background-image: url("../vendor/iconsax/svg/star-half.svg");
}

.rating small {
    margin-left: 4px;
    color: #8e8286;
    font-size: 11px;
}

.price {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 400;
}

/*
 * The compact card with its add-to-cart button (HP Products widget). A column
 * flex pushes the button to the card's bottom edge, so a row mixing one- and
 * two-line titles still lines its buttons up. shop.css gives .add-btn its look.
 */
.products-carousel--compact .product-card {
    display: flex;
    flex-direction: column;
}

.products-carousel--compact .product-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.products-carousel--compact .product-body .price {
    margin-bottom: 14px;
}

.products-carousel--compact .add-btn {
    width: auto;
    margin: auto 10px 0;
}

/* On a builder page the card sits inside .hp-entry-content, whose prose link
   rule (theme-root style.css, enqueued later) painted the button's label pink
   on pink and underlined it. One class deeper than that rule wins; the HP
   Products widget's own button colours are deeper still and keep working. */
.product-card .product-body .add-btn {
    color: #fff;
    text-decoration: none;
}

/* Mid-request, as hp-woo.css does for the shop grid. */
.products-carousel .add-btn.loading,
.related-carousel .add-btn.loading {
    opacity: .7;
}

/* After an AJAX add Woo appends a "View cart" link beside the button. In a
   carousel it would make one card taller than the rest of its row, and the
   cart drawer opens on the same event anyway (mini-cart.js). */
.products-carousel .added_to_cart,
.related-carousel .added_to_cart {
    display: none;
}

/* ================================ categories ================================ */

.category-carousel {
    margin-top: 16px;
}

.category-carousel .owl-stage-outer {
    padding: 16px 4px;
}

/* stretch every card to the tallest in the row */
.category-carousel .owl-stage,
.category-carousel .owl-item {
    display: flex;
}

.category-carousel .owl-item > .item {
    display: flex;
    width: 100%;
}

.cat-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 11px;
    width: 100%;
    min-height: 116px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 8px;
    color: #5d5457;
    font-size: 11.5px;
    line-height: 1.35;
    text-align: center;
    transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cat-card:hover,
.cat-card:focus {
    transform: translateY(-2px);
    border-color: rgba(224, 92, 150, .45);
    color: var(--pink-dark);
    box-shadow: 0 8px 20px rgba(200, 130, 165, .16);
}

.cat-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: #fdf4f6;
    font-size: 32px;
    line-height: 32px;
    transition: background .2s ease;
}

.cat-card:hover .cat-icon {
    background: var(--pink-soft);

}

.cat-card .cat-icon i {
    position: relative;
    top: 2px;
}

/*
 * An icon image fills the circle and is clipped to it.
 *
 * Positioned rather than sized: .cat-icon is a grid with place-content: center,
 * which centres the glyph by sizing its track to the content — so a percentage
 * height on the image has nothing to resolve against. Taking it out of flow
 * against the circle is what makes it fill.
 *
 * The extra class is deliberate: it out-specifies the prose `height: auto` for
 * images in .hp-entry-content, which a page builder renders inside.
 */
.cat-card .cat-icon {
    position: relative;
    overflow: hidden;
}

.cat-card .cat-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================= benefits ================================= */

.benefit-card {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
}

.benefit-icon {
    display: block;
    margin-bottom: 12px;
    color: var(--pink);
    font-size: 40px;
    line-height: 1;
}

.benefit-card h3 {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
}

.benefit-card p {
    margin: 0;
    color: #7d7477;
    font-size: 12.5px;
    line-height: 1.65;
}

/* ============================== research banner ============================== */

.research-banner {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    min-height: 224px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(190, 130, 155, .12);
}

.research-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.research-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 51%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 38%, #fff 98%);
}

.research-molecule {
    position: absolute;
    right: -14px;
    bottom: 0;
    height: 88%;
    width: auto;
    opacity: .38;
}

.research-body {
    position: relative;
    z-index: 2;
    max-width: 460px;
    margin-left: 48%;
    padding: 28px 24px 28px 8px;
}

.research-body h2 {
    margin: 8px 0 10px;
    font-size: 27px;
}

.research-body p {
    margin-bottom: 18px;
    color: #776e71;
    font-size: 13px;
    line-height: 1.65;
}

/* ================================ testimonials ================================ */

.testimonial-wrap {
    position: relative;
    /*padding: 0 46px;*/
}

.testimonial {
    display: flex;
    gap: 16px;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
}

.testimonial-wrap .testimonial .avatar {
    flex: 0 0 58px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial .rating {
    justify-content: flex-start;
}

.testimonial .rating i {
    width: 14px;
    height: 14px;
}

.testimonial p {
    margin: 9px 0 12px;
    color: #776e71;
    font-size: 12.5px;
    line-height: 1.7;
}

.testimonial strong {
    font-size: 13px;
    font-weight: 500;
}

/* Owl sizes items from the .owl-carousel width, so padding here would be
   clipped off the right by .owl-stage-outer's overflow:hidden.
   The negative margin gives the padding room instead of stealing it. */
.testimonial-wrap .owl-stage-outer {
    margin: 0 -8px;
    padding: 0 8px;
}

.testimonial-carousel .owl-stage,
.testimonial-carousel .owl-item {
    display: flex;
}

.testimonial-carousel .owl-item > .item {
    display: flex;
    width: 100%;
}

.testimonial-carousel .owl-nav {
    margin: 0;
}

.testimonial-carousel .owl-nav button.owl-prev,
.testimonial-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    display: grid;
    width: 32px;
    height: 32px;
    place-content: center;
    transform: translateY(-50%);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--pink);
    background: #fff;
    font-size: 15px;
    transition: border-color .2s ease, background .2s ease;
}

.testimonial-carousel .owl-nav button.owl-prev {
    left: -40px;
}

.testimonial-carousel .owl-nav button.owl-next {
    right: -40px;
}

.testimonial-carousel .owl-nav button:hover {
    border-color: var(--pink);
    color: #fff;
    background: var(--pink);
}

.owl-carousel .owl-dots {
    margin-top: 16px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: #f1cfdd;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--pink);
}

/* =================================== faq =================================== */

.faq-accordion .accordion-item {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/*
 * The header is an <h3> for the outline, not for typography — it wraps the
 * button and must not carry a heading's margins anywhere it is rendered.
 */
.faq-accordion .accordion-header {
    margin: 0;
}

.faq-accordion .accordion-button {
    color: var(--ink);
    background: #fff;
    padding: 14px 18px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 400;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--pink-dark);
    background: var(--pink-tint);
}

.faq-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    content: "\f10b";
    width: auto;
    height: auto;
    background: none;
    color: var(--pink);
    font-family: icons;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

.faq-accordion .accordion-body {
    color: #776e71;
    padding: 4px 18px 16px;
    font-size: 13px;
    line-height: 1.7;
}

/*
 * An answer comes through the_content, so it ends in a <p> whose bottom margin
 * lands inside the body's own padding — about 26px of empty box under every open
 * question.
 */
.faq-accordion .accordion-body > :last-child {
    margin-bottom: 0;
}

/* =================================== blog =================================== */

.blog-carousel .owl-stage {
    display: flex;
}

.blog-carousel .item {
    height: 100%;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-media {
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.blog-media img {
    width: 100%;
    height: 236px;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-media img {
    transform: scale(1.05);
}

/* the body panel lifts over the photo, inset on the left and flush right —
   the border keeps it readable where it sits on a pale image */
.blog-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin: -56px auto 26px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 16px 16px 14px;
    width: calc(100% - 40px);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.blog-meta a {
    color: var(--muted);
}

.blog-meta a:hover {
    color: var(--pink);
}

.blog-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pink-soft);
}

.blog-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.blog-title a {
    color: var(--ink);
}

.blog-title a:hover {
    color: var(--pink);
}

.blog-excerpt {
    margin: 0 0 16px;
    color: #776e71;
    font-size: 13px;
    line-height: 1.7;
}

.blog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 12px;
}

.blog-more {
    color: var(--ink);
    border-bottom: 1px solid var(--pink);
    padding-bottom: 2px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.blog-more:hover {
    color: var(--pink);
}

.blog-comments {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
}

.blog-comments i {
    color: var(--pink);
    font-size: 16px;
}

/* ================================ newsletter ================================ */

.newsletter {
    margin-top: 56px;
    background: linear-gradient(90deg, #fbdfe9, #fce9f0);
    padding: 32px 0;
}

.blog .newsletter,
.post-type-archive .newsletter,
.wp-singular .newsletter,
.single-product .newsletter {
    margin-top: 0 !important;
}

.home .newsletter {
    margin-top: 16px !important;
}

.newsletter-intro {
    display: flex;
    align-items: center;
    gap: 22px;
}

.newsletter-intro img {
    flex: none;
    width: 90px;
    height: auto;
}

.newsletter-intro h2 {
    margin: 0;
    font-size: 27px;
}

.newsletter-intro p {
    margin: 4px 0 0;
    color: #7a6f73;
    font-size: 12.5px;
}

/* field + button share a single white pill, with the button inset inside it */
.newsletter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f4d3e0;
    border-radius: 40px;
    background: #fff;
    padding: 5px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter-row:focus-within {
    border-color: rgba(224, 92, 150, .45);
    box-shadow: 0 0 0 3px rgba(224, 92, 150, .15);
}

.newsletter-form {
    max-width: 450px;
}

.newsletter-row {
    max-width: 450px;
}

.newsletter-row > p {
    margin: 0;
    display: flex;
}

.newsletter-row input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 9px 16px;
    font-family: var(--sans);
    font-size: 13px;
}

.newsletter-row input:focus {
    outline: 0;
}

.newsletter-row .btn-pink {
    flex: none;
    padding: 9px 20px;
    box-shadow: none;
}

.newsletter-row small {
    display: block;
    margin-top: 9px;
    color: #8b8085;
    font-size: 11px;
}

/* ------------------------- newsletter — Contact Form 7 ------------------------- */

/* Maps the CF7 shortcode output (see inc/newsletter.php) onto the .newsletter-row
   pill so it reads exactly like the static template's form. */

.newsletter-form--plugin .wpcf7,
.newsletter-form--plugin .wpcf7-form {
    margin: 0;
}

.newsletter-form--plugin .wpcf7-form > p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 450px;
    border: 1px solid #f4d3e0;
    border-radius: 40px;
    background: #fff;
    padding: 5px;
    transition: border-color .2s ease, box-shadow .2s ease;
    margin-bottom: 4px;
}

.newsletter-form--plugin .wpcf7-form > p:focus-within {
    border-color: rgba(224, 92, 150, .45);
    box-shadow: 0 0 0 3px rgba(224, 92, 150, .15);
}

.newsletter-form--plugin .wpcf7-form-control-wrap {
    display: block;
    flex: 1;
    min-width: 0;
}

.newsletter-form--plugin input.wpcf7-email {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 9px 16px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.4;
}

.newsletter-form--plugin input.wpcf7-email:focus {
    outline: 0;
}

.newsletter-form--plugin .wpcf7-submit {
    flex: none;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 40px;
    color: #fff;
    background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat right 15px center;
    padding: 9px 38px 9px 20px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
    margin-right: 2px;
}

.newsletter-form--plugin .wpcf7-submit:hover,
.newsletter-form--plugin .wpcf7-submit:focus {
    background-color: var(--pink-dark);
    transform: translateY(-1px);
}

.newsletter-form--plugin .wpcf7-submit[disabled] {
    opacity: .7;
    cursor: default;
    transform: none;
}

.newsletter-form--plugin .wpcf7-spinner {
    margin: 0 6px 0 -4px;
}

/* the required/format hint drops just below the pill instead of splitting it */
.newsletter-form--plugin .wpcf7-not-valid-tip {
    position: absolute;
    top: calc(100% + 5px);
    left: 6px;
    color: #b3261e;
    font-size: 11px;
    font-weight: 500;
}

.newsletter-form--plugin .wpcf7-response-output {
    margin: 14px 0 0 !important;
    border: 0 !important;
    padding: 0 !important;
    color: #6a5860;
    font-size: 11.5px;
    line-height: 1.5;
}

.newsletter-form--plugin .wpcf7-form.invalid .wpcf7-response-output,
.newsletter-form--plugin .wpcf7-form.unaccepted .wpcf7-response-output,
.newsletter-form--plugin .wpcf7-form.payment-required .wpcf7-response-output {
    color: #b3261e;
}

.newsletter-form--plugin .wpcf7-form.sent .wpcf7-response-output {
    color: #1f7a45;
}

.newsletter-form--plugin > small {
    display: block;
    margin-top: 4px;
    margin-left: 4px;
    color: #8b8085;
    font-size: 11px;
}

.wpcf7-spinner {
    position: absolute;
    left: calc(100% + 16px);
}

/* Parked past the pill's right end, the idle (invisible) spinner still widened
   the page by a pixel or two when the form sits at the viewport edge (992px).
   It only needs a box while CF7 marks the form as submitting. */
.wpcf7 form:not(.submitting) .wpcf7-spinner {
    display: none;
}


@media (max-width: 575.98px) {

    /* stacked, so drop the shared pill and give the field its own outline back */
    .newsletter-form--plugin .wpcf7-form > p {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border: 0;
        background: transparent;
        padding: 0;
    }

    .newsletter-form--plugin .wpcf7-form > p:focus-within {
        box-shadow: none;
    }

    .newsletter-form--plugin input.wpcf7-email {
        border: 1px solid #f4d3e0;
        border-radius: 40px;
        background: #fff;
        padding: 11px 20px;
    }

    .newsletter-form--plugin input.wpcf7-email:focus {
        outline: 2px solid rgba(224, 92, 150, .35);
        outline-offset: 1px;
    }

    .newsletter-form--plugin .wpcf7-submit {
        justify-content: center;
        width: 100%;
        padding: 11px 38px 11px 24px;
    }

    .newsletter-form--plugin .wpcf7-not-valid-tip {
        position: static;
        margin-top: -4px;
    }

    .newsletter-form--plugin .wpcf7-spinner {
        left: inherit;
        right: 12px;
        bottom: 100%;
    }
}

/* ================================== footer ================================== */

.site-footer {
    padding: 44px 0 18px;
    background: #fff;
}

.footer-brand {
    padding: 0;
}

.footer-brand .brand-name {
    font-size: 30px;
}

.footer-about {
    max-width: 300px;
    margin: 14px 0 16px;
    color: #7d7477;
    font-size: 12.5px;
    line-height: 1.7;
}

/* 20 / 60 / 20 split, with a rule down the left of every column but the brand */
@media (min-width: 992px) {
    .footer-col-brand,
    .footer-col-promise {
        width: 20%;
    }

    .footer-col-links {
        width: 60%;
    }

    .footer-col,
    .footer-col-promise {
        border-left: 1px solid #f1e6ea;
    }
}

.socials {
    display: flex;
    gap: 18px;
}

.socials a {
    display: inline-flex;
    color: #4a4245;
    font-size: 17px;
}

.socials svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.socials a:hover {
    color: var(--pink);
}

.site-footer h3 {
    margin: 0 0 12px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 500;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: block;
    padding: 3px 0;
    color: #7d7477;
    font-size: 12.5px;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-promise {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-promise li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-promise i {
    display: grid;
    flex: none;
    width: 40px;
    height: 40px;
    place-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: var(--pink-tint);
    font-size: 18px;
    line-height: 1;
}

.footer-promise strong {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
}

.footer-promise span {
    color: #8b8085;
    font-size: 11.5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    border-top: 1px solid #f1e6ea;
    padding-top: 16px;
    color: #8b8085;
    font-size: 11.5px;
}

.proudly {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.yith-add-to-wishlist-button-block {
    display: none;
}

.woocommerce .products ul::before {
    display: none !important;
}

/* =========================== long-form research copy =========================== */

/* Study, comparison and price tables in product, article and category copy:
   undo the two-column shop_attributes widths; wide ones scroll on phones. */
.hp-study-table th,
.hp-study-table td,
.hp-compare-table th,
.hp-compare-table td,
.hp-price-table th,
.hp-price-table td {
    width: auto !important;
    min-width: 0;
    vertical-align: top;
}

.hp-study-table,
.hp-compare-table {
    min-width: 640px;
}

.hp-study-table thead th,
.hp-compare-table thead th,
.hp-price-table thead th {
    white-space: nowrap;
}

.hp-study-table td:first-child,
.hp-study-table td:last-child {
    white-space: nowrap;
}

.hp-at-a-glance,
.hp-product-box {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid #efd5e0;
    border-radius: 14px;
}

.hp-at-a-glance {
    background: #fdeef4;
}

.hp-product-box {
    background: #fff8fb;
}

.hp-at-a-glance h2,
.hp-product-box h2,
.hp-product-box h3,
.hp-product-box p:first-child {
    margin-top: 0;
}

.hp-at-a-glance ul,
.hp-product-box ul {
    margin-bottom: 0;
}

/* inc/category-copy.php */
.hp-cat-copy {
    margin-top: 2.5rem;
}

/* ================================ responsive ================================ */

@media (max-width: 1199.98px) {
    .cat-card {
        min-height: 110px;
    }
}

@media (min-width: 991.98px) {
    .filter-panel {
        position: sticky;
        top: 140px;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 6px;
        text-align: center;
    }

    .hero-copy p {
        max-width: none;
    }

    .hero-art img {
        max-width: 420px;
    }

    .feature-body {
        max-width: 66%;
    }

    .research-banner {
        display: block;
    }

    .research-photo {
        position: static;
        width: 100%;
        height: 190px;
    }

    .research-banner::after {
        display: none;
    }

    .research-molecule {
        top: 8px;
        right: 8px;
        bottom: auto;
        height: 108px;
        opacity: .32;
    }

    .research-body {
        max-width: none;
        margin-left: 0;
        padding: 24px;
    }

    .newsletter-form {
        margin-left: 0;
    }

    .testimonial-carousel .owl-nav button.owl-prev {
        left: -24px;
    }

    .testimonial-carousel .owl-nav button.owl-next {
        right: -24px;
    }

    .trust-bar li {
        font-size: 12px;
        padding: 8px 16px;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding-top: 24px;
    }

    /* The first card alone until the carousel starts, so the page does not
       paint all four stacked and then collapse them under the hero. */
    .feature-row:not(.owl-loaded) {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .brand-name {
        font-size: 30px;
    }

    .sec-head {
        flex-wrap: wrap;
    }

    .sec-head h2 {
        font-size: 22px;
        white-space: normal;
    }

    .sec-head--center .sec-rule {
        display: none;
    }

    .sec-head--center {
        justify-content: space-between;
    }

    .cat-card {
        min-height: 104px;
        font-size: 11px;
    }

    .cat-icon {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .testimonial-wrap {
        padding: 0;
    }

    .testimonial-carousel .owl-nav button.owl-prev {
        left: -6px;
    }

    .testimonial-carousel .owl-nav button.owl-next {
        right: -6px;
    }

    .blog-media img {
        height: 200px;
    }

    .blog-title {
        font-size: 18px;
    }

    .newsletter-intro {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .hero-copy h1 {
        font-size: 33px;
        padding: 8px 0 12px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero-copy h1 {
        padding: 0;
        margin-bottom: 8px;
    }

    .trust-bar {
        gap: 9px;
    }

    .trust-bar li {
        padding: 8px 14px;
        font-size: 12px;
    }

    .feature-card {
        min-height: 190px;
    }

    .blog-body {
        margin-left: 16px;
        padding: 16px 16px 8px;
        margin-bottom: 0;
    }

    .owl-dots {
        display: none;
    }

    .site-footer {
        padding-top: 0;
    }

    .footer-bottom {
        margin-top: 0;
    }

    .feature-body {
        max-width: 72%;
    }

    /* stacked, so drop the shared pill and give the field its own outline back */
    .newsletter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border: 0;
        background: transparent;
        padding: 0;
    }

    .newsletter-row:focus-within {
        box-shadow: none;
    }

    .newsletter-row input {
        border: 1px solid #f4d3e0;
        border-radius: 40px;
        background: #fff;
        padding: 11px 20px;
    }

    .newsletter-row input:focus {
        outline: 2px solid rgba(224, 92, 150, .35);
        outline-offset: 1px;
    }

    .newsletter-row .btn-pink {
        justify-content: center;
        padding: 11px 24px;
    }

    .newsletter-intro {
        gap: 14px;
    }

    .newsletter-intro h2 {
        font-size: 23px;
    }

    .hp-slide-grid .shop-card .product-body h3 {
        font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
        min-height: 68px;
    }

    .hp-slide-grid .shop-card .price {
        font-size: clamp(0.75rem, 0.623rem + 0.4065vw, 0.875rem);
    }

    .product-card .product-body .add-btn {
        margin-top: 0;
    }
}
