/*
Theme Name: Wave
Text Domain: Wave
Author: Noli Alickaj
Author URI: https://wavecode.no
*/

html {
    scroll-behavior: smooth;

    /*
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    */
}


:root {
    --blue: #00aeef;
    --dark: #191d24;
    --darkOpac: #20242b;
    --white: #FFF;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope';
    font-weight: 400;
    margin: 0;
    padding: 0;
    font-size: 20px;
    background: var(--dark);
    color: var(--white);
}


@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/wavecode/assets/fonts/manrope/manrope-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/wavecode/assets/fonts/manrope/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ----------------- BASICS ----------------- */
h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    font-size: 60px;
}
p {
    margin: 0;
    line-height: 1.4;
}
a {
    text-decoration: none;
    color: var(--blue);
}
a img,
a svg {
    display: block;
}
img {
    width: 100%;
    height: auto;
}
strong {
    font-weight: 500;
}

.btn {
    padding: 14px 22px;
    background: var(--blue);
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
}
.front {
    min-height: 500px;
    height: 70vh;
    text-align: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 40px;

}

.color--blue {
    color: var(--blue);
}
.gap--m {
    gap: 30px;
}
.gap--s {
    gap: 20px;
}
.gap--xs {
    gap: 10px;
}
.font--m {
    font-size: 40px;
}
.logo {
    max-width: 300px !important;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}
.footer {
    padding-top: 60px;
    padding-bottom: 40px;
    gap: 20px;
    font-size: 16px;
}
.footer a {
    color: var(--white);
}
.wrapper {
    width: 100%;
    max-width: 1300px;
    padding-left: 50px;
    padding-right: 50px;
    margin-left: auto;
    margin-right: auto;
}
.padding {
    padding-top: 60px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .logo {
        max-width: 200px !important;
    }
    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ----------------- WOO GENERAL ----------------- */
.button, .wp-element-button {
    background: var(--blue) !important;
    color: var(--dark) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 22px !important;
    border-radius: 4px !important;
}

.woo-standard-page h1 {
    font-size: 40px;
    margin-bottom: 30px;
}


/* ----------------- SHOP ----------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 24px;
    row-gap: 100px;
}
.product-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.product-card img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}
.product-card h2 {
    color: var(--white);
    font-size: 24px;
    margin-top: 15px;
}


/* --------- MINI CART --------- */
.wc-block-components-drawer {
    background: var(--dark);
    border-left: none;
}
.wp-block-woocommerce-mini-cart-title-items-counter-block {
    display: none;
}
.wc-block-mini-cart__badge {
    background: var(--blue) !important;
    color: var(--dark) !important;
}


/* --------- SINGLE PRODUCT --------- */
/* -- GRID */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* -- RIGHT COLUMN */
.single-product-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 40px;
}

/* -- HEADING */
.single-product-summary h1 {
    font-size: 40px;
}

/* -- PRICE */
.single-product-price {
    color: var(--blue);
    font-size: 28px;
    font-weight: 700;
}

/* -- SINGLE */
form.cart:not(.variations_form) {
    display: flex;
    gap: 8px;
}

/* -- VARIATIONS */
.single-product-cart .variations {
    width: 100%;
    margin-bottom: 20px;
}
.single-product-cart .variations tr {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}
.single-product-cart select {
    background: var(--darkOpac);
    color: var(--white);
    border: none;
    height: 40px;
    font-size: 16px;
}
.variations .label {
    font-size: 16px;
}
.woocommerce-variation-description {
    margin-bottom: 40px;
}

/* -- QTY -- */
.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.single-product-cart .quantity input {
    width: 80px !important;
    min-height: 52px;
    padding-inline: 12px;
    font-size: 16px;
    background: var(--darkOpac);
    border: none;
    color: var(--white);
    color-scheme: dark;
}

.reset_variations, .single-product-price, .woocommerce-variation-price {
    display: none !important;
}



.single_add_to_cart_button {
    font-family: 'Manrope';
}


/* --------- CHECKOUT --------- */
/*
.wc-block-components-form .wc-block-components-text-input input[type=email], 
.wc-block-components-form .wc-block-components-text-input input[type=number], 
.wc-block-components-form .wc-block-components-text-input input[type=password], 
.wc-block-components-form .wc-block-components-text-input input[type=tel], 
.wc-block-components-form .wc-block-components-text-input input[type=text], 
.wc-block-components-form .wc-block-components-text-input input[type=url], 
.wc-block-components-text-input input[type=email], 
.wc-block-components-text-input input[type=number], 
.wc-block-components-text-input input[type=password], 
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text], 
.wc-block-components-text-input input[type=url] {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: none;
}

.wc-block-components-form .wc-block-components-text-input input[type=email]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=number]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=password]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=tel]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=text]:focus, 
.wc-block-components-form .wc-block-components-text-input input[type=url]:focus, 
.wc-block-components-text-input input[type=email]:focus, 
.wc-block-components-text-input input[type=number]:focus, 
.wc-block-components-text-input input[type=password]:focus, 
.wc-block-components-text-input input[type=tel]:focus, 
.wc-block-components-text-input input[type=text]:focus, 
.wc-block-components-text-input input[type=url]:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: none;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
    background-color: rgba(255, 255, 255, 0.05);
}
.wc-blocks-components-select .wc-blocks-components-select__select {
    color: var(--white);
    border: none;
}
    */


.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    background: var(--blue);
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span {
    color: var(--dark);
    font-weight: 500;
}


/* --------- MY ACCOUNT --------- */
.woocommerce-MyAccount-content {
    font-size: 16px;
}
.order-again {
    display: none;
}
.woocommerce-order-details__title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
}
.woocommerce table.shop_table {
    background: var(--darkOpac);
}
.woocommerce-column__title {
    font-size: 24px;
    margin-bottom: 15px;
}
.woocommerce .woocommerce-customer-details address {
    border: none;
    background: var(--darkOpac);
    padding: 20px;
}
.woocommerce-customer-details--phone, .woocommerce-customer-details--email {
    padding: 0 !important;
}
.woocommerce-customer-details--phone::before, .woocommerce-customer-details--email::before {
    display: none;
}


/* --------- ORDER CONFIRMATION PAGE --------- */
.woocommerce-order {
    font-size: 16px;
}
.woocommerce ul.order_details {
    margin: 0;
    margin-top: 10px;
    background: var(--darkOpac);
    padding: 20px;
}
.woocommerce ul.order_details li {
    margin: 0;
    font-size: 12px;
    border-right: none;
    padding: 0;
}


/* --------- WOO NOTIFICATIONS --------- */
.woocommerce-message, .woocommerce-info {
    background: var(--darkOpac);
    color: var(--white);
    padding: 20px;
    font-size: 16px;
}
.woocommerce-message .wc-forward, .woocommerce-info .wc-forward {
    display: none !important;
}

.woocommerce-message::before, .woocommerce-info::before {
    display: none;
}



.more {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 40px;
    padding: 15px;
    border: 1px solid var(--blue);
    font-size: 18px;
    color: var(--white);
}
.more:hover {
    background: var(--blue);
}


@media (max-width: 992px) {

    .woocommerce ul.order_details {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .woocommerce ul.order_details li {
        margin-bottom: 20px;
    }

}




@media (max-width: 768px) {

    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-product-summary {
        padding-top: 0;
    }

}