/* Шриафт текста - MyriadPro */
@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-It.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-BoldIt.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Cond.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-stretch: condensed;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-CondIt.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-stretch: condensed;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-BoldCond.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-stretch: condensed;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-BoldCondIt.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-stretch: condensed;
}

/* Основные стили */
* {
    padding: 0;
    margin: 0;
    font-family: 'MyriadPro-Regular', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

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

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
}

img {
    max-width: 100%;
}

a. button {
    cursor: pointer;
}

a {
    text-decoration: none;
}


/* Title */
.title {
    width: 600px;
    display: grid;
    place-items: center;
}

.title-h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
}

.title-span {
    text-align: center;
    color: #3E3E3E;
    font-size: 16px;
    font-weight: 300;
}

/* Кнопка */
.cta-button {
    background-color: #E9363C;
    padding: 13px 40px;
    border-radius: 100px;
    font-size: 16px;
    color: white;
    font-weight: 550;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #c92d32;
}

/* Карточка товара */
.product-card {
    border: 1.5px solid #00BBF4;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 275px;
    max-width: 275px;
    position: relative;
    cursor: pointer;
}

.product-card .addition-icons {
    display: flex;
    flex-wrap: nowrap;
    align-self: flex-end;
    position: absolute;
    margin-top: 10px;
    z-index: 10;
}

.product-card .addition-icons > div {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.product-card .addition-icons > div:not(:last-child) {
    margin-right: -7px;
}

.product-card .addition-icons > div:first-child {
    border-radius: 8px 0 0 8px;
}

.product-card .addition-icons > div:last-child {
    border-radius: 8px 0 0 8px;
}

.product-card .addition-icons > div:only-child {
    border-radius: 8px 0 0 8px;
}

.product-card .addition-icons .discount-icon {
    background-color: #FA0006;
    color: white;
    z-index: 11;
}

.product-card .addition-icons .bestseller-icon {
    background-color: #FAA200;
    color: black;
    z-index: 10;
}

.product-card .addition-icons .newest {
    background-color: #00C8B3;
    color: black;
    z-index: 9;
}

.product-card .addition-icons .ac-choice {
    background-color: #FFFB05;
    color: black;
    z-index: 8;
}

.product-card .product-icon {
    width: 200px;
    height: 290px;
    padding: 15px 10px;
}

.product-card .product-colors {
    display: flex;
    gap: 6px;
    position: absolute;
    z-index: 10;
    top: 270px;
}

.product-card .product-colors .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #8D8D8D;
}

.product-card .line-block {
    padding: 5px 10px 15px 10px;
    height: 1px;
    width: 100%;
}

.product-card .line {
    background-color: #CCCCCC;
    width: 100%;
    height: 1px;
}

.product-card h3 {
    color: #3E3E3E;
    font-size: 19px;
    font-weight: 600;
    align-self: flex-start;
    padding: 0 10px;
}

.product-card .discount-price--block {
    align-self: flex-start;
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 10px;
}

.product-card .discount-price--block p {
    color: black;
    font-size: 15px;
    font-weight: 600;
}

.product-card .discount-price--block p.discount-price {
    color: #8D8D8D;
    text-decoration: line-through;
}

.product-card .add-cart--section {
    background-color: #00BBF4;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    gap: 7px;
    border-radius: 0 0 6px 6px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.product-card .add-cart--section:hover {
    background-color: #009ed1;
}

.product-card .add-cart--section img {
    width: 20px;
    height: 20px;
}

.product-card .add-cart--section span {
    font-weight: 600;
    font-size: 15px;
    color: #05090E;
}

/* Навигация по страницам */
.navigation-bar {
    padding: 35px 100px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navigation-bar span,
.navigation-bar b,
.navigation-bar a {
    color: #8D8D8D;
    font-size: 14px;
    font-weight: 400;
}

.navigation-bar b {
    font-weight: 500;
    color: #3E3E3E;
}

.navigation-bar img {
    width: 14px;
    height: 14px;
}

/* Пусто в корзине/странице товара */
.not-found {
    width: 500px;
}
.not-found h3 {
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 10px;
}

.not-found span {
    font-size: 16px;
    font-weight: 400;
    color: #3E3E3E;
    line-height: 1.5;
}




/* Дизайн уведмолений */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.madwave-toast {
    background-color: #ffffff;
    color: #0f2b5b;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #53C2EF;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.madwave-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.madwave-toast .toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(83, 194, 239, 0.1);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.madwave-toast span {
    font-size: 16px;
    font-weight: 600;
}



@media (min-width: 1750px) {
    .navigation-bar {
        padding: 35px 160px;
    }

    .title-h2 {
        font-size: 40px;
    }
}

@media (min-width: 1537px) and (max-width: 1749.98px) {
    .navigation-bar {
        padding: 35px 120px;
    }
}

@media (min-width: 1441px) and (max-width: 1536.98px) {
    .navigation-bar {
        padding: 35px 110px;
    }
}

@media (max-width: 1440px) {
    .navigation-bar {
        padding: 30px 100px;
    }
}

@media (max-width: 1280px) {
    .navigation-bar {
        padding: 28px 60px;
    }

    .title {
        width: 100%;
        max-width: 600px;
    }

    .title-h2 {
        font-size: 34px;
    }
}

@media (max-width: 1024px) {
    .navigation-bar {
        padding: 22px 40px;
        flex-wrap: wrap;
    }

    .title {
        width: 100%;
        max-width: 600px;
        padding: 0 24px;
    }

    .title-h2 {
        font-size: 32px;
    }

    .cta-button {
        padding: 13px 34px;
    }

    .not-found {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .navigation-bar {
        padding: 20px 32px;
    }

    .title-h2 {
        font-size: 31px;
    }
}

@media (max-width: 834px) {
    .navigation-bar {
        padding: 20px 28px;
    }

    .title-h2 {
        font-size: 30px;
    }
}

@media (max-width: 800px) {
    .navigation-bar {
        padding: 18px 28px;
    }
}

@media (max-width: 768px) {
    .navigation-bar {
        padding: 18px 24px;
    }

    .title-h2 {
        font-size: 30px;
        padding-bottom: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .navigation-bar {
        padding: 16px 20px;
    }

    .title {
        padding: 0 20px;
    }

    .title-h2 {
        font-size: 29px;
    }

    .title-span {
        font-size: 15px;
    }

    .not-found h3 {
        font-size: 24px;
    }

    .toast-container {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }

    .madwave-toast span {
        font-size: 15px;
    }

    .product-card .addition-icons > div {
        padding: 10px 14px;
        font-size: 11px;
    }

    .product-card .product-icon {
        width: 180px;
        height: 260px;
    }

    .product-card .product-colors {
        top: 240px;
    }

    .product-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 430px) {
    .navigation-bar {
        padding: 14px 16px;
        gap: 4px;
    }

    .navigation-bar span,
    .navigation-bar b,
    .navigation-bar a {
        font-size: 13px;
    }

    .title {
        padding: 0 16px;
    }

    .title-h2 {
        font-size: 27px;
    }

    .cta-button {
        padding: 11px 26px;
        font-size: 15px;
    }

    .product-card {
        min-width: 260px;
        max-width: 260px;
    }

    .product-card .addition-icons > div {
        padding: 9px 12px;
    }

    .product-card .product-icon {
        width: 175px;
        height: 250px;
    }

    .product-card .product-colors {
        top: 232px;
    }
}

@media (max-width: 414px) {
    .title-h2 {
        font-size: 26px;
    }
}

@media (max-width: 400px) {
    .navigation-bar {
        padding: 12px 14px;
    }

    .cta-button {
        padding: 11px 24px;
        font-size: 14px;
    }

    .product-card {
        min-width: 250px;
        max-width: 250px;
    }

    .product-card .product-icon {
        width: 165px;
        height: 240px;
    }

    .product-card .product-colors {
        top: 222px;
    }
}

@media (max-width: 390px) {
    .title-h2 {
        font-size: 25px;
    }
}

@media (max-width: 375px) {
    .navigation-bar {
        padding: 12px;
    }

    .title {
        padding: 0 12px;
    }

    .title-h2 {
        font-size: 24px;
    }

    .product-card {
        min-width: 240px;
        max-width: 240px;
    }

    .product-card .product-icon {
        width: 160px;
        height: 230px;
    }

    .product-card .product-colors {
        top: 214px;
    }

    .product-card h3 {
        font-size: 17px;
    }

    .product-card .discount-price--block p,
    .product-card .add-cart--section span {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .navigation-bar span,
    .navigation-bar b,
    .navigation-bar a {
        font-size: 12px;
    }

    .title-h2 {
        font-size: 23px;
    }

    .cta-button {
        padding: 11px 22px;
    }

    .product-card .product-colors .dot {
        width: 14px;
        height: 14px;
    }
}


