@font-face {
    font-family: "MyFont";
    src: url("/Fonts/Handlee-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

:root {
    --dark: #212529;
    --dark-secondary: #2b2b2b;
    --pink: rgb(252, 201, 209);
    --pink-light: #fff0f3;
    --background: #f8f9fa;
    --white: #ffffff;
    --muted: #666b70;
    --border: #e5e5e5;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

a:hover {
    text-decoration: none;
}

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

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 3px solid #b64f6b;
    outline-offset: 4px;
}

.page-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.site-logo {
    font-family: "MyFont", cursive;
    font-size: 30px;
    font-weight: bold;
    color: var(--dark);
}

.site-logo span {
    color: #b45c72;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.site-header nav a {
    font-size: 14px;
    font-weight: 600;
}

.site-header nav a:hover {
    color: #ad536c;
}

/* Hero */

.nursery-hero {
    background: linear-gradient(
        135deg,
        #fff1f3 0%,
        #fce2e6 65%,
        #ffffff 100%
    );

    padding: 90px 20px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: #9e5267;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nursery-hero h1 {
    margin: 0 0 20px;
    font-family: "MyFont", cursive;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.15;
}

.hero-description {
    max-width: 750px;
    margin: 0 auto 25px;
    color: #555;
    font-size: 19px;
}

.guide-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.guide-meta span {
    background: rgba(255, 255, 255, 0.8);
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 13px 25px;
    border: 2px solid var(--dark);
    border-radius: 8px;
    font-weight: bold;
    transition: 0.25s;
}

.button-primary {
    background: var(--dark);
    color: var(--white);
}

.button-secondary {
    background: var(--white);
    color: var(--dark);
}

.button-primary:hover {
    background: #41464b;
}

.button-secondary:hover {
    background: var(--pink);
}

/* Shared sections */

.guide-section {
    padding: 65px 0;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-family: "MyFont", cursive;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
}

.section-heading > p:last-child {
    margin: 0;
    color: var(--muted);
}

/* Category cards */

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

.category-card {
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: 0.25s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-icon {
    display: block;
    margin-bottom: 12px;
    font-size: 38px;
}

.category-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Essential furniture */

.furniture-card {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 25px;
    margin-bottom: 25px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.furniture-number {
    color: #c16b80;
    font-family: "MyFont", cursive;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.2;
}

.furniture-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.furniture-title-row h3 {
    margin: 0;
    font-size: 26px;
}

.furniture-status {
    padding: 5px 12px;
    background: var(--pink-light);
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
}

.guide-price {
    margin: 12px 0 15px;
    color: #b85f76;
    font-size: 24px;
    font-weight: 800;
}

.guide-price small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: normal;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.features-grid h4 {
    margin: 0 0 12px;
    font-size: 17px;
}

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

.check-list li {
    position: relative;
    padding: 0 0 11px 26px;
    color: #555;
    font-size: 14px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25805b;
    font-weight: bold;
}

/* Optional furniture */

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

.optional-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.optional-icon {
    font-size: 32px;
}

.optional-card h3 {
    margin: 12px 0 8px;
    font-size: 20px;
}

.optional-price {
    margin: 0 0 12px;
    color: #b85f76;
    font-size: 19px;
    font-weight: bold;
}

.optional-card > p {
    font-size: 14px;
}

.optional-tip {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

/* Safety banner */

.safety-banner {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 40px;
    background: var(--dark);
    border-radius: var(--radius);
    color: var(--white);
}

.safety-icon {
    font-size: 42px;
}

.safety-banner h2 {
    margin: 0 0 15px;
    font-size: 28px;
}

.safety-banner p {
    color: #e2e2e2;
}

.safety-banner a {
    color: var(--pink);
    font-weight: bold;
    text-decoration: underline;
}

/* Information cards */

.safety-grid,
.arrangement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.information-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.information-card h3 {
    margin: 0 0 18px;
    font-size: 21px;
}

.step-number {
    display: block;
    margin-bottom: 10px;
    color: #bf7185;
    font-size: 30px;
    font-weight: bold;
}

/* Database product sections */

.product-section {
    margin-bottom: 40px;
}

.product-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.product-section-heading h3 {
    margin: 0 0 5px;
    font-size: 24px;
}

.product-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.product-section-heading > a {
    color: #a45168;
    font-weight: bold;
    font-size: 14px;
}

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

.product-card {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 15px;
    background: #ffffff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 18px;
}

.product-brand {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 12px;
}

.product-details h4 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    min-height: 44px;
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.product-price {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 23px;
    font-weight: bold;
}

.product-retailer {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 12px;
}

.product-button {
    display: block;
    padding: 11px 12px;
    background: var(--dark);
    border-radius: 7px;
    color: var(--white);
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    transition: 0.25s;
}

.product-button:hover {
    background: #444a50;
}

.empty-products,
.notice {
    padding: 20px;
    background: var(--white);
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    color: var(--muted);
}

.empty-products a {
    color: #a45168;
    font-weight: bold;
}

.price-disclaimer {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}

/* Budget */

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

.budget-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.budget-subtitle {
    margin: 0 0 5px;
    color: #a45168;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.budget-card h3 {
    margin: 0 0 20px;
    font-size: 27px;
}

.budget-items {
    margin: 0 0 25px;
    padding-left: 20px;
}

.budget-items li {
    margin-bottom: 10px;
    font-size: 14px;
}

.budget-tip {
    margin: auto 0 0;
    padding: 15px;
    background: var(--pink-light);
    border-radius: 8px;
    font-size: 14px;
}

.budget-tip strong {
    display: block;
    margin-bottom: 5px;
}

/* Printable-style checklist */

.nursery-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checklist-item:has(input:checked) {
    background: #f1faf5;
}

.checklist-item input {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    accent-color: #27865e;
}

/* FAQs */

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-list details {
    margin-bottom: 12px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: bold;
}

.faq-list details p {
    margin-bottom: 0;
    color: var(--muted);
}

/* Related cards */

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

.related-card {
    display: block;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.25s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.related-card > span {
    font-size: 34px;
}

.related-card h3 {
    margin: 12px 0;
    font-size: 19px;
}

.related-card p {
    color: var(--muted);
    font-size: 14px;
}

.related-card strong {
    color: #a45168;
    font-size: 14px;
}

/* Reference section */

.guidance-sources {
    max-width: 850px;
    margin: 0 auto;
}

.guidance-sources h2 {
    font-size: 22px;
}

.guidance-sources p,
.guidance-sources li {
    color: var(--muted);
    font-size: 14px;
}

.guidance-sources a {
    color: #a45168;
    text-decoration: underline;
}

/* Footer */

.site-footer {
    margin-top: 40px;
    padding: 55px 0 20px;
    background: #000000;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h2 {
    font-family: "MyFont", cursive;
    font-size: 29px;
}

.footer-grid h3 {
    font-size: 17px;
}

.footer-grid p {
    max-width: 420px;
    color: #bbbbbb;
    font-size: 14px;
}

.footer-grid a {
    display: block;
    margin-bottom: 12px;
    color: #dddddd;
    font-size: 14px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    margin: 0;
    color: #aaaaaa;
    font-size: 12px;
}

/* Tablet */

@media (max-width: 1024px) {

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

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

}

/* Small tablets */

@media (max-width: 767px) {

    .nursery-hero {
        padding: 65px 15px;
    }

    .guide-section {
        padding: 45px 0;
    }

    .site-header-inner {
        justify-content: center;
        text-align: center;
    }

    .site-header nav {
        justify-content: center;
        gap: 15px;
    }

    .furniture-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px;
    }

    .features-grid,
    .safety-grid,
    .arrangement-grid,
    .budget-grid {
        grid-template-columns: 1fr;
    }

    .safety-banner {
        padding: 28px;
        flex-direction: column;
    }

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

}

/* Mobile */

@media (max-width: 550px) {

    .page-container {
        width: calc(100% - 30px);
    }

    .nursery-hero h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 16px;
    }

    .category-grid,
    .optional-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .product-image {
        height: 150px;
        padding: 10px;
    }

    .product-details {
        padding: 12px;
    }

    .product-price {
        font-size: 19px;
    }

    .product-details h4 {
        font-size: 13px;
    }

    .nursery-checklist {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* Very small phones */

@media (max-width: 400px) {

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

    .product-image {
        height: 210px;
    }

}
