/*
    Theme Name: Annapurna
    Theme URI: https://annapurna-courchevel.com
    Author: Tiavina Ranaivoson
    Author URI: https://tiavina.com
    Version: 1.1
*/

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Montserrat'), url('assets/fonts/montserrat.woff2') format('woff2');
}

@font-face {
    font-family: 'Open sans';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Open sans'), url('assets/fonts/open-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Gotham Medium';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Gotham Medium'), url('assets/fonts/gotham-medium.woff') format('woff');
}

:root {
    --primary-color: #092336;
    --secondary-color: #d2e9e1;
    --tertiary-color: #b0bec8;
    --light-color: #f2f2f2;
    --dark-color: #a5a3a0;
    --font-regular: 'Montserrat', sans-serif;
    --font-medium: 'Open sans', sans-serif;
    --font-bold: 'Gotham Medium', sans-serif;
}

::selection {
    -webkit-text-fill-color: white !important;
    color: white !important;
    background: var(--primary-color) !important;
}

a:not(:hover) {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-regular);
    background-color: white;
    font-weight: 300;
}

body * {
    box-sizing: border-box;
}

img {
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
    font-family: var(--font-bold);
}

.d-none {
    display: none !important;
}

.is-regular {
    font-family: var(--font-regular);
}

.is-medium {
    font-family: var(--font-medium);
}

.is-bold {
    font-family: var(--font-bold);
}

.no-select {
      -webkit-user-select: none;
    -webkit-touch-callout: none;
       -khtml-user-select: none;
          -ms-user-select: none;
         -moz-user-select: none;
              user-select: none;
}

a {
    color: var(--dark-color);
}

/* loading styles */
body.loading {
    max-height: 100vh;
    overflow: hidden;
}

body:not(.loading) #page-loading-container {
    display: none;
}

#page-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10000;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-loading {
    position: relative;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 96px;
    height: 96px;
}

.lds-ring div {
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    margin: 4px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-color) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* main header styles */


/* main section styles */
#main-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* main footer styles */
#main-footer p {
    text-align: center;
    font-size: 75%;
}

/* woocommerce pages */

#main-section > .woocommerce {
    flex: 1;
}

.woocommerce-button {
    padding: 0.75rem 1.5rem !important;
    color: white !important;
    background-color: var(--primary-color) !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    font-family: var(--font-medium) !important;
    text-transform: uppercase;
}

.woocommerce-button:hover {
    color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
}

.woocommerce-button.is-inverse {
    color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
}

.woocommerce-button.is-inverse:hover {
    color: white !important;
    background-color: var(--primary-color) !important;
}

.woocommerce-Input {
    padding: 1rem 2rem !important;
    border: 1px var(--dark-color) solid !important;
    background-color: white !important;
    border-radius: 0 !important;
    outline: none !important;
    text-indent: 0.01px;
    font-family: inherit;
    font-size: 1rem;
}

.woocommerce-MyAccount-navigation {
    background-color: var(--primary-color);
    color: white;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 1rem 1.5rem;
    color: white !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a {
    text-decoration: none !important;
}

.woocommerce-MyAccount-navigation-link--dashboard img {
    height: 25px;
}

.woocommerce-MyAccount-navigation-link--dashboard span {
    margin-top: 0.25rem;
    padding: 0.25rem 0.25rem 0;
    border-top: 1px solid white;
    font-family: var(--font-bold);
    font-weight: normal !important;
    font-size: 50%;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    flex: 1;
    text-align: right;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    display: inline-flex;
    align-items: flex-end;
}

.woocommerce-MyAccount-navigation-link:not(.woocommerce-MyAccount-navigation-link--dashboard).is-active a {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
}

#disabled-account-message {
    margin: 1rem;
    padding: 1rem;
    background-color: #ffaeae;
}