/*
 * File: footer-styles.css
 * Styles for the Custom Mobile-First Footer (Version 5.5 - Final Icon Size)
 */

/* --- 1. DEFINE CUSTOM FONT --- */
@font-face {
    font-family: 'Open Sans SemiBold';
    src: url('/wp-content/themes/kadence-child/fonts/open-sans-v43-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Main Footer Bar --- */
.cff-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

/* --- Left and Right Item Groups --- */
.cff-footer-group {
    display: flex;
    align-items: center;
    flex-basis: 33.33%;
}
.cff-group-left { 
    justify-content: flex-start; 
}
.cff-group-right { 
    justify-content: flex-end; 
    gap: 20px;
}

/* --- Navigation Items (Home, Profile) --- */
.cff-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0000ff; 
}
.cff-mobile-item .cff-icon { 
    margin-bottom: 2px; 
}
.cff-mobile-item .cff-label { 
    font-size: 12px;
    color: #333; 
}
.cff-mobile-item.active .cff-label {
    font-weight: bold;
    color: #0000ff;
}

/* --- Logo Item --- */
.cff-mobile-logo-item img {
    height: 56px;
    width: auto;
    display: block;
}

/* --- Center "Add" Button --- */
.cff-mobile-item-add {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    height: 100%;
    justify-content: flex-end;
}

.cff-add-icon-background {
    position: absolute; 
    top: -15px; /* Adjusted lift for smaller button */
    display: flex;
    justify-content: center;
    align-items: center;
    /* --- THIS IS THE CHANGE: Smaller button size --- */
    width: 40px;
    height: 40px;
    background-color: #0000ff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: top 0.2s ease;
}
.cff-mobile-item-add:active .cff-add-icon-background {
    top: -13px; /* Adjusted press-down effect */
}

/* --- Style the CTA text --- */
.cff-add-text {
    font-family: 'Open Sans SemiBold', sans-serif;
    font-weight: 600;
    font-size: 14px; 
    color: #111;
    white-space: nowrap;
    
    background-color: #ffd700;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);

    margin-bottom: 4px; 
}
