/* Everyday Lillie – Remove sidebars from WooCommerce Shop & Product pages */
body.single-product #secondary,
body.single-product .sidebar,
body.single-product .sidebar-wrapper,
body.single-product .widget-area,
body.single-product aside,
body.post-type-archive-product #secondary,
body.post-type-archive-product .sidebar,
body.post-type-archive-product .sidebar-wrapper,
body.post-type-archive-product .widget-area,
body.post-type-archive-product aside {
    display: none !important;
}

/* Expand Shop & Product content to full width */
body.single-product #primary,
body.single-product .content-area,
body.post-type-archive-product #primary,
body.post-type-archive-product .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Hide product tags, comments-closed text, and Additional Information tab */
body.single-product .product_meta .tagged_as,
body.single-product .comments-closed,
body.single-product p.no-comments,
body.single-product .woocommerce-tabs .additional_information_tab,
body.single-product #tab-additional_information {
    display: none !important;
}
/* Everydaylillie – Additional Shop sidebar removal */
body.woocommerce-shop #sidebar,
body.woocommerce-shop #secondary,
body.woocommerce-shop .widget-area,
body.woocommerce-shop .sidebar {
    display: none !important;
}

body.woocommerce-shop #primary,
body.woocommerce-shop .content-area {
    width: 100% !important;
    max-width: 100% !important;
}
/* Expand Baskerville content on WooCommerce Shop */
body.woocommerce-shop .content {
    width: 100% !important;
    max-width: 100% !important;
}
/* Remove comments from WooCommerce product category archives */
body.tax-product_cat .comments,
body.tax-product_cat #comments,
body.tax-product_cat .comments-area,
body.tax-product_cat #respond {
    display: none !important;
}
/* WooCommerce product pages - remove sidebar and centre content */
.single-product #content {
    width: 100%;
    float: none;
}

.single-product .sidebar {
    display: none;
}

/* Give product pages a little more breathing room */
.single-product .section-inner {
    max-width: 1200px;
}
/* Display related seed varieties in a horizontal grid */
.single-product .related ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.single-product .related ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}