/*
 * Hide Rugs Revised Styles (child-theme overrides)
 * Keeps parent CSS untouched while we iterate design changes.
 */

:root {
    --hr-cream-25: #fcfaf7;
    --hr-cream-50: #f7f3ee;
    --hr-stone-50: #f4f0eb;
    --hr-stone-100: #e8dfd4;
    --hr-stone-200: #d8ccbe;
    --hr-stone-500: #6e665d;
    --hr-ink-900: #2a241f;
}

/* --------------------------------------------------
   Global Background Colors (Warm Luxury Palette)
-------------------------------------------------- */
body, #content, .site-content, .container-wrap {
    background-color: var(--hr-cream-25) !important;
}

/* Update standard grey sections to a warm stone */
.bg-grey, .bg-gray, section.grey, .section-bg-grey, section#woocommerce-category-promotion, section#latest-posts {
    background-color: var(--hr-stone-50) !important;
}

body.page-template-template-category-landing section#main-content .container .row-content .section-body {
    background-color: transparent !important;
}

/* --------------------------------------------------
   Global Typography Overrides (New Luxury Font Pairing)
-------------------------------------------------- */

/* Headings: Playfair Display */
h1, h2, h3, h4, h5, h6,
.slider-super,
.block-woocommerce-category h3,
.block-woocommerce-category-2 h3,
.page-title,
.woocommerce-loop-product__title,
.product_title,
.widget-title {
    font-family: 'Playfair Display', serif !important;
}

/* Specific heading weights for Playfair Display (elegant style) */
h1, h2, .slider-super {
    font-weight: 400 !important;
}
h3, h4, h5, h6, .block-woocommerce-category h3, .block-woocommerce-category-2 h3, .woocommerce-loop-product__title, .widget-title {
    font-weight: 500 !important;
}

/* Global Size Bumps for Playfair Display (compensates for small x-height) */
h1, .page-title, .product_title { font-size: 36px; line-height: 42px; }
h2 { font-size: 32px; line-height: 38px; }
h3, .widget-title { font-size: 22px; line-height: 28px; }
h4 { font-size: 20px; line-height: 26px; }
h5, .woocommerce-loop-product__title { font-size: 18px !important; line-height: 24px !important; }
h6 { font-size: 16px; line-height: 22px; }

@media (max-width: 1199px) {
    h1, .page-title, .product_title { font-size: 30px; line-height: 36px; }
    h2 { font-size: 28px; line-height: 34px; }
    .woocommerce-loop-product__title { font-size: 16px !important; line-height: 22px !important; }
}

@media (max-width: 759px) {
    h1, .page-title, .product_title { font-size: 30px; line-height: 36px; }
    h2, .section-title h2 { font-size: 28px !important; line-height: 34px !important; }
    .woocommerce-loop-product__title { font-size: 16px !important; line-height: 22px !important; }
}

/* Body / UI: Raleway */
body, p, a, div, span, li, button, input, select, textarea,
.slider-category,
.header-menu-mega .header-menu > ul > li > a,
.mobile-menu-label,
section#underbar .underbar-title,
section#underbar .underbar-subtitle,
.price, .amount,
.button, .btn {
    font-family: 'Raleway', sans-serif !important;
}

/* --------------------------------------------------
   Global Header Overrides
-------------------------------------------------- */
header .header-icon-block #header-icons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keep the icons to the right as they were floated left but container is usually right-aligned */
    height: 100%;
}

/* Ensure perfect vertical alignment for icon wrappers and input */
header .header-icon-block #header-icons-container > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    float: none !important; /* disable tundra float so flex works cleanly */
}

header .header-icon-block #header-icons-container,
header .header-icon-block #header-icons-container .header-icon {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* --------------------------------------------------
   1) Desktop Mega Menu Refinement (>=1200px)
-------------------------------------------------- */
@media only screen and (min-width: 1200px) {
    .header-menu-mega {
        margin-top: 0;
        min-height: 56px;
        height: auto;
        background-color: #fff;
        border-top: 1px solid var(--hr-stone-100);
        border-bottom: 1px solid var(--hr-stone-100);
        box-shadow: none;
        position: relative; /* context for full-width absolute dropdowns */
    }

    .header-menu-mega:before {
        display: none;
    }

    /* Force parent static so absolute children position relative to the ul */
    .header-menu-mega .header-menu {
        position: static !important;
    }

    .header-menu-mega .header-menu > ul {
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none;
        display: flex !important;
        justify-content: center;
        align-items: stretch;
        width: fit-content !important;    /* shrink-wrap to children so dropdown matches exactly */
        max-width: 100%;       /* never exceed viewport */
        position: static !important;    /* MUST BE STATIC for dropdown to span full viewport */
    }

    .header-menu-mega .header-menu > ul > li,
    .header-menu-mega.mega .header-menu > ul > li {
        display: flex;
        align-items: stretch;
        position: static !important;
        height: auto;
        padding: 0 !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .header-menu-mega .header-menu > ul > li > a,
    .header-menu-mega.stacked .header-menu > ul > li > a {
        min-width: auto;
        min-height: 56px;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 28px !important; /* Force padding on all items, overriding Tundra's 0px on first/last */
        color: var(--hr-ink-900);
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .header-menu-mega .header-menu > ul > li:hover,
    .header-menu-mega.mega .header-menu > ul > li:hover {
        background-color: var(--hr-cream-50);
    }

    .header-menu-mega .header-menu > ul > li:hover > a,
    .header-menu-mega.mega .header-menu > ul > li:hover > a,
    .header-menu-mega.stacked .header-menu > ul > li:hover > a {
        color: #1f1a16;
    }

    .header-menu-mega.mega .header-menu > ul > li:hover > a:before {
        display: none;
    }

    .header-menu-mega .header-menu > ul > li > div.menu-toggle-view {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1200;
        background-color: #fff;
        border-top: 1px solid var(--hr-stone-100);
        border-bottom: 1px solid var(--hr-stone-100);
        box-shadow: 0 14px 30px rgba(42, 36, 31, 0.08);
    }

    .header-menu-mega .header-menu > ul > li ul.sub-menu.depth-0 {
        padding: 20px 15px 22px;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: flex-start;
    }

    .header-menu-mega .header-menu > ul > li ul.sub-menu.depth-0 > li {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .header-menu-mega .header-menu > ul > li ul.sub-menu.depth-0 > li > a {
        color: #2f2821;
        padding-bottom: 8px;
    }

    .header-menu-mega .header-menu > ul > li ul.sub-menu.depth-0 li > a:hover {
        color: #8a7c6d;
    }
}

@media only screen and (min-width: 1300px) {
    .header-menu-mega .header-menu > ul > li > a,
    .header-menu-mega.stacked .header-menu > ul > li > a {
        padding-left: 34px !important;
        padding-right: 34px !important;
    }
}

/* --------------------------------------------------
   Global Icon Border Overrides
-------------------------------------------------- */
@media only screen and (min-width: 760px) {
    /* Restore border for the actual Search Input Box on desktop */
    header .header-icon-block #header-icons-container .header-icon.search-input-container {
        border: 1px solid #EAEAEA !important;
        border-radius: 4px; /* gives it a softer look matching the new theme */
    }
}

/* --------------------------------------------------
   2) Underbar (4 feature icons) — Minimalist centred layout
   Desktop: 4-col row · Tablet/Mobile: 2×2 grid
   NO borders, NO dividers — clean & modern
-------------------------------------------------- */

/* ── Base ─────────────────────────────────────────── */
section#underbar {
    background: transparent !important;
    margin: 0 0 clamp(24px, 3vw, 40px);
    padding: 0;
    border: none;
}

/* Kill any legacy parent-theme ticker animation/positioning */
section#underbar .row,
section#underbar .bullet-wrapper {
    animation: none !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
}

/* ── Grid ─────────────────────────────────────────── */
section#underbar .underbar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

/* ── Each item ────────────────────────────────────── */
section#underbar .underbar-item {
    position: relative;
}

section#underbar .underbar-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0;
    width: 100%;
    padding: 20px 12px;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a.underbar-inner:hover {
    opacity: 0.7;
}

/* ── Icon ─────────────────────────────────────────── */
section#underbar .underbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-ink-900, #1a1a1a);
    margin-right: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* ── Text Container ───────────────────────────────── */
section#underbar .underbar-text {
    display: flex;
    flex-direction: column;
}

section#underbar .underbar-svg {
    display: block;
    width: 28px;
    height: 28px;
}

section#underbar .underbar-svg--star path {
    fill: transparent !important;
}

/* ── Title ────────────────────────────────────────── */
section#underbar .underbar-title {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    color: var(--hr-ink-900, #1a1a1a);
    letter-spacing: 0.01em;
}

/* ── Subtitle ─────────────────────────────────────── */
section#underbar .underbar-subtitle {
    font-weight: 400;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--hr-stone-500, #888);
    margin-top: 0;
}

/* ── Tablet / Mobile (< 768px) — 2×2 grid ────────── */
/* Default grid-template-columns: repeat(2,1fr) handles this */

@media only screen and (max-width: 767px) {
    section#underbar {
        margin-top: 0;
        margin-bottom: 16px;
    }

    section#underbar .underbar-inner {
        padding: 36px 12px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    section#underbar .underbar-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    section#underbar .underbar-svg {
        width: 26px;
        height: 26px;
    }

    section#underbar .underbar-title {
        font-size: 12.5px;
    }

    section#underbar .underbar-subtitle {
        font-size: 10.5px;
    }
}

/* ── Desktop (≥ 768px) — 4-col single row ─────────── */
@media only screen and (min-width: 768px) {
    section#underbar .underbar-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    section#underbar .underbar-inner {
        padding: 28px 10px;
        gap: 10px;
    }

    section#underbar .underbar-svg {
        width: 36px;
        height: 36px;
    }

    section#underbar .underbar-title {
        font-size: 14px;
    }

    section#underbar .underbar-subtitle {
        font-size: 12px;
    }
}

/* ── Large desktop (≥ 1200px) — more breathing room ─ */
@media only screen and (min-width: 1200px) {
    section#underbar .underbar-inner {
        padding: 36px 16px;
        gap: 12px;
    }

    section#underbar .underbar-svg {
        width: 44px;
        height: 44px;
    }

    section#underbar .underbar-title {
        font-size: 16px;
    }

    section#underbar .underbar-subtitle {
        font-size: 13px;
    }
}

/* ── Context-specific margin overrides ────────────── */
body.woocommerce section#underbar,
body.single-post section#underbar,
body.category section#underbar,
body.blog section#underbar {
    margin-bottom: 24px;
}

/* --------------------------------------------------
   3) Desktop Menu – Centred Items + Aligned Dropdowns (>=1200px)
   Items are naturally sized & centred via fit-content width on <ul>.
   Dropdowns position relative to the <ul> (li is static).
   Hover background transitions smoothly; no border-radius.
-------------------------------------------------- */
@media only screen and (min-width: 1200px) {

    .header-menu-mega .header-menu > ul > li,
    .header-menu-mega.mega .header-menu > ul > li {
        transition: background-color 0.2s ease;
    }

    /* Kill the ::before coloured-bar effect from parent .mega hover */
    .header-menu-mega.mega .header-menu > ul > li:hover > a:before,
    .header-menu-mega.mega .header-menu > ul > li:first-child:hover > a:before,
    .header-menu-mega.mega .header-menu > ul > li:last-child:hover > a:before {
        display: none !important;
    }

    /* Ensure dropdown panels still escape the overflow */
    .header-menu-mega .header-menu > ul > li > div.menu-toggle-view {
        overflow: visible;
        border-radius: 0;
    }
}

/* --------------------------------------------------
   4) Mobile Menu – Modern Light Redesign (<1200px)
   Replaces the dark "Categories" bar with a clean,
   light-themed mobile menu that matches the site's
   new cream / white aesthetic.
-------------------------------------------------- */
@media only screen and (max-width: 1199px) {

    /* ---- Toggle-bar (collapsed state) ---- */
    section#header-mobile-menu {
        display: block;
        background-color: #fff;
        color: var(--hr-ink-900, #2a241f);
        border-top: 1px solid #EAEAEA;
        border-bottom: 1px solid #EAEAEA;
        min-height: 0;
        line-height: 1;
        font-size: 14px;
        font-weight: 600;
    }

    section#header-mobile-menu > .container > .row > .col {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding-top: 0;
        padding-bottom: 0;
        color: var(--hr-ink-900, #2a241f);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        cursor: pointer;
        line-height: 52px;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Label with hamburger icon */
    section#header-mobile-menu .mobile-menu-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13.5px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    section#header-mobile-menu .mobile-menu-hamburger {
        display: inline-block;
        vertical-align: middle;
        color: var(--hr-ink-900, #2a241f);
        opacity: 0.7;
    }

    /* Arrow – override parent's white SVG with a dark chevron */
    section#header-mobile-menu .mobile-menu-arrow.main {
        float: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: var(--hr-cream-50, #f7f3ee);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232a241f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 14px 14px;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.2s ease;
    }

    section#header-mobile-menu .mobile-menu-arrow.main:hover {
        background-color: var(--hr-stone-100, #e8dfd4);
    }

    section#header-mobile-menu .mobile-menu-arrow.main.rotate {
        transform: rotate(180deg);
    }

    /* ---- Expanded panel ---- */
    section#header-mobile-menu #header-mobile-menu-main {
        background-color: #fff;
        color: var(--hr-ink-900, #2a241f);
        width: 100%;
        border-top: 1px solid #EAEAEA;
    }

    section#header-mobile-menu #header-mobile-menu-main a {
        color: var(--hr-ink-900, #2a241f);
        display: inline-block;
        width: calc(100% - 30px);
        font-weight: 500;
        font-size: 14px;
        line-height: 1.4;
        transition: color 0.2s ease;
    }

    section#header-mobile-menu #header-mobile-menu-main a:hover {
        color: var(--hr-stone-500, #6e665d);
    }

    section#header-mobile-menu #header-mobile-menu-main ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    /* Top-level menu-item divs (direct children of ul) */
    section#header-mobile-menu #header-mobile-menu-main ul > div {
        border-bottom: 1px solid #EAEAEA;
    }

    section#header-mobile-menu #header-mobile-menu-main ul > div:last-child {
        border-bottom: none;
    }

    /* Every .menu-item row gets a consistent min-height & line-height */
    section#header-mobile-menu #header-mobile-menu-main .menu-item > .container > .row > .col {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding-top: 6px;
        padding-bottom: 6px;
        line-height: 1.4;
        position: relative;
    }

    /* Parent items with children – entire row is the click target */
    section#header-mobile-menu #header-mobile-menu-main .menu-item-has-children > .container > .row > .col {
        cursor: pointer;
    }

    /* Sub-menu panels */
    section#header-mobile-menu #header-mobile-menu-main ul > div > div.sub-menu {
        padding-left: 20px;
        background-color: var(--hr-cream-25, #fcfaf7);
    }

    section#header-mobile-menu #header-mobile-menu-main ul > div > div.sub-menu.depth-1 {
        font-weight: 400;
    }

    /* Sub-menu item borders – clean dividers between child items 
       Apply to the .menu-item with a negative margin to counteract the 
       20px left padding on .sub-menu, ensuring the border spans full width. */
    section#header-mobile-menu #header-mobile-menu-main .sub-menu .menu-item {
        border-top: 1px solid #EAEAEA;
        margin-left: -20px;
        padding-left: 20px;
    }

    /* Kill the parent theme's ::after pseudo-element borders that bleed through text */
    section#header-mobile-menu #header-mobile-menu-main .sub-menu .col > a::after {
        display: none !important;
        content: none !important;
    }

    /* Sub-menu arrow – stretches across the full row so the
       existing JS click handler fires from anywhere on the row */
    section#header-mobile-menu #header-mobile-menu-main .mobile-menu-arrow {
        float: right;
        width: 30px;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        z-index: 5;
        background-image: none !important;
    }

    section#header-mobile-menu #header-mobile-menu-main .mobile-menu-arrow::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a241f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 16px 16px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Rotate only the chevron icon, not the full-width overlay */
    section#header-mobile-menu #header-mobile-menu-main .mobile-menu-arrow.rotate::after {
        transform: rotate(180deg);
    }

    /* Menu-items */
    section#header-mobile-menu #header-mobile-menu-main .menu-item {
        transition: height 0.35s ease-in-out;
    }

    section#header-mobile-menu #header-mobile-menu-main .menu-item.not-b {
        font-weight: 400;
    }

    /* Sub-menu background */
    section#header-mobile-menu #header-mobile-menu-main .sub-menu {
        background-color: var(--hr-cream-25, #fcfaf7);
    }

    /* Hidden children override */
    section#header-mobile-menu .children-hidden > ul > div.menu-item,
    section#header-mobile-menu .children-hidden > div.sub-menu {
        height: 0;
        overflow: hidden;
        display: none;
    }
}

/* --------------------------------------------------
   Breadcrumb Border Override
-------------------------------------------------- */
body.woocommerce .breadcrumb_bottom, 
body.woocommerce-page .breadcrumb_bottom { 
    border-bottom: none !important; 
}

/* --------------------------------------------------
   5) Migrated Customizer CSS
-------------------------------------------------- */
/* Slider text styles */
body #header-slider .slider-super { 
    font-size: 60px; 
    line-height: 66px; 
    font-weight: 400; 
    color: #FFF !important; 
    text-shadow: 0px 2px 10px rgba(0,0,0,0.5), 0px 4px 40px rgba(0,0,0,0.3) !important; 
}
body #header-slider .slider-category { 
    font-size: 14px; 
    line-height: 20px; 
    font-weight: 400; 
    color: #FFF !important; 
    text-shadow: 0px 2px 5px rgba(0,0,0,0.6), 0px 3px 20px rgba(0,0,0,0.4) !important; 
    margin-bottom: 0; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
}

/* Slider Button */
html body #header-slider .slide-content a.btn,
html body #header-slider .slide-content a.button,
html body #header-slider .slide-content .btn,
html body #header-slider .slide-content a,
html body #header-slider .slide-content button {
    background-color: transparent !important;
    color: #FFF !important;
    border: solid 1px #FFF !important;
    text-shadow: 0px 2px 5px rgba(0,0,0,0.6), 0px 3px 20px rgba(0,0,0,0.4) !important;
    padding: 0 20px !important;
    height: 40px !important;
    line-height: 38px !important; /* 38px + 2px border = 40px */
    font-size: 14px !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    margin-top: 15px !important;
    text-decoration: none !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

html body #header-slider .slide-content a.btn:hover,
html body #header-slider .slide-content a.button:hover,
html body #header-slider .slide-content .btn:hover,
html body #header-slider .slide-content a:hover,
html body #header-slider .slide-content button:hover {
    background-color: #FFF !important;
    color: #242c33 !important;
    border-color: #FFF !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Tablet */
@media (max-width: 1199px) { body #header-slider .slider-super { font-size: 42px; line-height: 48px; } }

/* Mobile */
@media (max-width: 759px) { body #header-slider .slider-super { font-size: 36px; line-height: 42px; } }

/* Slider overlay */
body #header-slider .slides > li::after {
    content: '' !important; 
    display: block !important;
    position: absolute !important; 
    inset: 0 !important; 
    background: linear-gradient(to right, rgba(26,13,13,0.48) 0%, rgba(0,0,0,0) 60%) !important; 
    z-index: 1 !important; 
    pointer-events: none !important;
}
body #header-slider .slides > li a:after, body #header-slider .slides > li > picture:after {
    display: none !important;
}
body #header-slider .slide-content { z-index: 2; position: relative; }

/* Homepage H1 */
body #home-intro h1 { text-align: center; font-size: 30px; line-height: 40px; font-weight: 400; color: #242c33; margin-bottom: 25px; margin-top: 0; }

/* Category Blocks */
body .block-woocommerce-category h3, body .block-woocommerce-category-2 h3 {
    font-size: 24px; line-height: 30px; font-weight: 500; color: #242c33;
}

/* Inspiration Guide Mobile Fix */
@media (max-width: 759px) {
    body .inspiration-guide-wrapper { padding-top: 70% !important; }
    body .inspiration-guide { top: calc(50% - 40px) !important; }
}

/* --------------------------------------------------
   Collections Grid Overrides (From User Feedback)
-------------------------------------------------- */

/* Desktop / Tablet (>= 760px): Force 3-Column Grid */
@media (min-width: 760px) {
    section#woocommerce-category-promotion .row {
        justify-content: center;
    }
    section#woocommerce-category-promotion .row > div {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Mobile (< 760px): Stack Cards Vertically */
@media (max-width: 759px) {
    section#woocommerce-category-promotion .block-woocommerce-category > a > div {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    section#woocommerce-category-promotion .block-woocommerce-category .cover-image {
        position: relative !important;
        width: 100% !important;
        min-height: 280px !important;
        height: 65vw !important; 
        flex: none !important;
    }

    section#woocommerce-category-promotion .block-woocommerce-category .block-body {
        position: relative !important;
        width: 100% !important;
        padding: 25px 20px !important;
        flex: none !important;
    }
}

