/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Divi child theme for Embassy Priority. Houses custom overrides (portfolio city tabs). Parent Divi stylesheet is auto-enqueued by Divi core.
Author: Odigma
Author URI: https://odigma.com
Template: Divi
Version: 1.0.0
Text Domain: divi-child
*/

/* Poppins (weights 100-600), loaded site-wide. Divi only enqueues Google
   fonts on pages where a builder module uses them; this guarantees the
   family everywhere. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* Intentionally minimal. Overrides live in assets/css/portfolio-tabs.css */


.property-card .card-content p.price {
    /* color: #F58220; */
    color: #333333 !important;
}

#food_beverages_wrapper .et_pb_button_wrapper a.et_pb_more_button:hover,
a#view-btn:hover {
    background-color: #ffffff !important;
}

select.ep-fb-select {
    padding-left: 15px;
}

.et-db #et-boc .dsm_advanced_tabs_0_tb_body .dsm-tab.dsm-active::before {
    background: #000000 !important;
}

.cip-checkbox-text a.cip-terms-link {
    color: #000000 !important;
}

.cip-checkbox-text a.cip-terms-link:hover {
    text-decoration: underline !important;
    color: #000000 !important;
}

button#cip-send-otp-btn:hover,
button#cip-verify-otp-btn:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

.et-menu-nav ul#menu-main-menu .cip-login-trigger.menu-item-has-children>a .cip-user-name,
.et-menu-nav ul#menu-main-menu .cip-login-trigger.menu-item-has-children>a .cip-navbar-points,
.et-menu-nav ul#menu-main-menu .cip-login-trigger.menu-item-has-children>a .cip-navbar-separator {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 1vw !important;
}

#et-boc.et-boc .et_pb_section_0.et_pb_section {
    z-index: -1 !important;
}

.ep-fb-actions .ep-fb-clear:hover {
    background: white !important;
    color: black !important;
    border-color: white !important;
}

button#cip-lead-modal-submit-btn:hover,
button#cip-confirm-ok:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

.ep-filterbar .ep-fb-budget .budget-values #epBudgetOut {
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* --- Global typography: Poppins site-wide (20260710) ---
   Block 1: all body text + form controls at weight 300.
   Block 2 (after, wins on headings): h1-h6 and their inner
   elements at weight 400, so links/spans inside headings
   don't drop to 300. */
body,
p,
li,
a,
span,
label,
blockquote,
td,
th,
dd,
dt,
figcaption,
article,
aside,
section,
input,
textarea,
select,
button,
optgroup,
option {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 300 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

/* Divi buttons: Divi's generated selectors are more specific than the
   global `a` rule above, so they need matching at their own specificity. */
html body #page-container #main-content .et_pb_section .et_pb_button_0 {
    font-family: 'Poppins', sans-serif !important;
}

html body #page-container #main-content .et_pb_section a.et_pb_button_1 {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 300 !important;
}

/* Portfolio slider card titles (Divi sets these to Neulissans via module CSS). */
html body #page-container #main-content .ep-portfolio-slider .dsm_card_carousel h4.et_pb_module_header {
    font-family: 'Poppins', sans-serif !important;
}

/* Property card text: project name, location, price, BHK badge. */
html body #page-container .project-name,
html body #page-container .location,
html body #page-container p.price,
html body #page-container .bhk-badge {
    font-family: 'Poppins', sans-serif !important;
}

/* --- Exempt the WP admin toolbar from the global Poppins rule (fix admin-bar icons) --- */
#wpadminbar,
#wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-weight: 400 !important;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar #adminbarsearch::before,
#wpadminbar .dashicons,
#wpadminbar [class^="dashicons-"]::before,
#wpadminbar [class*=" dashicons-"]::before {
    font-family: dashicons;
}

/* --- Projects listing (page-id-50): the cards section has a fixed min-height (~2969px)
       that leaves large empty space since only 6 cards show per page. Size to content. --- */
body.page-id-50 .et_pb_section_3.et_pb_section {
    min-height: 0 !important;
    padding-bottom: 0;
    padding-top: 25px;
}

body.page-id-50 .et_pb_column .et_pb_row_inner_0 {
    padding-bottom: 0;
}

#introduce-now-button {
    max-width: 110px;
    width: 100%;
    right: 0px;
    bottom: 0px;
}

#introduce-now-button.et_pb_image img {
    width: 100%;
}

.card-item.soldout {
    pointer-events: none;
    cursor: default;
}

@media(max-width:768px) {
    #introduce-now-button {
        width: auto;
        right: auto;
        bottom: auto;
    }
}

/* Fix filtergrid search icon showing "U" — the global Poppins !important rule on
   span was overriding the ETmodules icon font. Restores the magnifier glyph.
   Only affects the search-icon element; no other content/layout. */
.et-pb-icon.dp-dfg-search-icon,
.dp-dfg-search-icon {
    font-family: ETmodules !important;
}

/* Events page (page-id-75) only: switch page-content font from Neulissans to Poppins.
   Scoped to this page; leaves global header/footer and the search ICON (ETmodules) untouched. */
body.page-id-75 .et_pb_text_0,
body.page-id-75 .et_pb_text_0 h1,
body.page-id-75 .et_pb_text_1,
body.page-id-75 .et_pb_text_1 h2,
body.page-id-75 .dpdfg_filtergrid_0 .entry-title,
body.page-id-75 .dpdfg_filtergrid_0 .entry-title a,
body.page-id-75 .dpdfg_filtergrid_0 .entry-meta span,
body.page-id-75 .dpdfg_filtergrid_0 .entry-meta span a,
body.page-id-75 .dpdfg_filtergrid_0 .dp-dfg-search-input,
body.page-id-75 .dpdfg_filtergrid_0 .dp-dfg-pagination ul.pagination li a,
body.page-id-75 .dpdfg_filtergrid_0 .dp-dfg-pagination ul.pagination li.pagination-item a,
body.page-id-75 .dpdfg_filtergrid_0 .dp-dfg-pagination ul.pagination li.pagination-item.active a,
body.page-id-75 #page-container .et_pb_section .dpdfg_filtergrid_0 .et_pb_button.dp-dfg-more-button {
    font-family: 'Poppins', sans-serif !important;
}

/* Footer contact module (phone + newly added email): let the long email wrap
   cleanly within its column instead of overflowing/being cut off. No width change. */
.et_pb_text_9_tb_footer a {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Footer (desktop): widen Contact Us so the email fits one line. Higher specificity
   (body #page-container ...) to override Divi's own column-width !important rule.
   Extra width from the empty spacer (->0) + 1% off logo; MENU/ENGAGEMENTS unchanged. */
@media (min-width: 981px) {
    body #page-container .et_pb_column_0_tb_footer {
        width: 29% !important;
    }

    body #page-container .et_pb_column_1_tb_footer {
        width: 0 !important;
    }

    body #page-container .et_pb_column_4_tb_footer {
        width: 26% !important;
    }
}

.postid-420 .project_price,
.postid-418 .project_price,
.postid-424 .project_price {
    display: none !important;
}

body.page-id-54 #introduce-now-button {
    display: none;
    opacity: 0;
    visibility: hidden;
}
/* Project detail pages — mobile (<=767px) only: set the tab content (Project
   Description / Gallery / Amenities) to 14px. It was rendering at ~1.2vw (too small).
   Scoped to single-project + phone; higher specificity + !important to win. No other change. */
@media (max-width: 767px) {
    body.single-project .dsm_advanced_tabs_0_tb_body .dsm-advanced-tabs-content-wrapper .dsm-content-wrapper .dsm-content,
    body.single-project .dsm_advanced_tabs_0_tb_body .dsm-advanced-tabs-content-wrapper .dsm-content-wrapper .dsm-content p,
    body.single-project .dsm_advanced_tabs_0_tb_body .dsm-advanced-tabs-content-wrapper .dsm-content-wrapper .dsm-content li,
    body.single-project .dsm_advanced_tabs_0_tb_body .dsm-advanced-tabs-content-wrapper .dsm-content-wrapper .dsm-content span {
        font-size: 14px !important;
    }
}

/* Project detail, ~1024px only (981-1100px): keep Enquire Now + Refer Now side-by-side
   (they were wrapping in the narrow sidebar). Only these two buttons on project pages;
   no effect below 981 or above 1100. */
@media (min-width: 981px) and (max-width: 1100px) {
    body.single-project #page-container .et_pb_section .dsm_button .et_pb_button_module_wrappers {
        white-space: nowrap !important;
    }
    body.single-project #page-container .et_pb_section .dsm_button .et_pb_button_one.cip-smart-refer-btn.et_pb_button,
    body.single-project #page-container .et_pb_section .dsm_button .et_pb_button_two.cip-smart-refer-btn.et_pb_button {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    body.single-project #page-container .et_pb_section .dsm_button .et_pb_button_two.cip-smart-refer-btn.et_pb_button {
        margin-left: 10px !important;
    }
}
