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

:root {
    --bg: #f4f3ee;
    --ink: #0a0a0a;
    --line: #dad8cf;
    --olive: #7a7b3a;
    --olive2: #929447;
    --white: #fff;
}


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

* {
    box-sizing: border-box;
}


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

a {
    color: inherit;
    text-decoration: none;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

button, input, textarea {
    font: inherit;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

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

.a {
    color: var(--olive);
    cursor: pointer;
}

.about {
    background: #0a0a0a;
    color: #fff;
}

.about h2 {
    font-size: 3rem;
    font-style: italic;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.about p {
    color: #c9c9c9;
    line-height: 1.7;
}

.about-grid {
    align-items: center;
    display: grid;
    gap: 50px;
    grid-template-columns:1fr 1fr;
    padding: 70px 24px;
}

.about-logo {
    display: block;
    filter: contrast(1.1);
    margin: auto;
    max-width: 430px;
    width: 100%;
}

.actions {
    display: flex;
    gap: 8px;
    margin-left: 18px;
}

.badge {
    background: var(--olive);
    border-radius: 99px;
    display: grid;
    font-size: .7rem;
    font-weight: 900;
    height: 20px;
    min-width: 20px;
    place-items: center;
    position: absolute;
    right: -4px;
    top: -6px;
}

.benefit {
    border-right: 1px solid #252525;
    padding: 28px;
}

.benefit span {
    color: #aaa;
    font-size: .88rem;
}

.benefit strong {
    display: block;
    text-transform: uppercase;
}

.benefit-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
}

.benefit:last-child {
    border: 0;
}

.benefits {
    background: #080808;
    color: #fff;
}

.big-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-right: 10px;
}

.btn {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 14px 22px;
    text-transform: uppercase;
}

.btn.dark {
    background: #111;
    color: #fff;
}

.btn.dark.active,
.btn.primary {
    background: var(--olive);
    color: #fff;
}

.btn.primary:hover {
    background: var(--olive2);
}

.card {
    background: #EEEEEE;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    display: grid;
    grid-template-rows: 280px minmax(142px, auto);
}

.card .body {
    background-color: #fff;
    padding: 18px;
}

.card button {
    width: 100%;
}

.card h3 {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
}

.card img {
    width: 100%;
    /*aspect-ratio: 1/1;*/
    object-fit: contain;
    display: block;
}

.cart-item {
    align-items: center;
    border-bottom: 1px solid #eee;
    display: grid;
    gap: 12px;
    grid-template-columns:58px 1fr auto;
    padding: 12px 0;
}

.cart-item img {
    height: 58px;
    object-fit: cover;
    width: 58px;
}

.close {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1.3rem;
}

.contact {
    display: grid;
    gap: 40px;
    grid-template-columns:1fr 1fr;
}

.copyright {
    border-top: 1px solid #222;
    color: #666;
    font-size: .8rem;
    margin-top: 28px;
    padding-top: 20px;
    text-align: center;
}

.drawer {
    border: 1px solid #ddd;
    max-height: calc(100vh - 110px);
    overflow: auto;
    right: 18px;
    top: 92px;
    width: 360px;
}

.drawer .content, .modal .content {
    padding: 20px;
}

.drawer .head, .modal .head {
    align-items: center;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.drawer, .modal {
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    display: none;
    position: fixed;
    z-index: 100;
}

.drawer.show, .modal.show {
    display: block;
}

.footer {
    background: #040404;
    color: #aaa;
    padding: 46px 0 28px;
}

.footer a {
    color: #bbb;
    display: block;
    margin: 7px 0;
}

.footer h4 {
    color: var(--olive2);
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns:2fr 1fr 1fr;
}

.form {
    display: grid;
    gap: 12px;
}

.form input, .form textarea, select {
    background: #fff;
    border: 1px solid #bbb;
    padding: 13px;
    width: 100%;
}

.form textarea {
    min-height: 140px;
}

.gallery {
    display: grid;
    gap: 12px;
    grid-template-columns:repeat(4, 1fr);
}

.gallery img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.header {
    background: #050505;
    border-bottom: 1px solid #242424;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header .wrap {
    align-items: center;
    display: flex;
    gap: 28px;
    height: 82px;
}

.hero {
    min-height: 540px;
    color: #fff;
    background-color: #000;
    background-image: url("/bin/img/hero.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    /*background: linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .84) 36%, rgba(0, 0, 0, .15) 70%, rgba(0, 0, 0, .28)), url('assets/hero.jpg') center/cover no-repeat;*/
    display: flex;
    align-items: center;
    position: relative;
}

.hero .copy {
    max-width: 560px;
    padding: 70px 0 95px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-style: italic;
    letter-spacing: -.05em;
    line-height: .88;
    margin: 0;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--olive2);
    display: block;
}

.hero p {
    color: #ddd;
    line-height: 1.6;
    max-width: 520px;
}

.icon {
    background: #111;
    border: 1px solid #333;
    border-radius: 99px;
    color: #fff;
    cursor: pointer;
    padding: 10px 13px;
    position: relative;
}

.kicker {
    color: #d5d39d;
    display: inline-block;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    margin-bottom: 14px;
}

.login-button {
    align-items: center;
    background: #20262d;
    border: 1px solid #343c45;
    border-radius: 14px;
    color: white;
    display: flex;
    font-weight: 700;
    gap: 12px;
    height: 48px;
    padding: 0 22px;
    position: relative;
    text-decoration: none;
    transition: .25s;
}

.login-button:hover {
    background: #d7ff3f;
    border-color: #d7ff3f;
    box-shadow: 0 0 18px rgba(215, 255, 63, .35);
    color: #111;
}

.logo {
    align-items: center;
    display: flex;
    font-weight: 900;
    gap: 10px;
    letter-spacing: .06em;
}

.logo img {
    height: 62px;
    mix-blend-mode: screen;
    object-fit: contain;
    width: 76px;
}

.modal {
    left: 50%;
    max-height: 90vh;
    overflow: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(540px, 92vw);
}

.my-grid {
    display: grid;
    gap: 18px;
    grid-template-columns:160px 1fr;
}

.nav {
    display: flex;
    font-size: .88rem;
    font-weight: 800;
    gap: 26px;
    letter-spacing: .06em;
    margin-left: auto;
}

.nav a {
    border-bottom: 3px solid transparent;
    padding: 31px 0 25px;
}

.nav a:hover {
    border-color: var(--olive2);
}

.order {
    border: 1px solid #ddd;
    padding: 14px;
}

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

.overlay.show {
    display: block;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
}

.panel h3 {
    margin-top: 0;
    text-transform: uppercase;
}

.price {
    color: var(--olive);
    font-weight: 900;
    margin: 8px 0 14px;
}

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

.qty {
    align-items: center;
    display: flex;
    gap: 6px;
}

.qty button {
    background: #fff;
    border: 1px solid #ccc;
    height: 26px;
    width: 26px;
}

.section {
    padding: 72px 0;
}

.side-menu button {
    background: #f2f2f2;
    border: 0;
    display: block;
    margin-bottom: 5px;
    padding: 11px;
    text-align: left;
    width: 100%;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.tabs button {
    background: #fafafa;
    border: 1px solid #ccc;
    flex: 1;
    padding: 10px;
}

.terms_and_conditions {
    color: #29425d;
    text-decoration: underline;
}

.title {
    font-size: 2.6rem;
    font-style: italic;
    margin: 0 0 34px;
    text-align: center;
    text-transform: uppercase;
}

.title:before, .title:after {
    color: var(--olive);
    content: '═';
    margin: 0 12px;
}

.toast {
    background: #111;
    border-left: 5px solid var(--olive2);
    bottom: 22px;
    color: #fff;
    opacity: 0;
    padding: 14px 18px;
    position: fixed;
    right: 22px;
    transform: translateY(12px);
    transition: .2s;
    z-index: 200;
}

.toast.show {
    opacity: 1;
    transform: none;
}

.total {
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    margin: 18px 0;
}
.freight {
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    margin: 18px 0;
}

.wrap {
    margin: auto;
    max-width: 1240px;
    padding: 0 24px;
}

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

@media (max-width: 980px) {

    /* === [AUTO-CSS] CLASSES ========================== */
    .about-grid, .contact {
        grid-template-columns:1fr;
    }

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

    .nav {
        display: none;
    }

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

}

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

@media (max-width: 600px) {

    /* === [AUTO-CSS] CLASSES ========================== */
    .drawer {
        left: 10px;
        right: 10px;
        width: auto;
    }

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

    .header .wrap {
        padding: 0 14px;
    }

    .hero {
        background-position: right -525px center;
    }

    .logo span {
        display: none;
    }

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

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

    .section {
        padding: 52px 0;
    }

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



}
