/* =========================================================
MOMYOU NEED THIS — MOM'S LAB
========================================================= */
:root {
    --lab-pink: #e89aaa;
    --lab-pink-dark: #cf6f87;
    --lab-pink-light: #fff0f4;
    --lab-pink-soft: #fff8fa;
    --lab-cream: #fffaf5;
    --lab-cream-dark: #f4ebe4;
    --lab-red: #b95662;
    --lab-red-light: #fff1f2;
    --lab-purple: #88739d;
    --lab-purple-light: #f4f0f8;
    --lab-blue: #617fa8;
    --lab-blue-light: #f1f5fb;
    --lab-green: #5e9676;
    --lab-green-light: #edf7f1;
    --lab-gold: #bd9450;
    --lab-gold-light: #fff8e8;
    --lab-white: #ffffff;
    --lab-text: #413738;
    --lab-muted: #817779;
    --lab-light-text: #aaa0a2;
    --lab-border: #eee3e3;

    --lab-radius-sm: 12px;
    --lab-radius-md: 18px;
    --lab-radius-lg: 25px;
    --lab-radius-xl: 32px;

    --lab-shadow-sm:
        0 5px 18px rgba(70, 50, 50, 0.045);

    --lab-shadow-md:
        0 10px 28px rgba(70, 50, 50, 0.065);

    --lab-shadow-lg:
        0 16px 42px rgba(70, 50, 50, 0.075);
}

/* =========================================================
PAGE
========================================================= */

.mom-lab-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--lab-cream);
    color: var(--lab-text);
    font-family: "Nunito", sans-serif;
    overflow-x: hidden;
}

.mom-lab-page *,
.mom-lab-page *::before,
.mom-lab-page *::after {
    box-sizing: border-box;
}

.mom-lab-page a {
    text-decoration: none;
}

.mom-lab-page img {
    max-width: 100%;
}

/* =========================================================
HEADER
========================================================= */

.lab-header {
    width: min(1180px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.lab-logo-link {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    z-index: 3;
}

.lab-logo {
    display: block;
    width: 170px;
    max-width: 170px;
    height: auto;
}

.lab-status {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #eadfe0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--lab-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.07em;
    box-shadow: var(--lab-shadow-sm);
}

.status-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #69a982;
    box-shadow:
        0 0 0 4px rgba(105, 169, 130, 0.11);
}

/* =========================================================
THE BUILDING
========================================================= */

.lab-building {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    margin: 6px auto 48px;
    padding-top: 54px;
}

/* =========================================================
ROOF
========================================================= */

.lab-building-roof {
    position: relative;
    height: 118px;
    overflow: visible;
    border-radius: 28px 28px 5px 5px;
    background:
        linear-gradient(
            180deg,
            #f8dfe4 0%,
            #f3d3da 100%
        );
    border: 1px solid #e7c5cc;
    box-shadow:
        0 8px 0 #e8cbd0,
        0 14px 28px rgba(100, 65, 70, 0.06);
    transform: perspective(700px) rotateX(3deg);
}

.lab-building-roof::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -16px;
    width: calc(100% - 16px);
    height: 30px;
    transform: translateX(-50%);
    border-radius: 24px 24px 10px 10px;
    background: #f3d6dc;
    border: 1px solid #e4c1c8;
    box-shadow:
        0 4px 0 #e8cbd0;
}

/* =========================================================
NEON SIGN
========================================================= */

.roof-neon {
    position: absolute;
    left: 50%;
    top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 265px;
    padding: 12px 27px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 11px;
    background: rgba(246, 208, 216, 0.42);
    box-shadow:
        0 0 7px rgba(255, 255, 255, 0.95),
        0 0 16px rgba(232, 154, 170, 0.65),
        inset 0 0 10px rgba(255, 255, 255, 0.45);
    transform: translateX(-50%);
}

.roof-neon span {
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-shadow:
        0 0 4px #fff,
        0 0 8px #f7b5c4,
        0 0 18px rgba(232, 154, 170, 0.9);
    white-space: nowrap;
}

/* =========================================================
BUILDING BODY
========================================================= */

.lab-building-body {
    position: relative;
    display: grid;
    grid-template-columns: 0.72fr 1.65fr 0.78fr;
    min-height: 280px;
    margin-top: -2px;
    overflow: hidden;
    border: 1px solid #eadfda;
    border-top: none;
    border-radius: 0 0 23px 23px;
    background: #fff;
    box-shadow:
        0 13px 35px rgba(80, 60, 60, 0.075);
}

/* =========================================================
SIDE WALL
========================================================= */

.building-side {
    position: relative;
    min-height: 280px;
    padding: 35px 20px;
    background:
        linear-gradient(
            145deg,
            #fff8f4,
            #f9efeb
        );
    border-right: 1px solid #eee2df;
}

.side-window {
    width: 62px;
    height: 83px;
    margin: 0 auto 26px;
    border: 6px solid #f2ddd9;
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            #fff,
            #f7e7ea
        );
    box-shadow:
        inset 0 0 0 1px #e8d4d2;
}

.side-window::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    margin: 0 auto;
    background: #e8d6d5;
}

.side-line {
    width: 42px;
    height: 3px;
    margin: 0 auto 9px;
    border-radius: 999px;
    background: var(--lab-pink);
}

.side-text {
    display: block;
    text-align: center;
    color: #aa9999;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

/* =========================================================
STOREFRONT
========================================================= */

.lab-storefront {
    position: relative;
    padding: 20px 22px 0;
    background: #fffdfc;
}

.storefront-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 23px;
    margin-bottom: 8px;
}

.storefront-label {
    color: var(--lab-pink-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.storefront-light {
    color: #6faa80;
    font-size: 12px;
}

.storefront-window {
    position: relative;
    height: 176px;
    overflow: hidden;
    border: 8px solid #f0d8d3;
    border-bottom-width: 7px;
    border-radius: 17px 17px 4px 4px;
    background:
        linear-gradient(
            135deg,
            #fff7f7,
            #f8eef1
        );
    box-shadow:
        inset 0 0 0 1px #dfc8c4,
        0 7px 0 #e9d4d0;
}

.window-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255, 255, 255, 0.98),
            rgba(255, 244, 247, 0.5) 50%,
            transparent 75%
        );
}

.window-products {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 19px;
    padding: 20px 20px 16px;
}

.window-product {
    width: 69px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 8px 8px;
    background: #fff;
    border: 1px solid #eee3e3;
    font-size: 34px;
    box-shadow:
        0 8px 18px rgba(80, 60, 60, 0.07);
}

.window-product-one {
    transform: rotate(-2deg);
}

.window-product-two {
    transform: translateY(-6px) rotate(2deg);
}

.window-product-three {
    transform: rotate(-3deg);
}

.window-frame-left,
.window-frame-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #efd9d5;
}

.window-frame-left {
    left: 34%;
}

.window-frame-right {
    left: 67%;
}

/* =========================================================
AWNING
========================================================= */

.storefront-awning {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 11px;
}

.storefront-awning span {
    color: #9d8c8e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.storefront-awning span:not(:last-child)::after {
    content: "•";
    margin-left: 10px;
    color: var(--lab-pink);
}

/* =========================================================
BUILDING DOOR
========================================================= */

.lab-door-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 17px;
    background:
        linear-gradient(
            145deg,
            #f8f1ef,
            #fff
        );
    border-left: 1px solid #eee3e0;
    color: inherit;
    text-decoration: none !important;
    cursor: pointer;
}

.lab-door {
    position: relative;
    width: 104px;
    height: 177px;
    border: 8px solid #ead9d5;
    border-radius: 14px 14px 4px 4px;
    background:
        linear-gradient(
            145deg,
            #fff,
            #f6ecec
        );
    box-shadow:
        inset 0 0 0 1px #ddceca,
        0 7px 0 #e5d5d1;
}

.door-glass {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 91px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eadcdf;
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 250, 251, 0.95),
            rgba(247, 238, 243, 0.85)
        );
}

.door-glass span {
    color: var(--lab-pink-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.door-glass strong {
    color: var(--lab-purple);
    font-size: 16px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
}

.door-handle {
    position: absolute;
    right: 10px;
    top: 120px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #caaeb1;
    box-shadow:
        0 0 0 3px rgba(202, 174, 177, 0.12);
}

.door-note {
    max-width: 120px;
    margin-top: 17px;
    color: #a09192;
    text-align: center;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: 0.07em;
}

/* =========================================================
GROUND
========================================================= */

.lab-building-ground {
    position: relative;
    height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    color: #79a27d;
    font-size: 13px;
}

.lab-building-ground div {
    position: relative;
    z-index: 3;
    width: 82%;
    height: 8px;
    border-radius: 60% 60% 8px 8px;
    background:
        linear-gradient(
            90deg,
            #8aaa82,
            #739b78,
            #8aaa82
        );
    box-shadow:
        0 -3px 0 rgba(94, 150, 118, 0.18);
}

.lab-building-ground div::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 10px;
    background:
        repeating-linear-gradient(
            105deg,
            transparent 0,
            transparent 8px,
            #739b78 9px,
            #739b78 11px,
            transparent 12px,
            transparent 19px
        );
    opacity: 0.75;
}

.lab-building-ground > span:first-child,
.lab-building-ground > span:last-child {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    height: 38px;
    font-size: 0;
}

.lab-building-ground > span:first-child::before {
    content: "🌷";
    display: block;
    font-size: 22px;
    line-height: 1;
    transform:
        translateY(-1px)
        rotate(-9deg);
}

.lab-building-ground > span:last-child::before {
    content: "🌼";
    display: block;
    font-size: 21px;
    line-height: 1;
    transform:
        translateY(-4px)
        rotate(8deg);
}

/* =========================================================
INTRO
========================================================= */

.lab-intro-section {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 35px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.intro-copy {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--lab-pink-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.intro-copy h1 {
    margin: 0;
    color: var(--lab-text);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.intro-copy h1 span {
    color: var(--lab-pink-dark);
}

.intro-copy p {
    margin: 10px 0 0;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.intro-note {
    flex: 0 0 auto;
    max-width: 250px;
    padding: 13px 15px;
    border: 1px solid #eee0df;
    border-radius: 14px;
    background: #fff;
    color: #867778;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    box-shadow: var(--lab-shadow-sm);
}

.intro-note span {
    margin-right: 4px;
}

.intro-note strong {
    color: var(--lab-pink-dark);
}

/* =========================================================
CONTENT WIDTH
========================================================= */

.lab-database,
.lab-products,
.lab-winners-section {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
FILTERS
========================================================= */

.lab-database {
    margin-bottom: 25px;
}

.lab-database-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 1px 7px;
    scrollbar-width: none;
}

.lab-database-nav::-webkit-scrollbar {
    display: none;
}

.database-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #eadfe0;
    border-radius: 999px;
    background: #fff;
    color: #6e6264 !important;
    font-size: 12px;
    font-weight: 900;
    box-shadow: var(--lab-shadow-sm);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.database-filter:hover {
    transform: translateY(-2px);
    border-color: #e8bcc8;
    background: #fff9fa;
}

.database-filter.active {
    border-color: var(--lab-pink);
    background: var(--lab-pink);
    color: #fff !important;
    box-shadow:
        0 7px 18px rgba(232, 154, 170, 0.17);
}

/* =========================================================
SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom: 21px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: var(--lab-text);
    font-size: clamp(27px, 3.4vw, 38px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.section-heading h2 span {
    color: var(--lab-pink-dark);
}

.section-heading > p {
    max-width: 620px;
    margin: 8px auto 0;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
FEATURED PRODUCT
========================================================= */

.lab-featured-product {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 52px;
}

.featured-product-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 305px;
    overflow: hidden;
    border: 1px solid #ebdfdf;
    border-radius: var(--lab-radius-xl);
    background: #fff;
    box-shadow: var(--lab-shadow-md);
}

.featured-product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 37px;
    text-align: center;
}

.featured-label {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid #f0d9df;
    border-radius: 999px;
    background: var(--lab-pink-light);
    color: var(--lab-pink-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.featured-product-copy h2 {
    max-width: 500px;
    margin: 13px 0 8px;
    color: var(--lab-text);
    font-size: clamp(29px, 3.6vw, 43px);
    line-height: 1;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.featured-product-copy h2 span {
    color: var(--lab-pink-dark);
}

.featured-description {
    max-width: 475px;
    margin: 0 auto;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

.featured-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 13px;
}

.featured-score {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.featured-score strong {
    color: var(--lab-text);
    font-size: 46px;
    line-height: 1;
    font-weight: 900;
}

.featured-score span {
    color: var(--lab-muted);
    font-size: 13px;
    font-weight: 800;
}

.featured-verdict {
    padding: 8px 10px;
    border: 1px solid #d8eadf;
    border-radius: 9px;
    background: var(--lab-green-light);
    color: var(--lab-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.featured-product-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border-radius: 999px;
    background: #e89a3a;
    border: 2px solid #e89a3a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-align: center;
    box-shadow:
        0 8px 20px rgba(232, 154, 58, 0.25);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.featured-product-button:hover {
    transform: translateY(-2px);
    background: #d77f20;
    border-color: #d77f20;
    box-shadow:
        0 11px 25px rgba(215, 127, 32, 0.28);
}

/* =========================================================
FEATURED VISUAL
========================================================= */

.featured-product-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 25px;
    background:
        radial-gradient(
            circle at 50% 45%,
            #fff 0,
            #fff 25%,
            transparent 26%
        ),
        linear-gradient(
            145deg,
            #fff3f5,
            #f7f1f6
        );
}

.featured-visual-label {
    position: absolute;
    top: 20px;
    z-index: 2;
    color: #a18c91;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.featured-product-placeholder {
    position: relative;
    z-index: 1;
    width: 142px;
    height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    border: 1px solid #eee2e2;
    background: rgba(255, 255, 255, 0.95);
    font-size: 60px;
    box-shadow:
        0 13px 30px rgba(70, 50, 50, 0.07);
    transform: rotate(-2deg);
}

.featured-visual-caption {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 13px;
}

.featured-visual-caption span {
    color: #aaa0a2;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.featured-visual-caption strong {
    color: var(--lab-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* =========================================================
PRODUCTS
========================================================= */

.lab-products {
    margin-bottom: 58px;
}

.lab-product-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.lab-product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lab-border);
    border-radius: var(--lab-radius-lg);
    background: #fff;
    box-shadow: var(--lab-shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.lab-product-card:hover {
    transform: translateY(-4px);
    border-color: #e7d2d5;
    box-shadow: var(--lab-shadow-md);
}

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

.product-card-image {
    position: static;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        linear-gradient(
            145deg,
            #fff9f7,
            #fdf1f4
        );
}

.product-image-placeholder {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 27px;
    background: #fff;
    font-size: 58px;
    box-shadow:
        0 12px 30px rgba(70, 50, 50, 0.06);
}

.product-photo {
    width: 125px;
    height: 125px;
    object-fit: contain;
    border-radius: 27px;
    background: #fff;
    padding: 10px;
    box-shadow:
        0 12px 30px rgba(70, 50, 50, 0.06);
}

.product-status-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.product-status-badge.survived {
    border: 1px solid #d8eadf;
    background: var(--lab-green-light);
    color: var(--lab-green);
}

.product-status-badge.competing {
    border: 1px solid #ecd7df;
    background: var(--lab-pink-light);
    color: var(--lab-pink-dark);
}

.product-status-badge.failed {
    border: 1px solid #f0d7da;
    background: var(--lab-red-light);
    color: var(--lab-red);
}

/* =========================================================
PRODUCT CONTENT
========================================================= */

.product-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 20px;
    text-align: center;
}

.product-category {
    display: block;
    margin-bottom: 8px;
    color: var(--lab-pink-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.product-card-content h3 {
    margin: 0;
    color: var(--lab-text);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
}

.product-description {
    min-height: 42px;
    margin: 9px 0 17px;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
PRODUCT SCORE
========================================================= */

.product-score-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 0;
    border-top: 1px solid var(--lab-border);
    border-bottom: 1px solid var(--lab-border);
}

.product-score {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.product-score strong {
    color: var(--lab-text);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.product-score span {
    color: var(--lab-muted);
    font-size: 13px;
    font-weight: 800;
}

.product-score-label {
    color: var(--lab-light-text);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* =========================================================
MINI TESTS
========================================================= */

.mini-tests {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0;
}

.mini-tests span {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border: 1px solid #eee7e7;
    border-radius: 8px;
    background: #fcfafb;
    color: #6f6567;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
}

/* =========================================================
PRODUCT BUTTON
========================================================= */

.product-buy-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border-radius: 999px;
    background: #e89a3a;
    border: 2px solid #e89a3a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-align: center;
    box-shadow:
        0 8px 20px rgba(232, 154, 58, 0.25);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.product-buy-button:hover {
    transform: translateY(-2px);
    background: #d77f20;
    border-color: #d77f20;
    box-shadow:
        0 11px 25px rgba(215, 127, 32, 0.28);
}

.product-buy-button.failed-button {
    background: #c96f79;
    border-color: #c96f79;
    box-shadow:
        0 8px 20px rgba(185, 86, 98, 0.20);
}

.product-buy-button.failed-button:hover {
    background: var(--lab-red);
    border-color: var(--lab-red);
}

/* =========================================================
FULL-CARD TEST DOORS
========================================================= */

.hidden-test-card {
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    -webkit-perspective: 1200px;
}

.hidden-test-card .product-shutter {
    position: absolute;
    inset: 0;

    z-index: 50;

    width: 100%;
    height: 100%;
    min-height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: inherit;

    background: transparent;

    cursor: pointer;

    overflow: hidden;

    -webkit-appearance: none;
    appearance: none;

    font: inherit;
}

.hidden-test-card .product-shutter::before,
.hidden-test-card .product-shutter::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 50%;
    height: 100%;

    z-index: 1;

    display: block;

    border: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0) 80%,
            rgba(120, 80, 90, 0.10) 100%
        ),
        repeating-linear-gradient(
            90deg,
            #efdadd 0,
            #efdadd 17px,
            #e5c8ce 17px,
            #e5c8ce 20px
        );

    box-shadow:
        inset 0 0 0 1px rgba(180, 135, 145, 0.25),
        inset 0 0 22px rgba(110, 75, 80, 0.06);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;

    transform: rotateY(0deg);

    transition:
        transform 0.72s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.25s ease;
}

.hidden-test-card .product-shutter::before {
    left: 0;

    transform-origin: left center;

    border-right:
        2px solid rgba(155, 110, 120, 0.38);

    box-shadow:
        inset -1px 0 rgba(155, 110, 120, 0.14),
        inset 0 0 22px rgba(110, 75, 80, 0.06);
}

.hidden-test-card .product-shutter::after {
    right: 0;

    transform-origin: right center;

    border-left:
        2px solid rgba(155, 110, 120, 0.38);

    box-shadow:
        inset 1px 0 rgba(155, 110, 120, 0.14),
        inset 0 0 22px rgba(110, 75, 80, 0.06);
}

.hidden-test-card.product-shutter-pink .product-shutter::before,
.hidden-test-card.product-shutter-pink .product-shutter::after {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0) 80%,
            rgba(120, 80, 90, 0.10) 100%
        ),
        repeating-linear-gradient(
            90deg,
            #f0d6df 0,
            #f0d6df 17px,
            #e7c5d0 17px,
            #e7c5d0 20px
        );
}

.hidden-test-card .shutter-handle,
.hidden-test-card .shutter-label {
    position: relative;
    z-index: 5;
}

.shutter-handle {
    display: none;
}

/* =========================================================
DOOR HANDLE
========================================================= */

.hidden-test-card .shutter-handle {
    width: 38px;
    height: 6px;

    border-radius: 999px;

    background: #ffffff;

    box-shadow:
        0 2px 6px rgba(80, 50, 55, 0.15);
}

/* =========================================================
DOOR LABEL
========================================================= */

.hidden-test-card .shutter-label {
    margin-top: 10px;

    color: #765d63;

    font-size: 11px;
    line-height: 1.2;

    font-weight: 900;

    letter-spacing: 0.13em;

    white-space: nowrap;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =========================================================
DOOR HOVER
========================================================= */

.hidden-test-card .product-shutter:hover::before,
.hidden-test-card .product-shutter:hover::after {
    box-shadow:
        inset 0 0 0 1px rgba(180, 135, 145, 0.35),
        inset 0 0 25px rgba(110, 75, 80, 0.08);
}

/* =========================================================
OPENING
========================================================= */

.hidden-test-card.is-open .product-shutter::before {
    transform: rotateY(-88deg);
}

.hidden-test-card.is-open .product-shutter::after {
    transform: rotateY(88deg);
}

.hidden-test-card.is-open .product-shutter {
    pointer-events: none;
}

/* =========================================================
WINNERS
========================================================= */

.lab-winners-section {
    margin-bottom: 38px;
}

.winner-preview {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 21px 23px;
    border: 1px solid #f0dfb7;
    border-radius: var(--lab-radius-lg);
    background: var(--lab-gold-light);
    box-shadow: var(--lab-shadow-sm);
}

.winner-preview-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fff;
    font-size: 27px;
    box-shadow: var(--lab-shadow-sm);
}

.winner-preview-copy {
    flex: 1;
    text-align: center;
}

.winner-preview-copy span {
    display: block;
    margin-bottom: 4px;
    color: var(--lab-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.winner-preview-copy h3 {
    margin: 0 0 4px;
    color: var(--lab-text);
    font-size: 20px;
    font-weight: 900;
}

.winner-preview-copy p {
    margin: 0;
    color: var(--lab-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

/* =========================================================
MOM BATTLES
========================================================= */

.lab-battle-connection {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 34px;
}

.battle-connection-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 28px;
    border: 1px solid #eadfe1;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #fff8fa 100%);
    box-shadow: var(--lab-shadow-sm);
}

.connection-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.connection-copy > span {
    display: block;
    margin-bottom: 5px;
    color: #b48a96;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.connection-copy h2 {
    margin: 0;
    color: var(--lab-text);
    font-size: clamp(24px, 3vw, 31px);
    line-height: 1.1;
}

.connection-copy h2 strong {
    color: var(--lab-pink);
}

.connection-copy p {
    margin: 8px 0 14px;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.5;
}

.lab-battle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #e4b9c4;
    border-radius: 999px;
    background: #ffffff;
    color: #9f6474;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.lab-battle-button:hover {
    transform: translateY(-2px);
    background: var(--lab-pink-light);
    box-shadow: var(--lab-shadow-sm);
}

/* =========================================================
TESTS
========================================================= */

.lab-score-section {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 38px;
}

.lab-score-section .section-heading {
    margin-bottom: 20px;
}

.lab-score-section .section-heading h2 {
    margin: 0;
    color: var(--lab-text);
    font-size: clamp(27px, 3.4vw, 38px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.lab-score-section .section-heading h2 span {
    color: var(--lab-pink-dark);
}

.lab-score-section .section-heading > p {
    max-width: 600px;
    margin: 8px auto 0;
    color: var(--lab-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
TEST GRID
========================================================= */

.lab-score-grid {
    display: flex;
    flex-direction:column;
    align-items:center;
}

.score-factor {
    min-width: 100%;
    min-height: 74px;
display:flex;
flex-direction: column;
align-items:center;
    padding: 14px 15px;

    border: 1px solid #eadfe1;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffafb 100%
        );

    box-shadow: var(--lab-shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.score-factor:hover {
    transform: translateY(-2px);
    border-color: #e5cbd1;
    box-shadow:
        0 10px 25px rgba(70, 50, 50, 0.065);
}

.score-factor > span {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #f0dce2;
    border-radius: 13px;

    background: var(--lab-pink-light);

    font-size: 22px;
    line-height: 1;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.score-factor:nth-child(1) > span {
    background: var(--lab-gold-light);
    border-color: #f0e3c6;
}

.score-factor:nth-child(2) > span {
    background: var(--lab-purple-light);
    border-color: #e5ddec;
}

.score-factor:nth-child(3) > span {
    background: var(--lab-pink-light);
    border-color: #f0dce2;
}

.score-factor:nth-child(4) > span {
    background: var(--lab-green-light);
    border-color: #dcece2;
}

.score-factor strong {
    min-width: 0;

    color: var(--lab-text);

    font-size: 15px;
    line-height: 1.2;

    font-weight: 900;
    text-align: left;
}

/* =========================================================
WINNERS
========================================================= */

.lab-winners-section {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 34px;
}

.lab-winners-section .section-heading {
    margin-bottom: 19px;
}

.winner-preview {
    width: 100%;

    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    align-items: center;
    column-gap: 17px;

    padding: 21px 23px;

    border: 1px solid #f0dfb7;
    border-radius: var(--lab-radius-lg);

    background:
        linear-gradient(
            135deg,
            #fffaf0 0%,
            #fff8e8 100%
        );

    box-shadow: var(--lab-shadow-sm);
}

.winner-preview-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #f0e3c6;
    border-radius: 16px;

    background: #fff;

    font-size: 27px;
    line-height: 1;

    box-shadow: var(--lab-shadow-sm);
}

.winner-preview-copy {
    min-width: 0;
    text-align: left;
}

.winner-preview-copy > span {
    display: block;

    margin-bottom: 4px;

    color: var(--lab-gold);

    font-size: 10px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: 0.1em;
}

.winner-preview-copy h3 {
    margin: 0 0 4px;

    color: var(--lab-text);

    font-size: 20px;
    line-height: 1.15;

    font-weight: 900;
}

.winner-preview-copy p {
    max-width: 680px;

    margin: 0;

    color: var(--lab-muted);

    font-size: 13px;
    line-height: 1.45;

    font-weight: 600;
}

/* =========================================================
NOMINATION
========================================================= */

.lab-submission {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto 48px;
}

.submission-card {
    width: 100%;
    min-height: 132px;

    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 17px;
    align-items: center;

    padding: 22px 25px;

    border: 1px solid #eadfe2;
    border-radius: var(--lab-radius-lg);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff9fb 100%
        );

    box-shadow: var(--lab-shadow-md);
}

.submission-icon {
    grid-column: 1;
    grid-row: 1 / span 3;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #f0dce2;
    border-radius: 16px;

    background: var(--lab-pink-light);

    font-size: 25px;
    line-height: 1;

    box-shadow:
        inset 0 0 0 1px rgba(232, 154, 170, 0.10);
}

.submission-card > span {
    grid-column: 2;
    grid-row: 1;

    display: block;

    margin: 0 0 4px;

    color: var(--lab-pink-dark);

    font-size: 10px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: 0.11em;
}

.submission-card h2 {
    grid-column: 2;
    grid-row: 2;

    margin: 0;

    color: var(--lab-text);

    font-size: clamp(25px, 3.2vw, 34px);
    line-height: 1.05;

    font-weight: 900;
}

.submission-card p {
    grid-column: 2;
    grid-row: 3;

    max-width: 500px;

    margin: 5px 0 0;

    color: var(--lab-muted);

    font-size: 13px;
    line-height: 1.45;

    font-weight: 600;
}

.submission-button {
    grid-column: 3;
    grid-row: 1 / span 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 18px;

    border-radius: 999px;

    background: var(--lab-pink);

    color: #fff !important;

    font-size: 11px;
    line-height: 1;

    font-weight: 900;

    white-space: nowrap;

    box-shadow:
        0 7px 18px rgba(232, 154, 170, 0.16);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.submission-button:hover {
    transform: translateY(-2px);

    background: var(--lab-pink-dark);

    box-shadow:
        0 10px 22px rgba(207, 111, 135, 0.18);
}

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

@media (max-width: 980px) {

    .lab-building-body {
        grid-template-columns:
            0.55fr 1.7fr 0.65fr;
    }

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

    .lab-tests-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .roof-neon span {
        font-size: 27px;
    }

    .lab-score-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .submission-card {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .submission-button {
        grid-column: 2;
        grid-row: 1 / span 3;
        justify-self: end;
    }
}

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

@media (max-width: 700px) {

    .lab-battle-connection {
        width: calc(100% - 24px);
        margin-bottom: 24px;
    }

    .battle-connection-inner {
        align-items: center;
        gap: 13px;
        padding: 20px 17px;
        border-radius: 20px;
    }

    .connection-icon {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 24px;
    }

    .connection-copy h2 {
        font-size: 22px;
    }

    .connection-copy p {
        margin: 7px 0 13px;
        font-size: 14px;
    }

    .lab-battle-button {
        min-height: 39px;
        padding: 0 13px;
        font-size: 10px;
    }
}

@media (max-width: 640px) {

    /* HEADER */

    .lab-header {
        width: calc(100% - 24px);
        min-height: 73px;
    }

    .lab-logo {
        width: 140px;
        max-width: 140px;
    }

    .lab-status {
        max-width: 105px;
        padding: 7px 9px;
        font-size: 9px;
    }

    .status-light {
        width: 7px;
        height: 7px;
    }

    /* BUILDING */

    .lab-building {
        width: calc(100% - 24px);
        padding-top: 39px;
        margin-bottom: 34px;
    }

    .lab-building-roof {
        height: 88px;
        border-radius: 20px 20px 4px 4px;
    }

    .lab-building-roof::before {
        top: -12px;
        width: calc(100% - 12px);
        height: 22px;
    }

    .roof-neon {
        top: 12px;
        min-width: 205px;
        padding: 10px 17px;
        border-radius: 8px;
    }

    .roof-neon span {
        font-size: 22px;
        letter-spacing: 0.07em;
    }

    /* BUILDING BODY */

    .lab-building-body {
        grid-template-columns:
            0.48fr 1.65fr 0.53fr;
        min-height: 204px;
        border-radius: 0 0 17px 17px;
    }

    .building-side {
        min-height: 204px;
        padding: 24px 7px;
    }

    .side-window {
        width: 35px;
        height: 52px;
        margin-bottom: 17px;
        border-width: 4px;
    }

    .side-line {
        width: 25px;
        margin-bottom: 6px;
    }

    .side-text {
        font-size: 7px;
        letter-spacing: 0.10em;
    }

    /* STOREFRONT */

    .lab-storefront {
        padding: 13px 9px 0;
    }

    .storefront-top {
        height: 15px;
        gap: 5px;
        margin-bottom: 5px;
    }

    .storefront-label {
        font-size: 8px;
    }

    .storefront-light {
        font-size: 9px;
    }

    .storefront-window {
        height: 128px;
        border-width: 5px;
        border-radius: 11px 11px 3px 3px;
    }

    .window-products {
        gap: 7px;
        padding: 12px 7px 9px;
    }

    .window-product {
        width: 38px;
        height: 48px;
        border-radius: 9px 9px 5px 5px;
        font-size: 20px;
    }

    .window-frame-left,
    .window-frame-right {
        width: 3px;
    }

    .storefront-awning {
        gap: 4px;
        margin-top: 7px;
    }

    .storefront-awning span {
        font-size: 7px;
    }

    .storefront-awning span:not(:last-child)::after {
        margin-left: 4px;
    }

    /* BUILDING DOOR */

    .lab-door-area {
        min-height: 204px;
        padding: 15px 5px;
    }

    .lab-door {
        width: 52px;
        height: 119px;
        border-width: 5px;
        border-radius: 8px 8px 2px 2px;
    }

    .door-glass {
        top: 6px;
        left: 5px;
        right: 5px;
        height: 59px;
    }

    .door-glass span {
        font-size: 6px;
    }

    .door-glass strong {
        font-size: 10px;
    }

    .door-handle {
        right: 5px;
        top: 79px;
        width: 4px;
        height: 4px;
    }

    .door-note {
        max-width: 65px;
        margin-top: 9px;
        font-size: 6px;
        line-height: 1.35;
    }

    .lab-building-ground {
        height: 17px;
        margin-top: 2px;
        gap: 5px;
        font-size: 6px;
    }

    /* INTRO */

    .lab-intro-section {
        width: calc(100% - 24px);
        display: block;
        margin-bottom: 25px;
    }

    .section-kicker {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .intro-copy h1 {
        font-size: 30px;
        line-height: 1.05;
    }

    .intro-copy p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .intro-note {
        max-width: none;
        margin-top: 13px;
        padding: 11px 12px;
        font-size: 11px;
        line-height: 1.45;
    }

    /* CONTENT WIDTH */

    .lab-database,
    .lab-products,
    .lab-winners-section,
    .lab-featured-product,
    .lab-battle-connection,
    .lab-footer,
    .lab-submission,
    .lab-tests-section {
        width: calc(100% - 24px);
    }

    /* FILTERS */

    .lab-database {
        margin-bottom: 20px;
    }

    .lab-database-nav {
        justify-content: flex-start;
        gap: 7px;
    }

    .database-filter {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 10px;
    }

    /* FEATURED */

    .lab-featured-product {
        margin-bottom: 38px;
    }

    .featured-product-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 20px;
    }

    .featured-product-copy {
        padding: 23px 18px;
    }

    .featured-label {
        padding: 6px 9px;
        font-size: 9px;
    }

    .featured-product-copy h2 {
        margin: 11px 0 8px;
        font-size: 30px;
        line-height: 1.03;
    }

    .featured-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .featured-score strong {
        font-size: 40px;
    }

    .featured-score span {
        font-size: 11px;
    }

    .featured-verdict {
        padding: 7px 9px;
        font-size: 9px;
    }

    .featured-product-button {
        width: 100%;
        min-height: 46px;
        font-size: 11px;
    }

    .featured-product-visual {
        min-height: 165px;
        padding: 20px;
    }

    .featured-visual-label {
        top: 15px;
        font-size: 8px;
    }

    .featured-product-placeholder {
        width: 105px;
        height: 105px;
        border-radius: 20px;
        font-size: 44px;
    }

    .featured-visual-caption span,
    .featured-visual-caption strong {
        font-size: 8px;
    }

    /* PRODUCT SECTION */

    .lab-products {
        margin-bottom: 43px;
    }

    .section-heading {
        margin-bottom: 17px;
    }

    .section-heading h2 {
        font-size: 27px;
        line-height: 1.08;
    }

    .section-heading > p {
        max-width: 330px;
        margin: 8px auto 0;
        font-size: 12px;
        line-height: 1.5;
    }

    /* PRODUCT GRID */

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

    .lab-product-card {
        border-radius: 16px;
    }

    .product-card-image {
        position: static;
        height: 132px;
        padding: 12px;
    }

    .product-image-placeholder {
        width: 78px;
        height: 78px;
        border-radius: 17px;
        font-size: 36px;
    }

    .product-photo {
        width: 78px;
        height: 78px;
        border-radius: 17px;
        padding: 6px;
    }

    .product-status-badge {
        top: 9px;
        left: 9px;
        padding: 6px 8px;
        font-size: 9px;
    }

    .product-card-content {
        padding: 13px 11px;
    }

    .product-category {
        margin-bottom: 6px;
        font-size: 9px;
        letter-spacing: 0.10em;
    }

    .product-card-content h3 {
        font-size: 17px;
        line-height: 1.16;
    }

    .product-description {
        max-width: 190px;
        min-height: 0;
        margin: 8px 0 12px;
        font-size: 12px;
        line-height: 1.45;
    }

    .product-score-row {
        gap: 10px;
        padding: 10px 0;
    }

    .product-score strong {
        font-size: 24px;
    }

    .product-score span {
        font-size: 10px;
    }

    .product-score-label {
        font-size: 9px;
    }

    .mini-tests {
        gap: 5px;
        margin: 10px 0;
    }

    .mini-tests span {
        padding: 6px 7px;
        font-size: 9.5px;
        line-height: 1.25;
        border-radius: 7px;
    }

    .product-buy-button {
        min-height: 48px;
        padding: 8px 7px;
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: 0.04em;
    }

    /* FULL-CARD DOORS */

    .hidden-test-card {
        perspective: 900px;
        -webkit-perspective: 900px;
    }

    .hidden-test-card .product-shutter {
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        border-radius: inherit;
    }

    .hidden-test-card .product-shutter::before,
    .hidden-test-card .product-shutter::after {
        width: 50%;
        height: 100%;
        transform: rotateY(0deg);
    }

    .hidden-test-card .product-shutter::before {
        left: 0;
        transform-origin: left center;
    }

    .hidden-test-card .product-shutter::after {
        right: 0;
        transform-origin: right center;
    }

    .hidden-test-card.is-open .product-shutter::before {
        transform: rotateY(-88deg);
    }

    .hidden-test-card.is-open .product-shutter::after {
        transform: rotateY(88deg);
    }

    .hidden-test-card .shutter-label {
        margin-top: 8px;
        font-size: 9px;
        letter-spacing: 0.11em;
    }

    .hidden-test-card .shutter-handle {
        width: 29px;
        height: 4px;
    }

    /* INDIVIDUAL TESTS */

    .lab-tests-section {
        margin-bottom: 39px;
    }

    .lab-tests-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lab-test-card {
        min-height: 0;
        padding: 15px 14px;
        border-radius: 15px;
    }

    .lab-test-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        margin-right: 11px;
        border-radius: 12px;
        font-size: 21px;
    }

    .lab-test-copy h3 {
        margin-top: 1px;
        margin-bottom: 4px;
        font-size: 16px;
        line-height: 1.15;
    }

    .lab-test-copy p {
        font-size: 11px;
        line-height: 1.45;
    }

    .lab-test-label {
        margin-bottom: 4px;
        font-size: 8px;
    }

    /* TESTS */

    .lab-score-section {
        margin-bottom: 30px;
    }

    .lab-score-section .section-heading {
        margin-bottom: 16px;
    }

    .lab-score-section .section-heading h2 {
        font-size: 27px;
        line-height: 1.08;
    }

    .lab-score-section .section-heading > p {
        max-width: 330px;
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.5;
    }

    .lab-score-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .score-factor {
        min-height: 0;
        grid-template-columns:
            43px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
        border-radius: 15px;
    }

    .score-factor > span {
        width: 43px;
        height: 43px;
        border-radius: 12px;
        font-size: 21px;
    }

    .score-factor strong {
        font-size: 15px;
        line-height: 1.2;
    }

    /* WINNERS */

    .lab-winners-section {
        margin-bottom: 30px;
    }

    .lab-winners-section .section-heading {
        margin-bottom: 16px;
    }

    .winner-preview {
        grid-template-columns:
            44px minmax(0, 1fr);
        column-gap: 11px;
        padding: 15px;
        border-radius: 15px;
    }

    .winner-preview-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        font-size: 21px;
    }

    .winner-preview-copy > span {
        margin-bottom: 4px;
        font-size: 8px;
    }

    .winner-preview-copy h3 {
        margin-bottom: 4px;
        font-size: 15px;
        line-height: 1.15;
    }

    .winner-preview-copy p {
        font-size: 10px;
        line-height: 1.4;
    }

    /* BATTLES */

    .lab-battle-connection {
        margin-bottom: 27px;
    }

    .battle-connection-inner {
        gap: 12px;
        padding: 17px 14px;
        border-radius: 16px;
    }

    .connection-copy > span {
        font-size: 9px;
    }

    .connection-copy h2 {
        font-size: 20px;
        line-height: 1.1;
    }

    .connection-copy p {
        margin: 5px 0 10px;
        font-size: 11px;
        line-height: 1.4;
    }

    .lab-battle-button {
        min-height: 44px;
        padding: 8px 12px;
        font-size: 9.5px;
    }

    .connection-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    /* SUBMISSION */

    .lab-submission {
        margin-bottom: 34px;
    }

    .submission-card {
        padding: 24px 15px;
        border-radius: 19px;
    }

    .submission-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 11px;
        border-radius: 11px;
        font-size: 20px;
    }

    .submission-card > span {
        font-size: 8.5px;
    }

    .submission-card h2 {
        font-size: 26px;
        line-height: 1.08;
    }

    .submission-card p {
        margin: 7px auto 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    .submission-button {
        width: 100%;
        min-height: 46px;
        font-size: 10px;
    }

    /* FOOTER */

    .lab-footer {
        padding: 20px 0 26px;
        margin-left:auto;
        margin-right: auto;
    }

    .lab-footer img {
        width: 115px;
        margin-bottom: 7px;
    }

    .lab-footer p {
        font-size: 9px;
        line-height: 1.4;
    }

    .lab-footer .affiliate-disclosure {
        font-size: 8.5px;
        line-height: 1.4;
    }
}

/* =========================================================
VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .roof-neon {
        min-width: 180px;
    }

    .roof-neon span {
        font-size: 19px;
    }

    .lab-building-body {
        grid-template-columns:
            0.43fr 1.72fr 0.48fr;
    }

    .product-card-content {
        padding: 11px 9px;
    }

    .product-card-content h3 {
        font-size: 16px;
    }

    .product-description {
        font-size: 11px;
        line-height: 1.4;
    }

    .product-category {
        font-size: 8.5px;
    }

    .product-score strong {
        font-size: 22px;
    }

    .product-score span {
        font-size: 9px;
    }

    .product-score-label {
        font-size: 8px;
    }

    .mini-tests span {
        font-size: 8.5px;
        padding: 5px 6px;
    }

    .product-buy-button {
        min-height: 46px;
        font-size: 9px;
    }

    /* FULL-CARD DOORS */

    .hidden-test-card {
        perspective: 850px;
        -webkit-perspective: 850px;
    }

    .hidden-test-card .product-shutter {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hidden-test-card .product-shutter::before,
    .hidden-test-card .product-shutter::after {
        width: 50%;
        height: 100%;
        transform: rotateY(0deg);
    }

    .hidden-test-card .product-shutter::before {
        left: 0;
    }

    .hidden-test-card .product-shutter::after {
        right: 0;
    }

    .hidden-test-card.is-open .product-shutter::before {
        transform: rotateY(-88deg);
    }

    .hidden-test-card.is-open .product-shutter::after {
        transform: rotateY(88deg);
    }

    .hidden-test-card .shutter-label {
        font-size: 8px;
    }

    .hidden-test-card .shutter-handle {
        width: 25px;
        height: 4px;
    }

    /* INDIVIDUAL TESTS */

    .lab-test-card {
        padding: 13px 12px;
    }

    .lab-test-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        margin-right: 10px;
        border-radius: 11px;
        font-size: 19px;
    }

    .lab-test-copy h3 {
        font-size: 15px;
    }

    .lab-test-copy p {
        font-size: 10px;
    }

    .winner-preview {
        padding: 13px;
    }

    .winner-preview-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .winner-preview-copy h3 {
        font-size: 14px;
    }

    .winner-preview-copy p {
        font-size: 9.5px;
    }

    .connection-copy h2 {
        font-size: 18px;
    }

    .connection-copy p {
        font-size: 10px;
    }

    .lab-battle-button {
        font-size: 9px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .submission-card {
        grid-template-columns:
            40px minmax(0, 1fr);

        column-gap: 10px;

        padding: 15px 12px;
    }

    .submission-icon {
        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 19px;
    }

    .submission-card h2 {
        font-size: 22px;
    }

    .submission-card p {
        font-size: 10px;
    }

    .submission-button {
        font-size: 9px;
    }
}

/* =========================================================
ACCESSIBILITY
========================================================= */

.product-shutter:focus-visible,
.lab-product-card a:focus-visible,
.database-filter:focus-visible,
.featured-product-button:focus-visible,
.lab-battle-button:focus-visible,
.submission-button:focus-visible,
.lab-door-area:focus-visible {
    outline: 3px solid rgba(232, 154, 170, 0.42);
    outline-offset: 3px;
}

/* =========================================================
REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .lab-product-card,
    .database-filter,
    .featured-product-button,
    .product-buy-button,
    .product-shutter,
    .lab-battle-button,
    .submission-button,
    .shutter-door-left,
    .shutter-door-right,
    .shutter-center-content,
    .lab-test-card {
        transition: none;
    }

    .lab-product-card:hover,
    .database-filter:hover,
    .featured-product-button:hover,
    .product-buy-button:hover,
    .lab-battle-button:hover,
    .submission-button:hover,
    .lab-test-card:hover {
        transform: none;
    }
}