:root {
    --space-1: 16px;
    --space-2: 24px;
    --space-3: 32px;
    --space-4: 48px;
    --space-5: 80px;
    --space-6: 120px;

    --space-s: 24px;
    --space-m: 52px;
    --space-l: 72px;
    --space-xl: 100px;
    --space-xxl: 244px;

    --color-default: #252320;
    --color-dark: #252320;
    --color-error: #FF6B3D;
    --color-success: #74E1A6;
    --color-note: #00D3F6;
    --color-white: #ffffff;
    --color-neutral: #ACACAC;
    --color-neutral-light: #D5D5D5;
    --color-grey: #E7E6E6;
    --color-teal: #003A3D;
    --color-slate: #252320;
    --color-gold: #A68945;
    --color-light-gold: #CAB88F;
    --color-cream: #FAF8F2;
    --color-light-grey: #D5D5D5;
    --color-mid-grey: #BEBDBC;

    --font-body: 'lato-wf', sans-serif;
    --font-heading: 'crimson-wf', serif;
    --font-subheading: 'inter', sans-serif;
}

/* Utility */

    .makcs-hidden {
        display: none;
    }

/* Product attributes */

    .row--pa_swatchbook td {
        padding-bottom: 20px;
    }

    .makcs-button-list {
        display: flex;
        gap: 12px;
        flex-direction: column;
    }

    .makcs-button-list .button:after {
        display: none;
    }

    @media screen and (min-width: 1200px) {

        .makcs-button-list {
            flex-direction: row;
        }

    }

    @media screen and (max-width: 1199px) {
        .makcs-button-list .button {
            display: block;
            width: 100%;
        }
    }

/* Product Detail Page */

    .product--makcs {
        padding-top: var(--space-l);
        padding-bottom: var(--space-l);
    }

    .product--makcs .wrap {
        max-width: 1320px;
    }

    .makcs__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .makcs__heading {
        margin-bottom: 0.4em;
    }

    .makcs__header .card--frame .card__item__media {
        margin-bottom: 0;
    }

    @media screen and (min-width: 1200px) {
        .makcs__header {
            margin-bottom: var(--space-5);
        }

        .makcs__header__content {
            width: 55%;
        }
    
        .makcs__header__media {
            width: 35%;
        }

        .makcs__header .card--frame {
            width: 47%;
            margin: 0 auto;
        }
    }

    @media screen and (max-width: 1199px) {
        .makcs__header {
            margin-bottom: var(--space-4);
        }
        .makcs__header__content {
            padding-right: var(--space-4);
        }
    }

    @media screen and (min-width: 1200px) {
        
        .makcs__main {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .makcs__product {
            width: 50%;
        }

    }

    @media screen and (min-width: 1200px) and (min-height: 700px) {
        .makcs__action {
            width: 40%;
            position: sticky;
            top: 0;
        }
    }

    @media screen and (max-width: 767px) {
        .product--makcs {
            padding-top: var(--space-4);
            padding-bottom: var(--space-4);
        }

        .makcs__header {
            flex-direction: column;
        }
    }

    .makcs__product {
        border-top: 1px solid var(--color-light-grey);
        padding-top: var(--space-2);
    }

    .makcs__action__header {
        font-weight: 600;
        font-size: 11px;
        line-height: 13px;
        text-align: center;
        letter-spacing: 2.36px;
        text-transform: uppercase;
        color: var(--color-slate);
        background-color: var(--color-light-gold);
        padding: 15px;
    }

    .makcs__action__main {
        background-color: var(--color-white);
        border: 1px solid var(--color-light-grey);
        padding: 32px 88px;
    }

    /* Variation */

        .makcs__action .variations tr {
            display: flex;
            flex-direction: column;
        }

        .makcs__action .product__options td {
            border: none;
            padding: 0;
        }

        .makcs__action .product__variation label,
        .makcs__action .product__options .row--pa_size .variations__field {
            width: 100%;
        }

        .makcs__action .product__variation .row--pa_size label {
            margin-top: 0;
        }

        .makcs__action .product__quantity {
            padding-left: 0;
        }

        .makcs__action .product__quantity__field {
            display: block;
        }

        .makcs__action .product__quantity .quantity {
            display: block;
        }

        .makcs__action .product__quantity .quantity input {
            width: 100%;
        }

        .makcs__action .product__price {
            border: none;
            padding: 0;
        }

        .makcs__action .list--grid-line {
            flex-direction: column;
        }

        .makcs__action .list--grid-line li + li {
            border-left: none;
        }

        .makcs__action .list--grid-line .is-price {
            padding: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            min-height: 36px;
            margin-bottom: 48px;
        }

        .makcs__action .product__price .price {
            font-size: 36px;
            line-height: 1em;
            font-weight: 400;
        }

        .makcs__action .product__price .woocommerce-Price-currencySymbol {
			font-size: 18px;
			margin-top: 8px;
			font-weight: 300;
			vertical-align: top;
			margin-right: 2px;
		}

        .makcs__action .list--grid-line .is-button {
            width: 100%;
            padding: 0;
        }

        .makcs__action .product__price .price__caption {
            display: none;
        }

        .makcs__action .product-calculator,
        .makcs__action .product__payment {
            display: none;
        }

        .makcs__action__footer {
            padding-top: var(--space-1);
            text-align: center;
        }

        @media screen and (max-width: 1199px) {
            .makcs__product {
                margin-bottom: var(--space-4);
            }
        }

        @media screen and (max-width: 699px) {
            .makcs__action__main {
                padding: 24px;
            }
        }

/* Empty State */

    .makcs__empty__heading {
        font-size: 20px;
        line-height: 1.2em;
        margin-bottom: var(--space-s);
        color: var(--color-slate);
    }

    .makcs__empty__content {
        padding-top: 64px;
    }

    @media screen and (min-width: 1200px) {
        .makcs__empty__content {
            display: flex;
        }

        .makcs__empty__media {
            width: 20%;
            flex-shrink: 0;
        }

        .makcs__empty__text {
            width: 57%;
            margin-left: 10%;
        }
    }

    @media screen and (max-width: 1199px) {
        .makcs__empty__content {
            text-align: center;
            padding-top: var(--space-2);
        }

        .makcs__empty__media {
            margin-bottom: var(--space-3);
        }
    }

/* Product List */

    .makcs__list {
        position: relative;
    }

    .makcs__list:before,
    .makcs__list:after {
        display: none;
    }

    .makcs__list:before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: var(--color-cream);
        opacity: .6;
    }

    .makcs__list:after {
        content: '';
        height: 48px;
        width: 48px;
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        margin-top: -24px;
        margin-left: -24px;
        animation: makcs-rotation 1s infinite linear;
        border-left: 2px solid rgba(59, 59, 60,.15);
        border-right: 2px solid rgba(59, 59, 60,.15);
        border-bottom: 2px solid rgba(59, 59, 60,.15);
        border-top: 2px solid rgba(59, 59, 60,.8);
        border-radius: 100px;
    }

    .makcs__list li {
        display: flex;
        align-items: center;
        margin-bottom: var(--space-1);
    }

    .makcs__list .li__media {
        width: 66px;
        flex-shrink: 0;
    }

    .makcs__list .li__image {
        overflow: hidden;
        height: 0;
        padding-bottom: 120%;
        background-color: var(--color-neutral);
    }

    .makcs__list .li__content {
        padding-left: 36px;
        padding-right: 36px;
    }

    .makcs__list .li__heading {
        font-family: var(--font-subheading);
        margin-bottom: 0;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--color-slate);
    }

    .makcs__list .li__heading a {
        color: inherit;
        font-weight: inherit;
    }

    .makcs__list .li__action {
        margin-left: auto;
        display: flex;
        gap: 12px;
    }

    @media screen and (max-width: 699px) {

        .makcs__list .li__media {
            width: 48px;
        }

        .makcs__list .li__heading {
            font-size: 11px;
            line-height: 1.18em;
        }
        
        .makcs__list .li__content {
            padding-left: var(--space-s);
        }
    
    }

    /* State - Loading */

    .makcs__list.is-loading {
        pointer-events: none;
    }

    .makcs__list.is-loading:before,
    .makcs__list.is-loading:after {
        display: block;
    }

    .makcs-reorder,
    .makcs-remove {
        width: 15px;
        height: 15px;
        background-color: transparent;
        padding: 0;
    }

    .makcs-reorder svg {
        width: 15px;
        height: 15px;
    }

    .makcs-reorder {
        display: inline-block;
        cursor: move;
    }

    .makcs-remove {
        border: 1px solid var(--color-neutral);
        text-align: center;
    }

    .makcs-remove svg {
        width: 9px;
        height: 9px;
        margin: auto;
    }

/* Add to cart */

    .makcs__product__count {
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-size: 11px;
        line-height: 1em;
        letter-spacing: 0.2em;
        font-weight: 400;
        gap: 8px;
        margin-bottom: var(--space-s);
    }

    .makcs__product__count .number {
        font-size: 46px;
        line-height: 1em;
        letter-spacing: 0;
    }

    .makcs__action .quantity {
        margin-top: var(--space-s);
    }

    .makcs__cart__footer {
        padding-top: var(--space-m);
        display: flex;
        flex-direction: column;
        gap: var(--space-s);
    }

    .makcs__cart__footer__price,
    .makcs__cart__shipping {
        text-align: center;
        font-size: 11px;
        line-height: 12px;
        letter-spacing: .21em;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--color-default);
        font-family: var(--font-subheading);
    }

    .makcs__cart__shipping {
        margin-top: 13px;
    }

    .makcs__cart__footer__price {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .makcs__cart__footer__price .price {
        font-size: 36px;
        line-height: 1.19em;
        letter-spacing: 0.5px;
        font-weight: 400;
        color: var(--color-default);
    }

    .makcs__cart__footer .woocommerce-Price-currencySymbol {
        display: inline-block;
        vertical-align: middle;
        font-weight: 300;
        font-size: 18px;
        line-height: 1em;
    }

    .makcs__cart__footer__price .wholesale_price_container {
        display: none !important;
    }

    .makcs__cart__footer .product__price {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        border: none;
    }

    .makcs__cart__footer .is-price {
        display: none;
    }

    .makcs__cart__footer .is-button {
        padding-left: 0;
        border-left: none;
    }

/* Button */

    .makcs-button-link {
        background-color: transparent;
        text-decoration: underline;
        font-size: 11px;
        line-height: 1.18em;
        letter-spacing: 0.21em;
        text-transform: uppercase;
    }

/* Text List */

    .makcs-list--text {
        list-style-type: decimal;
    }

    @media screen and (min-width: 1200px) {
        .makcs-list--text {
            columns: 3;
            column-gap: var(--space-3);
        }
    }

/* Popup */

    .popup--makcs {
        text-align: left;
        padding: var(--space-4);
        margin-top: var(--space-3);
        margin-bottom: var(--space-4);
        max-width: 1112px;
        background-color: var(--color-white);
        background-image: none;
    }

/* Cart */

    .variation-Selection a {
        color: inherit;
        font-weight: inherit;
        text-decoration: underline;
    }

/* Modal */

.makcs-overlay {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(59,59,60,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.makcs-overlay.is-active {
    z-index: 24;
    opacity: 1;
    visibility: visible;
}

.makcs-modal {
    width: 90%;
    max-width: 600px;
    background-color: var(--color-white);
    padding: 48px;
    box-shadow: -7px 5px 15px 0 rgba(59,59,60,.5);
}

.makcs-modal__heading {
    margin-bottom: .5em;
}

.makcs-modal ul {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.makcs-modal .button--outline:after {
    display: none;
}

@media screen and (max-width: 767px) {

    .makcs-modal {
        padding: 24px;
    }

    .makcs-modal ul {
        flex-direction: column;
        gap: 12px;
    }

    .makcs-modal button {
        display: block;
        width: 100%;
    }
    
}

/* Loop */

.makcs__loop {
    margin-top: 32px;
}

.makcs__loop__header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.makcs__loop__header svg {
    width: 26px;
    height: 18px;
    flex-shrink: 0;
}

.makcs__loop__heading {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-left: 1em;
    margin-bottom: 0;
}
    
.makcs__loop__list button {
    display: block;
    width: 100%;
    padding: 0.7em;
}

.makcs__loop__list button:after {
    display: none;
}

.makcs__loop__list[data-colour="multiple"] {
    display: flex;
    flex-direction: column;
    gap: 8px;	
}

.makcs__loop__list[data-colour="single"] br {
    display: none;
}

.makcs__loop__list[data-colour="single"] button {
    min-height: 43px;
}

@media screen and (min-width: 1200px) {
    .makcs__loop__list[data-colour="multiple"] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* Animation */ 

@keyframes makcs-rotation {
	from { 
		transform: rotate(0deg); 
	}
	to { 
		transform: rotate(359deg);
	}
}