/**
 * Homepage Block Patterns Styles
 * 
 * @package Blocksy_Child_SciuuusKids
 * @version 1.0.0
 */

/* ==========================================================================
   Delivery Banner Pattern
   ========================================================================== */

.delivery-banner,
.delivery-banner.wp-block-group,
.delivery-banner.alignfull {
    background: var(--brand-green) !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure parent containers don't constrain the banner */
.entry-content .delivery-banner,
.ct-container .delivery-banner,
.ct-container-full .delivery-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.delivery-banner p {
    color: var(--brand-white) !important;
    font-family: var(--font-primary);
    font-size: 22px !important;
    font-weight: var(--font-weight-semibold) !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    line-height: 1.2;
}

/* ==========================================================================
   Hero Section Main Pattern
   ========================================================================== */

.hero-section-main {
    background: var(--brand-white) !important;
    padding: 60px 20px !important;
    text-align: center;
}

.hero-section-main h1,
.hero-section-main h2 {
    font-family: var(--font-display) !important;
    font-weight: var(--font-weight-normal) !important;
    color: var(--brand-gray-dark) !important;
    text-align: center;
    margin-top: 0 !important;
}

.hero-section-main h1 {
    font-size: var(--font-size-h1) !important;
    margin-bottom: 20px !important;
}

.hero-section-main h2 {
    font-size: var(--font-size-h2) !important;
    margin-bottom: 20px !important;
}

.hero-section-main .wp-block-button__link {
    background: var(--brand-orange) !important;
    color: var(--brand-white) !important;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    padding: 12px 25px;
    border-radius: var(--radius-base);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.hero-section-main .wp-block-button__link:hover {
    background: var(--brand-dark) !important;
}

/* Hero images layout */
.hero-section-main .wp-block-columns {
    margin-top: 40px;
    align-items: center;
}

.hero-section-main .main-hero-image {
    text-align: center;
}

.hero-section-main .main-hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: none;
    margin: 0 auto;
}

.hero-section-main .decorative-image {
    text-align: center;
}

.hero-section-main .decorative-image img {
    max-width: 100%;
    height: auto;
    box-shadow: none;
}

.hero-section-main .small-decorative {
    margin-bottom: 10px;
}

.hero-section-main .small-decorative img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: none;
    margin: 0 auto;
}

.hero-section-main .balloon-decorative img {
    max-width: 300px;
    height: auto;
    box-shadow: none;
}

/* ==========================================================================
   Hero Section Simple Pattern (New - Clean Version)
   ========================================================================== */

.hero-section-simple {
    background: var(--brand-white) !important;
    padding: 60px 20px !important;
}

.hero-section-simple h1,
.hero-section-simple h2 {
    font-family: var(--font-display) !important;
    font-weight: var(--font-weight-normal) !important;
    color: var(--brand-gray-dark) !important;
    text-align: center !important;
    margin-top: 0 !important;
}

.hero-section-simple h1 {
    font-size: var(--font-size-h1) !important;
    margin-bottom: 20px !important;
}

.hero-section-simple h2 {
    font-size: var(--font-size-h2) !important;
    margin-bottom: 20px !important;
}

.hero-section-simple .wp-block-buttons {
    margin-bottom: 40px !important;
}

.hero-section-simple .wp-block-button__link {
    background: var(--brand-orange) !important;
    color: var(--brand-white) !important;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    padding: 12px 25px;
    border-radius: var(--radius-base);
    text-decoration: none;
    transition: background var(--transition-fast);
    display: inline-block;
}

.hero-section-simple .wp-block-button__link:hover {
    background: var(--brand-dark) !important;
}

.hero-section-simple .hero-main-image {
    text-align: center;
    margin: 0 auto;
}

.hero-section-simple .hero-main-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

/* ==========================================================================
   Hero Section Background Image Pattern (Elementor Match)
   ========================================================================== */

.hero-section-bg {
    position: relative;
    min-height: 75vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Hero background image - ADJUST THESE VALUES */
.hero-section-bg .wp-block-cover__image-background,
.hero-section-bg .hero-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* POSITION: object-position controls which part of image is visible (like a mask) */
    /* 85% = show lower portion of image (shoes). Adjust: 50% = center, 100% = very bottom */
    object-position: center 95% !important;
    z-index: 0 !important;
}

/* Hero Lira variant - centered image positioning */
.hero-section-bg-lira .wp-block-cover__image-background,
.hero-section-bg-lira .hero-bg-image {
    object-position: center center !important;
}

/* Cover block background overlay */
.hero-section-bg .wp-block-cover__background {
    background-color: #FAFAFA !important;
    opacity: 0.2 !important;
}

/* Inner content container */
.hero-section-bg .wp-block-cover__inner-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    /* Subtle dark backdrop for text readability */
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 75%) !important;
    padding: 40px 60px !important;
    border-radius: 20px;
}

/* H1 - Radio Canada Bold Uppercase */
.hero-section-bg h1 {
    font-family: 'Radio Canada', var(--font-primary), sans-serif !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    /* Enhanced text shadow for better contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.4) !important;
    line-height: 1.2;
}

/* H2 - Quicksand/REM Italic Lowercase */
.hero-section-bg h2 {
    font-family: 'Quicksand', var(--font-primary), sans-serif !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    text-transform: lowercase !important;
    letter-spacing: 2.5px !important;
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    /* Enhanced text shadow for better contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.3;
}

/* Divider - White zigzag pattern */
.hero-section-bg .hero-divider {
    border-color: #ffffff !important;
    max-width: 40px;
    margin: 20px auto !important;
    height: 2px;
}

/* Button - Teal with orange border */
.hero-section-bg .wp-block-button__link {
    background: var(--brand-green) !important;
    color: #ffffff !important;
    font-family: 'Lato', var(--font-primary), sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.8px !important;
    padding: 15px 45px !important;
    border: 2px solid #D86A01 !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    display: inline-block;
}

.hero-section-bg .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section-bg {
        min-height: 60vh !important;
        padding: 50px 20px !important;
    }
    
    .hero-section-bg h1 {
        font-size: 42px !important;
    }
    
    .hero-section-bg h2 {
        font-size: 22px !important;
    }
    
    .hero-section-bg .wp-block-cover__inner-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section-bg {
        padding: 40px 10px !important;
    }
    
    .hero-section-bg h1 {
        font-size: 36px !important;
        letter-spacing: 2px !important;
    }
    
    .hero-section-bg h2 {
        font-size: 18px !important;
        letter-spacing: 1.5px !important;
    }
    
    .hero-section-bg .wp-block-button__link {
        font-size: 12px !important;
        padding: 12px 30px !important;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    .delivery-banner p {
        font-size: 18px !important;
    }
    
    .hero-section-main {
        padding: 40px 20px !important;
    }
    
    .hero-section-main h1 {
        font-size: calc(var(--font-size-h1) * 0.8) !important;
    }
    
    .hero-section-main h2 {
        font-size: calc(var(--font-size-h2) * 0.85) !important;
    }
    
    .hero-section-main .wp-block-columns {
        flex-direction: column;
    }
    
    .hero-section-main .small-decorative {
        display: inline-block;
        margin: 5px;
    }
    
    .hero-section-main .small-decorative img {
        width: 100px;
        height: 100px;
    }
    
    .hero-section-main .balloon-decorative img {
        max-width: 200px;
    }
    
    /* Hero Simple Responsive */
    .hero-section-simple {
        padding: 40px 20px !important;
    }
    
    .hero-section-simple h1 {
        font-size: calc(var(--font-size-h1) * 0.8) !important;
    }
    
    .hero-section-simple h2 {
        font-size: calc(var(--font-size-h2) * 0.85) !important;
    }
}

@media (max-width: 480px) {
    .delivery-banner p {
        font-size: 16px !important;
    }
    
    .hero-section-main h1 {
        font-size: calc(var(--font-size-h1) * 0.7) !important;
    }
    
    .hero-section-main h2 {
        font-size: calc(var(--font-size-h2) * 0.75) !important;
    }
    
    .hero-section-main .small-decorative img {
        width: 80px;
        height: 80px;
    }
    
    .hero-section-main .balloon-decorative img {
        max-width: 150px;
    }
    
    /* Hero Simple Responsive */
    .hero-section-simple h1 {
        font-size: calc(var(--font-size-h1) * 0.7) !important;
    }
    
    .hero-section-simple h2 {
        font-size: calc(var(--font-size-h2) * 0.75) !important;
    }
    
    .hero-section-simple .wp-block-button__link {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* ==========================================================================
   Motto Section Pattern
   ========================================================================== */

.motto-section {
    position: relative;
    background: #F5C6D5 !important;
    margin: 0 !important;
    min-height: 275px !important;
    max-height: 275px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

/* Pink overlay */
.motto-section .wp-block-cover__background {
    background-color: #D1355B !important;
    opacity: 0.2 !important;
}

.motto-section h2 {
    font-family: var(--font-display) !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

/* Responsive padding adjustments */
@media (max-width: 1024px) {
    .motto-section {
        min-height: 200px !important;
        max-height: 200px !important;
    }
}

@media (max-width: 768px) {
    .motto-section {
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .motto-section h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    .motto-section {
        min-height: 150px !important;
        max-height: 150px !important;
        padding: 0 15px !important;
    }
    
    .motto-section h2 {
        font-size: 28px !important;
    }
}

/* ==========================================================================
   Why Barefoot Section Pattern
   ========================================================================== */

.why-barefoot-section {
    position: relative;
    background: #EBF6FF !important;
    margin: 0 !important;
}

/* Orange overlay */
.why-barefoot-section .wp-block-cover__background {
    background-color: #FF7C00 !important;
    opacity: 0.5 !important;
}

.why-barefoot-section .wp-block-cover__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.why-barefoot-section h2 {
    font-family: var(--font-primary) !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-align: center !important;
    display: inline-block !important;
    margin: 0 0 20 0!important;
    padding: 0 0 20 0 !important;
    background-color: #f5b97f !important;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .why-barefoot-section {
        padding: 60px 20px 20px !important;
    }
}

@media (max-width: 768px) {
    .why-barefoot-section {
        padding: 60px 20px 20px !important;
    }
    
    .why-barefoot-section h2 {
        font-size: 26px !important;
        padding: 15px 30px !important;
    }
}

@media (max-width: 480px) {
    .why-barefoot-section {
        padding: 60px 20px 20px !important;
    }
    
    .why-barefoot-section h2 {
        font-size: 28px !important;
        padding: 12px 25px !important;
    }
}

/* Feature Cards */
.why-barefoot-section .wp-block-columns {
    margin-bottom: 0 !important;
}

.why-barefoot-section .wp-block-column {
    background: #ffffff !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px !important;
}

/* Remove box shadow completely */
.why-barefoot-section .wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
}

/* Perche card image styling */
.why-barefoot-section .perche-card-image {
    margin: 0 auto 20px !important;
    text-align: center !important;
}

.why-barefoot-section .perche-card-image img {
    width: 225px !important;
    height: 225px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.why-barefoot-section .wp-block-column h3 {
    font-family: var(--font-primary) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

.why-barefoot-section .wp-block-column p {
    font-family: var(--font-primary) !important;
    font-size: 16px !important;
    color: #333333 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Responsive card layout */
@media (max-width: 1024px) {
    .why-barefoot-section .perche-card-image img {
        width: 180px !important;
        height: 180px !important;
    }

    .why-barefoot-section .wp-block-column h3 {
        font-size: 22px !important;
    }

    .why-barefoot-section .wp-block-column p {
        font-size: 15px !important;
    }
}

@media (max-width: 768px) {
    .why-barefoot-section .wp-block-columns {
        flex-direction: column !important;
    }

    .why-barefoot-section .wp-block-column {
        margin-bottom: 30px !important;
    }

    .why-barefoot-section .perche-card-image img {
        width: 160px !important;
        height: 160px !important;
    }

    .why-barefoot-section .wp-block-column h3 {
        font-size: 20px !important;
    }

    .why-barefoot-section .wp-block-column p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .why-barefoot-section .perche-card {
        padding: 30px 20px 20px !important;
    }

    .why-barefoot-section .perche-card-image img {
        width: 140px !important;
        height: 140px !important;
    }

    .why-barefoot-section .wp-block-column h3 {
        font-size: 18px !important;
    }
}

/* ==========================================================================
   About Story Section Pattern
   ========================================================================== */

.about-story-section {
    position: relative;
    background: #009285 !important;
    margin: 0 !important;
}

.about-story-section .wp-block-cover__background {
    background-color: #009285 !important;
    opacity: 1 !important;
}

.about-story-section .wp-block-cover__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}

.about-story-section h2 {
    font-family: var(--font-primary) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: 30px !important;
    line-height: 1.3 !important;
}

.about-story-section p {
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #FFFFFF !important;
    margin-bottom: 15px !important;
    text-align: justify !important;
}

.about-story-section .story-image img {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-story-section {
        padding: 60px 30px !important;
    }

    .about-story-section h2 {
        font-size: 30px !important;
    }

    .about-story-section p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .about-story-section {
        padding: 50px 20px !important;
    }

    .about-story-section .wp-block-columns {
        flex-direction: column !important;
    }

    .about-story-section .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .about-story-section h2 {
        font-size: 26px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .about-story-section p {
        font-size: 16px !important;
    }

    .about-story-section .story-image {
        margin-top: 30px !important;
    }
}

@media (max-width: 480px) {
    .about-story-section {
        padding: 40px 15px !important;
    }

    .about-story-section h2 {
        font-size: 22px !important;
    }

    .about-story-section p {
        font-size: 15px !important;
    }
}

/* ==========================================================================
   Best Selling Products Section (Homepage Product Collection)
   ========================================================================== */

/* Ensure homepage product collections match archive styles */
.home .wp-block-woocommerce-product-collection,
.page .wp-block-woocommerce-product-collection {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
}

/* Product grid layout */
.home .wc-block-product-template,
.page .wc-block-product-template,
.home ul.wc-block-product-template,
.page ul.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 30px auto !important;
    max-width: 1200px !important;
    width: 100% !important;
}

/* Override inline width styles */
.home .wp-block-woocommerce-product-collection[style*="width"],
.page .wp-block-woocommerce-product-collection[style*="width"] {
    width: 100% !important;
    max-width: 1400px !important;
}

.home .wc-block-product-template[style*="width"],
.page .wc-block-product-template[style*="width"] {
    width: 100% !important;
    max-width: 1200px !important;
}

/* Product cards */
.home .wc-block-product-template li.wc-block-product,
.page .wc-block-product-template li.wc-block-product,
.home li.wc-block-product,
.page li.wc-block-product {
    background: var(--brand-white, #fff) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    min-height: 450px !important;
    height: 100% !important; /* Fill grid cell to ensure consistent row heights */
}

.home .wc-block-product:hover,
.page .wc-block-product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Product image */
.home .wc-block-components-product-image,
.page .wc-block-components-product-image {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.home .wc-block-components-product-image img,
.page .wc-block-components-product-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.8s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .wc-block-product:hover .wc-block-components-product-image img,
.page .wc-block-product:hover .wc-block-components-product-image img {
    transform: scale(1.05) !important;
}

/* Product title */
.home .wc-block-product h2.wp-block-post-title,
.page .wc-block-product h2.wp-block-post-title {
    font-family: var(--font-primary, Quicksand) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 20px 20px 10px !important;
    padding: 0 !important;
    color: var(--brand-black, #000) !important;
    line-height: 1.4 !important;
    text-align: center !important;
    background: transparent !important;
}

.home .wc-block-product h2.wp-block-post-title a,
.page .wc-block-product h2.wp-block-post-title a {
    color: var(--brand-black, #000) !important;
    text-decoration: none !important;
}

.home .wc-block-product h2.wp-block-post-title a:hover,
.page .wc-block-product h2.wp-block-post-title a:hover {
    color: var(--brand-orange, #FC7D06) !important;
}

/* Product price */
.home .wc-block-product .wp-block-woocommerce-product-price,
.page .wc-block-product .wp-block-woocommerce-product-price {
    margin: 0 20px 15px !important;
    padding: 0 !important;
    background: transparent !important;
}

.home .wc-block-product .wc-block-components-product-price,
.page .wc-block-product .wc-block-components-product-price {
    font-family: var(--font-primary, Quicksand) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--brand-black, #000) !important;
    text-align: center !important;
}

/* Add to cart button */
.home .wc-block-product .wc-block-components-product-button,
.page .wc-block-product .wc-block-components-product-button {
    margin: 0 20px 20px !important;
    padding: 0 !important;
    background: transparent !important;
    margin-top: auto !important;
}

.home .wc-block-product .wp-block-button__link,
.page .wc-block-product .wp-block-button__link,
.home .wc-block-product .wc-block-components-product-button__button,
.page .wc-block-product .wc-block-components-product-button__button {
    display: block !important;
    width: 100% !important;
    background-color: var(--brand-orange, #FC7D06) !important;
    color: var(--brand-white, #fff) !important;
    padding: 14px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-family: var(--font-primary, Quicksand) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.home .wc-block-product .wp-block-button__link:hover,
.page .wc-block-product .wp-block-button__link:hover,
.home .wc-block-product .wc-block-components-product-button__button:hover,
.page .wc-block-product .wc-block-components-product-button__button:hover {
    background-color: #e06d05 !important;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .home .wc-block-product-template,
    .page .wc-block-product-template,
    .home ul.wc-block-product-template,
    .page ul.wc-block-product-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .home .wc-block-product-template,
    .page .wc-block-product-template,
    .home ul.wc-block-product-template,
    .page ul.wc-block-product-template {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 20px auto !important;
    }

    .home .wc-block-product h2.wp-block-post-title,
    .page .wc-block-product h2.wp-block-post-title {
        font-size: 16px !important;
        margin: 15px 15px 8px !important;
    }

    .home .wc-block-product .wc-block-components-product-price,
    .page .wc-block-product .wc-block-components-product-price {
        font-size: 24px !important;
        margin: 0 15px 12px !important;
    }

    .home .wc-block-product .wc-block-components-product-button,
    .page .wc-block-product .wc-block-components-product-button {
        margin: 0 15px 15px !important;
    }
}

