@charset 'utf-8';
/*
 Theme Name:   Barbershop Child
 Theme URI:    https://barber.axiomthemes.com/
 Description:  Barber - Fully Responsive and Mobile Friendly theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com
 Template:     barbershop
 Version:      1.0
 Tags:         light, inheritable theme-options
 Text Domain:  axiom
*/
@import url('https://fonts.googleapis.com/css2?family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

*, html, body {
	font-family: "Overlock", sans-serif !important;
}

/* =Theme customization starts here
-------------------------------------------------------------- */
/* =============================================
   GROOMSMEN PARTY FORM - Estilos específicos
   ============================================= */

#groomsmen-form .wpcf7-form {
    max-width: 600px;
}

#groomsmen-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

#groomsmen-form input[type="text"],
#groomsmen-form input[type="email"],
#groomsmen-form input[type="tel"],
#groomsmen-form input[type="date"],
#groomsmen-form select,
#groomsmen-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#groomsmen-form input:focus,
#groomsmen-form select:focus,
#groomsmen-form textarea:focus {
    outline: none;
    border-color: #b89d5c;
}

/* Campos de nombre en línea */
#groomsmen-form .name-fields {
    display: flex;
    gap: 15px;
}

#groomsmen-form .name-fields .name-field {
    flex: 1;
}

#groomsmen-form .name-fields input {
    margin-bottom: 20px;
}

/* Checkboxes */
#groomsmen-form .wpcf7-checkbox {
    display: block;
    margin-bottom: 15px;
}

#groomsmen-form .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
}

/* Textarea */
#groomsmen-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkboxes visibles */
#groomsmen-form .wpcf7-checkbox input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    opacity: 1 !important;
    position: relative !important;
    margin-right: 10px;
    cursor: pointer;
    vertical-align: middle;
}

#groomsmen-form .wpcf7-checkbox .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    margin-bottom: 12px;
}

#groomsmen-form .wpcf7-checkbox .wpcf7-list-item-label {
    cursor: pointer;
    font-size: 15px;
    color: #333;
}
/* Forzar checkboxes visibles */
#groomsmen-form .wpcf7-checkbox input[type="checkbox"] {
    all: revert !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    cursor: pointer !important;
}


/* Responsive */
@media (max-width: 480px) {
    #groomsmen-form .name-fields {
        flex-direction: column;
        gap: 0;
    }
}

/* =============================================
   CAREERS FORM - Estilos específicos
   ============================================= */

#careers-form .wpcf7-form {
    max-width: 600px;
}

#careers-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

#careers-form input[type="text"],
#careers-form input[type="email"],
#careers-form input[type="tel"],
#careers-form input[type="url"],
#careers-form select,
#careers-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#careers-form input:focus,
#careers-form select:focus,
#careers-form textarea:focus {
    outline: none;
    border-color: #b89d5c;
}

/* Textarea */
#careers-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* File Upload */
#careers-form .wpcf7-file {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    cursor: pointer;
}

#careers-form .wpcf7-file:hover {
    border-color: #b89d5c;
    background-color: #fdfdfb;
}

/* Mensaje de error */
#careers-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 15px;
}

/* Mensaje de éxito */
#careers-form .wpcf7-response-output {
    border: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

#careers-form .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
}

/* Responsive */
@media (max-width: 480px) {
    #careers-form input[type="submit"] {
        width: 100%;
    }
}

/* =============================================
   BSC HEADER - Logo centro, Menu izq, Custom derecha
   Prefix: bsc- (barbershop child)
   Uses #bsc-header-bar ID for max specificity
   ============================================= */

/* Hide duplicate user_header from parent header.php */
.user_header_wrap {
    display: none !important;
}

/* Hide decorative borders that create white margin */
.border.horizontal,
.border.vertical {
    display: none !important;
}

/* ---- STICKY HEADER ---- */
.bsc-header {
    transition: all 0.3s ease;
}

.bsc-header.bsc-header--sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #1a1d21 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: bscSlideDown 0.3s ease;
}

.bsc-header.bsc-header--sticky .menu_user_wrap {
    display: none;
}

.bsc-header.bsc-header--sticky .bsc-logo__img {
    max-height: 50px !important;
}

@keyframes bscSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* Kill margin/padding from parent wrapper around our header bar */
.bsc-header .menu_main_wrap {
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- FLEX ROW (3 columns) via ID ---- */
#bsc-header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 15px;
    box-sizing: border-box;
}

/* ---- COLUMNS ---- */
#bsc-header-bar > .bsc-col {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}

#bsc-header-bar > .bsc-col--nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

#bsc-header-bar > .bsc-col--logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#bsc-header-bar > .bsc-col--actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px;
}

/* ---- NAV inside bsc-col--nav ---- */
#bsc-header-bar .menu_main_nav_area {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    text-align: left !important;
    background-color: transparent !important;
    height: auto !important;
}

#bsc-header-bar .menu_main_nav_area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#bsc-header-bar .menu_main_nav_area .menu_main_nav {
    display: flex !important;
    align-items: center !important;
}

/* Menu items */
#bsc-header-bar .menu_main_nav > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 20;
}

#bsc-header-bar .menu_main_nav > li > a {
    display: block;
    padding: 0 16px;
    color: #5d5f62;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 3em;
    white-space: nowrap;
    transition: color 0.2s linear;
}

#bsc-header-bar .menu_main_nav > li > a:hover,
#bsc-header-bar .menu_main_nav > li.sfHover > a,
#bsc-header-bar .menu_main_nav > li.current-menu-item > a,
#bsc-header-bar .menu_main_nav > li.current-menu-parent > a,
#bsc-header-bar .menu_main_nav > li.current-menu-ancestor > a {
    color: #ffffff;
}

/* Submenu arrow */
#bsc-header-bar .menu_main_nav > li.menu-item-has-children > a:after {
    font-family: 'fontello';
    content: '\e80e';
    display: inline-block;
    position: absolute;
    color: #5d5f62;
    font-size: 8px;
    margin-left: 5px;
    transition: color 0.2s linear;
}

#bsc-header-bar .menu_main_nav > li.menu-item-has-children > a:hover:after,
#bsc-header-bar .menu_main_nav > li.sfHover.menu-item-has-children > a:after,
#bsc-header-bar .menu_main_nav > li.current-menu-item.menu-item-has-children > a:after,
#bsc-header-bar .menu_main_nav > li.current-menu-ancestor.menu-item-has-children > a:after {
    color: #ffffff;
}

/* Submenus (dropdowns) */
#bsc-header-bar .menu_main_nav > li ul {
    position: absolute;
    display: none;
    z-index: 10000;
    background-color: #23262a;
    min-width: 200px;
    top: 100%;
    left: 0;
}

#bsc-header-bar .menu_main_nav > li:hover > ul,
#bsc-header-bar .menu_main_nav > li.sfHover > ul {
    display: block;
}

#bsc-header-bar .menu_main_nav li li {
    margin: 0;
    line-height: 1.5em;
}

#bsc-header-bar .menu_main_nav li li > a {
    display: block;
    padding: 0.5em 1.2em;
    color: #5d5f62;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 30px;
    text-align: left;
}

#bsc-header-bar .menu_main_nav li li > a:hover,
#bsc-header-bar .menu_main_nav li li.current-menu-item > a {
    color: #ffffff;
}

/* Nested submenus */
#bsc-header-bar .menu_main_nav li li ul {
    top: 0;
    left: 100%;
}

#bsc-header-bar .menu_main_responsive_button {
    position: static !important;
    margin: 0 !important;
}

/* ---- LOGO ---- */
#bsc-header-bar .bsc-col--logo a {
    display: inline-block;
    line-height: 0;
}

#bsc-header-bar .bsc-logo__img {
    max-height: 80px;
    width: auto;
    display: inline-block !important;
    transition: max-height 0.3s ease;
}

#bsc-header-bar .bsc-logo__text {
    display: inline-block;
    font-size: 2em;
    color: #fff;
    line-height: 1.2;
}

/* ---- BOOK BUTTON ---- */
#bsc-header-bar .bsc-book-btn {
    background-color: #bf9456;
    color: #1a1d21 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 24px;
    font-size: 0.8em;
    display: inline-block;
    text-decoration: none;
    transition: box-shadow 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

#bsc-header-bar .bsc-book-btn:hover {
    box-shadow: 0 -100px 0 0 #000 inset;
    color: #bf9456 !important;
}

/* ---- CUSTOM CONTENT (user_header) ---- */
#bsc-header-bar .bsc-custom-content {
    text-align: right;
    color: #fff;
}

/* ---- HAMBURGER BUTTON (hidden on desktop) ---- */
.bsc-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
}

.bsc-hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #bf9456;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when open */
.bsc-hamburger--open .bsc-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.bsc-hamburger--open .bsc-hamburger__line:nth-child(2) {
    opacity: 0;
}

.bsc-hamburger--open .bsc-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- FULLSCREEN MOBILE OVERLAY ---- */
.bsc-nav-overlay {
    display: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 959px) {
    #bsc-header-bar {
        flex-wrap: nowrap !important;
        width: 100%;
        position: relative;
    }

    /* Row: hamburger left | logo center | book right */
    #bsc-header-bar > .bsc-col--nav {
        order: 1 !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

    #bsc-header-bar > .bsc-col--logo {
        order: 2 !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
    }

    #bsc-header-bar > .bsc-col--actions {
        order: 3 !important;
        flex: 0 0 auto !important;
        justify-content: flex-end !important;
    }

    /* Show hamburger, hide desktop nav */
    .bsc-hamburger {
        display: flex !important;
    }

    #bsc-header-bar .bsc-nav {
        display: none !important;
    }

    /* Fullscreen overlay */
    .bsc-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(26, 29, 33, 0.97);
        z-index: 10000;
        overflow-y: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 20px 40px;
        box-sizing: border-box;
    }

    .bsc-nav-overlay.bsc-nav-overlay--open {
        display: flex;
    }

    /* Close button inside overlay */
    .bsc-overlay-close {
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bsc-overlay-close::before,
    .bsc-overlay-close::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 2px;
        background-color: #bf9456;
    }

    .bsc-overlay-close::before {
        transform: rotate(45deg);
    }

    .bsc-overlay-close::after {
        transform: rotate(-45deg);
    }

    /* Nav container in overlay */
    .bsc-nav-overlay .bsc-overlay-nav {
        width: 100%;
    }

    /* Menu items in overlay */
    .bsc-nav-overlay .bsc-overlay-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100%;
    }

    .bsc-nav-overlay .bsc-overlay-menu li {
        margin: 0;
        list-style: none;
    }

    .bsc-nav-overlay .bsc-overlay-menu > li > a {
        display: block;
        color: #ffffff;
        font-size: 1.4em;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 18px 0;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .bsc-nav-overlay .bsc-overlay-menu > li > a:hover,
    .bsc-nav-overlay .bsc-overlay-menu > li.current-menu-item > a,
    .bsc-nav-overlay .bsc-overlay-menu > li.current-menu-ancestor > a {
        color: #bf9456;
    }

    /* Sub-items in overlay */
    .bsc-nav-overlay .bsc-overlay-menu li ul {
        list-style: none;
        margin: 0;
        padding: 0 0 10px;
    }

    .bsc-nav-overlay .bsc-overlay-menu li li a {
        display: block;
        color: #5d5f62;
        font-size: 1em;
        font-weight: 400;
        letter-spacing: 1px;
        padding: 8px 0;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .bsc-nav-overlay .bsc-overlay-menu li li a:hover {
        color: #bf9456;
    }

    /* Book button smaller in header */
    #bsc-header-bar .bsc-book-btn {
        padding: 8px 16px !important;
        font-size: 0.7em;
    }

    #bsc-header-bar .bsc-custom-content {
        text-align: center;
        white-space: normal;
    }

    /* Lock body scroll when overlay open */
    body.bsc-menu-open {
        overflow: hidden !important;
    }
}

.user_footer_wrap {
    background-color: #1a1d21;
}