/* WCFM Store Page (Theme Override)
   Loaded after WCFM's store CSS so theme variables win.

   Palette:
   Primary:   rgba(218, 10, 86, 1)
   Secondary: rgba(255, 247, 248, 1)
   White:     rgba(255, 255, 255, 1)
   Text:      rgba(24, 25, 31, 1)
   Dark Text: rgba(82, 3, 32, 1)
   Grey Text: rgba(82, 85, 96, 1)
*/

body.wcfm-store-page {
    background: var(--secondary-color);
    color: var(--text-color);
    font-family: 'Josefin Sans', sans-serif;
}

body.wcfm-store-page #wcfmmp-store {
    width: min(1240px, calc(100% - 40px));
    margin: 28px auto 72px;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.wcfm-store-page #wcfmmp-store .banner_area {
    border-radius: 24px;
    overflow: hidden;
}

/* Hero: keep it clean (no dark overlays/text layers) */
body.wcfm-store-page #wcfmmp-store .banner_img,
body.wcfm-store-page #wcfmmp-store .banner_video,
body.wcfm-store-page #wcfmmp-store .wcfm_slideshow_container {
    position: relative;
}

body.wcfm-store-page #wcfmmp-store .banner_img::after,
body.wcfm-store-page #wcfmmp-store .banner_video::after,
body.wcfm-store-page #wcfmmp-store .wcfm_slideshow_container::after {
    display: none !important;
    content: none !important;
}

body.wcfm-store-page #wcfmmp-store .banner_text,
body.wcfm-store-page #wcfmmp-store .video_text,
body.wcfm-store-page #wcfmmp-store .slider_text {
    display: none !important;
}

/* Remove WCFM default dark header bar */
body.wcfm-store-page #wcfmmp-store #wcfm_store_header {
    background: transparent !important;
    min-height: 0 !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_wrapper {
    border: 1px solid rgba(82, 3, 32, 0.08);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(82, 3, 32, 0.08);
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_area {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
}

/* Undo WCFM default absolute-position header layout */
body.wcfm-store-page #wcfmmp-store .header_left {
    position: static !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store .logo_area {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.wcfm-store-page #wcfmmp-store .logo_area a img {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 108px !important;
    height: 108px !important;
    border-radius: 20px !important;
}

body.wcfm-store-page #wcfmmp-store .logo_area_after {
    position: static !important;
    top: auto !important;
    left: auto !important;
    text-align: left !important;
}

body.wcfm-store-page #wcfmmp-store .address {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store .header_right {
    text-align: left !important;
}

body.wcfm-store-page #wcfmmp-store .bd_icon_area {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_left,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_right,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area_after,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .address,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area {
    float: none !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area img {
    width: 108px;
    height: 108px;
    border: 1px solid rgba(82, 3, 32, 0.08);
    border-radius: 8px !important;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(82, 3, 32, 0.08);
}

body.wcfm-store-page #wcfmmp-store h1.wcfm_store_title,
body.wcfm-store-page #wcfmmp-store .address h2 {
    color: var(--dark-text-color) !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .wcfm_store_title {
    margin: 0 0 10px 0 !important;
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.2;
    font-weight: 700;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .wcfmmp_store_header_address,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .store_info_parallal {
    color: var(--grey-text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .wcfmmp_store_header_address span,
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .store_info_parallal span a {
    color: var(--grey-text-color) !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .address i {
    color: var(--primary-color) !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_right {
    background: transparent !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(218, 10, 86, 0.16);
    border-radius: 10px;
    background: var(--secondary-color);
    color: var(--dark-text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a:hover i {
    color: currentColor !important;
}
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a i {
    color: #fff !important;
}

/* Layout: theme-like sidebar + content */
body.wcfm-store-page #wcfmmp-store .body_area {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar,
body.wcfm-store-page #wcfmmp-store .right_side {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: unset !important;
    box-shadow: none !important;
    border: none;
    padding: unset;
}

/* WCFM can output sidebar after content; force grid placement to avoid swapped columns. */
body.wcfm-store-page #wcfmmp-store .body_area > .left_sidebar {
    grid-column: 1;
    grid-row: 1;
    height: auto !important;
}

body.wcfm-store-page #wcfmmp-store .body_area > .right_side {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .widget,
body.wcfm-store-page #wcfmmp-store .tab_area {
    border: 1px solid rgba(82, 3, 32, 0.08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(82, 3, 32, 0.05);
}

body.wcfm-store-page #wcfmmp-store .tab_area {
    width: 100%;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .widget {
    padding: 22px 20px;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .sidebar_heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(82, 3, 32, 0.08);
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .sidebar_heading h4 {
    color: var(--dark-text-color);
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    line-height: 1.25;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar ul,
body.wcfm-store-page #wcfmmp-store .left_sidebar li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar input[type="text"],
body.wcfm-store-page #wcfmmp-store .left_sidebar input[type="search"],
body.wcfm-store-page #wcfmmp-store .left_sidebar input[type="email"],
body.wcfm-store-page #wcfmmp-store .left_sidebar input.search-field,
body.wcfm-store-page #wcfmmp-store .left_sidebar select,
body.wcfm-store-page #wcfmmp-store .left_sidebar textarea {
    width: 100% !important;
    min-height: 48px;
    border: 1px solid rgba(82, 3, 32, 0.14) !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    padding: 12px 14px !important;
    color: var(--text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px !important;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .categories_list ul li {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(82, 3, 32, 0.08);
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .categories_list ul li:last-child {
    border-bottom: 0;
}

body.wcfm-store-page #wcfmmp-store .left_sidebar .categories_list ul li a {
    color: var(--grey-text-color) !important;
    font-weight: 600;
}

/* Tabs: replace WCFM default boxed tabs */
body.wcfm-store-page #wcfmmp-store .tab_area .tab_links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 24px 18px !important;
    margin: 0 !important;
    background: var(--white) !important;
    border-bottom: 1px solid rgba(82, 3, 32, 0.08) !important;
    float: none !important;
    width: auto !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

body.wcfm-store-page #wcfmmp-store .tab_area ul,
body.wcfm-store-page #wcfmmp-store .tab_area li {
    padding: 0 !important;
}

/* WooCommerce toolbar (result count + sorting) */
body.wcfm-store-page #wcfmmp-store .woocommerce-result-count {
    color: var(--grey-text-color) !important;
    font-size: 14px !important;
    line-height: 1.4;
    margin: 14px 24px 10px !important;
    padding: 0 !important;
    float: none !important;
}

body.wcfm-store-page #wcfmmp-store form.woocommerce-ordering {
    margin: 0 24px 14px !important;
    float: none !important;
}

body.wcfm-store-page #wcfmmp-store form.woocommerce-ordering select {
    min-height: 40px;
    border: 1px solid rgba(82, 3, 32, 0.12) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    background: var(--white) !important;
    color: var(--text-color) !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 14px !important;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li::after {
    display: none !important;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px !important;
    border: 1px solid rgba(82, 3, 32, 0.12) !important;
    border-radius: 10px !important;
    background: var(--white) !important;
    color: rgba(82, 85, 96, 1) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li.active a,
body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li a:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li.active a {
    box-shadow: 0 10px 18px rgba(218, 10, 86, 0.16);
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_content,
body.wcfm-store-page #wcfmmp-store .tab_area .store_info,
body.wcfm-store-page #wcfmmp-store .tab_area .store-policies,
body.wcfm-store-page #wcfmmp-store .tab_area .recent_reviews {
    padding: 24px !important;
}

body.wcfm-store-page #wcfmmp-store .tab_area .tab_content,
body.wcfm-store-page #wcfmmp-store .tab_area .store_info,
body.wcfm-store-page #wcfmmp-store .tab_area .store-policies,
body.wcfm-store-page #wcfmmp-store .tab_area .recent_reviews,
body.wcfm-store-page #wcfmmp-store .tab_area p,
body.wcfm-store-page #wcfmmp-store .tab_area h1,
body.wcfm-store-page #wcfmmp-store .tab_area h2,
body.wcfm-store-page #wcfmmp-store .tab_area h3,
body.wcfm-store-page #wcfmmp-store .tab_area h4 {
    color: var(--text-color);
}

/* Products grid */
body.wcfm-store-page #wcfmmp-store .right_side ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px !important;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products::before,
body.wcfm-store-page #wcfmmp-store .right_side ul.products::after {
    display: none !important;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(82, 3, 32, 0.08) !important;
    border-radius: 16px !important;
    background: var(--white) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product * {
    box-sizing: border-box;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 247, 248, 1);
    margin-bottom: 14px;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .woocommerce-loop-product__title {
    color: var(--dark-text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .price {
    color: var(--primary-color) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .button,
body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .added_to_cart {
    border: 1px solid rgba(82, 3, 32, 0.14) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--dark-text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700 !important;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .button:hover,
body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product .added_to_cart:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* "View cart" link (WooCommerce appends this after Add to cart) */
body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product a.added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px;
    padding: 9px 14px !important;
    white-space: nowrap;
    line-height: 1 !important;
    font-size: 14px;
    letter-spacing: 0.01em;
    border: 1px solid var(--primary-color) !important;
    border-radius: 8px !important;
    background: var(--white) !important;
    color: var(--primary-color) !important;
    margin-left: 10px !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product a.added_to_cart:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

body.wcfm-store-page #wcfmmp-store .right_side ul.products li.product a.added_to_cart:focus-visible {
    outline: 2px solid rgba(218, 10, 86, 0.35);
    outline-offset: 2px;
}

/* Pagination (WooCommerce + WCFM) */
body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination,
body.wcfm-store-page #wcfmmp-store .paginations {
    margin: 8px 0 0;
    padding: 0 24px 28px;
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul,
body.wcfm-store-page #wcfmmp-store .paginations ul,
body.wcfm-store-page #wcfmmp-store ul.page-numbers {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    border: unset;
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li,
body.wcfm-store-page #wcfmmp-store .paginations ul li,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li {
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li a,
body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li span,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li a,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li span,
body.wcfm-store-page #wcfmmp-store .paginations ul li a,
body.wcfm-store-page #wcfmmp-store .paginations ul li span,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li a,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px !important;
    border: 1px solid rgba(82, 3, 32, 0.12) !important;
    border-radius: 12px !important;
    background: var(--white) !important;
    color: rgba(82, 85, 96, 1) !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 18px rgba(82, 3, 32, 0.05);
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li span.current,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li span.current,
body.wcfm-store-page #wcfmmp-store .paginations ul li span.current,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li span.current,
body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li a:hover,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li a:hover,
body.wcfm-store-page #wcfmmp-store .paginations ul li a:hover,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li a:hover,
body.wcfm-store-page #wcfmmp-store .paginations ul li a.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 14px 26px rgba(218, 10, 86, 0.18);
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li a.prev,
body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li a.next,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li a.prev,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li a.next,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li a.prev,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li a.next {
    min-width: 54px;
}

body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination ul li span.dots,
body.wcfm-store-page #wcfmmp-store .woocommerce-pagination ul li span.dots,
body.wcfm-store-page #wcfmmp-store ul.page-numbers li span.dots {
    box-shadow: none;
    border-color: transparent !important;
    background: transparent !important;
    color: rgba(82, 85, 96, 1) !important;
    min-width: 24px;
}

@media (max-width: 1100px) {
    body.wcfm-store-page #wcfmmp-store .body_area {
        grid-template-columns: 1fr;
    }

    body.wcfm-store-page #wcfmmp-store .left_sidebar {
        position: static;
        order: 2;
    }

    body.wcfm-store-page #wcfmmp-store .body_area > .left_sidebar,
    body.wcfm-store-page #wcfmmp-store .body_area > .right_side {
        grid-column: 1;
    }

    body.wcfm-store-page #wcfmmp-store .right_side ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    /* Header: stack cleanly on tablet */
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_area {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_left {
        width: 100%;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_right {
        width: 100%;
        align-items: flex-start;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area {
        justify-content: flex-start;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul {
        justify-content: flex-start;
    }

    /* Products grid: 2 columns on tablet */
    body.wcfm-store-page #wcfmmp-store .right_side ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.wcfm-store-page #wcfmmp-store {
        width: calc(100% - 28px);
        margin: 18px auto 48px;
    }

    body.wcfm-store-page #wcfmmp-store .banner_area {
        border-radius: 20px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_area {
        padding: 20px 18px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_left,
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_right {
        align-items: flex-start;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area img {
        width: 84px;
        height: 84px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area,
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul {
        justify-content: flex-start;
    }

    body.wcfm-store-page #wcfmmp-store .right_side ul.products {
        grid-template-columns: 1fr;
        padding: 18px !important;
    }

    /* Toolbar: stack neatly on mobile */
    body.wcfm-store-page #wcfmmp-store .woocommerce-result-count {
        margin: 12px 18px 8px !important;
    }

    body.wcfm-store-page #wcfmmp-store form.woocommerce-ordering {
        margin: 0 18px 12px !important;
        width: auto;
    }

    body.wcfm-store-page #wcfmmp-store form.woocommerce-ordering select {
        width: 100%;
    }

    /* Tabs: tighter spacing */
    body.wcfm-store-page #wcfmmp-store .tab_area .tab_links {
        padding: 16px 18px 14px !important;
        gap: 8px;
    }

    body.wcfm-store-page #wcfmmp-store .tab_area .tab_content,
    body.wcfm-store-page #wcfmmp-store .tab_area .store_info,
    body.wcfm-store-page #wcfmmp-store .tab_area .store-policies,
    body.wcfm-store-page #wcfmmp-store .tab_area .recent_reviews {
        padding: 18px !important;
    }

    /* Sidebar cards spacing */
    body.wcfm-store-page #wcfmmp-store .left_sidebar .widget {
        padding: 18px 16px;
    }

    body.wcfm-store-page #wcfmmp-store .left_sidebar .sidebar_heading h4 {
        font-size: 18px;
    }

    /* Pagination: keep comfortable gutters */
    body.wcfm-store-page #wcfmmp-store nav.woocommerce-pagination,
    body.wcfm-store-page #wcfmmp-store .woocommerce-pagination,
    body.wcfm-store-page #wcfmmp-store .paginations {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 480px) {
    /* Title sizing and header spacing on small phones */
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_area {
        padding: 18px 16px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .wcfm_store_title {
        font-size: 28px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area a img,
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area img {
        width: 72px !important;
        height: 72px !important;
        border-radius: 16px !important;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a {
        width: 100%;
        justify-content: center;
    }
}
