@import url('https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

body {
    font-family: "Inter", sans-serif;
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", serif;
    color: #0D0D0D;
}

/** HEADER */

.header {
    box-shadow: #000000 0px 5px 20px -10px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav {

}

.container {
    max-width: 90%;
    margin: 0 auto;
}

.header__logo {
    display: flex;
    padding: 10px 0;
}
.header__logo .header__img:last-child {
    margin-left: 15px;
}


.header__nav ul {
    display: flex;
    gap: 25px;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 300;
}

.header__nav ul li a {
    transition: 0.5s;
}

.header__nav ul li a:hover {
    color: #686868;
}


.header__call {
    display: flex;
    gap: 10px;
}

.header__call div:last-child {
    margin-left: 10px;
}

.header__sidebar {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
}

.header__sidebar li {
    width: 100%;
}

.header__sidebar a {
    width: 100%;
}

.sidebar-button {
    display: none;
}

.header__sidebar-button {
    display: none;
}

/** WELCOME SECTION */

/** WELCOME SECTION */
.welcome__section {
    padding: 160px 0;
}
.welcome__title1 {
    font-weight: bold;
    font-size: 96px;
    color: #0D0D0D;
    text-align: center;
    line-height: 0.9;
    letter-spacing: 8px;
}
.welcome__title2 {
    font-weight: bold;
    font-size: 64px;
    color: #0D0D0D;
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 75px;
}
.welcome__text {
    font-size: 24px;
    color: #262626;
    letter-spacing: 4px;
    max-width: 865px;
    text-align: center;
    margin: 0 auto;
}
.welcome__buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 100px;
}
.welcome__link {
    font-size: 24px;
    font-weight: 500;
    padding: 25px 50px;
    border-radius: 10px;
    border: #000 1px solid;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}
.welcome__link:hover {
    background-color: #fff;
    color: #000;
    transition: 0.5s;
}
.welcome__link--secondary {
    background-color: transparent;
    color: #707070;
    border: #707070 1px solid;
}

/** BESTSELERS SECTION */
.bestselers__section {
    background-color: #F0F0F0;
    padding-bottom: 75px;
}
.bestselers__title {
    font-size: 72px;
    font-weight: bold;
    text-align: center;
    padding-top: 65px;
    margin-bottom: 60px;
    letter-spacing: 8px;
}
.cards {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}
.card {
    border-radius: 10px;
    padding-bottom: 25px;
    background-color: #FCFCFC;
    overflow: hidden;
    max-width: 275px;
    width: 100%;
}
.card__img {
    width: 100%;
    height: 305px;
    object-fit: cover;
}
.card__content {
    padding: 0 15px;
    text-align: center;
}
.card__title {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}
.card__button {
    padding: 12px 25px;
    background-color: #5DB151;
    color: #fff;
    border-radius: 10px;
    border: 1px solid #5DB151;
    cursor: pointer;
}

/** WHY WE SECTION */
.why-we__section {
    padding: 65px 0 50px 0;
}
.why-we__section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 140px;
}
.why-we__content {
    max-width: 520px;
}
.why-we__title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 45px;
    letter-spacing: 8px;
}
.why-we__item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.why-we__text {
    font-size: 32px;
    color: #262626;
    margin: 0;
}
.why-we__icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

/** ABOUT US SECTION */
.about-us__section {
    background-color: #f0f0f0;
    padding: 75px 0;
}
.about-us__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 140px;
}
.about-us__title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 65px;
    letter-spacing: 2px;
}
.about-us__text {
    max-width: 750px;
    font-size: 24px;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 20px;
}
.about-us__img-icon {
    display: block;
    margin: 0 auto 40px auto;
}
.about-us__small-title {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
}
.about-us__flowers {
    max-width: 100%;
    height: auto;
}

/** FOOTER */

.footer {
    background-color: #000;
    color : #fff;
    padding: 20px 0;
}

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

.footer__text {
    font-size: 20px;
}

.footer__contacts li a{
    display: flex;
    gap: 10px;
}

.footer__contacts li a:last-child {
    margin-top: 10px;
}

.footer__title {
    color: #fff;
    font-size: 24px;
}

.footer__docs {

}

/*! CONTACTS PAGE */

.contacts__section {
    margin: 50px 0;
}

.contacts__title {
    font-size: 72px;
    text-align: center;
    margin-bottom: 45px;
    line-height: 1.1;
}

.contacts__title2 {
    font-size: 40px;
    text-align: center;
    letter-spacing: 4px;
    margin-top: 40px;
}

.contacts__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px 150px;
}

.contacts__content iframe {
    max-width: 100%;
    width: 650px;
    height: 500px;
    border-radius: 15px;
}

.contacts__text {
    max-width: 850px;
    font-size: 22px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 35px;
}

.contacts-small__title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contacts .contacts__list:last-child {
    margin-top: 15px;
}

.contacts__list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact {
    font-size: 24px;
    letter-spacing: 3px;
}

.working__hours {
    margin-top: 10px;
    font-size: 24px;
    letter-spacing: 3px;
}

.contacts-small__title2 {
    font-size: 32px;
    font-weight: 500;
    margin-top: 20px;
}

/** USER CONTACTS SECTION */

.user-contacts__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px 100px;
    margin-bottom: 60px;
}

.contacts__form {
    background-color: #F0F0F0;
    width: 100%;
    max-width: 600px; 
    padding: 30px 20px 45px 20px; 
    border-radius: 15px;
    box-sizing: border-box;
}

.contacts-form__title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.contacts-form__title2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 65px;
    text-align: center;
}

.form__inputs .form__input:last-child {
    margin-bottom: 40px;
}

.form__inputs .form__input:first-child {
    margin-bottom: 10px;
}

.form__input {
    font-size: 18px;
    color: #000000;
    width: 100%; 
    max-width: 450px; 
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.form__button {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    background-color: #000;
    padding: 15px 30px;
    border: 2px solid #000;
    border-radius: 10px;
    transition: 0.5s;
    display: block;
    margin: 0 auto; 
    cursor: pointer;
}

.form__button:hover {
    background-color: transparent;
    color: #000;
}

.user-contacts__img {
    height: 450px;
    max-width: 100%; /* Щоб не вилазила за екран */
    object-fit: cover;
    border-radius: 15px;
}


/*! CATALOG PAGE */

/*? CATALOG HEADER */
.catalog__header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.catalog__title {
    font-size: 48px;
    font-weight: bold;
}

.catalog__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-controls {
    display: flex;
    align-items: center;
}

.icon__button {
    width: 35px;
    height: 35px;
}

.to-basket__button {
    margin-left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}

.to-basket__button:hover {
    background-color: #5cb15188;
}

.catalog__input {
    width: 250px;
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 12px;
    margin-left: 10px;
}

/*? CATALOG FILTERS */

.filters-sidebar {
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    border: 1px solid #ddd;
    position: sticky;
    margin-bottom: 20px;   
}

.filters__title {
    margin-top: 0;
    font-size: 22px;
    padding-bottom: 10px;
    font-family: serif;
}

.filter-group {
    margin-bottom: 25px;
}

.group__title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 16px;
}

.filter-item input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.apply-filters {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s;
    margin-bottom: 5px;
}

.apply-filters:hover {
    background-color: transparent;
    color: #000;
}

.reset-filters {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s;
}

.reset-filters:hover {
    background-color: transparent;
    color: #000;
}

/*! BASKET */

.basket {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 400px;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    display: none;
}

.basket__header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
}

.basket__close {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.basket__title {
    font-size: 32px;
}


.basket__items-container {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.basket__items-container::-webkit-scrollbar {
    width: 6px;
}

.basket__items-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.basket__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #fff;
    width: 100%;
}

.basket__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.basket__total-text {
    font-size: 18px;
    color: #666;
}

.basket__total-amount {
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

.basket__pay-button {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid #000;
}

.basket__pay-button:hover {
    background: none;
    color: #000;
}

.to-basket__button {
    background-color: #5DB151;
    padding: 5px;
    border-radius: 10px;
}

.to-basket__button img {
    width: 25px;
    height: 25px;
}

/*! ADDED */


.bsk-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    width: 300px;
}

.bsk-item__img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.bsk-item__name {
    font-size: 22px;
    color: #333;
}

.bsk-item__price {
    font-weight: 600;
    color: #5DB151;
    font-size: 16px;
}

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

.bsk-item__qty {
    width: 50px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

.bsk-item__del-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
}

.bsk-item__del-icon {
    background-color: #ff4d4d;
    border-radius: 10px;
    padding: 5px;
    border: none;
    transition: 0.3s;
    width: 35px;
    height: 35px;
}

.bsk-item__del-icon:hover {
    background: #c94a4a;

}

.added-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.added-item__img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.added-item__name {
    font-size: 22px;
    color: #333;
}

.added-item__price {
    margin: 5px 0;
    font-weight: 600;
    color: #2ecc71;
    font-size: 16px;
}

.added-item__price-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.added-item__delete {
    background: none;
    border-radius: 10px;
    border: none;
}

.added-item__icon {
    background: #f00;
    border-radius: 10px;
    padding: 5px;
    border: 2px solid #f00;
    transition: 0.3s;
    width: 35px;
    height: 35px;
}

.added-item__controls {
    display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
}

.added-item__icon:hover {
    background: rgba(255, 0, 0, 0.5);
} 


/*! MOBILE FILTERS */

.mobile-filters-sidebar {
    position: fixed;
    padding: 20px;
    top: 0px;
    left: 0px;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.openFiltersButton {
    display: none;
}

.filters__header {
    display: flex;
    align-items: center;
}

.closeFiltersButton {
    background: none;
    border: none;
    width: 16px;
    align-self: flex-end;
}

.showOnMobile {
    display: none;
}

.filtersButton {
    display: flex;
    gap: 10px;

}

.filters__text {
    font-size: 24px;
}

/*? CATALOG CARDS */

.catalog__grid {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-template-rows: auto;
    gap: 40px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
    gap: 40px;
}

.product {
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #f9f9f9;
    height: 500px;
    margin-bottom: 20px;
}

.product__img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product__title {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
}

.product__price {
    color: #262626;
    text-align: center;
    font-weight: 300;
    margin-bottom: 10px;
}

.product__button {
    font-weight: 300;
    padding: 10px 20px;
    background-color: #5DB151;
    color: #fff;
    border-radius: 10px;
    border: 1px solid #5DB151;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.product__button:hover {
    background-color: #fff;
    color: #5DB151;
    border: 1px solid #5DB151;
    cursor: pointer;
}

.products__grid .product:last-child {
    margin-bottom: 50px;
}

.product__link-more {
    font-size: 18px;
    display: flex;
    margin: 0 auto;
}

/*! PRIVACY PAGE */

.privacy-main__title {
    font-size: 64px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.privacy__text-div {
    margin-bottom: 20px;
}

.privacy__text-div:last-child {
    margin-bottom: 50px;
}

.privacy-small__title {
    font-size: 32px;
    margin-bottom: 10px;
}

.privacy__text {
    font-size: 18px;

}

.privacy__list {
    list-style:inside;
    font-size: 22px;
}

/*? SEARCH */

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog__input {
    padding-right: 40px;
    width: 100%;
}

.search-icon-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.search-icon-btn:hover {
    transform: scale(1.1);
}

.search-icon-btn img {
    width: 20px;
    height: 20px;
}

/*! ORDER PAGE */

.order__main {
    background-color: #5DB151;
}

.order__title {
    text-align: center;
    font-size: 80px;
    font-weight: 900;
    margin-top: 130px;
    margin-bottom: 110px;
    color: #fff;
}

.order__text {
    font-size: 36px;
    width: 1000px;
    text-align: center;
    display: flex;
    margin: 0 auto 70px auto;
    color: #fff;
}

.order__link {
    font-size: 28px;
    color: #fff;
    padding: 25px 40px;
    border: 2px solid #fff;
    background: none;
    border-radius: 10px;
    
}

.order__button {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

/*! PRODUCT PAGE */

.product__content {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.product__content1 {
    flex: 0 1 50%;
    max-width: 600px;
    height: 600px;
}

.product__content2 {
    display: flex;
    flex-direction: column;
}

.product__img-page {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-page__title {
    margin-top: 25px;
    line-height: normal;
    font-size: 64px;
    font-weight: bold;
}

.product-page__price {
    font-size: 64px;
    line-height: normal;
}

.product-page__description {
    margin-top: 25px;
    font-size: 24px;
    width: 100%;
    margin-bottom: 50px;
}

.product-page__button {
    font-size: 24px;
    color: #fff;
    padding: 10px 40px;
    border-radius: 10px;
    background-color: #5DB151;
    border: 2px solid #5DB151;
    transition: 0.3s;
    margin-bottom: 30px;
}

.product-page__button:hover {
    background: none;
    color: #5DB151;
}

.product-page__list-item {
    display: flex;
    gap: 10px;
}

.product-page__list .product-page__list-item:last-child {
    margin-top: 10px;
}

.product-page__text {
    font-size: 24px;
}

/*! ADD PRODUCT FORM */

.add-product__form {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px auto;
    width: 400px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.add-product__subtitle {
    font-size: 24px;
    margin-bottom: 10px;
}

.add-product__input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.add-product__textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.add-product__field {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    align-items: center;
}


.add-product__field label {
    font-size: 18px;
}

.add-product__select-list {
    border-radius: 10px;
    padding: 5px;
}

.add-product__button {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s;
}

.add-product__button:hover {
    background-color: transparent;
    color: #000;
}

.add-tag__form {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px auto;
    width: 400px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    border: 1px solid #ddd;
}

/*! FAVORITES */

.favorites {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 300px;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.favorites__header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
}

.favorites__title {
    font-size: 28px;
}

.favorites__close {
    width: 18px;
    height: 18px;
}

.favorites__items-container {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.favorites__item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.favorites__item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.favorites__item-content {
    flex-grow: 1;
}

.favorites__item-title {
    font-size: 22px;
    color: #333;
}

.favorites__item-delete-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
}

.favorites__item__price-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.favorites__item-price {
    margin: 5px 0;
    font-weight: bold;
    color: #2ecc71;
}

/*! CHECKOUT PAGE */

.checkout-page {
    background-color: #fcfdfc;
    padding: 40px 0;
    min-height: 100vh;
}

.checkout-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.checkout-info { flex: 1.5; }
.checkout-sidebar { flex: 1; position: sticky; top: 20px; }

.checkout-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.ch-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #eef2ee;
    border-radius: 8px;
    background: #f9fbf9;
    font-size: 16px;
    outline: none;
}

.ch-input:focus { border-color: #5DB151; }

.delivery-toggle, .payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.toggle-option, .payment-option { cursor: pointer; flex: 1; }
.toggle-option input, .payment-option input { display: none; }

.toggle-custom, .payment-custom {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f0f4f0;
    border-radius: 25px;
    color: #666;
    transition: 0.3s;
}

.toggle-option input:checked + .toggle-custom,
.payment-option input:checked + .payment-custom {
    background: #5DB151;
    color: #fff;
}

.summary-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.summary-list { margin: 20px 0; max-height: 400px; overflow-y: auto; }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #777;
}

.grand-total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.submit-order-btn {
    width: 100%;
    padding: 18px;
    background: #5DB151;
    color: #fff;
    border: 2px solid #5DB151;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
}

.submit-order-btn:hover { background: none; color: #5DB151;}

.summary-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item__img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-item__content {
    flex: 1;
}

.summary-item__name {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.summary-item__price {
    font-weight: bold;
    color: #5DB151;
    margin: 5px 0 0 0;
}

.summary-empty {
    text-align: center;
    padding: 20px;
}

.summary-empty__link {
    color: #5DB151;
    text-decoration: none;
    font-weight: bold;
}

.delivery-label {
    font-size: 20px;
}

.shop-address {
    display: flex;
    flex-direction: column;
}

/*! ADMIN PAGE */

.admin-page {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* ВКЛАДКИ (Tabs) */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-tab-btn {
    padding: 12px 25px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: all 0.3s;
}

.admin-tab-btn.active {
    color: #5DB151;
}

.admin-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5DB151;
}

/* СІТКА (Дві колонки як на Фото 21) */
.admin-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Ліва панель: Список */
.admin-list-pane {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

/* Права панель: Редактор */
.admin-edit-pane {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ЕЛЕМЕНТИ СПИСКУ ТОВАРІВ */
.search-section {
    margin-bottom: 20px;
}

.admin-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.admin-input:focus {
    border-color: #5DB151;
}

.product-scroll-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Стилізація скролбару */
.product-scroll-list::-webkit-scrollbar { width: 5px; }
.product-scroll-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* Картка товару в списку */
.added-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.added-item:hover {
    background: #f9fdf9;
}

.added-item__img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

.added-item__name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.added-item__price {
    font-size: 14px;
    color: #5DB151;
    font-weight: 600;
}

/* КНОПКА КОШИКА (ВИДАЛЕННЯ) */
.added-item__delete {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #ff4d4d !important;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
}

.added-item__delete:hover {
    background-color: #c94a4a !important;
}

.added-item__delete img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}


/* ШАПКА РЕДАКТОРА */
.action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.action-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.save-btn {
    background: #5DB151;
    color: white;
    border-color: #5DB151;
}

.save-btn:hover {
    background: #4a8f41;
    box-shadow: 0 4px 12px rgba(93, 177, 81, 0.3);
}

/* ФОРМА */
.add-product__form {
    display: grid;
    width: 500px;
    gap: 20px;
}

.add-product__input, 
.add-product__textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    background: #fafafa;
}

.add-product__textarea {
    min-height: 120px;
    resize: vertical;
}

/* СІТКА ТЕГІВ */
.admin-tags-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.admin-tag-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.admin-tag-label:has(input:checked) {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #5DB151;
}

/* БЛОК УПРАВЛІННЯ ТЕГАМИ ВНИЗУ */
.admin-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.tag-manager-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 8px;
}

.tag-form-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* СЕКЦІЯ ЗАМОВЛЕНЬ */
.order-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #5DB151;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.status--liqpay { color: #1976d2; font-weight: bold; }
.status--cash { color: #388e3c; font-weight: bold; }

.tag-edit-btn {
    border: none;
    padding: 3px;
    background: #4fb64b;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.tag-edit-btn:hover {
    background: #3a8f3a;
}

.tag-delete-btn {
    border: none;
    padding: 3px;
    background: #ff4d4d;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.tag-delete-btn:hover {
    background: #d32f2f;
}

.product__img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 275px;
    height: 305px;
}

.product {
    border-radius: 10px;
    width: 275px;
    background-color: #f9f9f9;
}

.product__title {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
}

.product__price {
    color: #262626;
    text-align: center;
    font-weight: 300;
    margin-bottom: 10px;
}

.product__button {
    font-weight: 300;
    padding: 10px 20px;
    background-color: #5DB151;
    color: #fff;
    border-radius: 10px;
    border: 1px solid #5DB151;
    transition: 0.5s;
    display: flex;
    margin: 0 auto;
}

.product__button:hover {
    background-color: #fff;
    color: #5DB151;
    border: 1px solid #5DB151;
    cursor: pointer;
}

.product__link-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 15px;
}

.product__link-more {
    font-size: 18px;
    display: inline-block;
    margin: 0 auto;
    color: #000;
    text-decoration: none;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

/*! SIGN IN FORM */

.sign-in__form {
    padding: 25px;
    background-color: #bdbdbd;
    border-radius: 10px;
}

.sign-in__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sign-in__title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

.sign-in__button {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s;
}

.sign-in__button:hover {
    background-color: transparent;
    color: #000;
}

.sign-in__input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9fbf9;
    font-size: 16px;
    outline: none;
}