/*
Theme Name: WoosonTheme KlickBricks
Theme URI: https://sonderformat.llc
Author: SONDERFORMAT.LLC, Michael Roth
Author URI: https://sonderformat.llc
Description: Klickbricks Child theme for WoosonTheme
Version: 1.1.5
Template: woosontheme
Text Domain: woosonthemekb
Tags: responsive, e-commerce, WooCommerce, high performance, slick
Tested: 10.0.0
Premium: true
*/

.lego_warning {
    padding: 1em;
    margin: 1em;
    border: 2px solid #ffcf00;
    border-radius: 0.5em;
    display: block;
}

table.product-attributes {

}
table.product-attributes tr {

}
table.product-attributes td {
    padding-top: 0.5em;
    padding-right: 0.5em;
}

.product_meta_extras {
    display: flex;
}

woostats_frontend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.1em;
}

@media (max-width: 1017px) {
    div#site-wrap {
        padding-top: 7em;
    }
}

@media (max-width: 600px) {
    div#site-wrap {
        padding-top: 9em;
    }

    div#branding {
        flex: 1 1 10rem;
    }
}
.same-design-products {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0.75rem;
}
.same-design-products .same-design-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Responsive flexible cards: min width ~120px, grow to fill */
    flex: 1 1 140px;
    max-width: 180px;
}
.same-design-products .same-design-thumb img {
    /* Make thumbnails 50% smaller visually without changing src size */
    height: auto;
    display: block;
}
.same-design-products .same-design-color {
    margin-top: 6px;
    font-size: 0.85em;
    line-height: 1.2;
    text-align: center;
    color: #333;
}

/* Small screens: tighter grid */
@media (max-width: 600px) {
    .same-design-products {
        gap: 10px;
    }
    .same-design-products .same-design-item {
        flex: 1 1 120px;
        max-width: 150px;
    }
}

/* Ensure container follows product meta width */
.product_meta .same-design-products {
    width: 100%;
}

article.page {
    padding-left: 1em;
    padding-right: 1em;
}

/* Flexshipping Patch */
@media (min-width: 980px) {
    body.woocommerce-cart .woocommerce {
        display: block;
        grid-template-columns: 2fr 1fr;
        gap: 24px;
        align-items: start;
    }
}