/***
    The new CSS reset - version 1.9 (last updated 19.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" element is excluded, otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
 *:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

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

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
    all: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* remove default dot (•) sign */
::marker {
    content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
    all: revert;
}
/* variables */
:root {
    /*--main-font: 'Philosopher', sans-serif;*/
    --main-font: 'Philosopher', sans-serif;
    --accent-font: 'Open Sans', sans-serif;

    --container-width: 982px;
    --container-mobile-padding: 20px;

    --font-size-small: 13px;
    --font-size-middle: 15px;

}

/* general */
body {
    font-family: var(--accent-font);
    font-size: 16px;

    color: var(--text-color);
}

.container {
    max-width: calc(var(--container-width) + (var(--container-mobile-padding) * 2));
    width: 100%;

    padding: 0 var(--container-mobile-padding);

    margin: 0 auto;
}

.social {
    margin: 60px 0 0 0;
}

.page-grid {
    margin: 60px 0 0 0;
}

.page-grid>.container>.wrapper {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
}

.page-grid .main .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;

    color: var(--main-color);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-grid .main .text {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 22px;

    color: #434343;
}

.page-grid .main .title::after {
    content: '';
    width: 30px;
    height: 4px;
    display: block;

    background-color: var(--accent-color);
}

.page-grid .block+.block {
    margin: 30px 0 0 0;
}

.page-grid .block>.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-height: 725px;
}

.page-wrapper {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.page-wrapper .content {
    flex-grow: 1;

    padding: 15px 0 0 0;
}

.burger {
    display: block;
    width: 25px;
    height: 17px;

    position: relative;
}

.burger .item {
    position: absolute;
    left: 0;

    width: 100%;
    height: 1px;
    border-radius: 3px;
    display: block;

    background-color: var(--main-color);
}

.burger .item:nth-child(1) {
    top: 0;
}

.burger .item:nth-child(2) {
    top: calc(50% - .5px);
}

.burger .item:nth-child(3) {
    top: calc(100% - 1px);
}

.breadcrumbs .list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs .list .item {
    color: var(--grey-color);

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 15px;

    text-transform: uppercase;

}

.breadcrumbs .list .item:not(:last-child)::after {
    content: '/';
    margin: 0 5px;
}

/* aside */
.aside .title {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;

    color: #434343;

    text-transform: uppercase;
}

.aside .nav {
    margin: 10px 0 0 0;
}

.aside .nav .list {
    display: flex;
    flex-direction: column;
}

.aside .nav .list .item .link {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 24px;
    font-weight: 600;

    color: var(--main-color);

    transition: .3s color;


    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;

    margin: 8px 0;
    font-size: 13px;
    line-height: 140%;
    white-space: normal;
}

.aside .nav .list .item .list .item .link {
    font-size: 11px;
    margin: 4px;
}

.aside .nav .list .item .link:hover,
.aside .nav .list .item .link.selected {
    color: var(--accent-color);
}

/* header */
.header {
    z-index: 10;
}

.header .wrapper {
    padding: 20px 0 30px 0;


    border-bottom: 1px solid #D9D9D9;
}

.header .box,
.header .nav .list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header .nav {
    margin: 30px 0 0 0;
}

.header .nav .list .item {
    position: relative;

    transition: .3s color;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.header .nav .list .item .link {
    font-family: var(--main-font);
    font-size: var(--font-size-small);
    font-weight: 700;

    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-self: center;
}

.header .nav .list .item:hover .list {
    opacity: 1;
    visibility: visible;
}

.header .nav .list .list {
    position: absolute;
    left: 0;
    top: calc(100%);

    flex-direction: column;
    align-items: flex-start;

    padding: 16px 24px 24px 24px;
    background-color: #Fff;

    width: 270px;

    opacity: 0;
    visibility: hidden;

    transition: .3s visiblity, .5s opacity;

    /*-webkit-box-shadow: 0px 42px 99px -68px rgba(0,0,0,0.68);*/
    /*-moz-box-shadow: 0px 42px 99px -68px rgba(0,0,0,0.68);*/
    /*box-shadow: 0px 42px 99px -68px rgba(0,0,0,0.68);*/

    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.header .nav .list .item:nth-last-child(3) .list, .header .nav .list .item:nth-last-child(2) .list, .header .nav .list .item:last-child .list{
    right: 0;
    left: unset;
}

.header .nav .list .list .item {
    overflow: hidden;
    max-width: 100%;
}

.header .nav .list .list .link {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header .box {
    position: relative;
    min-height: 56px;
}

.header .box .logo {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.header .burger {
    opacity: 0;
    visibility: hidden;
}


.logo .img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.header .nav .logo {
    display: none;

    margin: 0 0 40px 0;

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.header .nav .close {
    display: none;

    width: 20px;
    height: 20px;
    position: absolute;
    top: 40px;
    right: 40px;
}

.header .nav .close .item {
    width: 100%;
    height: 2px;

    border-radius: 3px;
    background-color: #fff;

    position: absolute;
    left: 0;
    top: 9px;
}

.header .nav .close .item:nth-child(1) {
    transform: rotate(45deg);
}

.header .nav .close .item:nth-child(2) {
    transform: rotate(-45deg);
}

/* cart */

.cart {
    display: flex;
    align-items: center;

    gap: 10px;
}

.cart::before {
    content: '';
    display: block;

    flex-shrink: 0;

    background-position:  center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cart .counter {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    border: 1px solid var(--grey-color);

    font-family: var(--main-font);
    font-size: var(--font-size-middle);
    color: var(--main-color-dark);
}
.cart .counter:empty, .cart .counter[data-count="0"]{
    width: 0px;
    overflow: hidden;
    border: none;
}

/* home */

.grid>.container>.wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.grid .card {
    width: 100%;
    height: 100%;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.grid .card .img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.grid .slider,
.grid .banner,
.grid .block {
    grid-column: 1/-1;

    margin: 0;
    position: relative;
}

.grid .slider .slick-dots {
    position: absolute;
    bottom: 14px;
    left: 0;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.grid .slider .slick-dots li {
    flex-shrink: 0;

    width: 9px;
    height: 9px;

    margin: 0;
    padding: 0;
}

.grid .slider .slick-dots li button {

    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    background-color: #fff;
    border: 1px solid #fff;

    border-radius: 50%;

    transition: .3s background-color;
}

.grid .slider .slick-dots li button::before {
    display: none;
}

.grid .slider .slick-dots li.slick-active button {
    background-color: transparent;
}

.grid .slider .item {
    height: 410px;
}

.grid .slider .img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.grid .banner {
    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;

    text-align: center;

    background-position:  center center;
    background-size: cover;
    background-repeat: no-repeat;

    width: 100%;

    margin-top: -15px;
}

.grid .banner .title {
    font-family: var(--main-font);
    font-size: 22px;
    text-transform: uppercase;

    color: #fff;
}

.grid .banner .text {
    margin: 10px 0 0 0;

    font-family: var(--accent-font);
    font-size: var(--font-size-small);
    color: #fff;

}

.grid .banner .button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 33px;

    border: 1px solid #fff;

    font-family: var(--accent-font);
    font-size: var(--font-size-small);
    color: #fff;

    margin: 20px 0 0 0;
}

.social {
    margin: 60px 0 0 0;
}


.grid .block .title {
    color: #434343;
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;

    text-align: center;
    text-transform: uppercase;

    margin: 0 0 30px;
}

.product-grid{
    max-width:755px;
    width: 100%;

    margin: 0 auto;
}

/* social banner */

.social .wrapper {
    margin-bottom: 40px;
    padding: 30px 60px;

    background-position:  center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.social .title {
    max-width: 300px;
    width: 100%;

    font-family: var(--accent-font);
    font-size: 29px;
    line-height: 35px;
    font-weight: 700;

    text-transform: uppercase;
}

.social .text {
    margin: 10px 0 0 0;

    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    font-weight: 600;
}

.social .list {
    margin: 30px 0 0 0;

    display: flex;
    align-items: center;
    gap: 15px;
}

.social .list .item {
    flex-shrink: 0;
}

.social .list .link {
    display: flex;
    align-items: center;
    justify-self: center;

    width: 35px;
    height: 35px;
    background-size: cover;
}

/* contact */

.contact {
    margin: 0;
}

.contact .wrapper {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
}

.contact .title:not(:last-child) {
    margin: 0 0 30px 0;
}

.contact .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact .text {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;

    color: var(--text-color);
}

.contact .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;

    color: var(--text-color);

    text-transform: uppercase;
}

.contact .form {
    padding: 30px 60px 60px 60px;

    background-color: #E4EAED;
}

.contact .form .inputs {
    max-width: 580px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact .form .input {
    width: 100%;
    height: 46px;

    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.20);

    padding: 16px;

    font-family: var(--accent-font);
    font-size: 11px;
    color: var(--text-color);
}

.contact .form .input::placeholder {
    text-transform: uppercase;
    color: var(--grey-color);
}

.contact .form textarea.input {
    height: 164px;
    resize: none;
}

.contact .form .submit {
    margin: 30px 0 0 0;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact .form .button {
    -webkit-appearance: none;
    outline: none;
    border: none;

    padding: 10px 35px;

    background-color: var(--accent-color);

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;

    color: #fff;
    text-transform: uppercase;

    width: max-content;
}

.contact .form .text {
    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 16px;
    color: var(--text-color);

    max-width: 495px;
    width: 100%;
}

/* footer */
.footer {
    margin: 60px 0 0 0;
}

.footer .wrapper {
    padding: 50px 0;
}

.footer .logo {
    margin: 0 auto;

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer .nav {
    margin: 80px 0 0 0;
}

.footer .nav .list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;

    height: 42px;
}

.footer .nav .list .item {
    font-family: var(--main-font);
    font-size: 13px;
    line-height: 16px;
    color: #fff;

    text-transform: uppercase;
}

.footer .coopyright {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 30px 0 0 0;
    padding: 30px 0 0 0;

    border-top: 1px solid #fff;
}

.footer .coopyright .text {
    font-family: var(--accent-font);
    font-size: 10px;
    line-height: 13px;

    text-transform: uppercase;
    color: #fff;
}

/* product */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.product .wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.product .price {
    margin: auto 0 0 0;
}

.product .img {
    width: 100%;
    aspect-ratio: 1/1;
}

.product .name {
    padding: 0 16px;

    color: var(--main-color);
}

.product .name,
.product .price {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;

    text-align: center;
}

.product .price {
    color: var(--accent-color);
}

/* cart */
.cart-page {
    margin: 60px 0 0 0;
}

.cart-page>.container>.wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.cart-page .block .title,
.cart-page .form .title {
    font-family: var(--accent-font);
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;

    color: #434343;

    text-transform: uppercase;
}

.cart-page .title:not(:last-child),
.cart-page .form .title:not(:last-child) {
    margin: 0 0 30px 0;
}

.cart-page .block .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cart-page .block .list .empty {
    background: #fbfbfb;
    border: 1px solid #f6f5f5;
    display: block;
    height: 200px;
    text-align: center;
    line-height: 200px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #aaaaaa;
    display: none;
}

.cart-page .form .title {
    font-weight: 400;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 11px;

    border: 1px solid rgba(0, 0, 0, 0.20);

    position: relative;
}

.cart-product .img {
    width: 97px;
    height: 97px;

    object-fit: contain;
}

.cart-product .remove {
    width: 13px;
    height: 13px;

    position: absolute;
    right: 15px;
    top: 15px;
}

.cart-product .remove:hover {
    cursor: pointer;
}

.cart-product .remove::before,
.cart-product .remove::after {
    content: '';
    width: 100%;
    height: 1px;
    border-radius: 3px;
    display: block;

    background: var(--main-color);

    position: absolute;
    left: 0;
    top: 6px;
}

.cart-product .remove::before {
    transform: rotate(45deg);
}

.cart-product .remove::after {
    transform: rotate(-45deg);
}

.cart-product .info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.cart-product .price {
    flex-shrink: 0;
}

.cart-product .name {

    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 15px;
    font-weight: 400;
    color: var(--main-color);


    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    text-overflow: ellipsis;
}

.cart-product .price {
    font-family: var(--accent-font);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;

    color: var(--main-color);
}

.cart-product .box {
    max-width: 290px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-product .count {
    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 15px;
    color: var(--main-color);
}

.cart-summary {
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;

    border-top: 1px solid rgba(0, 0, 0, 0.20);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-summary .text {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color);

    text-transform: uppercase;
}

.cart-page .form .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-page .form .input {
    width: 100%;
    height: 46px;
    padding: 16px;

    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.20);

    font-family: var(--accent-font);
    color: var(--main-color);
    font-size: 11px;
    font-weight: 400;
}

.cart-page .form .input::placeholder {
    color: var(--grey-color);
    text-transform: uppercase;
}

.cart-page .form textarea.input {
    resize: none;
    height: 100px;
}

.cart-page .form .submit {
    margin: 30px 0 0 0;
}

.cart-page .form .button {
    padding: 10px 35px;

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;
    color: #fff;

    text-transform: uppercase;

    background: var(--accent-color);
}

.cart-page .form .button:hover {
    cursor: pointer;
}

/* gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 0;
}

.gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* single product */

.single-product {
    margin: 60px 0 0 0;
}

.single-product>.container>.wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 70px;
}

.single-product .info .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 25px;
    color: var(--main-color);
    text-transform: uppercase;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .info .title::after {
    content: '';
    width: 30px;
    height: 4px;

    background: var(--accent-color);
}

.single-product .info .block+.block {
    margin: 30px 0 0 0;
}

.single-product .info .price {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.single-product .info .price .old,
.product-grid .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

.single-product .info .price .new {
    color: var(--accent-color)
}

.single-product .info .buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.single-product .info .button {
    padding: 10px 35px;

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;
    color: #fff;

    text-transform: uppercase;

    background: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.single-product .info .button.button-white {
    background-color: transparent;
    color: #434343;
}

.single-product .info .block {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 20px;

    color: var(--main-color);
}

.single-product .box {
    margin: 60px 0 0 0;
    padding: 60px 0 0 0;

    border-top: 1px solid #D9D9D9;
}

.single-product .box .title {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;

    color: #434343;

    text-align: center;

    margin: 0 0 30px 0;
}

.single-product .box>.wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.single-product .box>.wrapper .block {
    max-width: 276px;
    width: 100%;
}

.single-product .box .wrapper .block .title {
    color: #A0A0A0;

    margin: 0 0 15px 0;

    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 23px;
    text-transform: uppercase;

    text-align: left;
}

.single-product .box .wrapper .block ul {
    font-family: var(--accent-font);
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #A0A0A0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .box .wrapper .block ul a {
    text-decoration: underline;
    display: block;
    margin-bottom: 4px;
    position: relative;
    padding-left: 13px;
}
.single-product .box .wrapper .block ul a:after{
    display: block;
    content: "●";
    position: absolute;
    top: 0;
    left: 1px;
    color: #d6cece;
}

.single-product .box .wrapper .block ul li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.single-product .box .wrapper .block ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    display: block;
    flex-shrink: 0;

    border-radius: 50%;

    background-color: #D9D9D9;

    transform: translateY(6px);
}

.single-product .box .slider {
    max-width: 750px;
    width: 100%;

    margin: 0 auto;
}

.product-slider .slider .img {
    height: 400px;
    object-fit: contain;
}

.product-slider .slider .slick-next,
.product-slider .slider .slick-prev {
    display: flex;
    align-items: center;
    justify-content: center;

}

.product-slider .slider .slick-next {
    right: -20px;
}

.product-slider .slider .slick-prev {
    left: -20px;
}

.product-slider .slider .slick-next::before,
.slick-next:before,
.product-slider .slider .slick-prev::before,
.slick-prev:before {
    content: '';
    width: 8px;
    height: 15px;
    display: block;

    opacity: 1;

    background: url("/assets/images/icons/arrow-right.svg") center center/contain no-repeat;
}

.product-slider .slider .slick-prev::before, .slick-prev:before {
    background: url("/assets/images/icons/arrow-left.svg") center center/contain no-repeat;
}

.product-slider .nav {
    margin: 30px 0 0 0;
}

.product-slider .nav .img {
    aspect-ratio: 1/1;

    object-fit: contain;
}

.product-slider .nav .slick-list {
    margin: 0 -10px;
}

.product-slider .nav .slick-slide {
    margin: 0 10px;
}
.product-slider .nav .slick-slide:first-child:last-child {
    display: none;
}

/* story */

.story {
    padding: 30px 52px 34px 52px;
    position: relative;
}

.story .name {
    font-family: var(--main-font);
    font-size: 25px;
    line-height: 30px;

    color: #434343;
    text-align: center;

    margin: 0 0 20px 0;
}

.story .text {
    font-family: var(--main-font);
    font-size: 14px;
    line-height: 18px;

    color: #434343;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    text-overflow: ellipsis;
}

.js-story-text.active {
    line-clamp: unset;
    -webkit-line-clamp: unset;
}

.story .button {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;
    color: #434343;

    padding: 10px 35px;
    width: max-content;
    border: 1px solid var(--accent-color);

    margin: 20px auto 0 auto;
    display: block;

    text-transform: uppercase;
}

.js-story-button::before {
    content: 'читать историю';
}

.js-story-button.active::before {
    content: 'свернуть историю';
}

.story .corner {
    position: absolute;

    width: 60px;
    height: 60px;
}

.story .corner-top-left {
    top: 0;
    left: 0;
}

.story .corner-top-right {
    right: 0;
    top: 0;
}

.story .corner-bottom-left {
    bottom: 0;
    left: 0;
}

.story .corner-bottom-right {
    bottom: 0;
    right: 0;
}

.popup-cart {
    position: absolute;
    top: 50px;
    right: 0px;

    max-width: 390px;
    width: 100%;

    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);

    padding:22px 20px 20px 20px;

    z-index: 10;

    display: none;
}

.popup-cart.active{
    display: block;
}

.popup-cart .close{
    position: absolute;
    right: 20px;
    top: 20px;

    width: 18px;
    height: 18px;
    display: block;
}

.popup-cart .close:hover{
    cursor: pointer;
}

.popup-cart .close::before,.popup-cart .close::after{
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background: var(--main-color);


    position: absolute;

    left: 0;
    top: 9px;

    border-radius: 3px;
}

.popup-cart .close::before{
    transform: rotate(45deg);
}

.popup-cart .close::after{
    transform: rotate(-45deg);
}

.popup-cart .title{
    font-family: var(--accent-font);
    font-size: 17px;
    font-weight: 600;

    color:var(--main-color);
    text-align: center;
    text-transform: uppercase;

    margin:  0 0 50px 0;
}

.popup-cart .text,.popup-cart .price{
    text-align: center;


    max-width: 290px;
    width: 100%;

    margin: 0 auto;

    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 19px;
    color:var(--main-color)
}

.popup-cart .price{
    font-weight: 600;
}

.popup-cart .button{
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--accent-font);
    font-size: 15px;
    color:#fff;
    text-align: center;
    text-transform: uppercase;

    padding: 10px;
    background: var(--accent-color);


    margin: 25px 0 0 0;
}


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

    /* general */
    .page-grid {
        margin: 20px 0 0 0;
    }

    .page-grid>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    /* bug fix cards in home page (1 in row, not 2.)*/
    .grid>.container>.wrapper{
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }


    .page-grid .aside {
        display: none;
    }

    .page-grid .main .block+.block {
        margin: 40px 0 0 0;
    }

    .page .social {
        margin: 40px 0 0 0;
    }

    /* header */
    .header .nav {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        margin: 0;

        padding: 40px;

        overflow-x: hidden;
        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        display: none;

        transition: .3s visibility, .5s opacity;
    }

    .header .nav.active {
        opacity: 1;
        visibility: visible;

        display: block;
    }

    .header .nav .list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header .nav .list .item {
        color: #fff;
    }

    .header .nav .list .item .link {
        font-weight: 400;
    }

    .header .nav .list .list {
        position: relative;
        opacity: 1;
        visibility: visible;

        background-color: transparent;

        width: 100%;
        padding: 20px 0 0 40px;

        box-shadow: none;
        display: none;
    }

    .header .nav .logo,
    .header .nav .close {
        display: flex;
    }

    .header .box {
        min-height: 40px;
    }

    .header .wrapper {
        padding: 20px 0;
        border: none;
    }

    .header .burger {
        opacity: 1;
        visibility: visible;
    }

    /* home */

    .grid .wrapper {
        gap: 20px;

        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .grid .slider .item {
        height: 300px;
    }

    .grid .banner {
        padding: 32px 0 36px 0;
    }

    .grid .banner .title {
        max-width: 230px;
        width: 100%;

        font-size: 18px;
        line-height: 25px;
    }

    .grid .banner .text {
        color: #EED498;
        font-size: 12px;
        line-height: 16px;

        max-width: 270px;
        width: 100%;

        margin: 5px 0 0 0;
    }

    .grid .banner .button {
        font-size: 10px;
        line-height: 14px;

        margin: 14px 0 0 0;
    }

    .social {
        margin: 20px 0 0 0;
    }

    .social .wrapper {
        padding: 20px 10px;
        min-height: 200px;

        text-align: center;
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;
    }

    .social .title {
        font-size: 18px;
        line-height: 20px;
        max-width: 190px;
    }

    .social .text {
        margin: 5px 0 0 0;

        font-size: 12px;
    }

    .social .list {
        margin: 20px 0 0 0;

        justify-content: center;
        gap: 20px;
    }

    .social .list .link {
        width: 25px;
        height: 25px;
    }

    .contact .wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 46px;
    }

    .contact .block .title {
        font-size: 22px;
        line-height: 24px;

        text-align: center;
    }

    .contact .block .text {
        font-size: 16px;
        line-height: 17px;
        text-align: center;
    }

    .contact .block .list {
        align-items: center;
        justify-content: center;

        max-width: 215px;
        width: 100%;

        margin: 0 auto;
    }

    .contact .form {
        position: relative;

        padding: 30px 0;
    }

    .contact .form::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 0;

        display: block;
        height: 100%;
        width: calc(100% + var(--container-mobile-padding) * 2);

        background-color: #E4EAED;
        z-index: 1;
    }

    .contact .title,
    .contact .inputs,
    .contact .submit {
        position: relative;
        z-index: 3;
    }

    .contact .form .title:not(:last-child) {
        margin: 0 0 20px 0;
    }

    .contact .form .inputs {
        max-width: 100%;
        gap: 20px;
    }

    .contact .form .title {
        text-align: center;

        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    .contact .form .input {
        height: 55px;
    }

    .contact .form .text {
        color: #9E9E9E;
    }

    .contact .form .button {
        margin: 0 auto;
    }

    /* footer */
    .footer {
        margin: 0;
    }

    .footer .wrapper {
        padding: 40px 0;
    }


    .footer .nav {
        margin: 40px 0 0 0;
    }

    .footer .nav .list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;

        height: auto;
    }

    .footer .coopyright {
        flex-direction: column;
        align-items: center;
        gap: 10px;

        margin: 40px 0 0 0;
        padding: 40px 0 0 0;
    }

    .footer .coopyright .text {
        font-size: 13px;
        line-height: 16px;
        text-transform: uppercase;
        color: #fff;
        font-family: var(--main-font);
    }
    .footer .coopyright .text a {
        border-bottom: 1px solid white;
    }


    /* cart */
    .cart-page {
        margin: 20px 0 0 0;
    }

    .cart-page>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .cart-page .block .title:not(:last-child) {
        margin: 0 0 40px 0;
    }

    .cart-page .block .title {
        font-size: 15px;
        line-height: 25px;

        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .cart-page .block .title::after {
        content: '';
        width: 24px;
        height: 3px;
        display: block;

        background-color: var(--accent-color);
    }

    .cart-page .form .title {
        font-size: 18px;
    }

    .cart-page .form .title:not(:last-child) {
        margin: 0 0 20px 0;
    }

    .cart-summary {
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
    }

    .cart-summary .text {
        font-size: 18px;
    }

    /* single product */
    .single-product {
        margin: 40px 0 0 0;
    }

    .single-product>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .single-product .info .title {
        font-size: 18px;
    }

    .single-product .info .block+.block {
        margin: 20px 0 0 0;
    }

    .single-product .info .button {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 10px 0;
    }

    .single-product .box>.wrapper{
        gap: 5px;
    }

    .single-product .wrapper + .box {
        padding: 0;
        border: none;
    }


    .single-product .box {
        margin: 40px 0 0 0;
        padding: 40px 0 0 0;

        border-top: 1px solid #D9D9D9;
    }



    .single-product .box .title{
        font-size: 17px;

        margin: 0 0 40px 0;
    }

    .single-product .box>.wrapper .block{
        max-width: 100%;
    }

    .single-product .box .wrapper .block .title{
        margin: 0;

        color:var(--accent-color);
    }

    .single-product .box .wrapper .block .title.active{
        color:#B3B3B3;
    }

    .single-product .box .wrapper .block .title:hover{
        cursor: pointer;
    }

    .single-product .box .wrapper .block .list{
        flex-direction: column;
        gap: 20px;

        margin: 20px 0 0 0;

        display: none;
    }

    .single-product .box .wrapper .block .list.active{
        display: flex;
    }

    .single-product .box .wrapper .block .list::before{
        content: '';
        width: 100%;
        height: 1px;
        display: block;

        background-color: #D9D9D9;
    }

    .product-slider .nav {
        display: none;
    }

    .product-slider .slider {
        padding: 0 25px;
    }

    .product-slider .slider .img {
        height: 225px;
    }

    .product-slider .slider .slick-next {
        right: 0px;
    }

    .product-slider .slider .slick-prev {
        left: 0px;
    }

    .story{
        padding: 66px 20px;
    }

}

@media screen and (max-width:500px) {
    .grid .slider .item {
        height: 200px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .product .name,
    .product .price {
        font-size: 10px;
        line-height: 12px;
    }

    .page-grid .block>.img {
        aspect-ratio: 1/1;
    }

    .cart-product {
        padding: 0;
        gap: 10px;
    }

    .cart-product .name {
        max-width: 114px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .cart-product .remove {
        top: 10px;
        right: 10px;
    }

    .cart-product .price {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 220px;
        gap: 20px;
    }
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
}

.product-tabs .product-tab {
    margin-right: 15px;
    padding: 7px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 12px
}

.product-tabs-content {
    width: 100%;
}

.product-tabs .product-tab.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.faq-elem {
    font-size: 16px;
    border-bottom: 1px solid lightgray;
}
.faq-elem:last-child {
    border-bottom: none;
}
.faq-elem .faq-question .faq-title {
    font-family: var(--accent-font);
    font-size: 22px;
    font-weight: 600;
    color: #434343;
    padding: 20px 0 20px 50px;
    line-height: 30px;
}

.faq-elem .faq-question:before {
    content: '+';
    width: 22px;
    display: inline-block;
    height: 71px;
    text-align: center;
    font-size: 40px;
    overflow: hidden;
    line-height: 71px;
    color: var(--accent-color);
    position: absolute;
}
.faq-elem .faq-question {
    cursor: pointer;
}
.faq-elem .faq-question.extended:before {
    content: '-';
}
.faq-elem .faq-answer {
    display: none;
}
.faq-elem .faq-answer.extended {
    display: block;
    font-size: 16px;
    padding: 0px 0 10px 50px;
}

.feedbacks-container {
    display: flex;
    justify-content: center;
    border-top: 1px solid #D9D9D9;
    margin-top: 50px;
}
.feedbacks-container .feedbacks {
    width: 100%;
    max-width: 750px;
}
.feedbacks-container .feedbacks-list {
    display: flex;
    flex-direction: column;
}
.feedbacks-container .feedbacks-list:first-child {
    margin-bottom: 10px;
}
.feedbacks-container .feedbacks-list > div {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 20px;
    color: var(--main-color);
}
.feedbacks-container .feedbacks-title {
    text-transform: uppercase;
    margin: 60px;
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    color: #434343;
    text-align: center;
}
.feedbacks-container .feedbacks-thumb {
    text-align: center;
    font-size: 25px;
    border-radius: 100%;
    background: #949696;
    min-width: 38px;
    height: 38px;
    line-height: 1.5;
    color: #eee;
    margin-right: 12px;
}
.feedbacks-container .feedbacks-author-date {
    font-size: 14px;
    width: 100%;
}
.feedbacks-container .feedbacks-author {
    font-weight: bold;
    color: black;
}
.feedbacks-container .feedbacks-content {
    flex-direction: column !important;
    font-size: 13px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.feedbacks-container .feedbacks-content:last-child {
    border:none;
}
.feedbacks-container .feedbacks-name {
    display: block;
    width: 100%;
    border-left: 2px solid #aeafaf;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: var(--accent-font);
    font-weight: 600;
    color: #434343;
    margin-top: 10px;
}
.feedbacks-container .feedbacks-name:empty {
    display: none;
}

.feedbacks-container .rating {
    display: flex;
    letter-spacing: 7.1px;
    font-size: 15px;
}
.feedbacks-container .rating-on {
    color: #fbc900;
}
.feedbacks-container .rating-off {
    color: #c1c2c2;
}

.feedbacks-container .feedback-form {
    padding: 20px 20px 20px 20px;
    background-color: #f5f7f8;
    border-radius: 3px;
    margin-top: 10px;
}
.feedbacks-container .feedback-form .title {
    text-transform: uppercase;
    margin-bottom: 14px;
}
.feedbacks-container .feedback-form .contact-info {
    display: flex;
    gap: 10px;
}
.feedbacks-container .feedback-form .input {
    width: 100%;
    background: #FFF;
    border: 1px solid rgb(235 233 233);
    padding: 10px 10px;
    font-family: var(--accent-font);
    font-size: 11px;
    color: var(--text-color);
    margin-bottom: 10px;
}
.feedbacks-container .feedback-form .button {-webkit-appearance: none;outline: none;border: none;padding: 10px 35px;background-color: var(--accent-color);font-family: var(--accent-font);font-size: 12px;line-height: 16px;color: #fff;text-transform: uppercase;width: max-content;height: 37px;}
.feedbacks-container .feedback-form textarea.input {
    height: 164px;
    resize: none;
}
.feedbacks-container .feedback-form .for-select{
    width: 50%;
    position: relative;
}
.feedbacks-container .feedback-form select {
    display: inline-block;
    background: #FFF;
    border: 1px solid rgb(235 233 233);
    font-family: var(--accent-font);
    font-size: 12px;
    color: var(--text-color);
    padding: 10px;
    position: relative;
    width: 100%;
}
.feedbacks-container .feedback-form .for-select:after {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 35px;
    height: 28px;
    padding: 6px 0;
    font-size: 34px;
    line-height: 29px;
    color: #d9d9d9;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    content: "‹";
    transform: rotate(0.75turn);
}

.tag {
    margin-bottom: 60px;
}

.tag .tag_item {
    display: inline-flex;
    align-items: center;
    max-width: 409px;
    height: 40px;
    padding: 0 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #FFFFFF;
    border: 2px solid #D4D7D7;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #AAAFB9;
    text-decoration: none;
    cursor: pointer;
}

.prices {

}
.prices .price {
    display: flex;
    gap: 5px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
}
.prices .price .name {
    flex-grow: 9;
}
.prices .price .name span{
    background: var(--white-color);
    display: inline;
    z-index: 10;
    position: relative;
    padding-right: 10px;
}
.prices .price .value {
    flex-grow: 1;
    text-align: right;

}
.prices .price .value span{
    background: var(--white-color);
    display: inline;
    color: var(--accent-color);
    position: relative;
    z-index: 10;
    padding-left: 10px;
}

:root{

    --main-color-dark: #54636E;
    --main-color: #727272;
    --text-color: #5C5C5C;
    --grey-color: #B4B4B4;

    --accent-color: #E1A45D;
}

/* header */

.header .nav .list .item{
    color: var(--main-color-dark);
}

.header .box .logo{
    width: 88px;
    height: 56px;
    background-image: url("/assets/images-luka/logo-Lukka-header.png");
}

.header .nav .logo{
    width: 123px;
    height: 80px;

    background-image: url("/assets/images-luka/logo-Lukka-nav.svg");
}


/* cart */
.cart::before {
    width: 21px;
    height: 25px;
    background-image: url('/assets/images-luka/icons/cart.svg');
}

/* home */
.grid .banner{
    background-image: url("/assets/images-luka/main-first-banner-desktop.jpg");
}

/* social */
.social .wrapper {
    background-image: url("/assets/images-luka/social/subscribe-banner-desktop.jpg");
}
.social .list .link.ig{
    background-image: url('/assets/images-luka/icons/ig.svg');
}
.social .list .link.tg{
    background-image: url('/assets/images-luka/icons/tg.svg');
}
.social .list .link.vk{
    background-image: url('/assets/images-luka/icons/vk.svg');
}

.social .title, .social .text{
    color:var(--main-color-dark);
}

.footer{
    background-color: #55636E;
}


.footer .logo{
    width: 99px;
    height: 105px;

    background-image: url("/assets/images-luka/logo-Lukka-footer.png");
}

.product .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

@media screen and (max-width:768px) {
    .header .nav{
        background-color: var(--main-color-dark);
    }
    .header .nav .list .item{
        color:#fff;
    }

    .grid .banner{
        background-image: url("/assets/images-luka/main-first-banner-mobile.jpg");
    }

    .social .wrapper{
        background-image: url("/assets/images-luka/social/subscribe-banner-mobile.jpg");
        background-position: center bottom;
    }

    .header .box .logo {
        width: 60px;
        height: 40px;
    }


    .footer .logo {
        width: 85px;
        height: 90px;
    }
}
