/* === [AUTO-CSS] UNIVERSAL ======================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* === [AUTO-CSS] TAGS ============================= */

a {
    color: #c40020;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #8f0017;
    text-decoration: underline;
}

body {
    background: #fff;
    background-attachment: fixed;
    background-image: url('../../bin/img/cover.jpg');
    background-size: cover;
    color: #181818;
    font-family: Arial, sans-serif;
}

footer {
    background: #080808;
    color: #aaa;
    padding: 30px;
    text-align: center;
}

footer strong {
    color: #fff;
}

header {
    align-items: center;
    background: #fff;
    border-bottom: 3px solid #c40020;
    display: flex;
    height: 96px;
    justify-content: space-between;
    padding: 0 6%;
    position: sticky;
    top: 0;
    z-index: 10;
}

html {
    scroll-behavior: smooth;
}

nav a {
    color: #222;
    font-weight: bold;
    margin-left: 28px;
    text-decoration: none;
}

nav a:hover {
    color: #c40020;
}


/* === [AUTO-CSS] CLASSES ========================== */

.about {
    background: #161616;
    color: #fff;
    padding: 90px 8%;
    text-align: center;
}

.about h2 {
    font-size: 34px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.7;
    margin: auto;
    max-width: 750px;
}

.basket-close {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.basket-controls {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.basket-controls button {
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
    height: 30px;
    min-width: 30px;
}

.basket-empty {
    color: #777;
    padding: 45px 0;
    text-align: center;
}

.basket-footer {
    border-top: 1px solid #ddd;
    padding: 22px 24px;
}

.basket-head {
    align-items: center;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    padding: 24px;
}

.basket-head h2 {
    margin: 0;
}

.basket-items {
    flex: 1;
    overflow: auto;
    padding: 10px 24px;
    max-height: 80vh;
}

.basket-overlay {
    background: rgba(0, 0, 0, .38);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 98;
}

.basket-overlay.open {
    display: block;
}

.basket-panel {
    background: #fff;
    box-shadow: -8px 0 25px rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 430px;
    position: fixed;
    right: -460px;
    top: 0;
    transition: right .25s ease;
    width: 100%;
    z-index: 99;
}

.basket-panel.open {
    right: 0;
}

.basket-remove {
    background: none !important;
    color: #b80021 !important;
    margin-left: auto;
    padding: 0 5px;
}

.basket-row {
    border-bottom: 1px solid #eee;
    display: grid;
    gap: 12px;
    grid-template-columns:70px 1fr;
    padding: 16px 0;
}

.basket-row h4 {
    margin: 0 0 6px;
}

.basket-row img {
    background: #f4f4f4;
    height: 70px;
    object-fit: contain;
    width: 70px;
}

.basket-row-price {
    color: #666;
    font-size: 14px;
}

.basket-total {
    display: flex;
    font-size: 20px;
    font-weight: bold;
    justify-content: space-between;
    margin-bottom: 16px;
}

.brand {
    align-items: center;
    display: flex;
    font-size: 30px;
    font-weight: 900;
    height: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand span {
    color: #c40020;
}

.btn {
    background: #c40020;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-top: 30px;
    padding: 15px 25px;
    text-decoration: none;
    text-transform: uppercase;
}

.checkout-button {
    background: #b80021;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 15px;
    text-transform: uppercase;
    width: 100%;
}

.checkout-button:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.eyebrow {
    color: #c40020;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    /*background: linear-gradient(110deg, #f2f2f2 0%, #fff 65%)*/
}

.hero h1 {
    font-size: 58px;
    line-height: 1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero p {
    color: #555;
    font-size: 20px;
    line-height: 1.6;
    max-width: 570px;
}

.hero-inner {
    max-width: 650px;
}

.mobile {
    display: none;
}

.info {
    background: linear-gradient(110deg, #f2f2f2 0%, #fff 65%);
    display: grid;
    gap: 30px;
    grid-template-columns:repeat(3, 1fr);
    padding: 70px 8%;
    text-align: left;
}

.info h3 {
    color: #c40020;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.info p {
    color: #666;
    line-height: 1.6;
}

.intro {
    color: #777;
    margin-bottom: 50px;
    text-align: center;
}

.ingredients-link {
    background: none;
    border: 0;
    color: #c40020;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.ingredients-modal {
    align-items: center;
    background: rgba(0, 0, 0, .65);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.ingredients-modal.open {
    display: flex;
}

.ingredients-box {
    background: #fff;
    max-width: 500px;
    padding: 30px;
    position: relative;
    width: 100%;
}

.ingredients-box h3 {
    margin: 0 0 10px;
}

.ingredients-box h3:not(:first-of-type) {
    margin-top: 25px;
}

.ingredients-box ul {
    color: #555;
    line-height: 1.8;
    margin: 0;
    padding-left: 20px;
}

.ingredients-box p {
    color: #555;
    line-height: 1.6;
}

.ingredients-close {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    position: absolute;
    right: 15px;
    top: 10px;
}

.language-toggle {
    font-size: 13px;
    position: absolute;
    right: 18px;
    top: 8px;
}

.language-toggle a {
    color: #777;
    cursor: pointer;
    text-decoration: none;
}

.placeholder {
    filter: grayscale(1);
    font-size: 72px;
    opacity: .6;
}

.price {
    color: #111 !important;
    font-size: 21px !important;
    font-weight: bold;
    margin-top: 20px;
}

.product {
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.product .split {
    display: grid;
    grid-template-columns: 60px auto;
    gap: 15px;
}

.product select,
.product button {
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    padding: 13px;
    text-transform: uppercase;
}

.product button:hover {
    background: #c40020;
}

.product-image {
    align-items: center;
    background: #bebdbc;
    display: flex;
    height: 290px;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.product-info h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.product-info p {
    color: #777;
    flex: 1;
    line-height: 1.5;
}

.products {
    display: grid;
    gap: 24px;
    grid-template-columns:repeat(4, 1fr);
    margin: auto;
    max-width: 1400px;
}

/* ##################################################
 Dropdown
##############################################*/
/* === SIZE DROPDOWN ================================= */

.size-dropdown {
    position: relative;
    width: 100%;
}


/* === BUTTON ======================================== */

.size-dropdown-button {
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    color: #111;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    padding: 12px;
    width: 100%;
}

.size-dropdown-button:hover {
    border-color: #999;
}

.size-dropdown-button .arrow {
    font-size: 10px;
}


/* === DROPDOWN ====================================== */

.size-dropdown-content {
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: calc(100% - 1px);
    z-index: 20;
}

.size-dropdown.open .size-dropdown-content {
    display: block;
}


/* === SIZE ROW ====================================== */

.size-row {
    align-items: center;
    border-bottom: 1px solid #eee;
    display: grid;
    gap: 10px;
    grid-template-columns: 50px 1fr auto;
    padding: 8px;
}

.size-row:last-child {
    border-bottom: 0;
}

.size-row:hover {
    background: #f7f7f7;
}


/* === SIZE ========================================== */

.size-row strong {
    color: #111;
    font-size: 15px;
}


/* === STOCK ========================================= */

.size-row > span {
    color: #777;
    font-size: 13px;
}


/* === ADD TO BASKET ================================= */

.size-row button {
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    white-space: nowrap;
}

.size-row button:hover {
    background: #c40020;
}


/* === OUT OF STOCK ================================== */

.size-row.out-of-stock {
    opacity: .4;
}

.size-row.out-of-stock button {
    cursor: not-allowed;
    pointer-events: none;
}


/* ##################################################
 /Dropdown
##############################################*/

/*## model #############################################*/
.checkout-modal {
    align-items: center;
    background: rgba(0, 0, 0, .65);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.checkout-modal.open {
    display: flex;
}

.checkout-modal-box {
    background: #fff;
    display: none;
    max-height: 90vh;
    max-width: 600px;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    width: 100%;
}

.checkout-modal-box.open {
    display: block;
}

.checkout-modal-box h2 {
    margin: 0 0 25px;
}

.checkout-modal-box h3 {
    margin: 25px 0 8px;
}

.checkout-modal-box p {
    color: #555;
    line-height: 1.6;
}

.checkout-modal-close {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    position: absolute;
    right: 15px;
    top: 10px;
}

.checkout-accept {
    align-items: flex-start;
    border-top: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    gap: 10px;
    margin-top: 25px;
    padding: 20px 0;
}

.checkout-accept input {
    margin-top: 3px;
}

#continue-payment {
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    padding: 14px;
    width: 100%;
}

#continue-payment:hover {
    background: #c40020;
}

#continue-payment:disabled {
    background: #ccc;
    cursor: not-allowed;
}


.shop {
    background: linear-gradient(110deg, #f2f2f2 0%, #fff 65%);
    padding: 90px 6%;
}

.shop h2 {
    font-size: 34px;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
}

.support {
    background: linear-gradient(110deg, #f2f2f2 0%, #fff 65%);

    padding: 70px 8%;

}

.support .title {
    text-align: center;
}

.support-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.support-grid .info-box {
    background: #f7f7f7;
    padding: 25px;
}

.support-grid .info-box h3 {
    margin-top: 0;
}



/* === [AUTO-CSS] MEDIA ============================ */

@media (max-width: 600px) {

    /* === [AUTO-CSS] CLASSES ========================== */
    .basket-panel {
        max-width: none;
    }

    .language-toggle {
        margin-top: 10px;
        position: static;
    }


    .size-row {
        grid-template-columns: 40px 1fr auto;
        gap: 6px;
    }

    .size-row button {
        padding: 8px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

}

/* === [AUTO-CSS] MEDIA ============================ */

@media (max-width: 950px) {

    /* === [AUTO-CSS] CLASSES ========================== */
    .hero h1 {
        font-size: 45px;
    }

    .products {
        grid-template-columns:repeat(2, 1fr);
    }

}

/* === [AUTO-CSS] MEDIA ============================ */

@media (max-width: 650px) {

    /* === [AUTO-CSS] TAGS ============================= */
    header {
        display: block;
        height: auto;
        padding: 22px;
        text-align: center;
    }

    nav {
        margin-top: 18px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    nav a {
        font-size: 14px;
        margin: 0 8px;
    }


    /* === [AUTO-CSS] CLASSES ========================== */
    .brand {
        display: none;
    }

    .mobile {
        display: block;
    }

    .screen {
        display: none !important;
    }

    .hero {
        min-height: 430px;
        padding: 55px 25px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .info {
        grid-template-columns:1fr;
    }

    .products {
        grid-template-columns:1fr;
    }

}
