.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100px);
}

.footer {
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    background-color: #fafafa;
}

.button-list {
    display: flex;
    flex-wrap: wrap;
}

.button-list button {
    white-space: normal;
    word-wrap: break-word;
    margin: 0.25rem;
}

@media (max-width: 768px) {
    .button-list {
        flex-direction: column;
        width: 100%;
    }

    .button-list button {
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
        padding-top: 0.75em;
        padding-bottom: 0.75em;
        height: auto;
        line-height: 1.5;
    }

    /* Make breadcrumb links wrap properly on mobile */
    .breadcrumb ul {
        flex-wrap: wrap;
    }

    .breadcrumb li {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5;
    }

    .breadcrumb a {
        white-space: normal;
        word-wrap: break-word;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        line-height: 1.5;
    }

    /* Ensure all buttons have proper text wrapping and padding */
    .button {
        white-space: normal;
        word-wrap: break-word;
        padding-top: 0.75em;
        padding-bottom: 0.75em;
        height: auto;
        line-height: 1.5;
    }
}

/* Responsive video container for full-width YouTube embeds */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100vw;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Product suggestions grid for browsing multiple products */
.product-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .product-suggestions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
