/* 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: 100% !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: center;
    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;
}

/* Store social links: remove WCFM dark block and restyle to match the theme. */
body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area {
    width: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(218, 10, 86, 0.18);
    box-shadow: 0 8px 18px rgba(82, 3, 32, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li a i {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    color: var(--primary-color) !important;
    font-size: 18px;
    line-height: 1;
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li:hover {
    transform: translateY(-1px);
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    box-shadow: 0 12px 22px rgba(218, 10, 86, 0.22);
}

body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li:hover a i {
    color: var(--white) !important;
}

body.wcfm-store-page #wcfmmp-store .bd_icon_box {
    margin: unset;
}

/* 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;
}

/* Empty states (About / Policies) */
body.wcfm-store-page #wcfmmp-store .mdp-empty-state {
    width: 100%;
    margin: 12px 0 0;
    padding: 16px 18px;
    border: 1px dashed rgba(82, 3, 32, 0.18);
    border-radius: 14px;
    background: rgba(255, 247, 248, 1);
    color: var(--grey-text-color) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

/* Store reviews: hide reviewer avatars (keep rating box) */
body.wcfm-store-page #wcfmmp-store .review_photo,
body.wcfm-store-page #wcfmmp-store .famous_reviewers_picture {
    display: none !important;
}

body.wcfm-store-page #wcfmmp-store .rated {
    margin-top: 0 !important;
}

/* Store reviews: theme-matching UI */
body.wcfm-store-page #wcfmmp-store #reviews,
#wcfmmp_store_about,
#policy {
    padding: 10px;
}
body.wcfm-store-page #wcfmmp-store #reviews .reviews_area {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(82, 3, 32, 0.08) !important;
    border-radius: 18px !important;
    background: var(--white) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding: 18px 22px !important;
    border-bottom: 1px solid rgba(82, 3, 32, 0.08) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    color: #520320 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .recent_reviews {
    padding: 18px 22px 22px !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .famous_reviewers {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .famous_reviewers .famous_reviewers_pictures {
    display: none !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_count {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.45;
    color: rgba(82, 85, 96, 1) !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_count a {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .bd_rating_sec {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    margin: 0 0 18px;
    padding: 14px 14px !important;
    border: 1px solid rgba(82, 3, 32, 0.08);
    border-radius: 16px;
    background: rgba(255, 247, 248, 1);
}

body.wcfm-store-page #wcfmmp-store #reviews .bd_rating_area {
    float: none !important;
    width: auto !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .bd_rating_area .rating_box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_box i.wcfmfa {
    color: var(--primary-color) !important;
    font-size: 14px !important;
    opacity: 0.95;
}

body.wcfm-store-page #wcfmmp-store #reviews .bd_rating_area .rating_box span {
    margin-left: 0 !important;
    font-size: 13px !important;
    line-height: 1.35;
    color: rgba(82, 85, 96, 1) !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_count {
    float: none !important;
    text-align: right;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_number {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    min-width: 92px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #343231 !important;
    color: #fff !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 26px !important;
    font-weight: 900 !important;
    line-height: 1;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_number sub {
    bottom: 0;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.9;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_count .rating_box {
    margin-top: 10px;
    justify-content: flex-end;
}

body.wcfm-store-page #wcfmmp-store #reviews .bd_review_section {
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section {
    display: flex;
    gap: 16px;
    margin: 14px 0 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(82, 3, 32, 0.08) !important;
    border-radius: 16px !important;
    background: var(--white) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section:first-child {
    margin-top: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_photo {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    flex: 0 0 96px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .rated {
    text-align: left !important;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .rated strong {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(82, 85, 96, 1) !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_rated {
    width: auto !important;
    min-width: 48px;
    height: auto !important;
    line-height: 1 !important;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--primary-color) !important;
    color: #fff !important;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 900 !important;
    font-size: 16px !important;
    margin-top: 8px !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_sec {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_sec_left {
    float: none !important;
    width: auto !important;
    display: block !important;
    flex: 1 1 320px;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_name {
    margin: 0 0 8px !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25;
    color: var(--dark-text-color) !important;
    text-transform: none !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_area span {
    font-size: 13px !important;
    line-height: 1.4;
    color: rgba(82, 85, 96, 1) !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_date {
    margin-left: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_text {
    margin-top: 12px !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.65;
    color: var(--text-color) !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .bd_rating_area {
    float: none !important;
    width: 260px !important;
    flex: 0 0 260px;
    margin: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .review_section .bd_rating_area .rating_box {
    justify-content: flex-start;
}

/* Write-a-review section */
body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area {
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 1px solid rgba(82, 3, 32, 0.08) !important;
    border-radius: 18px !important;
    background: var(--white) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .reviews_heading a.cancel_review_add {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: rgba(82, 85, 96, 1) !important;
    text-transform: none !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .add_review,
body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .write_review {
    padding: 18px 22px 22px !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .add_review input[type="text"] {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(82, 3, 32, 0.14) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    background: rgba(255, 247, 248, 1) !important;
    color: var(--text-color) !important;
    font-size: 14px !important;
    outline: none !important;
    text-indent: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .add_review button {
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 18px rgba(218, 10, 86, 0.18);
    text-transform: none !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .reviews_add_area .add_review button:hover {
    filter: brightness(1.05);
}

body.wcfm-store-page #wcfmmp-store #reviews .write_review .review_text {
    float: none !important;
    width: 100% !important;
}

body.wcfm-store-page #wcfmmp-store #reviews #wcfmmp_store_review_comment {
    width: 100% !important;
    min-height: 120px;
    padding: 12px 14px !important;
    border: 1px solid rgba(82, 3, 32, 0.14) !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    box-shadow: none !important;
    resize: vertical;
    font-size: 14px !important;
    line-height: 1.6;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_area.rating-stars ul.stars {
    display: inline-flex !important;
    gap: 4px;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_area.rating-stars ul.stars li.star {
    padding: 0 !important;
}

body.wcfm-store-page #wcfmmp-store #reviews .rating_area.rating-stars ul.stars li.star i.wcfmfa {
    font-size: 16px !important;
}

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

    body.wcfm-store-page #wcfmmp-store #reviews .rating_count {
        text-align: left;
    }

    body.wcfm-store-page #wcfmmp-store #reviews .rating_count .rating_box {
        justify-content: flex-start;
    }

    body.wcfm-store-page #wcfmmp-store #reviews .review_section {
        flex-direction: column;
    }

    body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_photo {
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
    }

    body.wcfm-store-page #wcfmmp-store #reviews .review_section .user_review_sec {
        flex-direction: column;
    }

    body.wcfm-store-page #wcfmmp-store #reviews .review_section .bd_rating_area {
        width: 100% !important;
        flex: 1 1 auto;
    }
}

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: 10px 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;
}

/* Enquiry popup (Ask a Question) - match theme */
body.wcfm-store-page #cboxOverlay {
    background: rgba(24, 25, 31, 0.72) !important;
}

/* Remove the legacy Colorbox image-frame pieces. */
body.wcfm-store-page #cboxTopLeft,
body.wcfm-store-page #cboxTopCenter,
body.wcfm-store-page #cboxTopRight,
body.wcfm-store-page #cboxMiddleLeft,
body.wcfm-store-page #cboxMiddleRight,
body.wcfm-store-page #cboxBottomLeft,
body.wcfm-store-page #cboxBottomCenter,
body.wcfm-store-page #cboxBottomRight {
    background: none !important;
}

body.wcfm-store-page #cboxTopLeft,
body.wcfm-store-page #cboxTopCenter,
body.wcfm-store-page #cboxTopRight,
body.wcfm-store-page #cboxBottomLeft,
body.wcfm-store-page #cboxBottomCenter,
body.wcfm-store-page #cboxBottomRight {
    height: 0 !important;
}

body.wcfm-store-page #cboxTopLeft,
body.wcfm-store-page #cboxMiddleLeft,
body.wcfm-store-page #cboxBottomLeft,
body.wcfm-store-page #cboxTopRight,
body.wcfm-store-page #cboxMiddleRight,
body.wcfm-store-page #cboxBottomRight {
    width: 0 !important;
}

body.wcfm-store-page #colorbox,
body.wcfm-store-page #cboxWrapper,
body.wcfm-store-page #cboxContent {
    border-radius: 16px;
}

body.wcfm-store-page #cboxContent {
    background: transparent !important;
    padding: 0 !important;
}

body.wcfm-store-page #cboxLoadedContent {
    background: transparent;
    margin: 0 !important;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.wcfm-store-page #cboxLoadedContent #enquiry_form_wrapper {
    width: 100%;
}

body.wcfm-store-page #cboxClose {
    top: 14px !important;
    right: 14px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(82, 3, 32, 0.14) !important;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
    opacity: 1 !important;
    font-size: 0 !important;
    color: transparent !important;
}

body.wcfm-store-page #cboxClose::before {
    content: "×";
    display: block;
    width: 100%;
    height: 100%;
    line-height: 32px;
    text-align: center;
    color: var(--dark-text-color);
    font-size: 22px !important;
    font-weight: 700;
}

body.wcfm-store-page #cboxClose:hover {
    border-color: rgba(218, 10, 86, 0.35) !important;
}

body.wcfm-store-page #cboxClose:hover::before {
    color: var(--primary-color);
}

body.wcfm-store-page #cboxClose {
    background-image: none !important;
}

body.wcfm-store-page #cboxClose::before {
    text-indent: 0;
}

body.wcfm-store-page #colorbox #enquiry_form {
    box-sizing: border-box;
    /* width: min(720px, calc(100vw - 32px)); */
    max-width: 100%;
    padding: 26px 26px 22px;
    border-radius: 16px;
    /* background: rgba(255, 255, 255, 1); */
    /* border: 1px solid rgba(82, 3, 32, 0.10); */
    /* box-shadow: 0 18px 44px rgba(82, 3, 32, 0.18); */
    font-family: 'Josefin Sans', sans-serif;
}

body.wcfm-store-page #colorbox #enquiry_form h2 {
    margin: 0 0 14px !important;
    float: none !important;
    font-family: 'Libre Baskerville', serif;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    font-style: normal !important;
    color: var(--primary-color);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form {
    margin: 0;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_label {
    margin: 0 0 8px !important;
    width: 100% !important;
    display: block !important;
    font-style: normal !important;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_label strong {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--dark-text-color);
    font-style: normal !important;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_label .required {
    color: var(--primary-color);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(230, 230, 230, 1);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text-color);
    font-size: 16px;
    outline: none;
    box-shadow: none;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 14px !important;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_input:focus {
    border-color: rgba(218, 10, 86, 0.55);
    box-shadow: 0 0 0 3px rgba(218, 10, 86, 0.12);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm_popup_textarea {
    min-height: 140px;
    resize: vertical;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm-message {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(230, 230, 230, 1);
    background: rgba(242, 242, 242, 1);
    color: rgba(77, 77, 77, 1);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm-message:empty {
    display: none;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm-message.wcfm-error {
    border-color: rgba(218, 10, 86, 0.30);
    background: rgba(218, 10, 86, 0.06);
    color: var(--dark-text-color);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .wcfm-message.wcfm-success {
    border-color: rgba(46, 125, 50, 0.25);
    background: rgba(46, 125, 50, 0.08);
    color: rgba(24, 25, 31, 1);
}

body.wcfm-store-page #colorbox #wcfm_enquiry_form .form-submit {
    margin: 16px 0 0;
    display: flex;
    justify-content: flex-end;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_submit_button.wcfm_popup_button {
    border: 0 !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    float: none !important;
    margin: 0 !important;
}

body.wcfm-store-page #colorbox #wcfm_enquiry_submit_button.wcfm_popup_button:hover {
    filter: brightness(0.95);
}

@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;
    }

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

    /* Stack content then sidebar (avoid both staying on grid-row 1 and overlapping). */
    body.wcfm-store-page #wcfmmp-store .body_area > .right_side {
        grid-row: 1;
    }

    body.wcfm-store-page #wcfmmp-store .body_area > .left_sidebar {
        grid-row: 2;
    }

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

@media (max-width: 1024px) {
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area {
        position: unset;
    }
    body.wcfm-store-page #wcfmmp-store .header_right {
        width: auto;
    }
}

@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;
    }

    /* Farm details header: keep everything centered and prevent awkward wraps */
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .header_left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .logo_area_after,
    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .address {
        text-align: center !important;
    }

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

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

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .bd_icon_area a {
        justify-content: center;
        white-space: nowrap;
    }

    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 .social_area ul {
        justify-content: center;
    }

    body.wcfm-store-page #wcfmmp-store .right_side ul.products {
        grid-template-columns: 1fr !important;
        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;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.wcfm-store-page #wcfmmp-store .tab_area .tab_links::-webkit-scrollbar {
        display: none;
    }

    body.wcfm-store-page #wcfmmp-store .tab_area .tab_links li a {
        white-space: nowrap;
    }

    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;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li {
        width: 38px;
        height: 38px;
    }

    body.wcfm-store-page #wcfmmp-store #wcfm_store_header .social_area ul li a i {
        font-size: 16px;
    }

    body.wcfm-store-page #colorbox #enquiry_form {
        padding: 20px 18px 18px;
    }

    body.wcfm-store-page #colorbox #enquiry_form h2 {
        font-size: 22px;
    }
}
