@font-face {
    font-display: swap;
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400;
    src: url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Regular.woff2") format("woff2"), url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Regular.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 500;
    src: url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Medium.woff2") format("woff2"), url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Medium.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 600;
    src: url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-SemiBold.woff2") format("woff2"), url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-SemiBold.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 700;
    src: url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Bold.woff2") format("woff2"), url("/headers/ssm/skin_custom/assets/magallanes_39236/fonts/DMSans/DMSans-Bold.woff") format("woff");
}

/* Every selector must start with [data-component-scope="brand-custom"] to limit styling to the custom header and footer scope */
/* Declare common styles and variables for each component */
[data-component-scope="brand-custom"] {
    --color-primary: #2a3439;
    --color-secondary: #ffffff;
    --color-accent: #ececec;
    --color-accent-2: #6a6a6a;

    --filter-primary: brightness(0) saturate(100%) invert(17%) sepia(9%) saturate(1172%) hue-rotate(155deg) brightness(92%) contrast(88%); /* #2a3439 */
    --filter-secondary: brightness(0) saturate(100%) invert(100%);

    --box-shadow-y: 0 1px 4px 0 rgba(0, 0, 0, .25);
    --box-shadow-x: 0 0 10px -3px #000000;

    --transition-duration-color: 150ms;
    --transition-timing-fn: ease-out;

    font-family: "DM Sans";
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* Basic styles */
[data-component-scope="brand-custom"] :focus-visible,
[data-component-scope="brand-custom"].footer ~ #footer :focus-visible {
    outline: 2px solid var(--color-accent) !important;
    outline-offset: .2rem !important;
    border-radius: .6rem;
}

[data-component-scope="brand-custom"].footer :focus-visible,
[data-component-scope="brand-custom"].footer ~ #footer :focus-visible {
    outline-color: var(--color-primary) !important;
}

[data-component-scope="brand-custom"] a {
    color: inherit;
    text-decoration: none;
}

[data-component-scope="brand-custom"] ul {
    margin: 0;
}

[data-component-scope="brand-custom"] button {
    padding: 0;
    margin: 0;

    font: inherit;
    line-height: inherit;
    color: inherit;
}

html [data-component-scope="brand-custom"] strong {
    font-weight: 600;
}

/* Component styles */
[data-component-scope="brand-custom"].header {
    position: relative;
    z-index: 999999;

    display: grid;
    align-content: center;

    min-height: 5rem;
    padding: .6rem 2.4rem;

    background-color: var(--color-primary);

    color: var(--color-secondary);
}

[data-component-scope="brand-custom"] .header__content {
    display: grid;
    grid-template-areas: 'logo primary-nav';
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem 2rem;

    width: min(100%, 1140px);
    margin: 0 auto;
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"].header {
        padding: .6rem 1rem;
    }

    [data-component-scope="brand-custom"] .header__content {
        grid-template-areas:
            'logo'
            'primary-nav';
        grid-template-columns: 1fr;
    }
}

[data-component-scope="brand-custom"] .primary-logo {
    grid-area: logo;
}

[data-component-scope="brand-custom"] .primary-logo__link {
    display: block;
}

[data-component-scope="brand-custom"] .primary-logo__img {
    display: block;

    max-height: 70px;
    width: auto;
    max-width: 100%;

    filter: var(--filter-secondary);
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"] .primary-logo {
        justify-self: center;
    }

    [data-component-scope="brand-custom"] .primary-logo__img {
        max-height: 50px;
    }
}

[data-component-scope="brand-custom"] .primary-nav {
    grid-area: primary-nav;
    justify-self: end;

    display: grid;
    align-content: center;
    gap: 1rem;
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"] .primary-nav {
        justify-self: center;

        display: flex;
        gap: .8rem;
    }
}

[data-component-scope="brand-custom"] .primary-nav__menu {
    display: flex;
    align-items: center;
    gap: inherit;
}

[data-component-scope="brand-custom"] .primary-nav__menu-item,
[data-component-scope="brand-custom"] .currency_selector_button {
    --_menu-item-background: var(--color-accent);
    --_menu-item-padding-block: .8rem;
    --_menu-item-padding-inline: 1.2rem;

    display: block;

    padding: var(--_menu-item-padding-block) var(--_menu-item-padding-inline);

    -webkit-appearance: none;
    appearance: none;
    background-color: var(--_menu-item-background);
    border: none;
    border-radius: .6rem;

    color: var(--color-primary);
    line-height: 1;
    white-space: nowrap;

    transition: var(--transition-duration-color) var(--transition-timing-fn);
    transition-property: background-color, color;
}

[data-component-scope="brand-custom"] .currency_selector_button > .icon {
    display: none !important;
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"] .primary-nav__menu-item,
    [data-component-scope="brand-custom"] .currency_selector_button {
        --_menu-item-padding-inline: 1rem;

        font-size: 1.4rem;
    }
}

[data-component-scope="brand-custom"] .primary-nav__menu-item:is(:hover, :focus-visible, [aria-expanded="true"], .show),
[data-component-scope="brand-custom"] .currency_selector_button:is(:hover, :focus-visible, [aria-expanded="true"], .show) {
    --_menu-item-background: var(--color-secondary);
}

[data-component-scope="brand-custom"] .dropdown {
    --_dropdown-transition-duration: 150ms;

    position: relative;
}

[data-component-scope="brand-custom"] .dropdown-toggle {
    --_arrow-size: .5rem;
    --_dropdown-toggle-padding-inline: var(--_menu-item-padding-inline, 1.2rem);

    position: relative;

    display: flex;
    gap: .6em;

    padding-left: var(--_dropdown-toggle-padding-inline);
    padding-right: calc((var(--_arrow-size) * 3) + var(--_dropdown-toggle-padding-inline));
}

[data-component-scope="brand-custom"] .dropdown-toggle::after {
    content: '';

    position: absolute;
    top: calc(50% - (var(--_arrow-size) / 2));
    right: var(--_dropdown-toggle-padding-inline);

    width: 0;
    height: 0;
    border-style: solid;
    border-width: var(--_arrow-size) var(--_arrow-size) 0 var(--_arrow-size);
    border-color: currentColor transparent transparent transparent;

    pointer-events: none;

    transition: var(--transition-duration-color) var(--transition-timing-fn);
    transition-property: border-color, transform;
}

[data-component-scope="brand-custom"] .dropdown-toggle:is([aria-expanded="true"], .show)::after {
    transform: rotate(-90deg);
}

@media (max-width: 1023px) {
    [data-component-scope="brand-custom"] .dropdown-toggle [data-alt-value]::after {
        content: attr(data-alt-value);
    }

    [data-component-scope="brand-custom"] .dropdown-toggle [data-alt-value] span {
        display: none;
    }

    [data-component-scope="brand-custom"] .dropdown-toggle-icon ~ .dropdown-toggle-value {
        display: none;
    }
}

[data-component-scope="brand-custom"] .dropdown-toggle-icon {
    height: 1em;
}

[data-component-scope="brand-custom"] .dropdown-toggle-icon :is(img, svg) {
    height: inherit;

    filter: var(--filter-primary);

    transition: filter var(--transition-duration-color) var(--transition-timing-fn);
}

/*noinspection CssReplaceWithShorthandSafely*/
[data-component-scope="brand-custom"] .dropdown-menu {
    /* Reset */

    right: initial;
    overflow: initial;
    float: initial;
    margin: initial;
    font: inherit;
    text-align: inherit;
    background-clip: initial;

    /* Custom styles */

    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 999999;
    transform: translateX(-50%);

    display: none;

    min-width: 100%;
    padding: .8rem;
    margin-top: .5em;

    background-color: var(--color-primary);
    border: 1px solid var(--color-accent-2);
    border-radius: .6rem;
    box-shadow: var(--box-shadow-y);
    opacity: 0;

    color: currentColor;
    line-height: 1;
    white-space: nowrap;

    transition-property: display, opacity;
    transition-behavior: allow-discrete;
    transition-duration: var(--_dropdown-transition-duration);
    transition-timing-function: var(--transition-timing-fn);
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"] .dropdown-menu {
        padding: .4rem;

        font-size: 1.4rem;
    }
}

[data-component-scope="brand-custom"] .dropdown-menu[data-anchor-mobile="left"] {
    left: 0;
    transform: none;
}

[data-component-scope="brand-custom"] .dropdown-menu[data-anchor-mobile="right"] {
    right: 0;
    left: auto;
    transform: none;
}

@media (min-width: 640px) {
    [data-component-scope="brand-custom"] .dropdown-menu[data-anchor-tablet="left"] {
        left: 0;
        transform: none;
    }

    [data-component-scope="brand-custom"] .dropdown-menu[data-anchor-tablet="right"] {
        right: 0;
        left: auto;
        transform: none;
    }
}

@media (min-width: 1024px) {
    [data-component-scope="brand-custom"] .dropdown-menu[data-anchor-desktop="left"] {
        left: 0;
        transform: none;
    }

    [data-component-scope="brand-custom"] .dropdown-menu[data-anchor-desktop="right"] {
        right: 0;
        left: auto;
        transform: none;
    }
}

[data-component-scope="brand-custom"] .dropdown-menu:is([data-control-expanded="true"], .show) {
    display: block;

    opacity: 1;
}

@starting-style {
    [data-component-scope="brand-custom"] .dropdown-menu:is([data-control-expanded="true"], .show) {
        opacity: 0;
    }
}

[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) ul {
    /* Reset */

    border: initial;
    padding: initial;
}

[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) ul li {
    /* Reset */

    border: initial;
    position: initial;
}

[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) > ul {
    --_dropdown-options-column-count: 1;
    --_dropdown-options-gap: .4rem;

    display: grid;
    grid-template-columns: repeat(var(--_dropdown-options-column-count), 1fr);
    gap: var(--_dropdown-options-gap);
}

/*noinspection CssReplaceWithShorthandSafely*/
[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) > ul > li > :is(a, button),
[data-component-scope="brand-custom"] .currency-options-container .currency_selector_view_more_options {
    /* Reset */

    color: inherit;
    font: inherit;
    line-height: inherit;
    background: initial;
    vertical-align: initial;
    height: initial;

    /* Custom styles */

    position: relative;

    display: block;

    min-width: max-content;
    width: 100%;
    padding: .8rem 1.2rem;

    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    border-radius: .4rem;

    text-align: center !important;
    text-decoration: none !important;

    transition: var(--transition-duration-color) var(--transition-timing-fn);
    transition-property: background-color, color;
}

[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) > ul > li > :is(a, button):is(:hover, :focus-visible, .active-element),
[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) > ul > .selected_currency > :is(a, button),
[data-component-scope="brand-custom"] .currency-options-container .currency_selector_view_more_options:is(:hover, :focus-visible) {
    background-color: var(--color-secondary);

    color: var(--color-primary);
}

[data-component-scope="brand-custom"] :is(.dropdown-options, .currency-options-container) > ul > li > :is(a, button):focus-visible,
[data-component-scope="brand-custom"] .currency-options-container .currency_selector_view_more_options:focus-visible {
    outline: inherit;
}

[data-component-scope="brand-custom"] .currency-options-container > ul {
    --_dropdown-options-column-count: 2;
}

[data-component-scope="brand-custom"] .currency-options-container > ul > li > button > span:not(.element-symbol) {
    --_tooltip-font-size: .8em;
    --_tooltip-padding-block: .2em;
    --_tooltip-arrow-size: .35em;
    --_tooltip-line-height: 1.2;

    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 999999;
    transform: translateX(-50%);

    display: none;

    min-width: 100%;
    width: min-content;
    padding: var(--_tooltip-padding-block) .6em;
    margin-top: min(var(--_tooltip-padding-block), var(--_tooltip-arrow-size));

    background-color: var(--color-accent-2);
    border-radius: calc((var(--_tooltip-font-size) * var(--_tooltip-line-height) / 2) + (var(--_tooltip-padding-block) * 2));

    color: var(--color-secondary);
    font-size: var(--_tooltip-font-size);
    font-weight: 600;
    line-height: var(--_tooltip-line-height);
    white-space: normal;

    pointer-events: none;
}

@media (hover: hover) {
    [data-component-scope="brand-custom"] .currency-options-container > ul > li > button:is(:hover, :focus-visible) > span:not(.element-symbol) {
        display: block;
    }
}

[data-component-scope="brand-custom"] .currency-options-container > ul > li > button > span:not(.element-symbol)::before {
    content: '';

    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-style: solid;
    border-width: 0 var(--_tooltip-arrow-size) var(--_tooltip-arrow-size) var(--_tooltip-arrow-size);
    border-color: transparent transparent var(--color-accent-2) transparent;

    pointer-events: none;
}

[data-component-scope="brand-custom"] .currency-options-container .container-bottom-links {
    /* Reset */

    color: inherit;
    font: inherit;
    line-height: inherit;
    background: initial;
    vertical-align: initial;
    height: initial;
    padding: initial;
    border: initial;
    border-radius: initial;

    /* Custom styles */

    margin-top: .8rem;
}

[data-component-scope="brand-custom"] .footer__content {
    padding: 2rem 3rem;

    background-color: var(--color-secondary);

    font-size: 3rem;
    text-align: center;
    color: var(--color-primary);
}

/* Include Loyalty and Atol specific styles at the end */
/* Loyalty */

[data-component-scope="brand-custom"] #loyalty button {
    --_loyalty-size: 3.8rem;
    --_loyalty-padding: .6rem;

    display: grid;
    align-content: center;
    justify-content: center;

    width: var(--_loyalty-size);
    height: var(--_loyalty-size);
    padding: var(--_loyalty-padding);

    background-color: var(--color-secondary);
    border: none;
    border-radius: 50%;

    color: var(--color-primary);

    transition: background-color var(--transition-duration-color) var(--transition-timing-fn);
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"] #loyalty button {
        --_loyalty-size: 3.2rem;
        --_loyalty-padding: .4rem;
    }
}

[data-component-scope="brand-custom"] #loyalty button:is(:hover, :focus-visible) {
    background-color: var(--color-accent);
}

[data-component-scope="brand-custom"] #loyalty button :is(img, svg) {
    display: block;

    width: auto;
    height: auto;
    max-width: calc(var(--_loyalty-size) - (var(--_loyalty-padding) * 2));
    max-height: calc(var(--_loyalty-size) - (var(--_loyalty-padding) * 2));
}

/* Atol */

[data-component-scope="brand-custom"].header #atol-protected {
    padding: 0;
    margin: 0;

    color: var(--color-accent);

    transition: color var(--transition-duration-color) var(--transition-timing-fn);
}

[data-component-scope="brand-custom"].header #atol-protected:is(:hover, :focus-visible) {
    color: var(--color-secondary);
}

[data-component-scope="brand-custom"].header #atol-protected .logo {
    width: 3.8rem;
}

@media (max-width: 639px) {
    [data-component-scope="brand-custom"].header #atol-protected .logo {
        width: 3.2rem;
    }
}

[data-component-scope="brand-custom"].header #atol-protected a {
    gap: .6rem;
}

[data-component-scope="brand-custom"].header #atol-protected .title {
    order: -1;

    margin: 0;

    color: currentColor;
    font-weight: 600;
    font-size: .85em;
}

@media (max-width: 831px) {
    [data-component-scope="brand-custom"].header #atol-protected .title {
        display: none;
    }
}

[data-component-scope="brand-custom"].header #atol-protected svg .icon-text-color {
    fill: currentColor;
}

[data-component-scope="brand-custom"].header #atol-protected svg .icon-background-color {
    fill: var(--color-primary);
}

/* Currency */

[data-component-scope="brand-custom"] :is(#currentCurrencySymbol, .currentCurrencySymbol) {
    font: inherit;
    margin: 0;
}

[data-component-scope="brand-custom"] .dropdown-currency .dropdown-top-header {
    display: none !important;
}

[data-component-scope="brand-custom"] .currency-options-container li button::after {
    display: none;
}

/* Footer styles, provided by client */

[data-component-scope="brand-custom"].footer {
    background-color: #f5f5f5;
    padding: 40px 24px 0;
}

[data-component-scope="brand-custom"] .footer-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 7fr 1fr 1fr;
    margin-bottom: 30px;
}

[data-component-scope="brand-custom"] .footer-mobile-columns {
    display: none;
}

[data-component-scope="brand-custom"] .footer-left {
    display: flex;
    flex-direction: column;
}

[data-component-scope="brand-custom"] .footer-left h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

[data-component-scope="brand-custom"] .footer-contact {
    margin-bottom: 20px;
}

[data-component-scope="brand-custom"] .footer-phone,
[data-component-scope="brand-custom"] .footer-email {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

[data-component-scope="brand-custom"].footer .social-icons {
    display: flex;
    gap: 12px;
}

[data-component-scope="brand-custom"].footer .social-icons a {
    color: #666;
    text-decoration: none;
    display: inline-block;
}

[data-component-scope="brand-custom"].footer .social-icons a:hover img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(0%) saturate(0%) hue-rotate(94deg) brightness(99%) contrast(88%); /* #333 */
}

[data-component-scope="brand-custom"] .footer-column {
    display: flex;
    flex-direction: column;
    justify-self: end;
}

[data-component-scope="brand-custom"] .footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

[data-component-scope="brand-custom"] .footer-column a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

[data-component-scope="brand-custom"] .footer-column a:hover {
    color: #333;
}

[data-component-scope="brand-custom"] .footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 14px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    [data-component-scope="brand-custom"] .footer-content {
        display: block;
        text-align: left;
        grid-template-columns: none;
        padding: 0 24px;
    }

    [data-component-scope="brand-custom"] .footer-mobile-columns {
        display: block;
        margin: 40px 0 20px;
    }

    [data-component-scope="brand-custom"] .footer-mobile-columns .footer-column {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        justify-self: stretch;
        justify-items: center;
        text-align: center;
    }

    [data-component-scope="brand-custom"] .footer-mobile-columns .footer-column h4 {
        text-align: center;
        margin-bottom: 16px;
        font-size: 14px;
    }

    [data-component-scope="brand-custom"] .footer-mobile-columns .footer-column a {
        text-align: left;
        font-size: 12px;
        margin-bottom: 0;
    }

    [data-component-scope="brand-custom"] .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }

    [data-component-scope="brand-custom"] .footer-left h3 {
        font-size: 22px;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    [data-component-scope="brand-custom"] .footer-contact {
        margin-bottom: 20px;
    }

    [data-component-scope="brand-custom"] .footer-phone,
    [data-component-scope="brand-custom"] .footer-email {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 12px;
    }

    [data-component-scope="brand-custom"].footer .social-icons {
        justify-content: center;
        margin-bottom: 0;
    }

    [data-component-scope="brand-custom"] .footer-content > .footer-column {
        display: none;
    }

    [data-component-scope="brand-custom"] .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    [data-component-scope="brand-custom"] .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    [data-component-scope="brand-custom"] .footer-left {
        grid-column: span 1;
    }
}