@import url("https://fonts.cdnfonts.com/css/komika-axis");

@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans/src/static/JosefinSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans/src/static/JosefinSans-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans/src/static/JosefinSans-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans/src/static/JosefinSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --c1: #d21d73;
    --c1-rgb: 210, 29, 115;
    --c2: #01bbfe;
    --c3: #efe03a;
    --c4: #6a255d;
    --brand-dark: #12041a;
    --primary: #d21d73;
    --blue: #d21d73;
    --brand-gradient: linear-gradient(135deg, #66b8c9 0%, #d21d73 38%, #c40098 72%, #12041a 100%);
    --brand-font-family: "Komika Axis", "KOMIKAX", "Comic Sans MS", cursive;
    --body-font-family: "Josefin Sans", "Segoe UI", sans-serif;
    --font-family-sans-serif: "Josefin Sans", "Segoe UI", sans-serif;
    --body-text-color: #27324d;
    --brand-logo-shadow: drop-shadow(0 7px 14px rgba(18, 4, 26, 0.22));
}

html,
body {
    font-family: var(--body-font-family) !important;
    color: var(--body-text-color);
}

body,
button,
input,
select,
textarea,
label,
small,
th,
td,
.btn,
.badge,
.dropdown-item,
.custom-control-label,
.form-control,
.nav-link,
.select2-container,
.swal2-popup,
.swal2-title,
.swal2-html-container {
    font-family: var(--body-font-family) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.card-title,
.card-header-title,
.modal-title,
.text-title,
.custom-title {
    font-family: var(--body-font-family) !important;
}

.auth-wrapper .title,
.page-header-title {
    font-family: var(--brand-font-family) !important;
    font-weight: 500 !important;
    color: var(--c1);
}

.navbar-vertical-content,
.navbar-nav-wrap,
.auth-wrapper-right,
.auth-wrapper-right .auth-header,
.auth-wrapper-right .input-label,
.auth-wrapper-right .custom-control-label,
.sidebar--search-form .form-control,
.dropdown-item .text-truncate,
.nav-link .text-truncate,
.nav-subtitle,
.btn:not(.btn-icon),
.form-control::placeholder {
    font-family: var(--body-font-family) !important;
}

.auth-wrapper-right .btn:not(.btn-icon),
.auth-wrapper-right .form-control::placeholder,
.sidebar--search-form .form-control::placeholder {
    text-transform: lowercase;
}

.navbar-vertical-content .nav-link .text-truncate,
.navbar-vertical-content .navbar-vertical-aside-mini-mode-hidden-elements {
    text-transform: capitalize;
}

/* auth-header links inherit capitalization from HTML */

/* Match product titles in POS cards and quick view to the brand style */
.pos-product-item_title,
.modal-body .details .product-title,
.modal-header .product-title {
    font-family: var(--brand-font-family) !important;
    font-weight: 500 !important;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.pos-product-item_title {
    color: #111111;
    font-size: 1.6rem;
}

.modal-body .details .product-title,
.modal-header .product-title {
    color: var(--c1) !important;
    text-decoration: none !important;
}

.sidebar--search-form .search--form-group input,
.sidebar--search-form .search--form-group input::placeholder,
.navbar-vertical .navbar-nav .nav-link,
.navbar-dropdown-account-wrapper .card-text,
.navbar-dropdown-account-wrapper .card-title,
.navbar-dropdown-account .card-title,
.navbar-dropdown-account .card-text,
.navbar-dropdown-account .dropdown-item {
    font-family: var(--body-font-family) !important;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-brand-logo,
.navbar-brand-logo-mini,
.auth-brand-logo,
.auth-mobile-logo {
    filter: var(--brand-logo-shadow);
}

.navbar-brand-logo {
    width: auto !important;
    height: auto !important;
    max-width: 11.5rem !important;
    max-height: 3.6rem !important;
    object-fit: contain;
}

.navbar-brand-logo-mini {
    width: 2.45rem !important;
    height: 2.45rem !important;
    max-width: 2.45rem !important;
    max-height: 2.45rem !important;
    object-fit: contain;
    border-radius: 0.65rem;
}

.navbar-vertical-aside .navbar-brand-wrapper {
    min-height: 5.35rem;
    height: auto;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.navbar-vertical-aside .navbar-brand {
    padding-block: 0.25rem;
}

.navbar-vertical-aside .navbar-brand-logo {
    max-width: 13.35rem !important;
    max-height: 4.15rem !important;
}

.navbar-vertical-aside .navbar-brand-logo-mini {
    width: 2.7rem !important;
    height: 2.7rem !important;
    max-width: 2.7rem !important;
    max-height: 2.7rem !important;
}

.navbar:not(.navbar-vertical-aside) .navbar-brand-logo {
    max-width: 12.25rem !important;
    max-height: 3.8rem !important;
}

.page-header-title {
    text-transform: none;
}

.nav-subtitle {
    color: var(--c1);
    font-weight: 600;
    letter-spacing: 0.03em;
    transform: none;
    font-family: var(--body-font-family) !important;
    text-transform: capitalize;
}

.page-header-title + p,
.option-select-btn label span,
.apex-legends span,
.total--orders span,
.recent-orders .card-header h5,
.grid-chart .card-header h4,
.grid-chart .card-header h5,
.grid-chart .card-body > .d-flex h4,
.grid-chart .card-body > .d-flex h5,
.card.card-body > .row h4 {
    text-transform: lowercase;
}

.dashboard--card__subtitle,
.order-stats__subtitle {
    text-transform: capitalize;
}

.dashboard--card__subtitle,
.order-stats__subtitle,
.option-select-btn label span,
.apex-legends span,
.total--orders span,
.recent-orders .card-header h5,
.grid-chart .card-header h4,
.grid-chart .card-header h5,
.grid-chart .card-body > .d-flex h4,
.grid-chart .card-body > .d-flex h5,
.card.card-body > .row h4,
.page-header-title + p {
    font-family: var(--body-font-family) !important;
}

.navbar-vertical-container,
.navbar-vertical-content {
    text-transform: none !important;
}

.auth-wrapper-left {
    position: relative;
    overflow: hidden;
    background: url("../img/FONDO_PALMERAS_PRINCIPAL.webp") no-repeat center center / cover;
}

.auth-wrapper-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.auth-wrapper-left::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 12px;
    background: rgba(18, 4, 26, 0.82);
}

.auth-wrapper-left .auth-left-cont {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-inline: auto !important;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.auth-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.35rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 34px rgba(18, 4, 26, 0.18);
    backdrop-filter: blur(6px);
}

.auth-brand-logo {
    width: min(100%, 640px);
    max-width: 640px;
    max-height: none !important;
    height: auto;
    margin-bottom: 0 !important;
    object-fit: contain;
    object-position: center center;
}

.auth-wrapper-left .auth-left-cont .title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin: 0;
    text-shadow: 0 10px 22px rgba(255, 255, 255, 0.35);
}

.auth-wrapper-right .auth-header {
    color: #5e6780;
}

.auth-wrapper-right .auth-header .title {
    color: var(--c1);
    letter-spacing: 0.01em;
}

.auth-wrapper-right .auth-header .badge {
    color: var(--c1);
    background-color: rgba(var(--c1-rgb), 0.12);
}

.auth-wrapper-right .btn-primary,
.auth-wrapper-right .btn--primary {
    background-color: var(--c1) !important;
    border-color: var(--c1) !important;
    font-weight: 600;
}

.auth-wrapper-right .btn-primary:hover,
.auth-wrapper-right .btn-primary:focus,
.auth-wrapper-right .btn-primary:active,
.auth-wrapper-right .btn--primary:hover,
.auth-wrapper-right .btn--primary:focus,
.auth-wrapper-right .btn--primary:active {
    background-color: #bb1667 !important;
    border-color: #bb1667 !important;
}

.auth-wrapper-right .form-control:focus {
    border-color: rgba(var(--c1-rgb), 0.55);
    box-shadow: 0 0 0 0.18rem rgba(var(--c1-rgb), 0.14);
}

.auth-wrapper-right-logo {
    display: none;
}

.auth-wrapper-right-logo .auth-brand-lockup {
    width: 100%;
    justify-content: center;
}

.auth-mobile-logo {
    width: min(100%, 260px);
    max-width: 260px;
    max-height: none !important;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .auth-wrapper-right-logo {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1.5rem;
    }

    .auth-wrapper-right {
        text-align: center;
    }

    .auth-wrapper-right .form-group,
    .auth-wrapper-right .row {
        text-align: left;
    }
}
