/**
 * UCAPR - Design Page Store (commerçant individuel)
 * Version 3.0 - Refonte design
 */

/* =========================================================================
   VARIABLES
   ========================================================================= */
:root {
    --ucapr-primary: #1D5C29;
    --ucapr-secondary: #96B83D;
    --ucapr-accent: #59A545;
    --ucapr-white: #ffffff;
    --ucapr-text: #2d3436;
    --ucapr-text-muted: #636e72;
    --ucapr-bg: #f1f5e8;
    --ucapr-card: #ffffff;
    --ucapr-border: #dfe6d5;
    --ucapr-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --ucapr-shadow: 0 4px 16px rgba(29,92,41,0.08);
    --ucapr-shadow-lg: 0 8px 32px rgba(29,92,41,0.12);
    --ucapr-radius: 16px;
    --ucapr-radius-sm: 10px;
    --ucapr-radius-xs: 6px;
}

/* =========================================================================
   PAGE BACKGROUND
   ========================================================================= */

.wcfm-store-page,
.wcfmmp-store-page {
    background: var(--ucapr-bg) !important;
}

.wcfm-store-page .content-area,
.wcfmmp-store-page .content-area {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body #wcfmmp-store {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: transparent !important;
}

body #wcfmmp-store .wcfmmp-store-page-wrap {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================================
   BANNIÈRE - PLEINE LARGEUR
   ========================================================================= */

body #wcfmmp-store .wcfm_banner_area {
    margin: 0 !important;
    position: relative !important;
}

body #wcfmmp-store .banner_area {
    position: relative !important;
}

body #wcfmmp-store .banner_img {
    border-radius: 0 !important;
    max-height: 300px !important;
    height: 300px !important;
    background-size: cover !important;
    background-position: center !important;
}

body #wcfmmp-store .banner_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* =========================================================================
   HEADER - CARTE BLANCHE FLOTTANTE
   ========================================================================= */

body #wcfmmp-store #wcfm_store_header {
    background: var(--ucapr-card) !important;
    border: none !important;
    padding: 0 !important;
    max-width: 1280px !important;
    margin: -60px auto 0 !important;
    position: relative !important;
    z-index: 10 !important;
    border-radius: var(--ucapr-radius) !important;
    box-shadow: var(--ucapr-shadow-lg) !important;
    overflow: hidden !important;
    min-height: auto !important;
}

body #wcfmmp-store #wcfm_store_header .header_wrapper {
    padding: 0 !important;
}

body #wcfmmp-store #wcfm_store_header .header_area {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 24px 32px !important;
    background: var(--ucapr-card) !important;
    border-bottom: none !important;
    position: relative !important;
    border-radius: var(--ucapr-radius) !important;
}

/* Spacers WCFM - neutraliser */
body #wcfmmp-store #wcfm_store_header .spacer {
    display: none !important;
}

/* Avatar / Logo */
body #wcfmmp-store #wcfm_store_header .header_left {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 1 !important;
    min-width: 0 !important;
    float: none !important;
    position: relative !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

body #wcfmmp-store #wcfm_store_header .logo_area {
    width: 72px !important;
    height: 72px !important;
    flex-shrink: 0 !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    background: var(--ucapr-card) !important;
    box-shadow: 0 0 0 3px var(--ucapr-secondary), var(--ucapr-shadow) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

body #wcfmmp-store #wcfm_store_header .logo_area a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

body #wcfmmp-store #wcfm_store_header .logo_area img,
body #wcfmmp-store #wcfm_store_header .logo_area a img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: none !important;
    object-fit: cover !important;
    margin: 0 !important;
    background: var(--ucapr-card) !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
}

/* Rating / Badges après logo */
body #wcfmmp-store #wcfm_store_header .logo_area_after {
    display: none !important;
}

/* Floats WCFM - neutraliser */
body #wcfmmp-store #wcfm_store_header .lft {
    float: none !important;
}

body #wcfmmp-store #wcfm_store_header .address.rgt {
    float: none !important;
}

body #wcfmmp-store .wcfmmp_store_mobile_badges {
    display: none !important;
}

/* Zone d'infos */
body #wcfmmp-store #wcfm_store_header .address {
    float: none !important;
    flex: 1 !important;
    min-width: 0 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
    border-left: none !important;
    padding-left: 0 !important;
}

body #wcfmmp-store #wcfm_store_header .address p {
    padding-bottom: 4px !important;
}

/* NOM DU STORE */
body #wcfmmp-store h1.wcfm_store_title,
body #wcfmmp-store #wcfm_store_header h1.wcfm_store_title,
body #wcfmmp-store .address h1.wcfm_store_title {
    color: var(--ucapr-primary) !important;
    font-size: 1.55em !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

/* Rating */
body #wcfmmp-store #wcfm_store_header .wcfmmp-store-rating {
    margin: 2px 0 8px !important;
    font-size: 0.85em !important;
}

/* ADRESSE */
body #wcfmmp-store #wcfm_store_header .wcfmmp_store_header_address {
    margin: 0 0 2px !important;
    padding: 0 0 4px !important;
    font-size: 0.88em !important;
    color: var(--ucapr-text-muted) !important;
}

body #wcfmmp-store .address span,
body #wcfmmp-store .address a {
    color: var(--ucapr-text-muted) !important;
    font-size: 0.88em !important;
    text-decoration: none !important;
}

body #wcfmmp-store .address a:hover {
    color: var(--ucapr-accent) !important;
}

body #wcfmmp-store .address i,
body #wcfmmp-store .address .wcfmfa {
    color: var(--ucapr-accent) !important;
    margin-right: 6px !important;
}

/* EMAIL */
body #wcfmmp-store #wcfm_store_header .wcfmmp_store_header_email {
    font-size: 0.85em !important;
    margin: 2px 0 !important;
}

body #wcfmmp-store #wcfm_store_header .wcfmmp_store_header_email .wcfmfa {
    color: var(--ucapr-accent) !important;
    margin-right: 6px !important;
}

/* CATÉGORIE - Badge avec gradient */
body #wcfmmp-store #wcfm_store_header .address > .store_info_parallal {
    margin: 8px 0 0 !important;
}

body #wcfmmp-store #wcfm_store_header .address > .store_info_parallal > .wcfmfa {
    display: none !important;
}

body #wcfmmp-store #wcfm_store_header .address > .store_info_parallal > span {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--ucapr-primary), var(--ucapr-accent)) !important;
    color: var(--ucapr-white) !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    font-size: 0.72em !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* HEADER STORE NAME container */
body #wcfmmp-store #wcfm_store_header .header_store_name {
    margin: 2px 0 !important;
    line-height: 1.5 !important;
}

body #wcfmmp-store #wcfm_store_header .header_store_name p {
    margin: 0 !important;
}

body #wcfmmp-store #wcfm_store_header .store_info_parallal {
    margin: 2px 0 !important;
}

/* BOUTONS Question / Follow */
body #wcfmmp-store #wcfm_store_header .header_right {
    background: none !important;
    padding: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
    align-self: center !important;
}

body #wcfmmp-store #wcfm_store_header .bd_icon_area {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-end !important;
    flex-wrap: wrap !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
}

body #wcfmmp-store .bd_icon_box {
    float: none !important;
}

body #wcfmmp-store #wcfm_store_header .bd_icon_box a,
body #wcfmmp-store .bd_icon_box a.wcfm_store_enquiry,
body #wcfmmp-store .bd_icon_box a.follow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: var(--ucapr-primary) !important;
    color: var(--ucapr-white) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    font-size: 0.82em !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(29,92,41,0.15) !important;
}

body #wcfmmp-store #wcfm_store_header .bd_icon_box a:hover,
body #wcfmmp-store .bd_icon_box a:hover {
    background: var(--ucapr-accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(29,92,41,0.25) !important;
}

body #wcfmmp-store .bd_icon_box a i,
body #wcfmmp-store .bd_icon_box a .wcfmfa,
body #wcfmmp-store .bd_icon_box a span {
    color: var(--ucapr-white) !important;
}

/* Follow: couleur différente */
body #wcfmmp-store #wcfm_follow_now,
body #wcfmmp-store .bd_icon_box a.follow {
    background: var(--ucapr-secondary) !important;
    box-shadow: 0 2px 8px rgba(150,184,61,0.25) !important;
}

body #wcfmmp-store #wcfm_follow_now:hover,
body #wcfmmp-store .bd_icon_box a.follow:hover {
    background: var(--ucapr-primary) !important;
}

/* =========================================================================
   BODY AREA - FLEX LAYOUT
   ========================================================================= */

body #wcfmmp-store .body_area {
    max-width: 1280px !important;
    margin: 24px auto 0 !important;
    padding: 0 20px 40px !important;
    display: flex !important;
    gap: 24px !important;
}

body #wcfmmp-store .body_area > .right_side {
    flex: 1 !important;
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
    order: 1 !important;
    padding: 0 !important;
}

body #wcfmmp-store .body_area > .left_sidebar {
    width: 280px !important;
    flex-shrink: 0 !important;
    float: none !important;
    order: 2 !important;
}

/* =========================================================================
   ONGLETS
   ========================================================================= */

body #wcfmmp-store .tab_area {
    background: var(--ucapr-card) !important;
    border-radius: var(--ucapr-radius) !important;
    box-shadow: var(--ucapr-shadow) !important;
    border: 1px solid var(--ucapr-border) !important;
    overflow: hidden !important;
}

body #wcfmmp-store .tab_links_area {
    background: transparent !important;
    border-bottom: 1px solid var(--ucapr-border) !important;
    padding: 0 16px !important;
    margin: 0 !important;
}

body #wcfmmp-store .tab_links {
    list-style: none !important;
    display: flex !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
}

body #wcfmmp-store .tab_links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}

body #wcfmmp-store .tab_links li::before,
body #wcfmmp-store .tab_links li::after {
    display: none !important;
    content: none !important;
}

body #wcfmmp-store .tab_area .tab_links li a {
    display: block !important;
    padding: 16px 20px !important;
    color: var(--ucapr-text-muted) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.8em !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    background: transparent !important;
    margin-bottom: -1px !important;
}

body #wcfmmp-store .tab_area .tab_links li a:hover {
    color: var(--ucapr-accent) !important;
    background: rgba(150,184,61,0.06) !important;
}

body #wcfmmp-store .tab_area .tab_links li.active a {
    color: var(--ucapr-primary) !important;
    border-bottom-color: var(--ucapr-primary) !important;
    background: transparent !important;
}

body #wcfmmp-store .tab_area .tab_links li.active {
    border-top-color: transparent !important;
}

/* Contenu onglet */
body #wcfmmp-store .product_area,
body #wcfmmp-store #products,
body #wcfmmp-store .wcfmmp-store-about,
body #wcfmmp-store ._area {
    padding: 32px !important;
    min-height: 200px !important;
}

/* =========================================================================
   SIDEBAR
   ========================================================================= */

body #wcfmmp-store .left_sidebar {
    background: var(--ucapr-card) !important;
    border-radius: var(--ucapr-radius) !important;
    padding: 0 !important;
    border: 1px solid var(--ucapr-border) !important;
    box-shadow: var(--ucapr-shadow) !important;
    align-self: start !important;
    position: sticky !important;
    top: 100px !important;
    overflow: hidden !important;
}

body #wcfmmp-store .left_sidebar .widget {
    margin: 0 !important;
    padding: 20px 22px !important;
    border-bottom: 1px solid var(--ucapr-border) !important;
}

body #wcfmmp-store .left_sidebar .widget:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

body #wcfmmp-store .left_sidebar .sidebar_heading h4,
body #wcfmmp-store .left_sidebar .widget-title {
    color: var(--ucapr-primary) !important;
    font-size: 0.78em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border-bottom: none !important;
    position: relative !important;
}

body #wcfmmp-store .left_sidebar .sidebar_heading {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--ucapr-secondary) !important;
}

/* Recherche */
body #wcfmmp-store .left_sidebar .woocommerce-product-search {
    display: flex !important;
    position: relative !important;
}

body #wcfmmp-store .left_sidebar .search-field {
    flex: 1 !important;
    border: 2px solid var(--ucapr-border) !important;
    border-radius: 50px !important;
    padding: 10px 42px 10px 16px !important;
    font-size: 0.85em !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
    background: var(--ucapr-bg) !important;
    height: auto !important;
    margin: 0 !important;
    width: 100% !important;
}

body #wcfmmp-store .left_sidebar .search-field:focus {
    border-color: var(--ucapr-accent) !important;
    box-shadow: 0 0 0 3px rgba(89,165,69,0.12) !important;
    background: var(--ucapr-card) !important;
}

body #wcfmmp-store .left_sidebar .woocommerce-product-search button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--ucapr-primary) !important;
    color: var(--ucapr-white) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

body #wcfmmp-store .left_sidebar .woocommerce-product-search button::before {
    content: '\f002' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: var(--ucapr-white) !important;
}

body #wcfmmp-store .left_sidebar .woocommerce-product-search button:hover {
    background: var(--ucapr-accent) !important;
}

/* Carte */
body #wcfmmp-store .left_sidebar .wcfmmp-store-map {
    border-radius: var(--ucapr-radius-sm) !important;
    overflow: hidden !important;
    border: 1px solid var(--ucapr-border) !important;
    min-height: 220px !important;
    margin: 0 !important;
}

/* Contenu sidebar - ajustement des UL/LI */
body #wcfmmp-store .left_sidebar ul {
    padding: 0 !important;
    margin: 0 !important;
}

body #wcfmmp-store .left_sidebar ul li {
    padding: 4px 0 !important;
}

/* =========================================================================
   PRODUITS
   ========================================================================= */

body #wcfmmp-store .woocommerce-info {
    background: var(--ucapr-bg) !important;
    border: 1px dashed var(--ucapr-border) !important;
    border-radius: var(--ucapr-radius-sm) !important;
    color: var(--ucapr-text-muted) !important;
    padding: 48px 30px !important;
    text-align: center !important;
    font-size: 0.95em !important;
}

body #wcfmmp-store .woocommerce-info::before {
    color: var(--ucapr-secondary) !important;
    display: block !important;
    font-size: 2.5em !important;
    margin-bottom: 12px !important;
}

body #wcfmmp-store .products .product {
    border-radius: var(--ucapr-radius-sm) !important;
    overflow: hidden !important;
    box-shadow: var(--ucapr-shadow-sm) !important;
    transition: all 0.25s ease !important;
    border: 1px solid var(--ucapr-border) !important;
    background: var(--ucapr-card) !important;
}

body #wcfmmp-store .products .product:hover {
    box-shadow: var(--ucapr-shadow-lg) !important;
    transform: translateY(-4px) !important;
}

body #wcfmmp-store .products .product .woocommerce-loop-product__title {
    color: var(--ucapr-text) !important;
    font-weight: 600 !important;
}

body #wcfmmp-store .products .product .price {
    color: var(--ucapr-primary) !important;
    font-weight: 700 !important;
}

body #wcfmmp-store .products .product .button,
body #wcfmmp-store .products .product .add_to_cart_button {
    background: var(--ucapr-primary) !important;
    color: var(--ucapr-white) !important;
    border-radius: 50px !important;
    border: none !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

body #wcfmmp-store .products .product .button:hover,
body #wcfmmp-store .products .product .add_to_cart_button:hover {
    background: var(--ucapr-accent) !important;
}

/* =========================================================================
   REVIEWS
   ========================================================================= */

body #wcfmmp-store .reviews_heading {
    color: var(--ucapr-primary) !important;
    font-weight: 700 !important;
    font-size: 1.05em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--ucapr-border) !important;
}

body #wcfmmp-store .reviews_heading a {
    color: var(--ucapr-accent) !important;
    font-size: 0.82em !important;
}

body #wcfmmp-store .add_review input {
    border: 2px solid var(--ucapr-border) !important;
    border-radius: var(--ucapr-radius-sm) !important;
    padding: 12px 16px !important;
    font-size: 0.92em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

body #wcfmmp-store .add_review input:focus {
    border-color: var(--ucapr-accent) !important;
}

body #wcfmmp-store .add_review button,
body #wcfmmp-store .user_rated {
    background: var(--ucapr-primary) !important;
    color: var(--ucapr-white) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 0.88em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 12px !important;
}

body #wcfmmp-store .add_review button:hover {
    background: var(--ucapr-accent) !important;
    transform: translateY(-1px) !important;
}

body #wcfmmp-store .reviews_area {
    margin-bottom: 24px !important;
}

/* =========================================================================
   ABOUT
   ========================================================================= */

body #wcfmmp-store .wcfmmp-store-about,
body #wcfmmp-store .wcfm-store-about {
    line-height: 1.8 !important;
    color: var(--ucapr-text) !important;
    font-size: 0.95em !important;
}

/* =========================================================================
   ACTUALITÉS (TAB)
   ========================================================================= */

.ucapr-store-news-list {
    padding: 10px 0;
}

.ucapr-news-item {
    background: var(--ucapr-card);
    border-radius: var(--ucapr-radius);
    box-shadow: var(--ucapr-shadow-sm);
    border: 1px solid var(--ucapr-border);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.ucapr-news-item:hover {
    box-shadow: var(--ucapr-shadow);
    transform: translateY(-2px);
}

.ucapr-news-item .news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ucapr-news-item .news-content {
    padding: 20px 24px;
}

.ucapr-news-item .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.82em;
    color: #999;
}

.ucapr-news-item .news-meta .news-date-badge {
    background: var(--ucapr-secondary);
    color: var(--ucapr-white);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
}

.ucapr-news-item .news-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--ucapr-primary);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ucapr-news-item .news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ucapr-news-item .news-title a:hover {
    color: var(--ucapr-accent);
}

.ucapr-news-item .news-excerpt {
    color: var(--ucapr-text-muted);
    font-size: 0.92em;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ucapr-news-item .news-read-more {
    display: inline-block;
    color: var(--ucapr-primary);
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.2s;
}

.ucapr-news-item .news-read-more:hover {
    color: var(--ucapr-accent);
}

.ucapr-news-item .news-read-more::after {
    content: ' \2192';
}

.ucapr-no-news {
    text-align: center;
    padding: 48px 20px;
    color: var(--ucapr-text-muted);
}

.ucapr-no-news .wcfmfa {
    font-size: 2.5em;
    color: var(--ucapr-border);
    display: block;
    margin-bottom: 12px;
}

/* =========================================================================
   SIDEBAR NEWS WIDGET
   ========================================================================= */

.ucapr-sidebar-news {
    background: var(--ucapr-card);
    border-radius: var(--ucapr-radius-sm);
    padding: 18px;
    margin-top: 20px;
    border: 1px solid var(--ucapr-border);
}

.ucapr-sidebar-news h3 {
    font-size: 0.82em;
    font-weight: 700;
    color: var(--ucapr-primary);
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--ucapr-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ucapr-sidebar-news h3 .wcfmfa {
    margin-right: 6px;
    color: var(--ucapr-accent);
}

.ucapr-sidebar-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ucapr-sidebar-news ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ucapr-sidebar-news ul li:last-child {
    border-bottom: none;
}

.ucapr-sidebar-news ul li a {
    color: var(--ucapr-text);
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}

.ucapr-sidebar-news ul li a:hover {
    color: var(--ucapr-accent);
}

.ucapr-sidebar-news .news-date {
    display: block;
    font-size: 0.78em;
    color: #999;
    margin-top: 2px;
}

/* =========================================================================
   LOADER AJAX
   ========================================================================= */

.ucapr-tab-loader {
    width: 36px;
    height: 36px;
    border: 3px solid var(--ucapr-border);
    border-top-color: var(--ucapr-primary);
    border-radius: 50%;
    animation: ucapr-spin 0.7s linear infinite;
    margin: 0 auto;
}

@keyframes ucapr-spin {
    to { transform: rotate(360deg); }
}

/* =========================================================================
   SPACERS & CLEARFIX
   ========================================================================= */

body #wcfmmp-store .spacer {
    clear: both !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

body #wcfmmp-store .wcfm-clearfix {
    clear: both !important;
    height: 0 !important;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media screen and (max-width: 960px) {
    body #wcfmmp-store #wcfm_store_header {
        margin: -40px 16px 0 !important;
        border-radius: var(--ucapr-radius-sm) !important;
    }

    body #wcfmmp-store .body_area {
        flex-direction: column !important;
        padding: 20px 16px 30px !important;
        gap: 20px !important;
    }

    body #wcfmmp-store .body_area > .left_sidebar {
        width: 100% !important;
        order: 2 !important;
        position: static !important;
    }
}

@media screen and (max-width: 768px) {
    body #wcfmmp-store .banner_img {
        height: 180px !important;
        max-height: 180px !important;
    }

    body #wcfmmp-store #wcfm_store_header {
        margin: -30px 12px 0 !important;
    }

    body #wcfmmp-store #wcfm_store_header .header_area {
        padding: 20px !important;
        flex-wrap: wrap !important;
    }

    body #wcfmmp-store #wcfm_store_header .header_left {
        flex-wrap: wrap !important;
    }

    body #wcfmmp-store #wcfm_store_header .logo_area img {
        width: 64px !important;
        height: 64px !important;
    }

    body #wcfmmp-store h1.wcfm_store_title {
        font-size: 1.3em !important;
    }

    body #wcfmmp-store .tab_area .tab_links li a {
        padding: 12px 14px !important;
        font-size: 0.72em !important;
    }

    body #wcfmmp-store .product_area,
    body #wcfmmp-store #products,
    body #wcfmmp-store ._area {
        padding: 20px !important;
    }

    body #wcfmmp-store #wcfm_store_header .bd_icon_area {
        margin-top: 12px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

@media screen and (max-width: 480px) {
    body #wcfmmp-store .banner_img {
        height: 140px !important;
        max-height: 140px !important;
    }

    body #wcfmmp-store #wcfm_store_header {
        margin: -20px 8px 0 !important;
    }

    body #wcfmmp-store #wcfm_store_header .header_area {
        padding: 16px !important;
    }

    body #wcfmmp-store #wcfm_store_header .header_left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

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

    body #wcfmmp-store .tab_links {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
    }

    body #wcfmmp-store .tab_area .tab_links li a {
        padding: 10px 12px !important;
        font-size: 0.68em !important;
    }

    body #wcfmmp-store #wcfm_store_header .bd_icon_area {
        justify-content: center !important;
    }
}
