
@font-face {
    font-family: 'SF';
    src: url('../fonts/sf-compact-rounded.woff2') format('woff2'),
    url('../fonts/sf-compact-rounded.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF';
    src: url('../fonts/SFCompactDisplay-Medium.woff2') format('woff2'),
    url('../fonts/SFCompactDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF';
    src: url('../fonts/SF-Compact-Rounded-Semibold.woff2') format('woff2'),
    url('../fonts/SF-Compact-Rounded-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF';
    src: url('../fonts/SF-Compact-Rounded-Bold.woff2') format('woff2'),
    url('../fonts/SF-Compact-Rounded-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --bs-font-sans-serif: 'SF', Arial,sans-serif;
}

/* Product Card Grid & Card Styles */

/* ========== Promo Slider ========== */
.promo-slider {
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
}
.promo-swiper {
    border-radius: 20px;
}
.promo-slider__slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 270px;
    padding: 0;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.promo-slider__slide:hover {
    color: #ffffff;
    text-decoration: none;
}
.promo-slider__content {
    position: relative;
    z-index: 2;
    max-width: 55%;
}
.promo-slider__label {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    opacity: 0.9;
}
.promo-slider__title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.promo-slider__discount {
    color: #ffffff;
}
.promo-slider__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-title {
    margin: 0;
    font-size: 25px;
    line-height: 22px;
    font-weight: 700;
    color: #001848;
    margin-bottom: 24px;
}
.breadcrumbs-block {
    margin-bottom: 24px;
    font-family: 'SF', Arial, sans-serif;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
}

.breadcrumbs__item::after {
    content: "/";
    margin-left: 1px;
    color: #001848;
}

.breadcrumbs__item:last-child::after {
    content: "";
}

.breadcrumbs__link {
    text-decoration: none;
    color: #001848;
}

.breadcrumbs__current {
    color: #001848;
}
/* Swiper navigation */
.promo-swiper .swiper-button-prev,
.promo-swiper .swiper-button-next {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 50%;
}
.promo-swiper .swiper-button-prev::after,
.promo-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='21' cy='21' r='19.5' stroke='white' stroke-width='3'/%3E%3Cpath d='M16.0001 20.5C16.0001 20.3874 16.0504 20.2829 16.1509 20.1863L22.8343 13.7683C22.9348 13.6718 23.0437 13.6235 23.1609 13.6235C23.2949 13.6235 23.4038 13.6718 23.4875 13.7683L24.2162 14.4439C24.3167 14.5404 24.3669 14.645 24.3669 14.7576C24.3669 14.8862 24.3167 14.9908 24.2162 15.0712L18.5629 20.5L24.2162 25.9288C24.3167 26.0092 24.3669 26.1138 24.3669 26.2425C24.3669 26.3551 24.3167 26.4596 24.2162 26.5561L23.4875 27.2317C23.4038 27.3282 23.2949 27.3765 23.1609 27.3765C23.0437 27.3765 22.9348 27.3282 22.8343 27.2317L16.1509 20.8137C16.0504 20.7172 16.0001 20.6126 16.0001 20.5Z' fill='white'/%3E%3C/svg%3E%0A");
    width: 42px;
    height: 42px;
    font-size: 0;
    background-size: contain;
    border-radius: 0;
    background-repeat: no-repeat;
    background-color: transparent;
}
.promo-swiper .swiper-button-next::after {
    transform: scaleX(-1);
}
/* Swiper pagination */
.promo-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0);
    opacity: 1;
    border: 2px solid #fff;
}
.promo-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}
@media (max-width: 768px) {
    .promo-slider__slide {
        min-height: 160px;
        padding: 20px 24px;
    }
    .promo-slider__title {
        font-size: 22px;
    }


    .promo-swiper .swiper-button-prev,
    .promo-swiper .swiper-button-next {
        width: 32px;
        height: 32px;
    }
    .promo-swiper .swiper-button-prev::after,
    .promo-swiper .swiper-button-next::after {
        font-size: 12px;
    }
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Card */
.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    padding: 22px 8px 10px 8px;
    min-height: 100%;
}
.product-card:hover {
    box-shadow: 0 2px 12px rgba(0, 24, 72, 0.1);
}

/* Image */
.product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    width: 100%;
    max-width: 140px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 18px;
}
.product-card__image-link:before {
    content: '';
    width: 1px;
    padding-top: 100%;
    display: inline-block;
}
.product-card__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Body */
.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Title */
.product-card__title {
    font-size: 14px;
    font-weight: 500;
    color: #001848;
    line-height: 18px;
    margin: 0 0 8px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.product-card__title a {
    color: inherit;
    text-decoration: none;
}
.product-card__title a:hover {
    color: #0E94C8;
}

/* Specs */
.product-card__specs {
    flex: 0 auto;
    min-height: 0;
}
.product-card__spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0;
    border-bottom: unset;
}
.product-card__spec-label {
    font-size: 12px;
    font-weight: 400;
    color: #001848;
    white-space: nowrap;
    margin-right: 8px;
    line-height: 18px;
}
.product-card__spec-value {
    font-size: 12px;
    font-weight: 400;
    color: #717171;
    text-align: right;
    line-height: 19px;
}
.product-card__spec-value--price {
    color: #4CAF50;
    font-weight: 400;
}

/* Toggle (Штука / Упаковка) */
.product-card__toggle {
    display: flex;
    gap: 0px;
    margin: 12px 0;
    margin-bottom: 13px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto; /* пришпилюємо до низу — аналогічно до footer */
}
.product-card__toggle-input {
    display: none;
}
.product-card__toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 6px;
    font-size: 10px;
    font-weight: 400;
    border-radius: 0px;
    border: 1px solid #0E94CB;
    color: #0E94CB;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 20px;
    white-space: nowrap;
    margin: 0;
    color: #717171;
}
.product-card__toggle-label:first-of-type {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}
.product-card__toggle-label:last-of-type {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}
.product-card__toggle-input:checked + .product-card__toggle-label {
    background: #0E94CB;
    border-color: #0E94CB;
    color: #ffffff;
}
.product-card__toggle-label:hover {
    border-color: #0E94C8;
}

/* Footer: Price + Quantity — margin-top: auto синхронно з toggle.
   Два auto-маргіни у flex column ділять вільний простір порівну: обидва
   блоки тиснуться до низу, між ними залишається природний проміжок. */
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    min-height: 22px;
    gap: 6px;
}
.product-card__total-price {
    font-size: 12px;
    font-weight: 500;
    color: #001848;
    line-height: 22px;
    margin: 0;
    padding-left: 3px;
    padding-right: 3px;
    white-space: nowrap;
}

/* Quantity Selector */
.product-card__qty {
    display: flex;
    align-items: center;
    height: 22px;
}
.product-card__qty-btn {
    width: 24px;
    height: 22px;
    border: none;

    border-radius: 14px 0 0 14px;
    background: #0E94C8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
    flex-shrink: 0;
    font-size: 10px;
    line-height: 22px;
}
.product-card__qty-btn:hover {
    background: #0c7fb0;
}
.product-card__qty-btn--plus {
    background: #0E94C8;

    border-radius: 0 14px 14px 0;
}
.product-card__qty-input {
    width: 24px;
    height: 22px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 10px;
    line-height: 22px;
    color: #001848;
    padding: 0;
    box-sizing: border-box;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    background: #fff;
}
.product-card__qty-input::-webkit-outer-spin-button,
.product-card__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card__title {
        font-size: 14px;
    }
    .product-card__spec-label,
    .product-card__spec-value {
        font-size: 12px;
    }
}

/* ========== Vendor Filter ========== */
.vendor-filter {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
}
.vendor-filter__label {
    font-size: 14px;
    font-weight: 600;
    color: #001848;
    white-space: nowrap;
    line-height: 22px;
}
.vendor-filter__btn {
    background: none;
    border: none;
    font-size: 14px;
    padding: 0 12px;
    font-weight: 400;
    color: #001848;
    cursor: pointer;
    border-bottom: 1px solid rgba(14, 148, 203, 0.3);
    transition: border-color 0.2s ease;
    white-space: nowrap;
    line-height: 21px;
}
.vendor-filter__btn:hover {
    border-bottom-color: rgba(14, 148, 200, 0.7);
}
.vendor-filter__btn--active {
    border-bottom-color: #0E94CB;
}

/* ========== Pagination ========== */
.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 36px 0;
}
.pagination-custom__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #0E94CB;
    color: #0E94CB;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.pagination-custom__link:hover {
    background: #e8f6fb;
    color: #0E94C8;
    text-decoration: none;
}
.pagination-custom__link--active {
    background: #0E94C8;
    color: #ffffff;
    border-color: #0E94C8;
    cursor: default;
}
.pagination-custom__link--active:hover {
    background: #0E94C8;
    color: #ffffff;
}
.pagination-custom__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: #0E94C8;
    letter-spacing: 2px;
}

/* ========== Sidebar New ========== */
.sidebar-new {
    background: #ffffff !important;
    box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.2) !important;
    border-radius: 12px !important;
}
.sidebar-new .navbar-collapse {
    padding: 23px 15px;
    padding-bottom: 20px;
}
.sidebar-new__header {
    font-size: 14px;
    font-weight: 600;
    color: #001848;
    letter-spacing: 0.7px;
    padding-bottom: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-new__header-line {
    display: block;
    width: 30px;
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 0px;
}
/* Profile button */
.sidebar-new__profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: #0E94CB;
    color: #ffffff;
    border-radius: 0px;
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.sidebar-new__profile:hover {
    background: #0c7fb0;
    color: #ffffff;
    text-decoration: none;
}
.sidebar-new__profile .sidebar-new__chevron{
    position: relative;
    right: 4px;
}
[aria-expanded="false"].sidebar-new__profile .sidebar-new__chevron {
    transform: rotate(0deg) !important;
}
[aria-expanded="true"].sidebar-new__profile .sidebar-new__chevron {
    transform: rotate(180deg) !important;
}
.sidebar-new__profile--active {
    background: #0a6d99;
}
.sidebar-new__avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
/* Novelty link */
.sidebar-new__novelty {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6.5px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #00B96B;
    text-decoration: none;
    margin-bottom: 0;
}
.sidebar-new__novelty:hover {
    color: #16a34a;
    text-decoration: none;
}
.sidebar-new__novelty--active {
    font-weight: 400;
}
.sidebar-new__novelty-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.sidebar-new__divider {
    height: 1px;
    background: #e8edf2;
    margin: 4px 8px 4px;
    display: none;
}
/* Menu */
.sidebar-new__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-new__item {
    margin-bottom: 0;
    border-top: 1px solid #e8edf2;
}
.sidebar-new__item:last-child {
    border-bottom: none;
}
/* Links */
.sidebar-new__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6.5px 0;
    font-size: 14px;
    font-weight: 400;
    color: #001848;
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.sidebar-new__link:hover {
    color: #0E94C8;
    text-decoration: none;
}
.sidebar-new__link.sidebar-new__profile {
    padding: 5px 0;
    background: #0E94CB;
    color: #ffffff;
    border-radius: 0;
    font-weight: 600;
}
.sidebar-new__link.sidebar-new__profile:hover {
    background: #0E94CB;
    color: #ffffff;
}
.sidebar-new__link.sidebar-new__profile .sidebar-new__chevron {
    color: #ffffff;
    margin-right: 2px;
}
.sidebar-new__link.sidebar-new__profile .sidebar-new__avatar {
    margin-left: 8px;
}
.sidebar-new__link--active {
    font-weight: 600;
    color: #0E94CB;
}
.sidebar-new__link--active .sidebar-new__icon {
    opacity: 1;
}
.sidebar-new__link--parent::after {
    content: none;
}
/* Icon */
.sidebar-new__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.sidebar-new__link-inner {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Chevron */
.sidebar-new__chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #001848;
    margin-left: 8px;
    opacity: .6;
}
.sidebar-new__link--open .sidebar-new__chevron,
.sidebar-new__link[aria-expanded="true"] .sidebar-new__chevron {
    transform: rotate(180deg);
}
.sidebar-new__link--open[aria-expanded="false"] .sidebar-new__chevron {
    transform: rotate(0deg);
}
.sidebar-new__link--open[aria-expanded="true"] .sidebar-new__chevron {
    transform: rotate(180deg);
}
/* Submenu */
.sidebar-new__submenu {
    list-style: none;
    padding: 0 0 0 0px;
    margin-left: 7px;
    margin-bottom: 6px;
    border-left: 1px solid #0E94CB;
    padding-left: 23px;
}
.sidebar-new__sublink {
    display: block;
    padding: 5px 0px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #001848;
    text-decoration: none;
    transition: color 0.15s ease;
}
.sidebar-new__sublink:hover {
    color: #0E94C8;
    text-decoration: none;
}
.sidebar-new__sublink--active {
    font-weight: 700;
    color: #001848;
}
/* Admin section */
.sidebar-new__admin-section {
    /*margin-top: 8px;*/
    /*padding-top: 8px;*/
    border-top: 1px solid #e0e0e0;
}
/* Override Material Dashboard sidebar defaults */
.sidebar-new.navbar-vertical .navbar-nav .nav-link[data-bs-toggle="collapse"]::after {
    display: none !important;
}
.sidebar-new .nav-link {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}
.sidebar-new .nav-item {
    margin-bottom: 0 !important;
    width: 100%;
}
.sidebar-new .nav-item .collapse .nav .nav-item .nav-link {
    background-color: transparent !important;
}

/* ========== Global Layout ========== */
body.g-sidenav-show {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    padding-top: 75px;
    background: #f0f2f5 !important;
}
/* Sidebar: static, not fixed */
body.g-sidenav-show .sidebar-new {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 246px !important;
    max-width: 246px !important;
    flex-shrink: 0;
    margin: 24px 0 12px 12px !important;
    margin-left: calc(((100vw - (1440px - 48px)) / 2)) !important;
    height: fit-content;
    z-index: 10;
}
/* Main content: fills remaining width */
body.g-sidenav-show .main-content {
    margin-left: 0 !important;
    flex: 1;
    min-width: 0;
    max-height: none;
    border-radius: 0;
}
/* Override Material Dashboard sidebar margin on main */
.sidenav.fixed-start + .main-content,
.g-sidenav-hidden .navbar-vertical:hover.fixed-start + .main-content {
    margin-left: 0 !important;
}
body .main-content {
    padding-right: calc(((100vw - 1440px) / 2) + 20px - 20px);
    padding-left: 18px;
}
body .main-content .container-fluid.py-4 {
    padding-left: 8px;
}
.main-content .container-fluid.py-4 > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.main-content .container-fluid.py-4 > .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* ========== Navbar New ========== */
.navbar-new {
    background: #0E94CB;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
}
.navbar-new__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 24px;
    max-width: 1440px;
    min-height: 75px;
}
/* Logo */
.navbar-new__logo {
    flex-shrink: 0;
    padding-left: 30px;
    padding-right: 30px;
    width: 246px;

}
.navbar-new__logo img {
    height: 41px;
    width: auto;
    filter: brightness(0) invert(1);
}
/* Mobile toggler */
.navbar-new__toggler {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.navbar-new__toggler span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}
/* Search */
.navbar-new__search {
    flex: 1;
    max-width: 648px;
}
.navbar-new__search form {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 9999px;
    padding: 0 16px;
    height: 37px;
    border: 1px solid #fff;
}
.navbar-new__search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #fff;
    min-width: 0;

}
.navbar-new__search-input::placeholder {
    color: #fff;
}
.navbar-new__search-btn {
    background: none;
    border: none;
    color: #0E94C8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    width: 48px;
    height: 35px;
    position: relative;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Right section */
.navbar-new__right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-shrink: 0;
}
.navbar-new__order-info {
    text-align: left;
    line-height: 12px;
}
.navbar-new__order-text {
    display: block;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0.3px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}
.navbar-new__order-sum {
    color: #FF0505;
    font-weight: 600;
}
/* Order progress (circular fill indicator in header) */
.order-progress {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #36B6E6;
    border-radius: 9999px;
    padding: 6px 16px 6px 6px;
    color: #ffffff;
    line-height: 1.1;
}
.order-progress__circle {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.order-progress__ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.order-progress__ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 3.2;
}
.order-progress__ring-fill {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.2;
    stroke-linecap: round;
    transition: stroke-dasharray 0.4s ease;
}
.order-progress__percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.order-progress__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}
.order-progress__label {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.2px;
    opacity: 0.95;
}
.order-progress__amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.order-progress__diff {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}
.order-progress__values {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}
/* Cart button */
.navbar-new__cart {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #36B6E6;
    background: #36B6E6;
    border-radius: 12px;
    padding: 8.25px 10px;
    text-decoration: none;
    color: #ffffff;
    transition: border-color 0.2s;
    white-space: nowrap;
    color: #ffffff;
}
.navbar-new__cart:hover {
    border-color: #36B6E6;
    color: #ffffff;
    text-decoration: none;
}
.navbar-new__cart-total {
    font-size: 14px;
    font-weight: 600;
}
.navbar-new__cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-new__cart-icon .material-icons {
    font-size: 22px;
    color: #ffffff;
}
.navbar-new__cart-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #0E94CB;
    font-size: 13px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1px solid #fff;
    border: 1px solid #0E94CB;
    outline: 1px solid #fff;
}
/* Mobile cart */
.navbar-new__cart-mobile {
    display: none;
    position: relative;
    color: #ffffff;
    margin-left: auto;
}
.navbar-new__cart-mobile .material-icons {
    font-size: 26px;
}

/* Navbar responsive */
@media (max-width: 1199px) {
    .navbar-new__toggler {
        display: flex;
    }
    .navbar-new__right {
        display: none;
    }
    .navbar-new__cart-mobile {
        display: flex;
    }
    .navbar-new__search {
        max-width: none;
    }
    .navbar-new__inner {
        gap: 12px;
    }
    /* Sidebar: hidden by default on tablet/mobile */
    body.g-sidenav-show .sidebar-new {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        bottom: 0;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 1020;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    body.g-sidenav-show.g-sidenav-pinned .sidebar-new {
        transform: translateX(0) !important;
    }
    body.g-sidenav-show .main-content {
        width: 100%;
    }
}
@media (max-width: 690px) {
    .navbar-new {
        padding: 10px 16px;
        height: auto;
    }
    body.g-sidenav-show {
        padding-top: 130px;
    }
    .navbar-new__search {
        order: 10;
        flex: 1 0 100%;
        max-width: 100%;
        margin-top: 8px;
    }
    .navbar-new__inner {
        flex-wrap: wrap;
        gap: 8px;
    }
    body.g-sidenav-show .sidebar-new {
        top: 114px !important;
        height: calc(100dvh - 114px);
    }
}

/* Обгортка "+" ↔ "−/qty/+": фіксована висота 22px (= line-height ціни,
   висота .product-card__qty). Захищає футер від субпіксельних розбіжностей. */
[data-js-qty-wrapper] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    height: 22px;
}

/* === "+" Add-to-cart button (pre-cart state) ===
   Висота узгоджена з .product-card__qty-btn і line-height ціни. */
.product-card__add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s ease, opacity 0.15s ease;
    flex-shrink: 0;
}
.product-card__add-btn:hover { opacity: 0.85; }
.product-card__add-btn:active { transform: scale(0.95); }
.product-card__add-btn:disabled { opacity: 0.5; cursor: wait; }
.product-card__add-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Приховання одного зі станів перемикача qty (атрибут hidden). */
[data-js-qty-wrapper] > [hidden] { display: none !important; }

/* Стилі search-dropdown консолідовано в public/css/custom.css
   (custom.css підвантажується після product-card.css і все одно перекриває). */

/* ========== Cart Page ========== */

/* Promotions card */
.promo-card {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    background: unset !important;

}
.promo-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.20);
    padding: 41px 50px;
    width: 100%;
}
.promo-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #001848;
    margin: 0;
    line-height: 1.2;
}
.promo-card__toggle {
    background: #0E94CB;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}
.promo-card__toggle:hover {
    background: #0c7fb0;
    color: #ffffff;
}
.promo-card__toggle:not(.collapsed) .promo-card__toggle-icon {
    transform: scaleY(-1);
}
.promo-card__body {
    padding-top: 12px;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.18);
    padding: 28px 32px;
    width: 100%;
}

.promo-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.promo-table {
    width: 100%;
    border-collapse: collapse;
}
.promo-table thead th {
    font-size: 14px;
    font-weight: 500;
    color: #001848;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: unset;
    white-space: nowrap;
    text-align: center;
}
.promo-table tbody td {
    padding: 16px 16px;
    font-size: 14px;
    color: #001848;
    font-weight: 300;
    border-bottom: unset;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}
.promo-table tbody tr:last-child td {
    border-bottom: none;
}
.promo-table__name-cell {
    width: 48%;
}
.promo-table__category {
    width: 18%;
    font-weight: 500 !important;
    color: #717171 !important;
}
.promo-table__progress {
    width: 20%;
    color: #001848;
    font-weight: 500 !important;
    white-space: nowrap;
}
.promo-table__gifts {
    width: 14%;
    font-weight: 600 !important;
    color: #001848 !important;
}

/* Custom radio (blue dot) */
.promo-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.promo-radio__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.promo-radio__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='4.75' stroke='%230E94CB' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.promo-radio__input:checked + .promo-radio__dot{
    position: relative;
}
.promo-radio:has(.promo-radio__input:checked) {
    background: #f4fbff;
    box-shadow: none;
}
.promo-radio:hover {
    border-color: transparent;
}
.promo-radio__input:checked + .promo-radio__dot,
.promo-radio__dot--static {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='4.75' stroke='%230E94CB' stroke-width='0.5'/%3E%3Ccircle cx='5' cy='5' r='3' fill='%230E94CB'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}
.promo-radio__text {
    font-size: 13px;
    color: #001848;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.35;
    font-weight: 600;
    font-weight: 400;
    text-align: left !important;
}

@media (max-width: 768px) {
    .promo-card {
        padding: 20px 16px;
    }
    .promo-card__title {
        font-size: 18px;
    }
    .promo-table thead th,
    .promo-table tbody td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

.cart-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.18);
    padding: 28px 32px;
    margin-bottom: 24px;
    width: 100%;
}
.main-content .container-fluid.py-4 > .row > .cart-card-total {
    padding: 41px 50px !important;
}
.cart-empty {
    text-align: center;
    padding: 40px 32px;
}
.cart-empty h4 {
    margin: 0;
    color: #001848;
    font-size: 18px;
    font-weight: 500;
}

/* Items list */
.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: block;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eef0f3;
}
.cart-item:first-of-type {
    border-top: none;
}

.cart-item__row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
}

/* Image */
.cart-item__image-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    text-decoration: none;
}
.cart-item__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Info */
.cart-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-item__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #001848;
    text-decoration: none;
    margin: 0;
}
.cart-item__title:hover {
    color: #0E94CB;
    text-decoration: none;
}
.cart-item__packing {
    font-size: 14px;
    line-height: 16px;
    color: #717171;
    margin: 0;
    font-weight: 500;
}
.cart-item__price {
    font-size: 14px;
    line-height: 16px;
    color: #0E94CB;
    margin: 0;
    font-weight: 500;
}

/* Actions area */
.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Quantity */
.cart-item__qty {
    display: flex;
    align-items: center;

}
.cart-item__qty-btn {
    width: 32px;
    height: 35px;
    border-radius: 0;
    background: #0E94CB;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 10px;
    line-height: 1;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.cart-item__qty-btn:first-child {
    border-radius: 14px 0 0 14px;
}
.cart-item__qty-btn:last-child {
    border-radius: 0 14px 14px 0;
}
.cart-item__qty-btn:hover {
    background: #0c7fb0;
}
.cart-item__qty-btn:disabled {
    background: #9ecfe5;
    cursor: not-allowed;
}
.cart-item__qty-input {
    width: 34px;
    height: 35px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #001848;
    padding: 0;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    outline: none;
}
.cart-item__qty-input::-webkit-outer-spin-button,
.cart-item__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Menu */
.cart-item__menu {
    position: relative;
}
.cart-item__menu-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #8892a6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease;
}
.cart-item__menu-btn:hover {
    background: #f0f2f5;
    color: #001848;
}

/* Per-row sum — not visible in this design, keep for JS hook */
.cart-item__sum {
    display: none;
    margin: 0;
}

/* Summary */
.cart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-top: 24px;
    margin-top: 8px;
}
.cart-summary__total {
    display: flex;
    align-items: baseline;
    gap: 18px;
}
.cart-summary__total-label {
    font-size: 18px;
    font-weight: 700;
    color: #8892a6;
    letter-spacing: 0.3px;
}
.cart-summary__total-value {
    font-size: 20px;
    font-weight: 700;
    color: #001848;
    line-height: 1.2;
}
.cart-summary__message,
.cart-summary__note {
    font-size: 16px;
    line-height: 1.2;
    color: #0E94CB;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: right;
    margin: 0;
    max-width: 280px;
}
.cart-summary__message.invisible,
.cart-summary__note.invisible {
    display: none;
}
.cart-summary__diff {
    color: #FF0505;
    font-weight: 700;
    margin-left: 4px;
}
.cart-summary__actions {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.cart-summary__actions form {
    margin: 0;
}

/* Action buttons */
.cart-btn {
    padding: 10px 36px;
    border-radius: 24px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    line-height: 20px;
    min-width: 150px;
}
.cart-btn--clear {
    background: #FF0505;
}
.cart-btn--clear:hover {
    background: #e63030;
    color: #ffffff;
}
.cart-btn--order {
    background: #00B96B;
}
.cart-btn--order:hover:not(:disabled) {
    background: #16a34a;
    color: #ffffff;
}
.cart-btn--order:disabled {
    background: #a7e3be;
    cursor: not-allowed;
}

/* Hide on scroll-out helper kept from original JS */
.cart-summary__actions.is-no-visible {
    opacity: 0.5;
}
.accordion-button {
    padding-right: 4rem;
}
.alert-danger {
    color: #fff !important;
}
.dataTable-sorter::after, .dataTable-sorter::before {
    right: -11px;
}
/* Responsive */
@media (max-width: 768px) {
    .accordion-button {
        padding-right: 1rem;
    }
    .cart-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .cart-item__row {
        flex-wrap: wrap;
        gap: 12px;
    }
    .cart-item__info {
        flex: 1 1 calc(100% - 78px);
    }
    .cart-item__actions {
        flex: 1 1 100%;
        justify-content: flex-end;
    }
    .cart-summary {
        align-items: stretch;
    }
    .cart-summary__total,
    .cart-summary__message,
    .cart-summary__note {
        justify-content: flex-end;
        text-align: right;
    }
    .cart-summary__actions {
        justify-content: space-between;
    }
    .cart-btn {
        min-width: 0;
        flex: 1;
        padding: 10px 20px;
    }
    .main-content .container-fluid.py-4 > .row > .cart-card-total {
        padding: 16px !important;
    }
    .promo-card__header {
        padding: 16px;
    }
    .promo-card__body {
        padding: 16px;
    }
}

@media (max-width: 690px) {

    .navbar-new__logo {
        flex-shrink: 0;
        padding-left: 0;
        padding-right: 0;
        width: auto;
        max-width: 100px;
        /* order: 1; */
    }
    .navbar-new__toggler {
        order: 3;
        margin-left: 10px;
    }
    .navbar-new__inner {
        padding: 0;
    }
    body .main-content .container-fluid.py-4 {
        padding: 0 15px !important;
    }
    body .main-content {
        padding-right: 0;
        padding-left: 0;
    }
    .search-dropdown {
        width: 100%;
        left: 0;
    }
}