/* =========================================================
   BIODEBLOOM PRODUCT CATEGORY
========================================================= */

.bd-product-category-page {
    background: #fff;
    color: #101817;
}

.bd-product-category-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

/* INTRO */
.bd-product-category-intro {
    padding: 80px 0 72px;
    background: #f7f8f5;
    border-bottom: 1px solid #e5eae5;
}

.bd-product-category-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
    color: #71807a;
    font-size: 11px;
}

.bd-product-category-breadcrumbs a {
    color: #71807a;
    text-decoration: none;
}

.bd-product-category-breadcrumbs a:hover {
    color: #174c49;
}

.bd-product-category-breadcrumbs strong {
    color: #174c49;
}

.bd-product-category-breadcrumbs i {
    font-size: 7px;
    color: #a5b0ab;
}

.bd-product-category-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 70px;
    align-items: center;
}

.bd-product-category-label,
.bd-product-category-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #174c49;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.bd-product-category-label span {
    width: 28px;
    height: 2px;
    background: #f4a53d;
}

.bd-product-category-intro h1 {
    max-width: 800px;
    margin: 16px 0 20px;
    color: #101414;
    font-size: clamp(44px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
}

.bd-product-category-intro p {
    max-width: 700px;
    margin: 0;
    color: #61706b;
    font-size: 16px;
    line-height: 1.85;
}

.bd-product-category-intro-image {
    height: 330px;
    overflow: hidden;
    border-radius: 18px;
    background: #e9efec;
}

.bd-product-category-intro-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* CONTENT */
.bd-product-category-content {
    padding: 82px 0 90px;
}

.bd-product-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.bd-product-category-heading h2 {
    margin: 8px 0 0;
    color: #101414;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.bd-product-category-count {
    color: #77847f;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* CATEGORY CARDS */
.bd-product-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bd-product-category-card {
    overflow: hidden;
    border: 1px solid #e0e7e2;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(16, 60, 57, .045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bd-product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(16, 60, 57, .09);
}

/* =========================================
   CATEGORY CARD IMAGE
========================================= */

.bd-product-category-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eeeb;
    border-radius: 20px 20px 0 0;
    line-height: 0;
}

.bd-product-category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.bd-product-category-card:hover
.bd-product-category-card-image img {
    transform: scale(1.04);
}

.bd-product-category-card-content {
    padding: 22px 22px 24px;
}

.bd-product-category-card-content > span,
.bd-product-category-product-content > span {
    color: #174c49;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.bd-product-category-card-content h3 {
    margin: 9px 0 8px;
    color: #111616;
    font-size: 22px;
    line-height: 1.2;
}

.bd-product-category-card-content p {
    min-height: 42px;
    margin: 0 0 17px;
    color: #6c7975;
    font-size: 12px;
    line-height: 1.65;
}

.bd-product-category-card-content strong,
.bd-product-category-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #174c49;
    font-size: 11px;
    font-weight: 800;
}

.bd-product-category-card-content strong i,
.bd-product-category-product-link i {
    transition: transform .2s ease;
}

.bd-product-category-card:hover strong i,
.bd-product-category-product-link:hover i {
    transform: translateX(4px);
}

/* PRODUCTS */
.bd-product-category-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bd-product-category-product-card {
    overflow: hidden;
    border: 1px solid #e0e7e2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 60, 57, .04);
}

/* =========================================
   PRODUCT CARD IMAGE
========================================= */

.bd-product-category-product-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eeeb;
    line-height: 0;
}

.bd-product-category-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.bd-product-category-product-card:hover
.bd-product-category-product-image img {
    transform: scale(1.04);
}

.bd-product-category-product-content {
    padding: 21px 21px 23px;
}

.bd-product-category-product-content h3 {
    margin: 8px 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.bd-product-category-product-content h3 a {
    color: #111616;
    text-decoration: none;
}

.bd-product-category-product-content h3 a:hover {
    color: #174c49;
}

.bd-product-category-product-content p {
    min-height: 40px;
    margin: 0 0 17px;
    color: #6c7975;
    font-size: 12px;
    line-height: 1.65;
}

.bd-product-category-product-link {
    text-decoration: none;
}

.bd-product-category-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #78908a;
    font-size: 32px;
}

/* EMPTY */
.bd-product-category-no-results {
    padding: 80px 20px;
    border: 1px dashed #d5dfda;
    border-radius: 16px;
    text-align: center;
}

.bd-product-category-no-results > div {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f1ef;
    color: #174c49;
}

.bd-product-category-no-results h3 {
    margin-bottom: 7px;
    font-size: 21px;
}

.bd-product-category-no-results p {
    margin: 0;
    color: #77847f;
    font-size: 13px;
}

/* CTA */
.bd-product-category-cta {
    padding: 0 0 90px;
}

.bd-product-category-cta-inner {
    padding: 48px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(120deg, #123d3b, #1d625e);
    color: #fff;
}

.bd-product-category-cta-inner span {
    display: block;
    margin-bottom: 8px;
    color: #b9ddd0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.2px;
}

.bd-product-category-cta-inner h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.bd-product-category-cta-inner > a,
.bd-product-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    border-radius: 999px;
    background: #fff;
    color: #123d3b;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.bd-product-category-cta-inner > a:hover,
.bd-product-category-button:hover {
    transform: translateY(-2px);
}

/* NOT FOUND */
.bd-product-category-empty {
    min-height: 65vh;
    display: grid;
    place-items: center;
    text-align: center;
    background: #f7f8f5;
}

.bd-product-category-empty h1 {
    margin: 12px 0;
    font-size: clamp(38px, 5vw, 60px);
}

.bd-product-category-empty p {
    margin: 0 auto 25px;
    color: #6c7975;
}

.bd-product-category-eyebrow {
    color: #174c49;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .bd-product-category-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .bd-product-category-intro-image {
        max-width: 620px;
    }

    .bd-product-category-grid,
    .bd-product-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bd-product-category-container {
        width: min(100% - 28px, 540px);
    }

    .bd-product-category-intro {
        padding: 34px 0 55px;
    }

    .bd-product-category-breadcrumbs {
        margin-bottom: 34px;
    }

    .bd-product-category-intro h1 {
        font-size: clamp(38px, 12vw, 52px);
        letter-spacing: -2px;
    }

    .bd-product-category-intro p {
        font-size: 14px;
    }

    .bd-product-category-intro-image {
        height: 240px;
        border-radius: 12px;
    }

    .bd-product-category-content {
        padding: 60px 0 70px;
    }

    .bd-product-category-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bd-product-category-grid,
    .bd-product-category-product-grid {
        grid-template-columns: 1fr;
    }

    .bd-product-category-card-image,
    .bd-product-category-product-image {
        height: 230px;
        aspect-ratio: 4 / 3;
    }

    .bd-product-category-cta {
        padding-bottom: 65px;
    }

    .bd-product-category-cta-inner {
        padding: 35px 24px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 16px;
    }

    .bd-product-category-cta-inner > a {
        width: 100%;
    }
}

/* =========================================================
   CATEGORY SWITCHER
========================================================= */

.bd-product-category-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 6px;
    border: 1px solid #e0e7e2;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(16, 60, 57, .045);
}

.bd-product-category-switcher a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    color: #63716c;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bd-product-category-switcher a:hover {
    color: #174c49;
    transform: translateY(-1px);
}

.bd-product-category-switcher a.is-active {
    background: #174c49;
    color: #fff;
}

/* =========================================================
   NEW CATEGORY INTRO
========================================================= */

.bd-product-category-title {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.bd-product-category-title > span {
    display: block;
    margin-bottom: 13px;
    color: #174c49;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.bd-product-category-title h1 {
    margin: 0 0 18px;
    color: #101414;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
}

.bd-product-category-title p {
    max-width: 720px;
    margin: 0 auto;
    color: #61706b;
    font-size: 15px;
    line-height: 1.8;
}

.bd-product-category-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7.5;
    overflow: hidden;
    border-radius: 20px;
    background: #183f3d;
    box-shadow: 0 20px 55px rgba(16, 60, 57, .12);
}

.bd-product-category-video video,
.bd-product-category-video iframe,
.bd-product-category-video img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.bd-product-category-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 35, 34, .08) 15%,
        rgba(10, 35, 34, .52) 100%
    );
    pointer-events: none;
}

.bd-product-category-video-label {
    position: absolute;
    left: 28px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(10, 35, 34, .45);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.bd-product-category-video-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f4a53d;
}

/* =========================================================
   WHY CHOOSE CATEGORY
========================================================= */

.bd-product-category-why {
    padding: 0 0 88px;
}

.bd-product-category-why-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.bd-product-category-why-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #f4a53d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.bd-product-category-why-heading h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.bd-product-category-why-heading p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.7;
}

.bd-product-category-why .bd-product-category-container {
    padding: 50px 24px;
    border-radius: 22px;
    background: #174c49;
}

.bd-product-category-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bd-product-category-why-card {
    min-height: 255px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.075);
}

.bd-product-category-why-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244,165,61,.7);
    border-radius: 16px;
    background: rgba(244,165,61,.08);
    color: #f4a53d;
    font-size: 22px;
}

.bd-product-category-why-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
}

.bd-product-category-why-card p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {
    .bd-product-category-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bd-product-category-switcher {
        justify-content: flex-start;
        overflow-x: auto;
        border-radius: 16px;
        scrollbar-width: none;
    }

    .bd-product-category-switcher::-webkit-scrollbar {
        display: none;
    }

    .bd-product-category-switcher a {
        flex: 0 0 auto;
        padding: 0 15px;
        font-size: 10px;
    }

    .bd-product-category-title {
        margin-bottom: 28px;
    }

    .bd-product-category-title h1 {
        font-size: clamp(38px, 11vw, 52px);
        letter-spacing: -2px;
    }

    .bd-product-category-title p {
        font-size: 13px;
    }

    .bd-product-category-video {
        aspect-ratio: 16 / 10;
        border-radius: 14px;
    }

    .bd-product-category-video-label {
        left: 14px;
        bottom: 14px;
        font-size: 10px;
    }

    .bd-product-category-why {
        padding-bottom: 65px;
    }

    .bd-product-category-why .bd-product-category-container {
        padding: 34px 14px;
        border-radius: 16px;
    }

    .bd-product-category-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bd-product-category-why-card {
        min-height: 220px;
        padding: 20px 12px;
    }

    .bd-product-category-why-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 13px;
        border-radius: 14px;
        font-size: 18px;
    }

    .bd-product-category-why-card h3 {
        font-size: 14px;
    }

    .bd-product-category-why-card p {
        font-size: 11px;
    }
}


/* =========================================================
   WHY CHOOSE - FORCE VISIBLE
========================================================= */

.bd-product-category-page .bd-product-category-why {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    padding: 0 0 88px;
    background: #fff;
}

.bd-product-category-page .bd-product-category-why
.bd-product-category-container {
    display: block !important;
    padding: 50px 24px;
    border-radius: 22px;
    background: #174c49;
}

.bd-product-category-page .bd-product-category-why-heading {
    display: block !important;
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.bd-product-category-page .bd-product-category-why-heading span,
.bd-product-category-page .bd-product-category-why-heading h2,
.bd-product-category-page .bd-product-category-why-heading p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bd-product-category-page .bd-product-category-why-heading span {
    color: #f4a53d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.bd-product-category-page .bd-product-category-why-heading h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 10px;
}

.bd-product-category-page .bd-product-category-why-heading p {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.bd-product-category-page .bd-product-category-why-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bd-product-category-page .bd-product-category-why-card {
    display: flex !important;
    min-height: 255px;
    padding: 26px 22px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.075);
}

.bd-product-category-page .bd-product-category-why-card h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.25;
}

.bd-product-category-page .bd-product-category-why-card p {
    color: rgba(255,255,255,.72);
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .bd-product-category-page .bd-product-category-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bd-product-category-page .bd-product-category-why {
        padding-bottom: 65px;
    }

    .bd-product-category-page .bd-product-category-why
    .bd-product-category-container {
        padding: 34px 14px;
        border-radius: 16px;
    }

    .bd-product-category-page .bd-product-category-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bd-product-category-page .bd-product-category-why-card {
        min-height: 220px;
        padding: 20px 12px;
    }
}



/* =========================================================
   PRODUCT CATEGORY - PRODUCT CARDS
   Match homepage product card design
========================================================= */

.bd-product-category-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.bd-product-category-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bd-product-category-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(24, 59, 40, 0.10);
}


/* IMAGE */

.bd-product-category-product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e9eee9;
}

.bd-product-category-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.bd-product-category-product-card:hover
.bd-product-category-product-image img {
    transform: scale(1.06);
}


/* PRODUCT INFORMATION */

.bd-product-category-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #ffffff;
}

.bd-product-category-product-content > span {
    margin-bottom: 8px;
    color: #68736e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bd-product-category-product-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.bd-product-category-product-content h3 a {
    color: #0b1511;
}

.bd-product-category-product-content p {
    margin: 9px 0 0;
    color: #68736e;
    font-size: 12px;
    line-height: 1.6;
}

.bd-product-category-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 12px;
    color: #10382a;
    font-size: 13px;
    font-weight: 700;
}

.bd-product-category-product-link i {
    transition: transform 0.25s ease;
}

.bd-product-category-product-card:hover
.bd-product-category-product-link i {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .bd-product-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .bd-product-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bd-product-category-product-image {
        height: 220px;
    }

    .bd-product-category-product-content {
        padding: 16px 14px 18px;
    }

    .bd-product-category-product-content > span {
        font-size: 8px;
    }

    .bd-product-category-product-content h3 {
        font-size: 15px;
    }

    .bd-product-category-product-content p {
        font-size: 10px;
    }

    .bd-product-category-product-link {
        font-size: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .bd-product-category-product-grid {
        gap: 10px;
    }

    .bd-product-category-product-image {
        height: 190px;
    }

    .bd-product-category-product-content {
        padding: 14px 12px 16px;
    }

    .bd-product-category-product-content h3 {
        font-size: 14px;
    }

}