.pb-footer-section {
    width: 100%;
    min-height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.pb-footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.pb-footer-content {
    position: relative;
    z-index: 2;
}
.pb-footer-column {
    padding: 0 15px;
}
.pb-footer-column-title {
    font-weight: 700;
    margin-bottom: 15px;
}
.pb-footer-links li {
    list-style: none;
    margin-bottom: 8px;
}
.pb-footer-links a {
    text-decoration: none;
    transition: color 0.3s;
}
.pb-footer-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}

/* ===== THUMBNAIL ===== */
.pb-footer-thumbnail {
    width: 100%;
    height: 140px;
    background: #1e1e1e;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 10px;
    box-sizing: border-box;
    border: 1px solid #333;
    overflow: hidden;
}
.pb-footer-thumb-col {
    background: #2a2a2a;
    border-radius: 4px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}
.pb-footer-thumb-title {
    height: 12px;
    width: 80%;
    background: #6c8eb0;
    border-radius: 2px;
    margin-bottom: 6px;
}
.pb-footer-thumb-text {
    height: 6px;
    width: 100%;
    background: #555;
    border-radius: 2px;
}
.pb-footer-thumb-text.short {
    width: 60%;
}

/* ===== DEFAULT FOOTER TEXT COLOURS ===== */
.pb-footer-section {
    color: #ffffff;
}
.pb-footer-section a {
    color: #ffffff;
    text-decoration: none;
}
.pb-footer-section a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
.pb-footer-section .pb-footer-column-title {
    color: #f0c040;
    font-weight: 700;
    margin-bottom: 15px;
}
.pb-footer-section .pb-footer-links a {
    color: #ffffff;
}
.pb-footer-section .pb-footer-links a:hover {
    color: #f0c040;
}
.pb-footer-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}
.pb-char-counter {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
    line-height: 1.4;
}
/* ===== DELETE BUTTON (like Grid) ===== */
.pb-footer-remove-item {
    background: none !important;
    border: none !important;
    color: #d63638 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 8px;
}
.pb-footer-remove-item:hover {
    color: #b32d2d !important;
    text-decoration: underline;
}
.pb-footer-item-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px 0;
}

/* ===== FOOTER CONTENT LAYOUT ===== */
.pb-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
.pb-footer-column {
    padding: 0;
}
.pb-footer-column p {
    color: #cccccc;
    margin-bottom: 8px;
}
.pb-footer-column i {
    width: 20px;
    margin-right: 5px;
}
.pb-footer-column .pb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pb-footer-column .pb-footer-links li {
    margin-bottom: 8px;
}
.pb-footer-column .pb-footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}
.pb-footer-column .pb-footer-links a:hover {
    color: #f0c040;
}

/* ===== ADMIN UI STYLES (used only in the WP admin) ===== */
.pb-footer-placeholder {
    border: 2px dashed #ccd0d4;
    border-radius: 12px;
    background: #fdfdfd;
    padding: 40px 20px;
    text-align: center;
    color: #646970;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.pb-footer-placeholder i {
    font-size: 32px;
    color: #2271b1;
    opacity: 0.6;
}
.pb-footer-placeholder span {
    font-weight: 600;
    font-size: 15px;
    color: #1d2327;
}
.pb-footer-placeholder p {
    margin: 0;
    font-size: 13px;
    max-width: 300px;
    line-height: 1.5;
}

.pb-footer-tabs-wrapper,
.pb-footer-tab-content-wrapper {
    margin-top: 20px;
}
.pb-footer-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px 8px 0 0;
    padding: 0 10px;
}
.pb-footer-tabs-nav-container {
    overflow: hidden;
    width: 100%;
}
.pb-footer-tabs-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 10px 0 0 0;
}
.pb-footer-tabs-nav::-webkit-scrollbar {
    display: none;
}
.pb-footer-tab-btn {
    padding: 12px 20px;
    background: #f6f7f7;
    border: 1px solid #ccd0d4;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.pb-footer-tab-btn.active {
    background: #fff;
    color: #2271b1;
    border-bottom: 2px solid #fff;
}
.pb-footer-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #2271b1;
}
.pb-footer-slider-btn.prev {
    left: 5px;
}
.pb-footer-slider-btn.next {
    right: 5px;
}
.pb-footer-slider-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pb-footer-registry-item {
    display: none;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 6px 6px;
    margin-bottom: 10px;
}
.pb-footer-registry-item.active {
    display: block;
}

.pb-footer-sub-tab-content {
    display: none;
    padding: 15px;
}
.pb-footer-sub-tab-content.active {
    display: block;
}

.pb-footer-sub-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    margin-bottom: 15px;
}
.pb-footer-sub-tab-btn {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #50575e;
    transition: all 0.2s;
}
.pb-footer-sub-tab-btn.active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.mode-full .pb-footer-tabs-wrapper {
    display: none;
}
.mode-full .pb-footer-registry-item {
    display: block !important;
    margin-bottom: 30px;
}

/* Link repeater delete button */
.pb-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.pb-link-item input[type="text"] {
    flex: 1;
    min-width: 100px;
}
.pb-link-item .pb-remove-link {
    background: none !important;
    border: none !important;
    color: #d63638 !important;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    border-radius: 4px;
    transition: 0.2s;
}
.pb-link-item .pb-remove-link:hover {
    background: #fbeaea !important;
    color: #b32d2d !important;
}
.pb-link-item .pb-remove-link i {
    font-size: 16px;
}
/* Spacing around the link list wrapper */
.pb-link-list-wrapper {
    margin-top: 10px;
}
.pb-link-list-wrapper .pb-add-link {
    margin-top: 6px;
}

.pb-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.pb-footer-contact-item i {
    width: 1.2em;
    text-align: center;
}
.pb-footer-contact-label {
    font-weight: 600;
    margin-right: 4px;
}

.pb-contact-item {
    margin-bottom: 10px;
}
.pb-contact-item-fields {
    display: flex;
    gap: 8px;
}
.pb-contact-item-fields select,
.pb-contact-item-fields input[type="text"] {
    flex: 1 1 auto;
    min-width: 100px;
}
.pb-remove-contact {
    background: none !important;
    border: none !important;
    color: #d63638 !important;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    border-radius: 4px;
    transition: 0.2s;
}
.pb-remove-contact:hover {
    background: #fbeaea !important;
    color: #b32d2d !important;
}

/* Custom Icon Picker – no external libraries */
.pb-icon-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
}
.pb-icon-picker-trigger {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-width: 120px;
    justify-content: space-between;
    flex-shrink: 0;
}
.pb-icon-picker-trigger i {
    font-size: 16px;
    width: 20px;
}
.pb-icon-picker-arrow {
    font-size: 10px;
    color: #666;
}
.pb-icon-picker-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pb-icon-picker-option {
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pb-icon-picker-option:hover {
    background: #f0f0f1;
}
.pb-icon-picker-option.selected {
    background: #e0e0e0;
}
.pb-icon-picker-option i {
    width: 20px;
    text-align: center;
}
.pb-icon-picker-custom-wrap {
    display: none;
    margin: 0;
    flex: 0 0 auto;
}
.pb-icon-picker-custom-wrap.visible {
    display: inline-flex;
    align-items: center;
}
.pb-icon-picker-custom-input {
    width: 140px;
    padding: 4px 6px;
    border: 1px solid #ccd0d4;
    border-radius: 3px;
    height: 30px;
}

/* Contact item color picker – small inline */
.pb-contact-item-fields .pb-factory-color-picker {
    width: 40px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid #ccc !important;
    flex-shrink: 0;
}
/* Hide the hex input that Spectrum adds (optional) */
.pb-contact-item-fields .pb-factory-color-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.pb-contact-item-fields .pb-factory-color-wrapper .sp-replacer {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.pb-contact-item-fields .pb-factory-color-wrapper .sp-preview {
    border: 1px solid #ccc !important;
    border-radius: 4px;
    width: 30px;
    height: 30px;
}
.pb-contact-item-fields .pb-factory-color-wrapper .sp-preview .sp-preview-inner {
    border-radius: 4px;
}

/* ===== SOCIAL MEDIA ===== */
.pb-footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.pb-footer-social a {
    display: inline-block;
    transition: opacity 0.3s ease;
}
.pb-footer-social a:hover {
    opacity: 0.7;
}
.pb-footer-social i {
    font-size: 24px; 
}
/* ===== SOCIAL DELETE BUTTON ===== */
.pb-remove-social {
    background: none !important;
    border: none !important;
    color: #d63638 !important;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    border-radius: 4px;
    transition: 0.2s;
}
.pb-remove-social:hover {
    background: #fbeaea !important;
    color: #b32d2d !important;
}
.pb-remove-social i {
    font-size: 16px;
}

/* ===== FOOTER STYLE V2 ===== */
.pb-footer-style-v2 {
    font-family: 'Poppins', sans-serif;
    background: #0f0c29;
    background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    padding: 60px 0 30px 0;
    color: #ffffff;
}
.pb-footer-style-v2 .pb-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: block;
}
/* ===== TOP SECTION ===== */
.pb-footer-style-v2 .pb-footer-top-section {
    text-align: center;
    padding: 0 20px 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}
.pb-footer-style-v2 .pb-footer-top-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.pb-footer-style-v2 .pb-footer-top-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 25px auto;
    line-height: 1.7;
}
.pb-footer-style-v2 .pb-footer-top-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #0d6efd;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}
.pb-footer-style-v2 .pb-footer-top-btn:hover {
    background: #0d6efd;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
}
/* ===== COLUMNS ROW ===== */
.pb-footer-style-v2 .pb-footer-columns-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.pb-footer-style-v2 .pb-footer-column {
    flex: 1 0 auto;
    min-width: 0;
    padding: 0;
    width: auto;
}
.pb-footer-style-v2 .pb-footer-column:first-child {
    flex: 0 0 140px;
    max-width: 140px;
}
.pb-footer-style-v2 .pb-footer-column:nth-child(2),
.pb-footer-style-v2 .pb-footer-column:nth-child(3),
.pb-footer-style-v2 .pb-footer-column:nth-child(4) {
    flex: 1 0 auto;
    min-width: 120px;
    max-width: 180px;
}
.pb-footer-style-v2 .pb-footer-column-wide {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 320px;
}
/* ===== LOGO COLUMN ===== */
.pb-footer-style-v2 .pb-footer-logo {
    text-align: center;
}
.pb-footer-style-v2 .pb-footer-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
.pb-footer-style-v2 .pb-footer-logo-placeholder {
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}
.pb-footer-style-v2 .pb-footer-logo-placeholder i {
    font-size: 32px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.2);
}
/* ===== TITLES ===== */
.pb-footer-style-v2 .pb-footer-column-title {
    color: #f0c040;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
/* ===== LINK LISTS ===== */
.pb-footer-style-v2 .pb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pb-footer-style-v2 .pb-footer-links li {
    margin-bottom: 10px;
}
.pb-footer-style-v2 .pb-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.pb-footer-style-v2 .pb-footer-links a:hover {
    color: #f0c040;
    text-decoration: none;
}
/* ===== CONTACT ITEMS ===== */
.pb-footer-style-v2 .pb-footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pb-footer-style-v2 .pb-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    flex-wrap: wrap;
}
.pb-footer-style-v2 .pb-footer-contact-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    flex-shrink: 0;
}
.pb-footer-style-v2 .pb-footer-contact-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 3px;
    white-space: nowrap;
}
.pb-footer-style-v2 .pb-footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}
.pb-footer-style-v2 .pb-footer-contact-item a:hover {
    color: #f0c040;
    text-decoration: none;
}
/* ===== SOCIAL SECTION ===== */
.pb-footer-style-v2 .pb-footer-social-section {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}
.pb-footer-style-v2 .pb-footer-social-title {
    color: #f0c040;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.pb-footer-style-v2 .pb-footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.pb-footer-style-v2 .pb-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    text-decoration: none;
}
.pb-footer-style-v2 .pb-footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    text-decoration: none;
}
.pb-footer-style-v2 .pb-footer-social a i {
    font-size: 20px;
}


/* ===== V2 SETTINGS ADMIN UI ===== */
/* These styles are used only in the WordPress admin for the V2 footer settings */
.pb-footer-v2-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.pb-footer-v2-top-section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 30px;
}
.pb-footer-v2-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pb-footer-v2-top-grid .full-width {
    grid-column: 1 / -1;
}
.pb-footer-v2-top-grid label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}
.pb-footer-v2-top-grid .pb-field-wrapper input,
.pb-footer-v2-top-grid .pb-field-wrapper textarea {
    width: 100%;
}
.pb-footer-v2-top-grid .pb-field-wrapper textarea {
    resize: vertical;
    min-height: 60px;
}

.pb-footer-v2-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}
.pb-footer-v2-row .full-width {
    flex: 1 1 100%;
}
.pb-footer-v2-row .half-width {
    flex: 1 1 calc(50% - 25px);
    min-width: 280px;
}

.pb-footer-v2-column-box {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    padding: 18px 20px 20px;
    box-sizing: border-box;
    height: 100%;
}
.pb-footer-v2-column-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pb-footer-v2-column-box .pb-field-wrapper {
    margin-bottom: 12px;
}
.pb-footer-v2-column-box .pb-field-wrapper label {
    font-weight: 500;
}
.pb-footer-v2-column-box .pb-link-list-wrapper,
.pb-footer-v2-column-box .pb-contact-items-wrapper,
.pb-footer-v2-column-box .pb-social-items-wrapper {
    margin-top: 8px;
}
.pb-footer-v2-column-box .pb-add-link,
.pb-footer-v2-column-box .pb-add-contact,
.pb-footer-v2-column-box .pb-add-social {
    margin-top: 6px;
}

/* Contact & Social items – clean, full-width, no scroll */
.pb-contact-item-fields,
.pb-social-item-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.pb-contact-item-fields .pb-field-wrapper,
.pb-contact-item-fields .pb-factory-color-wrapper,
.pb-contact-item-fields .pb-icon-picker,
.pb-contact-item-fields .pb-remove-contact,
.pb-social-item-fields .pb-field-wrapper,
.pb-social-item-fields .pb-factory-color-wrapper,
.pb-social-item-fields .pb-icon-picker,
.pb-social-item-fields .pb-remove-social {
    flex: 0 0 auto;
}
.pb-contact-item-fields input[type="text"],
.pb-social-item-fields input[type="text"] {
    min-width: 100px;
    width: auto;
    flex: 1 1 auto;
}
.pb-contact-item-fields .pb-contact-label {
    width: 100px;
    min-width: 80px;
}
.pb-contact-item-fields .pb-contact-value {
    width: 150px;
    min-width: 120px;
}
.pb-social-item-fields .pb-social-url {
    min-width: 150px;
    flex: 1;
}
.pb-contact-item-fields .pb-char-counter,
.pb-social-item-fields .pb-char-counter {
    display: inline-block;
    margin-left: 2px;
    font-size: 10px;
    white-space: nowrap;
}
.pb-contact-item-fields .pb-remove-contact,
.pb-social-item-fields .pb-remove-social {
    margin-left: auto;
    flex-shrink: 0;
}
/* Ensure color picker doesn't force scroll */
.pb-contact-item-fields .pb-factory-color-wrapper,
.pb-social-item-fields .pb-factory-color-wrapper {
    flex-shrink: 0;
}
.pb-contact-item-fields .pb-factory-color-picker,
.pb-social-item-fields .pb-factory-color-picker {
    width: 40px !important;
    height: 30px !important;
}
.pb-contact-item-fields .pb-factory-color-hex,
.pb-social-item-fields .pb-factory-color-hex {
    width: 100px !important;
    height: 30px !important;
}

/* Keep existing styles for repeaters, counters, and pickers */
.pb-link-item .pb-field-wrapper,
.pb-contact-item-fields .pb-field-wrapper,
.pb-social-item-fields .pb-field-wrapper {
    display: inline-block !important;
    vertical-align: middle;
}
.pb-link-item .pb-field-wrapper .pb-char-counter,
.pb-contact-item-fields .pb-field-wrapper .pb-char-counter,
.pb-social-item-fields .pb-field-wrapper .pb-char-counter {
    font-size: 10px;
    margin-left: 2px;
    min-width: 30px;
    display: inline-block;
}
.pb-contact-item-fields .pb-field-wrapper,
.pb-social-item-fields .pb-field-wrapper {
    margin-right: 4px;
}

/* ===== FOOTER STYLE V3 ===== */
.pb-footer-style-v3 {
    background: #000000;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 60px 0 30px 0;
}
.pb-footer-style-v3 .pb-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: block;
}
/* Main row – 5 columns */
.pb-footer-v3-main-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.pb-footer-v3-col {
    flex: 1 0 auto;
    min-width: 120px;
}
.pb-footer-v3-col-logo {
    flex: 0 0 120px;
    text-align: center;
}
.pb-footer-v3-col-links {
    flex: 1;
    min-width: 120px; 
}
.pb-footer-v3-col-image {
    flex: 0 0 100px;
    text-align: center;
}
.pb-footer-v3-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}
.pb-footer-v3-logo-placeholder {
    font-size: 48px;
    font-weight: bold;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 4px;
    color: #ffffff;
    opacity: 0.8;
}
.pb-footer-v3-col-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}
.pb-footer-v3-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pb-footer-v3-links li {
    margin-bottom: 8px;
}
.pb-footer-v3-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}
.pb-footer-v3-links a:hover {
    color: #ffffff;
    text-decoration: none;
}
.pb-footer-v3-image-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    margin-bottom: 10px;
}
.pb-footer-v3-image-text {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
}
/* Contact row (full width) */
.pb-footer-v3-contact-row {
    padding: 30px 0 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}
.pb-footer-v3-contact-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}
.pb-footer-v3-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}
.pb-footer-v3-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.pb-footer-v3-contact-item i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.pb-footer-v3-contact-label {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.pb-footer-v3-contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.pb-footer-v3-contact-item a:hover {
    color: #ffffff;
}
/* Social row (full width) */
.pb-footer-v3-social-row {
    padding: 20px 0 10px 0;
    text-align: center;
}
.pb-footer-v3-social-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}
.pb-footer-v3-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.pb-footer-v3-social a {
    display: inline-block;
    transition: opacity 0.3s, transform 0.2s;
}
.pb-footer-v3-social a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}
.pb-footer-v3-social i {
    font-size: 24px;
}

/* ===== V3 ADMIN UI ===== */
.pb-footer-v3-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.pb-footer-v3-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}
.pb-footer-v3-row .full-width {
    flex: 1 1 100%;
}
.pb-footer-v3-row .half-width {
    flex: 1 1 calc(50% - 25px);
    min-width: 280px;
}
.pb-footer-v3-row .third-width {
    flex: 1 1 calc(33.333% - 25px);
    min-width: 200px;
}
.pb-footer-v3-column-box {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    padding: 18px 20px 20px;
    box-sizing: border-box;
    height: 100%;
}
.pb-footer-v3-column-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pb-footer-v3-column-box .pb-field-wrapper {
    margin-bottom: 12px;
}
.pb-footer-v3-column-box .pb-field-wrapper label {
    font-weight: 500;
}

.pb-footer-style-v3 .pb-footer-v3-contact-item {
    gap: 12px;
}
.pb-footer-style-v3 .pb-footer-v3-contact-item i {
    margin-right: 4px;
    flex-shrink: 0;
}
/* Contact settings – full width & centered */
.pb-contact-items-wrapper {
    width: 100%;
}
.pb-contact-item {
    width: 100% !important; /* force full width */
}
.pb-contact-item-fields {
    justify-content: center !important;
    width: 100% !important;
}
.pb-contact-item-fields .pb-field-wrapper {
    flex: 0 1 auto;
}
.pb-contact-item-fields input[type="text"] {
    min-width: 100px;
}
.pb-contact-item-fields .pb-contact-label {
    width: 120px;
}
.pb-contact-item-fields .pb-contact-value {
    width: 200px;
}

/* ===== FOOTER STYLE V4 ===== */
.pb-footer-style-v4 {
    background: #0052ff;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding-top: 80px; /* space for contact bar */
}
.pb-footer-style-v4 .pb-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: block;
}

/* Contact bar - half outside, half inside */
.pb-footer-v4-contact-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #ffffff;
    color: #333;
    border-radius: 50px;
    padding: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}
.pb-footer-v4-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pb-footer-v4-contact-item i {
    color: #0052ff;
    flex-shrink: 0;
}
.pb-footer-v4-contact-text {
    display: flex;
    flex-direction: column;
}
.pb-footer-v4-contact-text span {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 2px;
}
.pb-footer-v4-contact-text p,
.pb-footer-v4-contact-text a {
    margin: 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
.pb-footer-v4-contact-text a:hover {
    text-decoration: underline;
}

/* Main row – 4 columns */
.pb-footer-v4-main-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px; /* increased from -30px to create space */
    padding: 20px 0 30px 0;
}
.pb-footer-v4-col {
    flex: 1 0 auto;
    min-width: 180px;
}
.pb-footer-v4-col-logo {
    flex: 1.5;
    min-width: 220px;
}
.pb-footer-v4-col-links {
    flex: 1;
}
.pb-footer-v4-col-newsletter {
    flex: 1.5;
    min-width: 220px;
}

/* Titles */
.pb-footer-v4-col-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}
/* Description */
.pb-footer-v4-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}
/* Links */
.pb-footer-v4-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pb-footer-v4-links li {
    margin-bottom: 8px;
}
.pb-footer-v4-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.pb-footer-v4-links a:hover {
    color: #ffffff;
    text-decoration: none;
}
/* Social icons */
.pb-footer-style-v4 .pb-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.pb-footer-style-v4 .pb-footer-social a {
    display: inline-block;
    transition: opacity 0.3s, transform 0.2s;
}
.pb-footer-style-v4 .pb-footer-social a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Column layout */
.pb-footer-style-v4 .pb-footer-v4-col-newsletter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pb-footer-style-v4 .pb-footer-v4-col-newsletter .pb-footer-v4-newsletter-desc {
    margin-bottom: 16px;
    font-size: 14px;
    opacity: 0.9;
}

/* Make the form invisible for layout – only the wrapper handles the flex */
#pb-newsletter-form {
    display: contents !important;
}

/* The main visual container */
.pb-newsletter-input-group {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border-radius: 60px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
    max-width: 400px !important;      /* ← matches the original design */
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px !important;
    border: none !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.3s ease !important;
}

.pb-newsletter-input-group:focus-within {
    box-shadow: 0 4px 24px rgba(0, 82, 255, 0.25) !important;
}

/* Input */
.pb-newsletter-input-group input[type="email"] {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    border: none !important;
    padding: 0 20px !important;
    height: 48px !important;
    font-size: 15px !important;
    color: #1e1e2a !important;
    background: transparent !important;
    outline: none !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: block !important;
    line-height: 48px !important;
    flex-shrink: 1 !important;
}

.pb-newsletter-input-group input[type="email"]::placeholder {
    color: #9aa0a8 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Button – fully rounded (pill) */
.pb-newsletter-input-group button {
    flex: 0 0 auto !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    background: #0052ff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;      /* round button */
    flex-shrink: 0 !important;
    transition: background 0.2s, transform 0.15s !important;
    box-shadow: none !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.pb-newsletter-input-group button:hover {
    background: #0040cc !important;
    transform: scale(0.96) !important;
}

.pb-newsletter-input-group button i {
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Hide any hidden inputs that might break the layout */
.pb-newsletter-input-group input[type="hidden"] {
    display: none !important;
}