/*
Theme Name: Kleoo
Theme URI: https://kleoo.com.ua
Author: Kleoo
Description: Власна тема інтернет-магазину Kleoo
Version: 1.0.0
Text Domain: kleoo
*/


:root {
    --kleoo-blue: #075bff;
    --kleoo-blue-hover: #004de0;
    --kleoo-dark: #0d1117;
    --kleoo-light: #f7f9fc;
    --kleoo-border: #e5eaf2;
    --kleoo-text-muted: #667085;
    --kleoo-container: 1320px;
}


/* RESET */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    color: var(--kleoo-dark);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}


/* CONTAINER */

.container {
    width: min(calc(100% - 40px), var(--kleoo-container));
    margin-left: auto;
    margin-right: auto;
}


/* HEADER */

.site-header {
    width: 100%;
    padding: 0;
    background: #ffffff;
}


/* MAIN HEADER */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--kleoo-border);
}

.main-header__inner {
    min-height: 96px;

    display: grid;

    grid-template-columns:
        230px
        minmax(360px, 650px)
        minmax(420px, auto);

    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* LOGO */

.site-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 230px;

    margin: 0;
    padding: 0;

    text-decoration: none;
}

.site-logo:hover {
    text-decoration: none;
}

.site-logo__image {
    display: block;

    width: 220px;
    max-width: 220px;

    height: 78px;
    max-height: 78px;

    object-fit: contain;
    object-position: left center;

    margin: 0;
    padding: 0;
}


/* Старий текстовий логотип */

.site-logo__name,
.site-logo__tagline {
    display: none;
}


/* SEARCH */

.header-search {
    width: 100%;
    max-width: 580px;
    min-width: 0;
}

.header-search form,
.header-search .woocommerce-product-search {
    display: flex;
    align-items: stretch;

    width: 100%;
    height: 48px;

    margin: 0;
    padding: 0;
}

.header-search input[type="search"],
.header-search .search-field {
    flex: 1;

    min-width: 0;

    width: 100%;
    height: 48px;

    margin: 0;
    padding: 0 18px;

    color: #111111;
    background: #ffffff;

    border: 1px solid #dfe4ec;
    border-right: 0;

    border-radius: 8px 0 0 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;

    outline: none;
}

.header-search input[type="search"]::placeholder,
.header-search .search-field::placeholder {
    color: #7b8494;
}

.header-search input[type="search"]:focus,
.header-search .search-field:focus {
    border-color: var(--kleoo-blue);
}


/* SEARCH BUTTON */

.header-search button {
    position: relative;

    flex: 0 0 52px;

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

    width: 52px;
    height: 48px;

    margin: 0;
    padding: 0;

    color: #ffffff;
    background: var(--kleoo-blue);

    border: 1px solid var(--kleoo-blue);
    border-radius: 0 8px 8px 0;

    font-size: 0;

    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease;
}

.header-search button::before {
    content: "";

    display: block;

    width: 17px;
    height: 17px;

    border: 2px solid #ffffff;
    border-radius: 50%;
}

.header-search button::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    background: #ffffff;

    transform:
        translate(7px, 7px)
        rotate(45deg);

    border-radius: 2px;
}

.header-search button:hover {
    background: var(--kleoo-blue-hover);
    border-color: var(--kleoo-blue-hover);
}


/* CART */

.header-cart {
    position: relative;

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

    justify-self: end;

    gap: 8px;

    color: #111111;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;
}

.header-cart:hover {
    color: var(--kleoo-blue);
    text-decoration: none;
}

.header-cart__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;
}

.header-cart__icon svg {
    display: block;

    width: 26px;
    height: 26px;
}

.header-cart__text {
    display: inline-block;
}


/* CART COUNT */

.cart-count {
    position: absolute;

    top: -10px;
    right: -14px;

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

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    color: #ffffff;
    background: var(--kleoo-blue);

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    line-height: 18px;
}


/* NAVIGATION */

.main-navigation {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid var(--kleoo-border);
}

.main-navigation .container {
    display: block;
}


/* MENU */

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    position: relative;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li + li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 1px;
    height: 16px;

    background: #e5e7eb;

    transform: translateY(-50%);
}


/* MENU LINKS */

.main-menu a {
    position: relative;

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

    min-height: 60px;

    padding: 0 28px;

    color: #111111;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-menu a:hover {
    color: var(--kleoo-blue);
}

.main-menu a::after {
    content: "";

    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 0;

    height: 2px;

    background: var(--kleoo-blue);

    transform: scaleX(0);

    transition: transform 0.2s ease;
}

.main-menu a:hover::after {
    transform: scaleX(1);
}


/* CONTENT */

.site-main {
    min-height: 65vh;
}


/* FOOTER */

.site-footer {
    padding: 35px 0;

    color: #ffffff;

    background: #06101f;
}


/* TABLET */

@media (max-width: 1100px) {

    .main-header__inner {
        grid-template-columns:
            190px
            minmax(300px, 1fr)
            100px;

        gap: 25px;
    }

    .site-logo {
        width: 190px;
    }

    .site-logo__image {
        width: 185px;
        max-width: 185px;

        height: 68px;
        max-height: 68px;
    }

    .main-menu a {
        padding-left: 18px;
        padding-right: 18px;

        font-size: 12px;
    }

    .main-menu a::after {
        left: 18px;
        right: 18px;
    }
}


/* MOBILE */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--kleoo-container)
        );
    }

    .main-header__inner {
        min-height: auto;

        grid-template-columns:
            1fr
            auto;

        gap: 14px;

        padding: 14px 0;
    }

    .site-logo {
        width: 155px;
    }

    .site-logo__image {
        width: 150px;
        max-width: 150px;

        height: 58px;
        max-height: 58px;
    }

    .header-cart {
        justify-self: end;
    }

    .header-cart__text {
        display: none;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
    }

    .header-search form,
    .header-search .woocommerce-product-search {
        height: 46px;
    }

    .header-search input[type="search"],
    .header-search .search-field {
        height: 46px;
    }

    .header-search button {
        height: 46px;
        flex-basis: 50px;
    }

    .main-navigation {
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

    .main-navigation .container {
        width: max-content;
        min-width: 100%;
    }

    .main-menu {
        justify-content: flex-start;

        width: max-content;

        white-space: nowrap;
    }

    .main-menu a {
        min-height: 52px;

        padding: 0 17px;

        font-size: 12px;
    }

    .main-menu a::after {
        left: 17px;
        right: 17px;
    }
}
/* =========================================================
   HOME PAGE - CATEGORIES
========================================================= */

.home-page {
    padding: 0;
}

.home-categories {
    padding: 34px 0 40px;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h1 {
    margin: 0;
    color: #111111;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.section-heading__line {
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--kleoo-blue);
    border-radius: 5px;
}


/* Сітка категорій */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* Картка категорії */

.category-card {
    display: block;
    overflow: hidden;

    color: #111111;
    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: #d6dce7;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}


/* Фото категорії */

.category-card__image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 220px;
    padding: 18px;

    background: #ffffff;
}

.category-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.25s ease;
}

.category-card:hover .category-card__image img {
    transform: scale(1.03);
}


/* Назва категорії */

.category-card__title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    min-height: 58px;
    padding: 12px 18px;

    border-top: 1px solid var(--kleoo-border);

    font-size: 15px;
    font-weight: 800;

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

.category-card__arrow {
    color: var(--kleoo-blue);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}


/* Якщо категорій ще немає */

.categories-empty {
    padding: 50px 20px;

    color: #667085;
    background: #f7f9fc;

    border-radius: 10px;

    text-align: center;
}


/* Планшет */

@media (max-width: 950px) {

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

}


/* Телефон */

@media (max-width: 620px) {

    .home-categories {
        padding-top: 24px;
    }

    .section-heading h1 {
        font-size: 28px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card__image {
        height: 210px;
    }
}
/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 60px;
    padding: 0;

    color: #ffffff;
    background: #06101f;
}


/* Основна частина футера */

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;

    gap: 60px;

    padding-top: 55px;
    padding-bottom: 50px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-block;

    width: 180px;

    margin-bottom: 18px;

    text-decoration: none;
}

.footer-logo img {
    display: block;

    width: 100%;
    height: auto;

    /* Логотип PNG чорний, тому на темному фоні
       додаємо білу підкладку */
    padding: 8px 12px;

    background: #ffffff;

    border-radius: 8px;
}

.footer-description {
    max-width: 280px;

    margin: 0;

    color: #aeb8c7;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}

.footer-column h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35px;
    height: 2px;

    background: var(--kleoo-blue);

    border-radius: 3px;
}


/* =========================================================
   FOOTER MENU
========================================================= */

.footer-menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-menu li {
    margin: 0 0 12px;
    padding: 0;

    list-style: none;
}

.footer-menu a,
.footer-menu span {
    color: #aeb8c7;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}


/* Маленька синя стрілка при наведенні */

.footer-menu a::before {
    content: "›";

    display: inline-block;

    width: 0;

    overflow: hidden;

    color: var(--kleoo-blue);

    opacity: 0;

    transition:
        width 0.2s ease,
        opacity 0.2s ease;
}

.footer-menu a:hover::before {
    width: 14px;
    opacity: 1;
}


/* =========================================================
   CONTACTS
========================================================= */

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contacts h3 {
    width: 100%;
}

.footer-contacts a,
.footer-contacts span {
    display: block;

    margin-bottom: 12px;

    color: #aeb8c7;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-contacts a:hover {
    color: #ffffff;
}


/* Телефон виділяємо */

.footer-contacts a[href^="tel:"] {
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom__inner {
    min-height: 70px;

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

    gap: 20px;

    color: #8995a7;

    font-size: 13px;
}

.footer-bottom__inner span:last-child {
    color: #aeb8c7;

    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   FOOTER TABLET
========================================================= */

@media (max-width: 1000px) {

    .footer-main {
        grid-template-columns: repeat(2, 1fr);

        gap: 45px 60px;
    }

    .footer-brand {
        max-width: none;
    }
}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width: 620px) {

    .site-footer {
        margin-top: 40px;
    }

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

        gap: 35px;

        padding-top: 40px;
        padding-bottom: 35px;
    }

    .footer-logo {
        width: 160px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-column h3 {
        margin-bottom: 16px;
    }

    .footer-bottom__inner {
        min-height: auto;

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

        gap: 8px;

        padding-top: 20px;
        padding-bottom: 20px;
    }
}
/* =========================================================
   SHOP / ТОВАРИ ТА ПОСЛУГИ
========================================================= */

.shop-page {
    padding: 45px 0 70px;
}


/* =========================================================
   SHOP HEADING
========================================================= */

.shop-heading {
    margin-bottom: 35px;
}

.shop-heading h1 {
    margin: 0 0 12px;

    color: #111111;

    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.shop-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #7a8493;

    font-size: 13px;
}

.shop-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.shop-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   SHOP LAYOUT
========================================================= */

.shop-layout {
    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);

    gap: 40px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.shop-sidebar__box {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;
}

.shop-sidebar__box h2 {
    margin: 0;

    padding: 18px 20px;

    color: #ffffff;
    background: var(--kleoo-blue);

    font-size: 17px;
    font-weight: 700;
}


/* CATEGORY LIST */

.shop-category-list {
    margin: 0;
    padding: 8px 0;

    list-style: none;
}

.shop-category-list li {
    margin: 0;
    padding: 0;

    list-style: none;

    border-bottom: 1px solid #eef1f5;
}

.shop-category-list li:last-child {
    border-bottom: 0;
}

.shop-category-list a {
    position: relative;

    display: block;

    padding: 15px 36px 15px 18px;

    color: #252b35;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.shop-category-list a::after {
    content: "›";

    position: absolute;

    top: 50%;
    right: 18px;

    color: #a3aab5;

    font-size: 20px;

    transform: translateY(-50%);
}

.shop-category-list a:hover {
    color: var(--kleoo-blue);
    background: #f7f9fc;
}

.shop-category-list a:hover::after {
    color: var(--kleoo-blue);
}

.shop-category-list a.active {
    color: var(--kleoo-blue);
    background: #f2f6ff;
}

.shop-category-list a.active::after {
    color: var(--kleoo-blue);
}


/* =========================================================
   SHOP CONTENT
========================================================= */

.shop-content {
    min-width: 0;
}


/* TOOLBAR */

.shop-toolbar {
    min-height: 48px;

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

    gap: 20px;

    margin-bottom: 22px;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--kleoo-border);
}

.shop-count {
    color: #667085;

    font-size: 14px;
}


/* WooCommerce sorting */

.shop-ordering {
    margin-left: auto;
}

.shop-ordering .woocommerce-ordering {
    margin: 0;
}

.shop-ordering select {
    min-width: 220px;
    height: 42px;

    padding: 0 36px 0 14px;

    color: #333333;
    background: #ffffff;

    border: 1px solid #dfe4ec;
    border-radius: 7px;

    font-size: 13px;

    outline: none;
    cursor: pointer;
}

.shop-ordering select:focus {
    border-color: var(--kleoo-blue);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.shop-content ul.products {
    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

.shop-content ul.products::before,
.shop-content ul.products::after {
    display: none !important;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.shop-content ul.products li.product.kleoo-product-card {
    float: none !important;
    clear: none !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.shop-content ul.products li.product.kleoo-product-card:hover {
    transform: translateY(-3px);

    border-color: #d6dce7;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}


/* PRODUCT IMAGE */

.kleoo-product-card__image {
    display: flex;

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

    width: 100%;
    height: 260px;

    padding: 18px;

    background: #ffffff;

    border-bottom: 1px solid var(--kleoo-border);

    text-decoration: none;
}

.kleoo-product-card__image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: contain;

    transition: transform 0.25s ease;
}

.kleoo-product-card:hover .kleoo-product-card__image img {
    transform: scale(1.03);
}


/* PRODUCT CONTENT */

.kleoo-product-card__content {
    display: flex;
    flex-direction: column;

    min-height: 180px;

    padding: 18px;
}


/* TITLE */

.kleoo-product-card__title {
    margin: 0 0 14px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.kleoo-product-card__title a {
    color: #111111;
    text-decoration: none;
}

.kleoo-product-card__title a:hover {
    color: var(--kleoo-blue);
}


/* PRICE */

.kleoo-product-card__price {
    margin-top: auto;
    margin-bottom: 16px;

    color: var(--kleoo-blue);

    font-size: 18px;
    font-weight: 800;
}

.kleoo-product-card__price del {
    margin-right: 7px;

    color: #9aa3af;

    font-size: 13px;
    font-weight: 400;
}

.kleoo-product-card__price ins {
    color: var(--kleoo-blue);

    text-decoration: none;
}


/* BUTTON */

.kleoo-product-card__button {
    display: flex;

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

    width: 100%;
    min-height: 42px;

    padding: 10px 16px;

    color: #ffffff !important;
    background: var(--kleoo-blue);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
    text-decoration: none !important;

    transition: background 0.2s ease;
}

.kleoo-product-card__button:hover {
    background: var(--kleoo-blue-hover);
}


/* =========================================================
   EMPTY
========================================================= */

.shop-empty {
    padding: 50px 25px;

    color: #667085;
    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;

    text-align: center;
}


/* =========================================================
   PAGINATION
========================================================= */

.shop-pagination {
    margin-top: 40px;
}

.shop-pagination .nav-links {
    display: flex;

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

    gap: 7px;
}

.shop-pagination .page-numbers {
    display: inline-flex;

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

    min-width: 40px;
    height: 40px;

    padding: 0 10px;

    color: #333333;
    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 6px;

    font-size: 13px;

    text-decoration: none;
}

.shop-pagination .page-numbers.current,
.shop-pagination a.page-numbers:hover {
    color: #ffffff;
    background: var(--kleoo-blue);

    border-color: var(--kleoo-blue);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .shop-layout {
        grid-template-columns: 210px minmax(0, 1fr);

        gap: 25px;
    }

    .shop-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .shop-page {
        padding: 30px 0 50px;
    }

    .shop-heading h1 {
        font-size: 28px;
    }

    .shop-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-ordering {
        width: 100%;
        margin-left: 0;
    }

    .shop-ordering .woocommerce-ordering {
        width: 100%;
    }

    .shop-ordering select {
        width: 100%;
    }

    .shop-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .kleoo-product-card__image {
        height: 190px;

        padding: 12px;
    }

    .kleoo-product-card__content {
        min-height: 165px;

        padding: 14px;
    }

    .kleoo-product-card__title {
        font-size: 14px !important;
    }

    .kleoo-product-card__price {
        font-size: 16px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .shop-content ul.products {
        grid-template-columns: 1fr;
    }

    .kleoo-product-card__image {
        height: 240px;
    }

}
/* =========================================================
   SINGLE PRODUCT PAGE
========================================================= */

.single-product-page {
    padding: 36px 0 70px;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

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

    gap: 8px;

    margin-bottom: 28px;

    color: #7a8493;

    font-size: 13px;
}

.product-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   PRODUCT MAIN
========================================================= */

.product-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    gap: 55px;

    align-items: start;
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.product-gallery {
    display: grid;

    grid-template-columns:
        76px
        minmax(0, 1fr);

    gap: 14px;
}


/* THUMBNAILS */

.product-thumbnails {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.product-thumbnail {
    width: 76px;
    height: 76px;

    padding: 5px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 8px;

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--kleoo-blue);

    box-shadow: 0 0 0 2px rgba(7, 91, 255, 0.08);
}


/* MAIN IMAGE */

.product-main-image {
    display: flex;

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

    min-height: 520px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}

.product-main-image img {
    display: block;

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

    height: 460px;

    object-fit: contain;
}


/* =========================================================
   PRODUCT SUMMARY
========================================================= */

.product-summary {
    position: relative;
}


/* STOCK */

.product-stock {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    margin-bottom: 14px;

    padding: 6px 12px;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
}

.product-stock.in-stock {
    color: #16803c;
    background: #edf9f1;
}

.product-stock.out-of-stock {
    color: #b42318;
    background: #fff1f0;
}


/* TITLE */

.product-title {
    margin: 0 0 10px;

    color: #111111;

    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
}


/* SKU */

.product-sku {
    margin-bottom: 22px;

    color: #7a8493;

    font-size: 13px;
}

.product-sku strong {
    color: #333333;
}


/* PRICE */

.product-price {
    margin-bottom: 22px;

    color: var(--kleoo-blue);

    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.product-price del {
    margin-right: 10px;

    color: #9aa3af;

    font-size: 18px;
    font-weight: 400;
}

.product-price ins {
    color: var(--kleoo-blue);

    text-decoration: none;
}


/* SHORT DESCRIPTION */

.product-short-description {
    margin-bottom: 24px;

    color: #5f6877;

    font-size: 15px;
    line-height: 1.7;
}

.product-short-description p {
    margin-top: 0;
}


/* =========================================================
   ADD TO CART
========================================================= */

.product-buy {
    margin-bottom: 28px;
}

.product-buy form.cart {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0 !important;
}


/* QUANTITY */

.product-buy .quantity {
    display: flex;

    align-items: center;
}

.product-buy .quantity input.qty {
    width: 74px;
    height: 48px;

    padding: 0 10px;

    color: #111111;
    background: #ffffff;

    border: 1px solid #dfe4ec;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 600;

    text-align: center;

    outline: none;
}

.product-buy .quantity input.qty:focus {
    border-color: var(--kleoo-blue);
}


/* BUTTON */

.product-buy button.single_add_to_cart_button,
.product-buy .single_add_to_cart_button {
    min-height: 48px;

    flex: 1;

    margin: 0 !important;

    padding: 0 26px !important;

    color: #ffffff !important;
    background: var(--kleoo-blue) !important;

    border: 0 !important;
    border-radius: 7px !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    text-transform: none !important;

    cursor: pointer;

    transition: background 0.2s ease;
}

.product-buy button.single_add_to_cart_button:hover,
.product-buy .single_add_to_cart_button:hover {
    background: var(--kleoo-blue-hover) !important;
}


/* =========================================================
   VARIABLE PRODUCT
========================================================= */

.product-buy table.variations {
    width: 100%;

    margin-bottom: 15px;

    border-collapse: collapse;
}

.product-buy table.variations td,
.product-buy table.variations th {
    padding: 8px 0;

    border: 0;
}

.product-buy table.variations label {
    font-weight: 700;
}

.product-buy table.variations select {
    width: 100%;
    min-height: 44px;

    padding: 0 12px;

    border: 1px solid #dfe4ec;
    border-radius: 7px;

    background: #ffffff;
}

.product-buy .reset_variations {
    display: inline-block;

    margin-top: 7px;

    color: var(--kleoo-blue);

    font-size: 12px;
}


/* =========================================================
   PRODUCT BENEFITS
========================================================= */

.product-benefits {
    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: 12px;

    padding-top: 24px;

    border-top: 1px solid var(--kleoo-border);
}

.product-benefit {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.product-benefit__icon {
    flex: 0 0 28px;

    display: flex;

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

    width: 28px;
    height: 28px;

    color: var(--kleoo-blue);
    background: #eef4ff;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 800;
}

.product-benefit div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.product-benefit strong {
    color: #1d2430;

    font-size: 14px;
}

.product-benefit small {
    color: #7a8493;

    font-size: 12px;
}


/* =========================================================
   PRODUCT DETAILS / TABS
========================================================= */

.product-details {
    margin-top: 50px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}


/* TAB NAV */

.product-details__nav {
    display: flex;

    align-items: center;

    gap: 0;

    padding: 0 20px;

    border-bottom: 1px solid var(--kleoo-border);

    overflow-x: auto;
}

.product-tab-button {
    position: relative;

    min-height: 58px;

    padding: 0 22px;

    color: #333333;
    background: transparent;

    border: 0;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;
}

.product-tab-button::after {
    content: "";

    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 0;

    height: 2px;

    background: var(--kleoo-blue);

    transform: scaleX(0);

    transition: transform 0.2s ease;
}

.product-tab-button.active {
    color: var(--kleoo-blue);
}

.product-tab-button.active::after {
    transform: scaleX(1);
}


/* TAB CONTENT */

.product-tab-content {
    display: none;

    padding: 28px 30px;

    color: #505967;

    font-size: 14px;
    line-height: 1.75;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h2,
.product-tab-content h3 {
    color: #111111;
}

.product-tab-content h3 {
    margin-top: 0;
}


/* ATTRIBUTE TABLE */

.product-tab-content table {
    width: 100%;

    border-collapse: collapse;
}

.product-tab-content table th,
.product-tab-content table td {
    padding: 13px 15px;

    border-bottom: 1px solid #eef1f5;

    text-align: left;
}

.product-tab-content table th {
    width: 35%;

    color: #333333;

    font-weight: 700;
}

.product-tab-content table tr:last-child th,
.product-tab-content table tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products {
    margin-top: 55px;
}

.related-products__heading {
    margin-bottom: 25px;

    text-align: left;
}

.related-products__heading h2 {
    margin: 0;

    color: #111111;

    font-size: 26px;
    font-weight: 800;
}

.related-products__heading span {
    display: block;

    width: 50px;
    height: 3px;

    margin-top: 10px;

    background: var(--kleoo-blue);

    border-radius: 4px;
}


/* RELATED GRID */

.related-products__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}


/* CARD */

.related-product-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.related-product-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}


/* RELATED IMAGE */

.related-product-card__image {
    display: flex;

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

    height: 210px;

    padding: 16px;

    border-bottom: 1px solid var(--kleoo-border);
}

.related-product-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* RELATED CONTENT */

.related-product-card__content {
    display: flex;
    flex-direction: column;

    min-height: 160px;

    padding: 16px;
}

.related-product-card h3 {
    margin: 0 0 12px;

    font-size: 15px;
    line-height: 1.4;
}

.related-product-card h3 a {
    color: #111111;
    text-decoration: none;
}

.related-product-card h3 a:hover {
    color: var(--kleoo-blue);
}


/* RELATED PRICE */

.related-product-card__price {
    margin-top: auto;
    margin-bottom: 14px;

    color: var(--kleoo-blue);

    font-size: 17px;
    font-weight: 800;
}


/* RELATED BUTTON */

.related-product-card__button {
    display: flex;

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

    min-height: 40px;

    padding: 8px 14px;

    color: var(--kleoo-blue);
    background: #ffffff;

    border: 1px solid var(--kleoo-blue);
    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.related-product-card__button:hover {
    color: #ffffff;
    background: var(--kleoo-blue);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .product-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.85fr);

        gap: 35px;
    }

    .product-main-image {
        min-height: 450px;
    }

    .product-main-image img {
        height: 400px;
    }

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

    .related-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .single-product-page {
        padding: 25px 0 50px;
    }

    .product-main {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbnails {
        order: 2;

        flex-direction: row;

        overflow-x: auto;

        padding-bottom: 3px;
    }

    .product-main-image {
        order: 1;

        min-height: 360px;

        padding: 18px;
    }

    .product-main-image img {
        height: 330px;
    }

    .product-thumbnail {
        flex: 0 0 72px;

        width: 72px;
        height: 72px;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price {
        font-size: 28px;
    }

    .product-buy form.cart {
        align-items: stretch;
        flex-direction: column;
    }

    .product-buy .quantity input.qty {
        width: 100%;
    }

    .product-details {
        margin-top: 35px;
    }

    .product-details__nav {
        padding: 0 8px;
    }

    .product-tab-button {
        min-height: 52px;

        padding: 0 14px;

        font-size: 13px;
    }

    .product-tab-button::after {
        left: 14px;
        right: 14px;
    }

    .product-tab-content {
        padding: 22px 18px;
    }

    .related-products {
        margin-top: 40px;
    }

    .related-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 440px) {

    .product-main-image {
        min-height: 300px;
    }

    .product-main-image img {
        height: 280px;
    }

    .related-products__grid {
        grid-template-columns: 1fr;
    }

    .related-product-card__image {
        height: 240px;
    }

}
/* Товар без додаткових фото */
.product-gallery.no-thumbnails {
    grid-template-columns: 1fr;
}

/* Товар з галереєю */
.product-gallery.has-thumbnails {
    grid-template-columns: 76px minmax(0, 1fr);
}
/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    padding: 0;
}


/* HERO */

.about-hero {
    padding: 45px 0 35px;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: #7a8493;

    font-size: 13px;
}

.about-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.about-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}

.about-hero__content h1 {
    margin: 0 0 20px;

    color: #111111;

    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}

.about-hero__content p {
    max-width: 620px;

    margin: 0 0 16px;

    color: #5f6877;

    font-size: 16px;
    line-height: 1.75;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-top: 10px;
    padding: 0 22px;

    color: #ffffff;
    background: var(--kleoo-blue);

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.about-button:hover {
    background: var(--kleoo-blue-hover);
}


/* IMAGE */

.about-hero__image {
    min-height: 340px;
}

.about-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 340px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #081426 0%,
            #0b2f76 55%,
            #075bff 100%
        );

    border-radius: 14px;
}

.about-image-placeholder span {
    font-size: 42px;
    font-weight: 800;
}

.about-image-placeholder small {
    margin-top: 8px;

    font-size: 13px;
    letter-spacing: 1px;
}


/* INFO CARDS */

.about-info {
    padding: 25px 0 40px;
}

.about-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.about-info-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 10px;
}

.about-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin-bottom: 18px;

    color: var(--kleoo-blue);
    background: #eef4ff;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 800;
}

.about-info-card h2 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 18px;
    font-weight: 700;
}

.about-info-card p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 1.7;
}


/* TEXT */

.about-text {
    padding: 0 0 20px;
}

.about-text__box {
    padding: 32px;

    background: #f7f9fc;

    border-radius: 12px;
}

.about-text__box h2 {
    margin: 0 0 16px;

    color: #111111;

    font-size: 26px;
    font-weight: 800;
}

.about-text__box p {
    margin: 0 0 14px;

    color: #5f6877;

    font-size: 15px;
    line-height: 1.75;
}

.about-text__box p:last-child {
    margin-bottom: 0;
}


/* TABLET */

@media (max-width: 900px) {

    .about-hero__grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-info__grid {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .about-hero {
        padding-top: 30px;
    }

    .about-hero__content h1 {
        font-size: 32px;
    }

    .about-hero__content p {
        font-size: 15px;
    }

    .about-hero__image,
    .about-image-placeholder {
        min-height: 260px;
        height: 260px;
    }

    .about-text__box {
        padding: 24px 20px;
    }
}
.about-hero__image {
    height: 340px;

    overflow: hidden;

    border-radius: 14px;
}

.about-hero__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 14px;
}
/* =========================================================
   CONTACTS PAGE
========================================================= */

.contacts-page {
    padding: 0;
}

.contacts-section {
    padding: 42px 0 30px;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

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

    gap: 8px;

    margin-bottom: 20px;

    color: #7a8493;

    font-size: 13px;
}

.contacts-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.contacts-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   HEADING
========================================================= */

.contacts-heading {
    margin-bottom: 32px;
}

.contacts-heading h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.contacts-heading p {
    max-width: 650px;

    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   MAIN GRID
========================================================= */

.contacts-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.8fr)
        minmax(360px, 1.2fr)
        minmax(260px, 0.8fr);

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   CARDS
========================================================= */

.contacts-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}

.contacts-card h2 {
    margin: 0 0 24px;

    color: #111111;

    font-size: 20px;
    font-weight: 800;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px 0;

    border-bottom: 1px solid #eef1f5;
}

.contact-item:first-of-type {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* ICON */

.contact-item__icon {
    flex: 0 0 42px;

    display: flex;

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

    width: 42px;
    height: 42px;

    color: var(--kleoo-blue);
    background: #eef4ff;

    border-radius: 9px;

    font-size: 18px;
}


/* CONTENT */

.contact-item__content {
    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.contact-item__content strong {
    margin-bottom: 3px;

    color: #1d2430;

    font-size: 14px;
    font-weight: 700;
}

.contact-item__content a,
.contact-item__content span {
    color: #667085;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;
}

.contact-item__content a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contacts-form > p {
    margin: -12px 0 22px;

    color: #667085;

    font-size: 13px;
    line-height: 1.6;
}

.kleoo-contact-form {
    display: flex;
    flex-direction: column;

    gap: 17px;
}

.form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-field label {
    color: #333b47;

    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;

    color: #111111;
    background: #ffffff;

    border: 1px solid #dfe4ec;
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input {
    height: 46px;

    padding: 0 14px;
}

.form-field textarea {
    min-height: 125px;

    padding: 13px 14px;

    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a1a9b5;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--kleoo-blue);

    box-shadow: 0 0 0 3px rgba(7, 91, 255, 0.10);
}


/* BUTTON */

.kleoo-contact-form__button {
    display: flex;

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

    width: 100%;
    min-height: 48px;

    margin-top: 3px;
    padding: 0 22px;

    color: #ffffff;
    background: var(--kleoo-blue);

    border: 0;
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kleoo-contact-form__button:hover {
    background: #0048d9;
}

.kleoo-contact-form__button:active {
    transform: translateY(1px);
}


/* =========================================================
   MAP / RIGHT BLOCK
========================================================= */

.contacts-map {
    display: flex;

    padding: 0;

    overflow: hidden;
}

.contacts-map__placeholder {
    position: relative;

    display: flex;
    flex-direction: column;

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

    width: 100%;
    min-height: 100%;

    padding: 35px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #071324 0%,
            #0b2f76 55%,
            #075bff 100%
        );

    text-align: center;
}

.contacts-map__placeholder::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;

    pointer-events: none;
}

.contacts-map__pin {
    position: relative;

    display: flex;

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

    width: 64px;
    height: 64px;

    margin-bottom: 18px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    font-size: 27px;
}

.contacts-map__placeholder strong {
    position: relative;

    margin-bottom: 9px;

    font-size: 25px;
    font-weight: 800;
}

.contacts-map__placeholder span {
    position: relative;

    max-width: 230px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

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

    .contacts-map {
        grid-column: 1 / -1;

        min-height: 280px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contacts-section {
        padding-top: 30px;
    }

    .contacts-heading {
        margin-bottom: 25px;
    }

    .contacts-heading h1 {
        font-size: 31px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .contacts-map {
        grid-column: auto;

        min-height: 260px;
    }

    .contacts-card {
        padding: 22px 20px;
    }

    .contacts-map {
        padding: 0;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .contacts-heading h1 {
        font-size: 28px;
    }

    .contact-item__icon {
        flex-basis: 38px;

        width: 38px;
        height: 38px;
    }

    .contacts-map {
        min-height: 230px;
    }

}
/* =========================================================
   DELIVERY & PAYMENT PAGE
========================================================= */

.delivery-page {
    padding: 0;
}

.delivery-section {
    padding: 42px 0 30px;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

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

    gap: 8px;

    margin-bottom: 20px;

    color: #7a8493;

    font-size: 13px;
}

.delivery-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.delivery-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   HEADING
========================================================= */

.delivery-heading {
    margin-bottom: 32px;
}

.delivery-heading h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.delivery-heading p {
    max-width: 650px;

    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   MAIN GRID
========================================================= */

.delivery-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   CARD
========================================================= */

.delivery-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}


/* =========================================================
   CARD HEADING
========================================================= */

.delivery-card__heading {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 24px;
}

.delivery-card__icon {
    flex: 0 0 52px;

    display: flex;

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

    width: 52px;
    height: 52px;

    color: var(--kleoo-blue);
    background: #eef4ff;

    border-radius: 10px;

    font-size: 24px;
}

.delivery-card__heading h2 {
    margin: 0 0 7px;

    color: #111111;

    font-size: 21px;
    font-weight: 800;
}

.delivery-card__heading p {
    margin: 0;

    color: #667085;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   DELIVERY OPTION
========================================================= */

.delivery-option {
    padding: 18px 0;

    border-top: 1px solid #eef1f5;
}

.delivery-option:first-of-type {
    border-top: 0;
}

.delivery-option div {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.delivery-option strong {
    color: #1d2430;

    font-size: 14px;
    font-weight: 700;
}

.delivery-option span {
    color: #667085;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   NOTE
========================================================= */

.delivery-note {
    margin-top: 16px;

    padding: 14px 16px;

    color: #506078;
    background: #f3f7ff;

    border: 1px solid #dce8ff;
    border-radius: 8px;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   BOTTOM INFO
========================================================= */

.delivery-bottom {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 24px;

    padding: 22px;

    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}

.delivery-bottom__item {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.delivery-bottom__icon {
    flex: 0 0 38px;

    display: flex;

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

    width: 38px;
    height: 38px;

    color: var(--kleoo-blue);
    background: #ffffff;

    border: 1px solid #dfe7f1;
    border-radius: 50%;

    font-size: 17px;
    font-weight: 800;
}

.delivery-bottom__item div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.delivery-bottom__item strong {
    color: #1d2430;

    font-size: 14px;
    font-weight: 700;
}

.delivery-bottom__item span {
    color: #667085;

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

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

    .delivery-bottom {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .delivery-section {
        padding-top: 30px;
    }

    .delivery-heading h1 {
        font-size: 31px;
    }

    .delivery-card {
        padding: 22px 20px;
    }

    .delivery-card__heading {
        gap: 13px;
    }

    .delivery-card__icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        font-size: 21px;
    }

    .delivery-card__heading h2 {
        font-size: 19px;
    }

    .delivery-bottom {
        padding: 18px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .delivery-heading h1 {
        font-size: 28px;
    }

    .delivery-card__heading {
        flex-direction: column;
    }

}
/* =========================================================
   KLEOO CART
========================================================= */

.kleoo-cart-page {
    padding: 45px 0 70px;
    background: #ffffff;
}

.kleoo-cart-page .container {
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
}


/* =========================================================
   TITLE
========================================================= */

.kleoo-cart-heading {
    margin-bottom: 32px;
}

.kleoo-cart-heading h1 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.kleoo-cart-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #7a8493;
    font-size: 13px;
}

.kleoo-cart-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.kleoo-cart-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   LAYOUT
========================================================= */

.kleoo-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    align-items: start;
}


/* =========================================================
   PRODUCTS AREA
========================================================= */

.kleoo-cart-products {
    min-width: 0;

    background: #ffffff;
    border: 1px solid var(--kleoo-border);
    border-radius: 12px;

    overflow: hidden;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.kleoo-cart-table__head {
    display: grid;
    grid-template-columns:
        minmax(300px, 1fr)
        110px
        140px
        120px
        45px;

    align-items: center;
    gap: 15px;

    min-height: 58px;
    padding: 0 22px;

    color: #667085;
    background: #f7f9fc;

    border-bottom: 1px solid var(--kleoo-border);

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   CART ITEM
========================================================= */

.kleoo-cart-item {
    display: grid;
    grid-template-columns:
        minmax(300px, 1fr)
        110px
        140px
        120px
        45px;

    align-items: center;
    gap: 15px;

    padding: 22px;

    border-bottom: 1px solid var(--kleoo-border);
}

.kleoo-cart-item:last-child {
    border-bottom: 0;
}


/* =========================================================
   PRODUCT
========================================================= */

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

    min-width: 0;
}

.kleoo-cart-product__image {
    flex: 0 0 100px;

    width: 100px;
    height: 100px;

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

    padding: 7px;

    background: #ffffff;

    border: 1px solid #e5eaf2;
    border-radius: 9px;
}

.kleoo-cart-product__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.kleoo-cart-product__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 6px;
}

.kleoo-cart-product__content {
    min-width: 0;
}

.kleoo-cart-product__title {
    margin: 0 0 8px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.kleoo-cart-product__title a {
    color: #111111;
    text-decoration: none;
}

.kleoo-cart-product__title a:hover {
    color: var(--kleoo-blue);
}

.kleoo-cart-product__sku {
    margin-top: 5px;

    color: #8a94a3;
    font-size: 12px;
}


/* WooCommerce variations */

.kleoo-cart-product .variation {
    margin: 6px 0 0;
    color: #667085;
    font-size: 12px;
}

.kleoo-cart-product .variation dt,
.kleoo-cart-product .variation dd {
    display: inline;
    margin: 0;
}


/* =========================================================
   PRICE
========================================================= */

.kleoo-cart-price,
.kleoo-cart-subtotal {
    color: #111111;

    font-size: 15px;
    font-weight: 700;
}

.kleoo-cart-subtotal {
    color: var(--kleoo-blue);
}


/* =========================================================
   QUANTITY
========================================================= */

.kleoo-cart-quantity .quantity {
    display: inline-flex;
    align-items: center;
}

.kleoo-cart-quantity input.qty {
    width: 72px;
    height: 44px;

    padding: 0 8px;

    color: #111111;
    background: #ffffff;

    border: 1px solid #dfe5ee;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    text-align: center;

    outline: none;
}

.kleoo-cart-quantity input.qty:focus {
    border-color: var(--kleoo-blue);

    box-shadow:
        0 0 0 3px rgba(7, 91, 255, 0.10);
}


/* =========================================================
   REMOVE
========================================================= */

.kleoo-cart-remove {
    display: flex;
    justify-content: flex-end;
}

.kleoo-remove-product {
    width: 34px;
    height: 34px;

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

    color: #98a2b3;
    background: #ffffff;

    border: 1px solid #e5eaf2;
    border-radius: 50%;

    font-size: 22px;
    line-height: 1;

    text-decoration: none;

    transition: 0.2s ease;
}

.kleoo-remove-product:hover {
    color: #ffffff;
    background: #e5484d;
    border-color: #e5484d;
}


/* =========================================================
   CART ACTIONS
========================================================= */

.kleoo-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 22px;

    background: #fafbfc;
    border-top: 1px solid var(--kleoo-border);
}

.kleoo-cart-coupon {
    display: flex;
    gap: 8px;
}

.kleoo-cart-coupon input {
    width: 180px;
    height: 44px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #dfe5ee;
    border-radius: 8px;

    font-size: 13px;
    outline: none;
}

.kleoo-cart-coupon input:focus {
    border-color: var(--kleoo-blue);
}

.kleoo-cart-coupon__button,
.kleoo-update-cart {
    min-height: 44px;

    padding: 0 18px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.kleoo-cart-coupon__button {
    color: #ffffff;
    background: var(--kleoo-blue);
    border: 1px solid var(--kleoo-blue);
}

.kleoo-cart-coupon__button:hover {
    background: #0048d9;
}

.kleoo-update-cart {
    color: #1d2430;
    background: #ffffff;

    border: 1px solid #dfe5ee;
}

.kleoo-update-cart:hover {
    color: var(--kleoo-blue);
    border-color: var(--kleoo-blue);
}

.kleoo-update-cart:disabled {
    opacity: 0.5;
    cursor: default;
}


/* =========================================================
   SUMMARY
========================================================= */

.kleoo-cart-summary {
    min-width: 0;
}

.kleoo-cart-summary__card {
    position: sticky;
    top: 25px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}

.kleoo-cart-summary__card h2 {
    margin: 0 0 24px;

    color: #111111;

    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   SUMMARY ROWS
========================================================= */

.kleoo-cart-summary__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eef1f5;

    color: #667085;

    font-size: 14px;
}

.kleoo-cart-summary__row strong {
    color: #111111;
    font-weight: 700;
    text-align: right;
}

.kleoo-cart-summary__muted {
    max-width: 170px;

    color: #8a94a3;

    font-size: 12px;
    line-height: 1.4;

    text-align: right;
}


/* =========================================================
   TOTAL
========================================================= */

.kleoo-cart-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;
}

.kleoo-cart-summary__total span {
    color: #111111;

    font-size: 16px;
    font-weight: 800;
}

.kleoo-cart-summary__total strong {
    color: var(--kleoo-blue);

    font-size: 25px;
    font-weight: 800;
}

.kleoo-cart-summary__total .woocommerce-Price-amount {
    color: inherit;
}


/* =========================================================
   CHECKOUT BUTTON
========================================================= */

.kleoo-checkout-button {
    width: 100%;
    min-height: 52px;

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

    padding: 0 20px;

    color: #ffffff;
    background: var(--kleoo-blue);

    border-radius: 8px;

    font-size: 14px;
    font-weight: 800;

    text-align: center;
    text-decoration: none;

    transition: 0.2s ease;
}

.kleoo-checkout-button:hover {
    color: #ffffff;
    background: #0048d9;

    transform: translateY(-1px);
}


/* =========================================================
   CONTINUE SHOPPING
========================================================= */

.kleoo-continue-shopping {
    display: block;

    margin-top: 16px;

    color: #667085;

    font-size: 13px;
    font-weight: 600;

    text-align: center;
    text-decoration: none;
}

.kleoo-continue-shopping:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   WOOCOMMERCE MESSAGES
========================================================= */

.woocommerce-notices-wrapper {
    width: min(100% - 40px, 1320px);
    margin: 20px auto;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin: 0 0 20px;
    padding: 15px 18px;

    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 8px;

    list-style: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .kleoo-cart-layout {
        grid-template-columns: 1fr;
    }

    .kleoo-cart-summary__card {
        position: static;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .kleoo-cart-table__head {
        display: none;
    }

    .kleoo-cart-item {
        grid-template-columns: 1fr auto;
        gap: 18px;
    }

    .kleoo-cart-product {
        grid-column: 1 / -1;
    }

    .kleoo-cart-price,
    .kleoo-cart-quantity,
    .kleoo-cart-subtotal {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .kleoo-cart-price::before {
        content: "Ціна";
    }

    .kleoo-cart-quantity::before {
        content: "Кількість";
    }

    .kleoo-cart-subtotal::before {
        content: "Сума";
    }

    .kleoo-cart-price::before,
    .kleoo-cart-quantity::before,
    .kleoo-cart-subtotal::before {
        color: #8a94a3;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .kleoo-cart-remove {
        align-self: center;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .kleoo-cart-page {
        padding: 30px 0 50px;
    }

    .kleoo-cart-page .container {
        width: min(100% - 24px, 1320px);
    }

    .kleoo-cart-heading {
        margin-bottom: 24px;
    }

    .kleoo-cart-heading h1 {
        font-size: 30px;
    }

    .kleoo-cart-products {
        border-radius: 10px;
    }

    .kleoo-cart-item {
        padding: 18px;
    }

    .kleoo-cart-product {
        align-items: flex-start;
    }

    .kleoo-cart-product__image {
        flex-basis: 85px;

        width: 85px;
        height: 85px;
    }

    .kleoo-cart-product__title {
        font-size: 14px;
    }

    .kleoo-cart-actions {
        flex-direction: column;
        align-items: stretch;

        padding: 18px;
    }

    .kleoo-cart-coupon {
        width: 100%;
    }

    .kleoo-cart-coupon input {
        width: 100%;
        min-width: 0;
    }

    .kleoo-cart-coupon__button {
        flex: 0 0 auto;
    }

    .kleoo-update-cart {
        width: 100%;
    }

    .kleoo-cart-summary__card {
        padding: 22px 18px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .kleoo-cart-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .kleoo-cart-product {
        width: 100%;
    }

    .kleoo-cart-price,
    .kleoo-cart-quantity,
    .kleoo-cart-subtotal {
        width: 100%;

        padding-top: 12px;

        border-top: 1px solid #eef1f5;
    }

    .kleoo-cart-remove {
        position: absolute;
    }

    .kleoo-cart-coupon {
        flex-direction: column;
    }

    .kleoo-cart-coupon__button {
        width: 100%;
    }

}
/* =========================================================
   EMPTY CART
========================================================= */

.kleoo-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 430px;

    padding: 60px 24px;

    text-align: center;
}


/* ICON */

.kleoo-empty-cart__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    margin-bottom: 24px;

    color: var(--kleoo-blue);
    background: #eef4ff;

    border-radius: 50%;
}

.kleoo-empty-cart__icon svg {
    display: block;
}


/* TITLE */

.kleoo-empty-cart h1 {
    margin: 0 0 14px;

    color: #111111;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}


/* TEXT */

.kleoo-empty-cart p {
    margin: 0 0 28px;

    color: #667085;

    font-size: 15px;
    line-height: 1.7;
}


/* BUTTON */

.kleoo-empty-cart__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 24px;

    color: #ffffff;
    background: var(--kleoo-blue);

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kleoo-empty-cart__button:hover {
    color: #ffffff;
    background: var(--kleoo-blue-hover);

    transform: translateY(-1px);
}

.kleoo-empty-cart__button span {
    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .kleoo-empty-cart {
        min-height: 360px;

        padding: 45px 18px;
    }

    .kleoo-empty-cart__icon {
        width: 78px;
        height: 78px;

        margin-bottom: 20px;
    }

    .kleoo-empty-cart__icon svg {
        width: 42px;
        height: 42px;
    }

    .kleoo-empty-cart h1 {
        font-size: 27px;
    }

    .kleoo-empty-cart p {
        font-size: 14px;
    }

    .kleoo-empty-cart__button {
        width: 100%;
        max-width: 300px;
    }
}
/* =========================================================
   CHECKOUT PAGE
========================================================= */

.kleoo-checkout-page {
    padding: 45px 0 70px;
    background: #ffffff;
}


/* =========================================================
   HEADING
========================================================= */

.kleoo-checkout-heading {
    margin-bottom: 32px;
}

.kleoo-checkout-heading h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.kleoo-checkout-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #7a8493;

    font-size: 13px;
}

.kleoo-checkout-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.kleoo-checkout-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   CHECKOUT LAYOUT
========================================================= */

.kleoo-checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        390px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   CARDS
========================================================= */

.kleoo-checkout-card,
.kleoo-checkout-summary__card {
    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 12px;
}

.kleoo-checkout-card {
    padding: 28px;

    margin-bottom: 22px;
}

.kleoo-checkout-card h2,
.kleoo-checkout-summary__card h2 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 21px;
    font-weight: 800;
}

.kleoo-checkout-card__intro {
    margin: 0 0 24px;

    color: #667085;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   REMOVE DEFAULT WOO HEADINGS
========================================================= */

.kleoo-checkout-card .woocommerce-billing-fields > h3,
.kleoo-checkout-card .woocommerce-shipping-fields > h3,
.kleoo-checkout-card .woocommerce-additional-fields > h3 {
    display: none;
}


/* =========================================================
   FORM ROWS
========================================================= */

.kleoo-checkout-page .form-row {
    margin: 0 0 17px !important;

    padding: 0 !important;
}

.kleoo-checkout-page .form-row label {
    display: block;

    margin-bottom: 7px;

    color: #333b47;

    font-size: 13px;
    font-weight: 700;
}

.kleoo-checkout-page .form-row .required {
    color: #e5484d;
}


/* =========================================================
   INPUTS
========================================================= */

.kleoo-checkout-page input.input-text,
.kleoo-checkout-page textarea,
.kleoo-checkout-page select {
    width: 100%;

    color: #111111;
    background: #ffffff;

    border: 1px solid #dfe4ec;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.kleoo-checkout-page input.input-text,
.kleoo-checkout-page select {
    height: 46px;

    padding: 0 14px;
}

.kleoo-checkout-page textarea {
    min-height: 120px;

    padding: 13px 14px;

    resize: vertical;
}

.kleoo-checkout-page input.input-text::placeholder,
.kleoo-checkout-page textarea::placeholder {
    color: #a1a9b5;
}

.kleoo-checkout-page input.input-text:focus,
.kleoo-checkout-page textarea:focus,
.kleoo-checkout-page select:focus {
    border-color: var(--kleoo-blue);

    box-shadow:
        0 0 0 3px rgba(7, 91, 255, 0.10);
}


/* =========================================================
   TWO COLUMNS FOR NAME
========================================================= */

.kleoo-checkout-page .form-row-first,
.kleoo-checkout-page .form-row-last {
    width: calc(50% - 8px) !important;
}

.kleoo-checkout-page .form-row-first {
    float: left !important;
}

.kleoo-checkout-page .form-row-last {
    float: right !important;
}

.kleoo-checkout-page .form-row-wide {
    clear: both;
}


/* =========================================================
   SELECT2
========================================================= */

.kleoo-checkout-page .select2-container {
    width: 100% !important;
}

.kleoo-checkout-page
.select2-container--default
.select2-selection--single {
    height: 46px;

    border: 1px solid #dfe4ec;
    border-radius: 8px;
}

.kleoo-checkout-page
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 44px;

    padding-left: 14px;

    color: #111111;

    font-size: 14px;
}

.kleoo-checkout-page
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 44px;
}


/* =========================================================
   CHECKBOX / SHIPPING
========================================================= */

.kleoo-checkout-page input[type="checkbox"],
.kleoo-checkout-page input[type="radio"] {
    accent-color: var(--kleoo-blue);
}

.kleoo-checkout-page .woocommerce-form__label {
    color: #333b47;

    font-size: 13px;
}


/* =========================================================
   ORDER NOTES
========================================================= */

.kleoo-order-notes {
    margin-bottom: 0;
}


/* =========================================================
   SUMMARY
========================================================= */

.kleoo-checkout-summary__card {
    position: sticky;

    top: 25px;

    padding: 26px;
}

.kleoo-checkout-summary__card h2 {
    margin-bottom: 22px;
}


/* =========================================================
   ORDER REVIEW TABLE
========================================================= */

.kleoo-checkout-page
.woocommerce-checkout-review-order-table {
    width: 100%;

    margin: 0 0 20px;

    border: 0 !important;
    border-collapse: collapse;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table th,
.kleoo-checkout-page
.woocommerce-checkout-review-order-table td {
    padding: 13px 0 !important;

    border: 0 !important;
    border-bottom: 1px solid #eef1f5 !important;

    color: #667085;

    font-size: 13px;

    vertical-align: top;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table th:last-child,
.kleoo-checkout-page
.woocommerce-checkout-review-order-table td:last-child {
    text-align: right;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.product-name {
    color: #1d2430;

    font-weight: 600;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.product-total {
    color: #111111;

    font-weight: 700;
}


/* =========================================================
   TOTALS
========================================================= */

.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.cart-subtotal th,
.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.cart-subtotal td {
    padding-top: 18px !important;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.order-total th,
.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.order-total td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;

    border-bottom: 0 !important;

    color: #111111;

    font-size: 16px;
    font-weight: 800;
}

.kleoo-checkout-page
.woocommerce-checkout-review-order-table
.order-total
.woocommerce-Price-amount {
    color: var(--kleoo-blue);

    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   PAYMENT BOX
========================================================= */

.kleoo-checkout-page #payment {
    margin-top: 20px;

    background: transparent !important;
}

.kleoo-checkout-page #payment ul.payment_methods {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    list-style: none;
}

.kleoo-checkout-page #payment ul.payment_methods li {
    margin: 0 0 10px !important;

    padding: 14px !important;

    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 8px;
}

.kleoo-checkout-page #payment label {
    color: #1d2430;

    font-size: 13px;
    font-weight: 700;
}

.kleoo-checkout-page
.payment_box {
    margin: 12px 0 0 !important;

    padding: 12px 14px !important;

    color: #667085 !important;
    background: #ffffff !important;

    border-radius: 6px;

    font-size: 12px;
    line-height: 1.6;
}

.kleoo-checkout-page
.payment_box::before {
    display: none !important;
}


/* =========================================================
   PRIVACY / TERMS
========================================================= */

.kleoo-checkout-page
.woocommerce-privacy-policy-text {
    color: #7a8493;

    font-size: 12px;
    line-height: 1.6;
}

.kleoo-checkout-page
.woocommerce-privacy-policy-text a {
    color: var(--kleoo-blue);
}


/* =========================================================
   PLACE ORDER BUTTON
========================================================= */

.kleoo-checkout-page
#place_order {
    width: 100%;

    min-height: 52px;

    margin-top: 14px !important;

    padding: 0 20px !important;

    color: #ffffff !important;
    background: var(--kleoo-blue) !important;

    border: 0 !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kleoo-checkout-page
#place_order:hover {
    background: var(--kleoo-blue-hover) !important;

    transform: translateY(-1px);
}


/* =========================================================
   SHIPPING METHODS
========================================================= */

.kleoo-checkout-page
ul#shipping_method {
    margin: 0;

    padding: 0;

    list-style: none;
}

.kleoo-checkout-page
ul#shipping_method li {
    margin-bottom: 8px;

    font-size: 13px;
}


/* =========================================================
   ERRORS / NOTICES
========================================================= */

.kleoo-checkout-page
.woocommerce-error,
.kleoo-checkout-page
.woocommerce-message,
.kleoo-checkout-page
.woocommerce-info {
    margin-bottom: 20px;

    padding: 14px 16px !important;

    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 8px;

    color: #333b47;

    font-size: 13px;

    list-style: none;
}

.kleoo-checkout-page
.woocommerce-error {
    border-color: #f2c7c7;

    background: #fff5f5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .kleoo-checkout-layout {
        grid-template-columns: 1fr;
    }

    .kleoo-checkout-summary__card {
        position: static;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .kleoo-checkout-page {
        padding: 30px 0 50px;
    }

    .kleoo-checkout-heading {
        margin-bottom: 24px;
    }

    .kleoo-checkout-heading h1 {
        font-size: 30px;
    }

    .kleoo-checkout-card,
    .kleoo-checkout-summary__card {
        padding: 22px 18px;
    }

    .kleoo-checkout-page .form-row-first,
    .kleoo-checkout-page .form-row-last {
        width: 100% !important;

        float: none !important;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .kleoo-checkout-heading h1 {
        font-size: 27px;
    }

    .kleoo-checkout-card h2,
    .kleoo-checkout-summary__card h2 {
        font-size: 19px;
    }

}
/* =========================================================
   HERO SLIDER
========================================================= */

.kleoo-hero__image {
    position: relative;
    min-width: 0;
}

.kleoo-hero-slider {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 420px;

    overflow: hidden;

    border-radius: 16px;

    background: #f5f7fb;
}

.kleoo-hero-slider__slides {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 420px;
}

.kleoo-hero-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.kleoo-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.kleoo-hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 420px;

    object-fit: cover;
}


/* ARROWS */

.kleoo-hero-slider__arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

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

    width: 42px;
    height: 42px;

    padding: 0;

    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);

    border: 0;
    border-radius: 50%;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    transition: background 0.2s ease;
}

.kleoo-hero-slider__arrow:hover {
    background: var(--kleoo-blue);
}

.kleoo-hero-slider__arrow--prev {
    left: 16px;
}

.kleoo-hero-slider__arrow--next {
    right: 16px;
}


/* DOTS */

.kleoo-hero-slider__dots {
    position: absolute;

    left: 50%;
    bottom: 16px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 8px;

    transform: translateX(-50%);
}

.kleoo-hero-slider__dot {
    width: 9px;
    height: 9px;

    padding: 0;

    background: rgba(255, 255, 255, 0.55);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.kleoo-hero-slider__dot.active {
    width: 24px;

    background: #ffffff;

    border-radius: 10px;
}


/* EMPTY */

.kleoo-hero-slider__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 420px;

    padding: 30px;

    color: #667085;
    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 16px;

    text-align: center;
}


/* MOBILE */

@media (max-width: 760px) {

    .kleoo-hero-slider,
    .kleoo-hero-slider__slides,
    .kleoo-hero-slide img,
    .kleoo-hero-slider__empty {
        min-height: 280px;
    }

    .kleoo-hero-slider__arrow {
        width: 36px;
        height: 36px;

        font-size: 25px;
    }

    .kleoo-hero-slider__arrow--prev {
        left: 10px;
    }

    .kleoo-hero-slider__arrow--next {
        right: 10px;
    }
}
/* =========================================================
   HOME HERO
========================================================= */

.kleoo-hero {
    padding: 45px 0 35px;

    background: #ffffff;
}

.kleoo-hero__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 55px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.kleoo-hero__content {
    min-width: 0;
}

.kleoo-hero__content h1 {
    margin: 0 0 22px;

    color: #111111;

    font-size: 46px;
    font-weight: 800;
    line-height: 1.08;
}

.kleoo-hero__content > p {
    max-width: 570px;

    margin: 0 0 26px;

    color: #667085;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.kleoo-hero__buttons {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 32px;
}

.kleoo-btn {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* PRIMARY BUTTON */

.kleoo-btn--primary {
    color: #ffffff;

    background: var(--kleoo-blue);

    border: 1px solid var(--kleoo-blue);
}

.kleoo-btn--primary:hover {
    color: #ffffff;

    background: var(--kleoo-blue-hover);

    border-color: var(--kleoo-blue-hover);

    transform: translateY(-1px);
}


/* SECONDARY BUTTON */

.kleoo-btn--secondary {
    color: var(--kleoo-blue);

    background: #ffffff;

    border: 1px solid var(--kleoo-blue);
}

.kleoo-btn--secondary:hover {
    color: #ffffff;

    background: var(--kleoo-blue);

    transform: translateY(-1px);
}


/* =========================================================
   HERO ADVANTAGES
========================================================= */

.kleoo-hero__advantages {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.kleoo-hero__advantage {
    position: relative;

    padding-left: 16px;
}

.kleoo-hero__advantage::before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;

    width: 3px;
    height: 38px;

    background: var(--kleoo-blue);

    border-radius: 4px;
}

.kleoo-hero__advantage strong,
.kleoo-hero__advantage span {
    display: block;
}

.kleoo-hero__advantage strong {
    margin-bottom: 4px;

    color: #111111;

    font-size: 13px;
    font-weight: 700;
}

.kleoo-hero__advantage span {
    color: #7a8493;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   HERO IMAGE / SLIDER COLUMN
========================================================= */

.kleoo-hero__image {
    position: relative;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   HERO SLIDER
========================================================= */

.kleoo-hero-slider {
    position: relative;

    width: 100%;
    height: 430px;

    overflow: hidden;

    background: #f7f9fc;

    border-radius: 16px;
}

.kleoo-hero-slider__slides {
    position: relative;

    width: 100%;
    height: 100%;
}

.kleoo-hero-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.kleoo-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.kleoo-hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.kleoo-hero-slider__arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

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

    width: 42px;
    height: 42px;

    padding: 0;

    color: #ffffff;

    background: rgba(0, 0, 0, 0.30);

    border: 0;
    border-radius: 50%;

    font-size: 28px;

    cursor: pointer;

    transform: translateY(-50%);

    transition: background 0.2s ease;
}

.kleoo-hero-slider__arrow:hover {
    background: var(--kleoo-blue);
}

.kleoo-hero-slider__arrow--prev {
    left: 14px;
}

.kleoo-hero-slider__arrow--next {
    right: 14px;
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.kleoo-hero-slider__dots {
    position: absolute;

    left: 50%;
    bottom: 15px;

    z-index: 10;

    display: flex;
    align-items: center;

    gap: 7px;

    transform: translateX(-50%);
}

.kleoo-hero-slider__dot {
    width: 9px;
    height: 9px;

    padding: 0;

    background: rgba(255, 255, 255, 0.60);

    border: 0;
    border-radius: 20px;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.kleoo-hero-slider__dot.active {
    width: 24px;

    background: #ffffff;
}


/* =========================================================
   EMPTY SLIDER
========================================================= */

.kleoo-hero-slider__empty {
    display: flex;

    flex-direction: column;

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

    width: 100%;
    height: 430px;

    padding: 30px;

    color: #667085;

    background: #f7f9fc;

    border: 1px solid var(--kleoo-border);
    border-radius: 16px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .kleoo-hero__inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .kleoo-hero__content h1 {
        font-size: 40px;
    }

    .kleoo-hero-slider {
        height: 400px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .kleoo-hero {
        padding: 30px 0 25px;
    }

    .kleoo-hero__content h1 {
        font-size: 34px;
    }

    .kleoo-hero__content > p {
        font-size: 15px;
    }

    .kleoo-hero__buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .kleoo-btn {
        width: 100%;
    }

    .kleoo-hero__advantages {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .kleoo-hero-slider {
        height: 280px;
    }

    .kleoo-hero-slider__empty {
        height: 280px;
    }

}
/* =========================================================
   FEATURED PRODUCTS
========================================================= */

.home-featured-products {
    padding: 70px 0 80px;

    background: #f8faff;
}


/* DESCRIPTION */

.home-featured-products .section-heading__description {
    max-width: 600px;

    margin: 10px auto 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.home-products-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-top: 35px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.home-product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e8f0;
    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);

    border-color: #d5dce8;

    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.08);
}


/* =========================================================
   IMAGE
========================================================= */

.home-product-card__image {
    display: flex;

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

    width: 100%;
    height: 260px;

    padding: 16px;

    overflow: hidden;

    background: #ffffff;

    border-bottom: 1px solid #e8ecf2;
}

.home-product-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.home-product-card:hover
.home-product-card__image img {
    transform: scale(1.03);
}
/* =========================================================
   HOME HELP CTA
========================================================= */

.home-help {
    padding: 65px 0 75px;
    background: #ffffff;
}

.home-help__box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 38px 42px;

    background:
        linear-gradient(
            135deg,
            #071426 0%,
            #0b2f76 58%,
            #075bff 100%
        );

    border-radius: 16px;
}


/* CONTENT */

.home-help__content {
    max-width: 720px;
}

.home-help__label {
    display: inline-block;

    margin-bottom: 10px;

    color: #a9c8ff;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.home-help__content h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.home-help__content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;
    line-height: 1.7;
}


/* BUTTONS */

.home-help__actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 12px;
}

.home-help__actions .kleoo-btn--primary {
    background: #ffffff;
    color: var(--kleoo-blue);

    border-color: #ffffff;
}

.home-help__actions .kleoo-btn--primary:hover {
    background: #eef4ff;
    color: var(--kleoo-blue);
}

.home-help__actions .kleoo-btn--secondary {
    color: #ffffff;

    background: transparent;

    border-color: rgba(255, 255, 255, 0.55);
}

.home-help__actions .kleoo-btn--secondary:hover {
    color: #0b2f76;

    background: #ffffff;

    border-color: #ffffff;
}


/* TABLET */

@media (max-width: 900px) {

    .home-help__box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* MOBILE */

@media (max-width: 620px) {

    .home-help {
        padding: 45px 0 55px;
    }

    .home-help__box {
        padding: 28px 22px;
    }

    .home-help__content h2 {
        font-size: 25px;
    }

    .home-help__actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .home-help__actions .kleoo-btn {
        width: 100%;
    }

}
/* =========================================================
   HERO FULL WIDTH BANNER
========================================================= */

.kleoo-hero--banner {
    padding: 35px 0 55px;
}

.kleoo-hero__image--full {
    width: 100%;
}

.kleoo-hero__image--full .kleoo-hero-slider {
    width: 100%;
    height: 520px;

    border-radius: 18px;
}

.kleoo-hero__image--full .kleoo-hero-slider__slides {
    width: 100%;
    height: 100%;
}

.kleoo-hero__image--full .kleoo-hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* TABLET */

@media (max-width: 1000px) {

    .kleoo-hero__image--full .kleoo-hero-slider {
        height: 420px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .kleoo-hero--banner {
        padding: 20px 0 35px;
    }

    .kleoo-hero__image--full .kleoo-hero-slider {
        height: 260px;

        border-radius: 12px;
    }

}
/* MOBILE */

@media (max-width: 768px) {

    .header-phones__numbers a {
        font-size: 12px;
    }

    .header-phones__icon {
        display: none;
    }

}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;

    gap: 16px;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   PHONES
========================================================= */

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

.header-phones__icon {
    font-size: 22px;
    line-height: 1;
}

.header-phones__numbers {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-phones__numbers a {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;

    text-decoration: none;
    white-space: nowrap;

    transition: color .2s ease;
}

.header-phones__numbers a:hover {
    color: #0866ff;
}


/* =========================================================
   SOCIAL
========================================================= */

.header-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-social__link {
    width: 38px;
    height: 38px;

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

    border: 1px solid #e1e7f0;
    border-radius: 50%;

    color: #111;
    background: #fff;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.header-social__link svg {
    width: 19px;
    height: 19px;

    fill: currentColor;
}

.header-social__link:hover {
    color: #fff;
    background: #0866ff;
    border-color: #0866ff;

    transform: translateY(-2px);
}


/* =========================================================
   CART
========================================================= */

.header-cart {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #111;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.header-cart:hover {
    color: #0866ff;
}

.header-cart__icon {
    width: 25px;
    height: 25px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-actions {
        gap: 15px;
    }

    .header-phones__numbers a {
        font-size: 12px;
    }

    .header-social__link {
        width: 34px;
        height: 34px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .header-actions {
        gap: 12px;
    }

    .header-phones__icon {
        display: none;
    }

    .header-phones__numbers a {
        font-size: 11px;
    }

    .header-social__link {
        width: 32px;
        height: 32px;
    }

    .header-social__link svg {
        width: 16px;
        height: 16px;
    }

    .header-cart span {
        display: none;
    }

}
/* =========================================================
   CONTACTS PAGE
========================================================= */

.contacts-page {
    padding: 40px 0 70px;
}

.contacts-heading {
    margin-bottom: 30px;
}

.contacts-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 16px;

    color: #7a8493;

    font-size: 13px;
}

.contacts-breadcrumbs a {
    color: #7a8493;
    text-decoration: none;
}

.contacts-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}

.contacts-heading h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.contacts-heading p {
    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   INFO CARD
========================================================= */

.contacts-info-card {
    max-width: 980px;

    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--kleoo-border);
    border-radius: 14px;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.05);
}

.contacts-info-card__header {
    padding: 26px 30px 22px;

    background: #f8faff;

    border-bottom: 1px solid var(--kleoo-border);
}

.contacts-info-card__label {
    display: block;

    margin-bottom: 6px;

    color: var(--kleoo-blue);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.contacts-info-card__header h2 {
    margin: 0;

    color: #111111;

    font-size: 24px;
    font-weight: 800;
}
/* =========================================================
   CONTACTS PAGE
========================================================= */

.contacts-page {
    padding: 45px 0 80px;

    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.contacts-hero {
    margin-bottom: 35px;
}

.contacts-breadcrumbs {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

    color: #7c8798;

    font-size: 13px;
}

.contacts-breadcrumbs a {
    color: #7c8798;

    text-decoration: none;
}

.contacts-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}

.contacts-hero h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
}

.contacts-hero p {
    max-width: 650px;

    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.contacts-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 30px;
}


/* =========================================================
   CARD
========================================================= */

.contacts-card {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    min-height: 145px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e3e8f0;
    border-radius: 14px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.contacts-card:hover {
    transform: translateY(-3px);

    border-color: #cad7f0;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.07);
}


/* ICON */

.contacts-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    color: #075bff;
    background: #edf4ff;

    border-radius: 12px;

    font-size: 21px;
}


/* CONTENT */

.contacts-card__content {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.contacts-card__label {
    margin-bottom: 3px;

    color: #111111;

    font-size: 16px;
    font-weight: 800;
}

.contacts-card__content a,
.contacts-card__content span:not(.contacts-card__label) {
    color: #667085;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;
}

.contacts-card__content a:hover {
    color: var(--kleoo-blue);
}


/* =========================================================
   SOCIAL BOX
========================================================= */

.contacts-social-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 34px 38px;

    background:
        linear-gradient(
            135deg,
            #071426 0%,
            #0d3478 60%,
            #075bff 100%
        );

    border-radius: 16px;
}

.contacts-social-box__content {
    max-width: 620px;
}

.contacts-social-box__label {
    display: block;

    margin-bottom: 7px;

    color: #9fc2ff;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.contacts-social-box h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 26px;
    font-weight: 800;
}

.contacts-social-box p {
    margin: 0;

    color: rgba(255,255,255,.75);

    font-size: 14px;
    line-height: 1.6;
}


/* BUTTONS */

.contacts-social-box__buttons {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}

.contacts-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    color: #ffffff;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.contacts-social-button:hover {
    color: #0d3478;
    background: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .contacts-social-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contacts-page {
        padding: 30px 0 55px;
    }

    .contacts-hero h1 {
        font-size: 34px;
    }

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

    .contacts-card {
        min-height: 0;

        padding: 20px;
    }

    .contacts-social-box {
        padding: 27px 22px;
    }

    .contacts-social-box h2 {
        font-size: 23px;
    }

    .contacts-social-box__buttons {
        width: 100%;
    }

    .contacts-social-button {
        flex: 1;
    }

}
/* Контактна особа */

.contacts-card__person {
    color: #202939 !important;
    font-weight: 600;
}

.contacts-card__email {
    margin-top: 3px;

    color: #075bff !important;

    font-size: 14px;
    font-weight: 500 !important;

    text-decoration: none;
}

.contacts-card__email:hover {
    text-decoration: underline;
}


/* Темніший текст усіх контактних карток */

.contacts-card__content a:not(.contacts-card__email),
.contacts-card__content span:not(.contacts-card__label) {
    color: #202939;
}
/* =========================================================
   DELIVERY PAGE
========================================================= */

.delivery-page {
    padding: 45px 0 80px;
    background: #ffffff;
}


/* =========================================================
   HEADING
========================================================= */

.delivery-hero {
    margin-bottom: 35px;
}

.delivery-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    color: #7c8798;
    font-size: 13px;
}

.delivery-breadcrumbs a {
    color: #7c8798;
    text-decoration: none;
}

.delivery-breadcrumbs a:hover {
    color: var(--kleoo-blue);
}

.delivery-hero h1 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
}

.delivery-hero p {
    max-width: 700px;

    margin: 0;

    color: #4d596b;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.delivery-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 30px;
}


/* =========================================================
   CARD
========================================================= */

.delivery-card {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    min-height: 210px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #e3e8f0;
    border-radius: 14px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.delivery-card:hover {
    transform: translateY(-3px);

    border-color: #cad7f0;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.07);
}


/* ICON */

.delivery-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    color: #075bff;
    background: #edf4ff;

    border-radius: 12px;

    font-size: 22px;
}


/* CONTENT */

.delivery-card__content {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.delivery-card__label {
    color: #111111;

    font-size: 17px;
    font-weight: 800;
}

.delivery-card__content p {
    margin: 0;

    color: #283548;

    font-size: 14px;
    line-height: 1.6;
}

.delivery-card__content ul {
    margin: 3px 0 0;
    padding-left: 18px;

    color: #283548;

    font-size: 14px;
    line-height: 1.7;
}

.delivery-card__note {
    color: #4b5a6d;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   INFO BOX
========================================================= */

.delivery-info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 34px 38px;

    background:
        linear-gradient(
            135deg,
            #071426 0%,
            #0d3478 60%,
            #075bff 100%
        );

    border-radius: 16px;
}

.delivery-info-box__content {
    max-width: 680px;
}

.delivery-info-box__label {
    display: block;

    margin-bottom: 7px;

    color: #9fc2ff;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.delivery-info-box h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 26px;
    font-weight: 800;
}

.delivery-info-box p {
    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 14px;
    line-height: 1.6;
}


/* BUTTON */

.delivery-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    color: #ffffff;

    border: 1px solid rgba(255,255,255,.6);
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.delivery-info-button:hover {
    color: #0d3478;
    background: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .delivery-info-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .delivery-page {
        padding: 30px 0 55px;
    }

    .delivery-hero h1 {
        font-size: 34px;
    }

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

    .delivery-card {
        min-height: 0;

        padding: 20px;
    }

    .delivery-info-box {
        padding: 27px 22px;
    }

    .delivery-info-box h2 {
        font-size: 23px;
    }

}
/* =========================================================
   KLEOO CHECKOUT
========================================================= */

.kleoo-checkout-page {
    background: #f8fafc;
    padding: 38px 0 70px;
}

.kleoo-checkout-page .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================================
   TITLE
========================================================= */

.kleoo-checkout-heading {
    margin-bottom: 28px;
}

.kleoo-checkout-heading h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.kleoo-checkout-heading > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.kleoo-checkout-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #94a3b8;
}

.kleoo-checkout-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}

.kleoo-checkout-breadcrumbs a:hover {
    color: #155eef;
}


/* =========================================================
   LAYOUT
========================================================= */

.kleoo-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 26px;
}

.kleoo-checkout-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   CARDS
========================================================= */

.kleoo-checkout-card,
.kleoo-checkout-summary__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.kleoo-checkout-card {
    padding: 26px;
}

.kleoo-checkout-card__head {
    margin-bottom: 22px;
}

.kleoo-checkout-card__head h2 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
}

.kleoo-checkout-card__head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}


/* =========================================================
   CHECKOUT FIELDS
========================================================= */

.kleoo-checkout-page .woocommerce-billing-fields > h3,
.kleoo-checkout-page .woocommerce-shipping-fields > h3 {
    display: none;
}

.kleoo-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

.kleoo-checkout-page .form-row {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.kleoo-checkout-page .form-row-wide,
.kleoo-checkout-page #billing_phone_field {
    grid-column: 1 / -1;
}

.kleoo-checkout-page .form-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.kleoo-checkout-page .required {
    color: #dc2626;
}

.kleoo-checkout-page input.input-text,
.kleoo-checkout-page select,
.kleoo-checkout-page textarea,
.kleoo-checkout-page .select2-container .select2-selection--single {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.kleoo-checkout-page input.input-text,
.kleoo-checkout-page select {
    padding: 0 13px;
}

.kleoo-checkout-page textarea {
    min-height: 120px;
    padding: 12px 13px;
    resize: vertical;
}

.kleoo-checkout-page input.input-text:focus,
.kleoo-checkout-page select:focus,
.kleoo-checkout-page textarea:focus,
.kleoo-checkout-page .select2-container--focus .select2-selection--single {
    border-color: #155eef;
    box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.10);
}

.kleoo-checkout-page input::placeholder,
.kleoo-checkout-page textarea::placeholder {
    color: #94a3b8;
}


/* SELECT2 */

.kleoo-checkout-page .select2-container {
    width: 100% !important;
}

.kleoo-checkout-page .select2-container .select2-selection--single {
    height: 46px;
}

.kleoo-checkout-page .select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 44px;
    padding-left: 13px;
    padding-right: 34px;
    color: #111827;
}

.kleoo-checkout-page .select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 44px;
    right: 8px;
}


/* =========================================================
   SHIPPING
========================================================= */

.kleoo-delivery-block {
    width: 100%;
}

.kleoo-checkout-page #shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kleoo-checkout-page #shipping_method li {
    position: relative;
    margin: 0 0 10px;
    padding: 0;
}

.kleoo-checkout-page #shipping_method li:last-child {
    margin-bottom: 0;
}

.kleoo-checkout-page #shipping_method li > label {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.kleoo-checkout-page #shipping_method li > label:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.kleoo-checkout-page #shipping_method input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #155eef;
}

.kleoo-checkout-page #shipping_method li:has(input[type="radio"]:checked) > label {
    border-color: #155eef;
    background: #f5f8ff;
    box-shadow: 0 0 0 1px #155eef;
}


/* =========================================================
   NOVA POSHTA FORM
========================================================= */

.kleoo-np-method-form {
    width: 100% !important;
    margin: 10px 0 4px !important;
    padding: 0 !important;
}

.kleoo-np-method-form > * {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/*
   Сам блок, який плагін Нової Пошти переносить
*/

.kleoo-np-method-form > div {
    border-radius: 12px;
}

/* Поля всередині Нової Пошти */

.kleoo-np-method-form input,
.kleoo-np-method-form select {
    min-height: 46px !important;
    border-radius: 9px !important;
}

/*
   Якщо у плагіна є червона/рожева шапка,
   робимо її більш у стилі Kleoo.
*/

.kleoo-np-method-form [class*="header"],
.kleoo-np-method-form [class*="title"] {
    box-sizing: border-box;
}

/* =========================================================
   PAYMENT
========================================================= */

.kleoo-payment-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kleoo-payment-method {
    margin: 0 0 10px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.kleoo-payment-method:last-child {
    margin-bottom: 0;
}

.kleoo-payment-method:has(input[type="radio"]:checked) {
    border-color: #155eef;
    box-shadow: 0 0 0 1px #155eef;
}

.kleoo-payment-method__label {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 54px;
    padding: 14px 16px;
    box-sizing: border-box;
    cursor: pointer;
}

.kleoo-payment-method__label input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #155eef;
}

.kleoo-payment-method__title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: #1e293b;
}

.kleoo-payment-method .payment_box {
    margin: 0;
    padding: 0 16px 15px 45px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.kleoo-payment-method .payment_box::before {
    display: none;
}

.kleoo-payment-method .payment_box p {
    margin: 0;
}


/* =========================================================
   ORDER NOTES
========================================================= */

.kleoo-order-notes .form-row {
    width: 100%;
}

.kleoo-order-notes textarea {
    min-height: 115px;
}


/* =========================================================
   SUMMARY
========================================================= */

.kleoo-checkout-summary {
    position: sticky;
    top: 20px;
    min-width: 0;
}

.kleoo-checkout-summary__card {
    padding: 22px;
}

.kleoo-checkout-summary__card > h2 {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
}


/* PRODUCT */

.kleoo-checkout-products {
    margin-bottom: 20px;
}

.kleoo-checkout-product {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.kleoo-checkout-product:last-child {
    margin-bottom: 0;
}

.kleoo-checkout-product__image {
    width: 86px;
    height: 86px;
    overflow: hidden;
    border-radius: 10px;
    background: #f8fafc;
}

.kleoo-checkout-product__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kleoo-checkout-product__content {
    min-width: 0;
}

.kleoo-checkout-product__name {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
}

.kleoo-checkout-product__meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: #64748b;
}

.kleoo-checkout-product__price {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}


/* TOTALS */

.kleoo-checkout-totals {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.kleoo-checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
    color: #475569;
}

.kleoo-checkout-total-row strong {
    text-align: right;
    font-weight: 700;
    color: #111827;
}

.kleoo-checkout-total-row--final {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.kleoo-checkout-total-row--final strong {
    font-size: 22px;
    color: #111827;
}


/* =========================================================
   TERMS
========================================================= */

.kleoo-checkout-terms {
    margin-top: 20px;
}

.kleoo-checkout-terms,
.kleoo-checkout-terms p,
.kleoo-checkout-terms label {
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
}

.kleoo-checkout-terms a {
    color: #155eef;
}


/* =========================================================
   ORDER BUTTON
========================================================= */

.kleoo-place-order,
.woocommerce-checkout #place_order {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 13px 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #155eef !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 15px !important;
    line-height: 1.3;
    font-weight: 800 !important;
    text-align: center;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.kleoo-place-order:hover,
.woocommerce-checkout #place_order:hover {
    background: #0f4fd4 !important;
}

.kleoo-place-order:active,
.woocommerce-checkout #place_order:active {
    transform: translateY(1px);
}

.kleoo-checkout-summary__note {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}


/* =========================================================
   WOOCOMMERCE MESSAGES
========================================================= */

.kleoo-checkout-page .woocommerce-error,
.kleoo-checkout-page .woocommerce-message,
.kleoo-checkout-page .woocommerce-info {
    margin: 0 0 20px;
    padding: 15px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
}

.kleoo-checkout-page .woocommerce-error {
    border-color: #fecaca;
    background: #fff7f7;
}

.kleoo-checkout-page .woocommerce-error::before,
.kleoo-checkout-page .woocommerce-message::before,
.kleoo-checkout-page .woocommerce-info::before {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .kleoo-checkout-layout {
        grid-template-columns: 1fr;
    }

    .kleoo-checkout-summary {
        position: static;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .kleoo-checkout-page {
        padding: 22px 0 45px;
    }

    .kleoo-checkout-page .container {
        width: min(100% - 20px, 1180px);
    }

    .kleoo-checkout-heading {
        margin-bottom: 20px;
    }

    .kleoo-checkout-heading h1 {
        font-size: 26px;
    }

    .kleoo-checkout-heading > p {
        font-size: 14px;
    }

    .kleoo-checkout-breadcrumbs {
        display: none;
    }

    .kleoo-checkout-main {
        gap: 14px;
    }

    .kleoo-checkout-card,
    .kleoo-checkout-summary__card {
        border-radius: 13px;
    }

    .kleoo-checkout-card {
        padding: 18px;
    }

    .kleoo-checkout-summary__card {
        padding: 18px;
    }

    .kleoo-checkout-card__head {
        margin-bottom: 18px;
    }

    .kleoo-checkout-card__head h2,
    .kleoo-checkout-summary__card > h2 {
        font-size: 19px;
    }

    .kleoo-checkout-page
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kleoo-checkout-page .form-row-wide,
    .kleoo-checkout-page #billing_phone_field {
        grid-column: auto;
    }

    .kleoo-checkout-page input.input-text,
    .kleoo-checkout-page select,
    .kleoo-checkout-page textarea {
        font-size: 16px;
    }

    .kleoo-checkout-page #shipping_method li > label,
    .kleoo-payment-method__label {
        min-height: 58px;
        padding: 14px;
    }

    .kleoo-payment-method .payment_box {
        padding-left: 43px;
        padding-right: 14px;
    }

    .kleoo-checkout-product {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .kleoo-checkout-product__image {
        width: 74px;
        height: 74px;
    }

    .kleoo-checkout-total-row--final {
        font-size: 18px;
    }

    .kleoo-checkout-total-row--final strong {
        font-size: 20px;
    }

}
/* =========================================================
   KLEOO CHECKOUT — COMPACT FIX
========================================================= */

/* Загальна ширина */
.kleoo-checkout-page .container {
    width: min(1080px, calc(100% - 30px));
}

.kleoo-checkout-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
}

/* Картки компактніші */
.kleoo-checkout-card {
    padding: 20px;
}

.kleoo-checkout-main {
    gap: 16px;
}

.kleoo-checkout-card__head {
    margin-bottom: 14px;
}

.kleoo-checkout-card__head h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.kleoo-checkout-card__head p {
    font-size: 13px;
}


/* =========================================================
   CONTACTS
========================================================= */

.kleoo-checkout-page
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

/* Телефон на всю ширину */
.kleoo-checkout-page #billing_phone_field {
    grid-column: 1 / -1;
}

/* Країну ховаємо повністю */
.kleoo-checkout-page #billing_country_field,
.kleoo-checkout-page #shipping_country_field {
    display: none !important;
}

/* Поля нижчі */
.kleoo-checkout-page input.input-text,
.kleoo-checkout-page select,
.kleoo-checkout-page .select2-container .select2-selection--single {
    min-height: 40px;
    height: 40px;
    font-size: 14px;
}

.kleoo-checkout-page input.input-text {
    padding: 0 11px;
}

.kleoo-checkout-page .form-row label {
    margin-bottom: 5px;
    font-size: 12px;
}


/* =========================================================
   SHIPPING — FIX OVERLAP
========================================================= */

.kleoo-checkout-page #shipping_method {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.kleoo-checkout-page #shipping_method li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both;
    position: relative;
}

.kleoo-checkout-page #shipping_method li > label {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    border: 1px solid #dbe3ee;
    border-radius: 9px;
    background: #fff;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.kleoo-checkout-page #shipping_method li > label:hover {
    background: #f8fafc;
}

.kleoo-checkout-page #shipping_method li:has(input[type="radio"]:checked) > label {
    border-color: #155eef;
    background: #f5f8ff;
    box-shadow: 0 0 0 1px #155eef;
}

.kleoo-checkout-page #shipping_method input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0 9px 0 0;
    flex: 0 0 auto;
}


/* Форма Нової Пошти під методом */

.kleoo-np-method-form {
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}

.kleoo-np-method-form > * {
    width: 100% !important;
    max-width: 100% !important;
}

.kleoo-np-method-form input,
.kleoo-np-method-form select {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 13px !important;
}


/* =========================================================
   PAYMENT — COMPACT
========================================================= */

.kleoo-payment-method {
    margin-bottom: 8px;
}

.kleoo-payment-method__label {
    min-height: 46px;
    padding: 11px 13px;
}

.kleoo-payment-method__label input[type="radio"] {
    width: 16px;
    height: 16px;
}

.kleoo-payment-method__title {
    font-size: 13px;
}

.kleoo-payment-method .payment_box {
    padding: 0 13px 11px 38px;
    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   SUMMARY COMPACT
========================================================= */

.kleoo-checkout-summary__card {
    padding: 18px;
}

.kleoo-checkout-summary__card > h2 {
    font-size: 19px;
    margin-bottom: 16px;
}

.kleoo-checkout-product {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.kleoo-checkout-product__image {
    width: 64px;
    height: 64px;
}

.kleoo-checkout-product__name {
    font-size: 13px;
}

.kleoo-checkout-product__meta {
    font-size: 12px;
}

.kleoo-checkout-product__price {
    font-size: 14px;
}

.kleoo-checkout-total-row {
    font-size: 13px;
}

.kleoo-checkout-total-row--final {
    font-size: 18px;
}

.kleoo-checkout-total-row--final strong {
    font-size: 20px;
}


/* =========================================================
   ORDER NOTES
========================================================= */

.kleoo-order-notes textarea {
    min-height: 90px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .kleoo-checkout-layout {
        grid-template-columns: 1fr;
    }

    .kleoo-checkout-page
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .kleoo-checkout-page #billing_phone_field {
        grid-column: auto;
    }

    .kleoo-checkout-card {
        padding: 16px;
    }

    .kleoo-checkout-summary__card {
        padding: 16px;
    }

}
/* =========================================================
   KLEOO CHECKOUT — FINAL SIZE FIX
========================================================= */

/* ---------------------------------------------------------
   ІМ'Я / ПРІЗВИЩЕ — ширші поля
--------------------------------------------------------- */

.kleoo-checkout-page
.woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 12px;
}

.kleoo-checkout-page #billing_first_name_field,
.kleoo-checkout-page #billing_last_name_field {
    width: 100%;
}

.kleoo-checkout-page #billing_first_name_field input,
.kleoo-checkout-page #billing_last_name_field input {
    width: 100%;
    max-width: none;
}


/* ---------------------------------------------------------
   ТЕЛЕФОН — коротший
--------------------------------------------------------- */

.kleoo-checkout-page #billing_phone_field {
    grid-column: 1 / -1;
    width: 58%;
    max-width: 360px;
}

.kleoo-checkout-page #billing_phone_field input {
    width: 100%;
}


/* ---------------------------------------------------------
   ДОСТАВКА
   Radio зліва по центру картки
--------------------------------------------------------- */

.kleoo-checkout-page #shipping_method li {
    position: relative;
    display: block;
    width: 100%;
}

/*
   Ховаємо стандартне положення radio,
   але залишаємо його клікабельним.
*/

.kleoo-checkout-page #shipping_method li > input[type="radio"] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    margin: 0;
    z-index: 3;
    accent-color: #155eef;
}


/*
   Текст способу доставки
*/

.kleoo-checkout-page #shipping_method li > label {
    display: flex !important;
    align-items: center;
    min-height: 46px;
    width: 100%;
    margin: 0 !important;
    padding: 11px 14px 11px 42px !important;
    box-sizing: border-box;
}


/*
   Якщо radio знаходиться всередині label
*/

.kleoo-checkout-page #shipping_method li > label
input[type="radio"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0 10px 0 0;
    align-self: center;
    accent-color: #155eef;
}


/* ---------------------------------------------------------
   НОВА ПОШТА — якщо під нею є форма,
   radio залишається по центру тільки верхнього рядка
--------------------------------------------------------- */

.kleoo-checkout-page #shipping_method li:has(.kleoo-np-method-form)
> input[type="radio"] {
    top: 23px;
    transform: translateY(-50%);
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

    .kleoo-checkout-page
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kleoo-checkout-page #billing_phone_field {
        grid-column: auto;
        width: 100%;
        max-width: none;
    }

}
/* =========================================================
   KLEOO — ORDER RECEIVED
   Прибираємо стандартні адресні блоки WooCommerce
========================================================= */

.woocommerce-order-received
.woocommerce-customer-details {
    display: none !important;
}
/* Прибрати кнопку "Переглянути кошик"
   у повідомленні, коли користувач уже на сторінці кошика */

.woocommerce-cart .woocommerce-message .button.wc-forward {
    display: none !important;
}