
:root {
    --carry-primary: #af0823;
    --carry-secondary: #241D21;
    --carry-tertiary: #666666;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
    padding: 0;
    margin: 20px 0;
    font-weight: normal;
    font-family: 'Montserrat', -apple-system, Arial, sans-serif;
}

h1 {
    font-size: 38px;
}

body {
    border: 0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-size: 14px;
    font-family: 'Open Sans', -apple-system, Arial, sans-serif;
    color: var(--carry-secondary);
}

nav.contact {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

nav.contact > a {
    line-height: 20px;
    display: flex;
    align-items: center;
    color: var(--carry-tertiary);
    text-decoration: none;
    transition: all .1s ease;
}

nav.contact > a > svg {
    width: 20px;
    height: 20px;
    padding-right: 5px;
    padding-top: 3px;
}

nav.contact > a:hover, nav.contact > a:hover svg path {
    color: var(--carry-secondary);
    fill: var(--carry-secondary);
}

.socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.socials a {
    text-decoration: none;
    transition: all .1s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

.socials a svg, .contact svg {
    display: block;
    margin: 0 auto;
    width: 16px;
    height: 16px;
    aspect-ratio: 1;
    object-fit: contain;
}

.socials a:hover svg * {
    fill: var(--carry-secondary) !important;
}

#header {
    display: block;
    padding: 0 0 20px 0;
    font-family: 'Montserrat', -apple-system, sans-serif;
}

#header > * {

}

#header .logo-container {
    padding: 0 20px;
}
#header .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--carry-primary);
    text-decoration: none;
    aspect-ratio: 294/70;
    height: 60px;
}

#header .logo img {
    width: 252px;
    height: 60px;
    display: block;
}

#header nav {
    display: none;
    position: relative;
    background: #eeeeee;
    padding: 0 20px;
}

#header nav ul {
    display: block;
    padding: 0;
}

#header nav ul li {
    list-style: none;
    min-height: 47px;
    line-height: 47px;
}

#header > nav > ul > li > a {
    text-decoration: none;
    color: var(--carry-secondary);
    transition: all .1s ease;
    text-transform: uppercase;
}

#header nav ul li section.catgrid a {
    height: 100%;
}

#header nav ul li:hover a {
    color: var(--carry-primary);
}

#header nav ul li .submenu {
    display: block;
}

#header nav ul li .submenu > div {
    overflow-y: auto;
    max-height: 100%;
}

#header nav ul li .submenu > * {
    display: block;
}

#header nav ul li:hover .submenu > * {
    display: unset;
}




#header .burger {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .burger svg {
    width: 40px;
    height: 40px;
    display: block;
}

#header .submenu {
    display: block;
    padding: 0 0 0 20px;
}

#header nav ul li .submenu > a {
    padding-left: 20px;
    background: url('/assets/images/chevron-right.svg') no-repeat left center;
    background-size: 10px 10px;
    text-transform: capitalize;
}

#header nav ul li:hover .submenu > a {
    display: block;
    color: var(--carry-secondary);
    line-height: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0;
    padding: 0 10px;
    text-transform: initial;
}

#header nav ul li:hover .submenu > a:hover {
    background: #f0f0f0;
    color: var(--carry-primary);
}

#header .submenu.assortiment .assortiment__left .assortiment__left__item {
    display: block;
    padding-left: 20px;
    background: url('/assets/images/chevron-right.svg') no-repeat left center;
    background-size: 10px 10px;
    text-transform: capitalize;
    color: var(--carry-secondary);
}

#header nav ul li .submenu > div.assortiment__right {
    display: none;
}

/*
#header .assortiment__right__item {
    display: none;
}
#header .assortiment__right__item.active {
    display: block;
}
#header .assortiment__right__item img {
    width: 100%;
    display: block;
    background: #eeeeee;
    object-fit: cover;
    margin-bottom: 20px;
}
*/

#breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    line-height: 24px;
}
#breadcrumb .link {
    display: inline-flex;
}
#breadcrumb .link, #breadcrumb .link a {
    font-size: 12px;
    color: var(--carry-secondary);
    transition: all .3s ease;
}
#breadcrumb .link a:hover {
    font-size: 12px;
    color: var(--carry-primary);
}
#breadcrumb .link::after {
    content: '»';
    padding: 0 5px;
    text-decoration: none;
}
#breadcrumb .link:last-child::after {
    content: '';

}

section.quote {
    text-align: center;
    padding: 60px 0;
    color: #666666;
    font-size: 22px;
    font-family: 'Montserrat', -apple-system, sans-serif;
}

section.catgrid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 10px;
}

section.catgrid .catgrid__item {
    position: relative;
    display: block;
}
section.catgrid .catgrid__item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: #9b8057;
    position: relative;
    transition: all .1s ease;
}
section.catgrid .catgrid__item:hover img {
    filter: contrast(1.15);
}
section.catgrid .catgrid__item div {
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(0, 0, 0, .3);
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    bottom: 40px;
    left: 20px;
    max-width: calc(100% - 40px);
    padding: 5px 10px;
    z-index: 2;
}

.carryshop-separator {
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 40px auto;
}

.carryshop-separator::before, .carryshop-separator::after {
    content: '';
    height: 10px;
    flex: 1;
    border-bottom: 1px solid #666666;
}

.carryshop-separator::before {
    /*margin-right: 20px;*/
}

.carryshop-separator::after {
    /*margin-left: 20px;*/
}

.carryshop-separator img {
    width: 16px;
    aspect-ratio: 25/34;
    display: block;
    margin: 0 auto;
}

section.title {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    font-size: 24px;
    padding: 0 10px;
}

section.postgrid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
    padding: 0 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

section.postgrid .postgrid__item {
    display: block;
    border: 1px #d8d8d8 solid;
    text-decoration: none;
}
section.postgrid .postgrid__item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #9b8057;
    transition: all .1s ease;
}
section.postgrid .postgrid__item:hover img {
    filter: contrast(1.15);
}
section.postgrid .postgrid__item div {
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    line-height: 22px;
    color: var(--carry-secondary);
}
section.postgrid .postgrid__item div h3 {
    margin: 0 0 10px 0;
}

footer {
    max-width: 1280px;
    margin: 0 auto;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 0 10px 20px 10px;
    color: var(--carry-tertiary);
    text-align: center;
}

footer h3 {
    color: var(--carry-secondary);
}

footer a {
    color: var(--carry-secondary);
    text-decoration: underline;
    transition: all .3s ease;
}

footer a:hover {
    color: var(--carry-primary);
    text-decoration: underline;
}

/* ********************************************************************************************************* */
/* DESKTOP */
/* ********************************************************************************************************* */
@media screen and (min-width: 1025px) {

    #header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 47px;
        padding: 0;
    }

    #header .logo img {
        margin-top: -40px;
    }

    nav.contact {
        height: 40px;
        justify-content: flex-end;
        padding: 0 20px;
        gap: 40px;
    }

    nav.contact > a {
        min-width: unset;
    }

    #header nav {
        display: flex;
        background: none;
    }

    #header nav ul {
        display: flex;
        gap: 40px;
    }

    #header .burger {
        display: none;
    }

    #header nav ul li {
        height: 47px;
        line-height: 47px;
    }

    #header nav ul li .submenu {
        display: flex;
        max-height: 0;
        opacity: 0;
    }

    #header nav ul li:hover .submenu.single {
        bottom: 20px;
        opacity: 1;
        max-height: initial;
    }

    #header nav ul li a {
        height: 47px;
        line-height: 47px;
    }



    #header nav ul li.has-submenu {
        padding-right: 20px;
        background: url('/assets/images/chevron-down.svg') no-repeat right center;
        background-size: 10px 10px;
    }

    #header nav ul li.has-submenu:hover {
        padding-right: 20px;
        background: url('/assets/images/chevron-down-red.svg') no-repeat right center;
        background-size: 10px 10px;
    }

    #header nav ul li .submenu > a {
        background: none;
    }

    #header nav ul li .submenu > * {
        display: none;
    }

    #header .submenu.single {
        position: absolute;
        bottom: 5px;
        transform: translateY(100%) translateX(-25%);
        background: white;
        box-shadow: 3px 3px 10px #00000064;
        width: 200px;
        z-index: 1000;
        display: block;
        padding: 0;
        transition: transform .3s ease, opacity .3s ease, bottom .3s ease;
    }

    #header nav ul li:hover .submenu > a {
        display: block;
        color: var(--carry-secondary);
        line-height: 40px;
        height: 40px;
        font-size: 14px;
        margin: 0;
        padding: 0 10px;
        text-transform: initial;
    }

    #header nav ul li:hover .submenu > a:hover {
        background: #f0f0f0;
        color: var(--carry-primary);
    }

    #header .submenu.assortiment {
        position: fixed;
        right: 20px;
        top: 80px;
        background: white;
        box-shadow: 3px 3px 10px #00000064;
        height: calc(100vh - 100px);
        z-index: 1000;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0;
        width: 0;
        max-width: 0;
        transform: translateY(10px);
        transition: transform .3s ease, opacity .3s ease, bottom .3s ease;
    }

    #header nav ul li:hover .submenu.assortiment {
        transform: translateX(0px);
        opacity: 1;
        max-height: initial;
        width: 1280px;
        max-width: initial;
    }

    #header .submenu.assortiment .assortiment__left {
        width: 325px;
        padding: 20px;
    }

    #header .submenu.assortiment .assortiment__left .assortiment__left__item {
        display: block;
        color: var(--carry-secondary);
        line-height: 40px;
        height: 40px;
        font-size: 14px;
        margin: 8px 0;
        padding: 0 10px;
        text-transform: initial;
        background: url('/assets/images/chevron-right.svg') no-repeat right 15px #f0f0f0;
        background-size: 12px 12px;
    }

    #header .submenu.assortiment .assortiment__left .assortiment__left__item:hover {
        background: url('/assets/images/chevron-right.svg') no-repeat right 15px #e0e0e0;
        background-size: 12px 12px;
    }

    #header nav ul li .submenu > div.assortiment__right {
        display: block;
        width: calc(100% - 325px);
        padding: 20px 20px 20px 0;
    }

    #header .assortiment__right__item {
        display: none;
    }
    #header .assortiment__right__item.active {
        display: block;
    }
    #header .assortiment__right__item img {
        width: 100%;
        display: block;
        background: #eeeeee;
        object-fit: cover;
        margin-bottom: 20px;
    }




    section.catgrid {
        padding: 0;
        gap: 20px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    section.catgrid.catgrid-3col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    section.catgrid .catgrid__item div {
        font-size: 20px;
    }
    section.catgrid.catgrid-3col .catgrid__item div {
        font-size: 20px;
        line-height: 28px;
    }

    section.title {
        padding: 0;
    }

    section.postgrid {
        padding: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    footer {
        padding: 0 0 20px 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
    }
}
