/* ============================= */
/* ===== PRODUCT DETAIL ======= */
/* ============================= */

.product-page {
    padding: 120px 0 60px;
}

.product-main-img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    transition: 0.4s ease;
}

.product-main-img:hover {
    transform: scale(1.02);
}

.product-info-block {
    padding-left: 60px;
}

.product-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #5a1a1a;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 25px;
    margin-bottom: 25px;
}

.price-main {
    font-size: 40px;
    font-weight: 700;
    color: #5a1a1a;
}

.price-weight {
    font-size: 32px;
    font-weight: 600;
    color: #5a1a1a;
}

.btn-product {
    display: inline-block;
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    padding: 14px 38px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    margin-bottom: 30px;
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 46, 85, 0.35);
}

.product-extra-text {
    margin-top: 15px;
    max-width: 480px;
    font-size: 14px;
    color: #5a1a1a;
    line-height: 1.7;
}

/* STOCK OVERLAY */

.stock-overlay-page {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 600;
}


/* ===== DELIVERY INFO ===== */

.delivery-box {
    margin-top: 25px;
    padding: 20px 24px;
    font-size: 20px;
    color: #5a1a1a;
    line-height: 1.6;
}

.delivery-box p {
    margin: 4px 0;
}

/* ===== DESCRIPTION BELOW ===== */

.product-description-block {
    margin-top: 70px;
    max-width: 850px;
    font-size: 15px;
    color: #5a1a1a;
    line-height: 1.8;
}

.related-section {
    margin-top: 110px;
    padding-bottom: 90px;
}

.related-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #5a1a1a;
    margin-bottom: 60px;
}

.related-products-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* ============================= */
/* ===== TOP NAVIGATION ======= */
/* ============================= */
html,
body {
    margin: 0;
    padding: 0;
}

.custom-topbar {
    background: #ef7d7d;
    padding: 12px 0;
}

@media (min-width: 992px) {
    .custom-topbar .container-fluid {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 1400px) {
    .custom-topbar {
        padding-left: 140px;
        padding-right: 140px;
    }
}

.logo-circle {
    width: 26px;
    height: 26px;
    background: #7a0019;
    border-radius: 50%;
}

/* .navbar-logo {
    height: 26px;
    width: 26px;
    display: block;
}  */
.navbar-logo {
    height: 30px;
}


.navbar-logo {
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

.top-link {
    color: #6a1f1f;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.4px;
    text-decoration: none;
    padding: 8px 0;
    transition: 0.25s ease;
}


.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6a1f1f;
    font-size: 22px;
    line-height: 1;
    transition: 0.2s ease;
}



.icon-link:hover {
    opacity: 0.7;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #fcfcfc;
    color: rgb(174, 3, 3);
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 50px;
}

.hero {
    position: relative;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 2;
}


/* ============================= */
/* ===== HERO BACKGROUND ====== */
/* ============================= */

body {
    font-family: 'Poppins', sans-serif;
}


.bg-img {
    position: relative;
    background-image: url('../img/new_bg_img.webp');
    background-size: 110%;
    background-position: 75% center;
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding-top: 12vh;
}

.bg-img::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 45%;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 220, 230, 0.6) 40%,
            rgba(255, 200, 215, 0.9) 70%,
            #f8d9df 100%);

    z-index: 1;
}




.bg-img>* {
    position: relative;
    z-index: 2;
}

.hero-left {
    padding-top: 6vh;
}

.hero-title {
    font-family: 'Pacifico', cursive !important;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    color: #ff2e55;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: unset;
    margin-bottom: 80px;
}


.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    padding: 16px 38px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;

    box-shadow:
        0 8px 20px rgba(255, 46, 85, 0.35),
        0 0 30px rgba(255, 46, 85, 0.25);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(255, 46, 85, 0.45),
        0 0 45px rgba(255, 46, 85, 0.4);
}


.hero-left {
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ============================= */
/* ===== MANAGER PANEL ======== */
/* ============================= */

.mgr {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f8f8;
    padding: 12px;
}

.mgr-container {
    max-width: 480px;
    margin: 0 auto;
}

.mgr-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
}

.mgr-order-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
}

.mgr-order-link {
    text-decoration: none;
    color: #000;
    display: block;
}

.mgr-order-id {
    font-size: 16px;
    font-weight: bold;
}

.mgr-order-status {
    margin-top: 4px;
}

.mgr-filters form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #eee;
}
.mgr-btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
}

.mgr-btn-primary {
    background: #007bff;
    color: #fff;
}

.mgr-btn-secondary {
    background: #eee;
    color: #000;
}

.mgr-product-row {
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.mgr-product-row:last-child {
    border-bottom: none;
}

.mgr-qr {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 12px auto;
    border: 1px solid #ddd;
    padding: 8px;
    background: #fff;
}

.mgr-filters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mgr-filter-group {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

.mgr-filter-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.mgr-filter-btn {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.mgr-filter-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mgr-active-filters {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mgr-filter-chip {
    background: #f1f1f1;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.2s;
}

.mgr-filter-chip:hover {
    background: #e3a9a9;
    color: #5a1a1a;
}

.mgr-error-box {
    border-left: 5px solid #ff3b3b;
    background: #fff5f5;
    color: #a10000;

    word-break: break-word;
    overflow-wrap: anywhere;
}

/* notifications mgr panel */
.notify-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 16px;
}

.notify-title {
  font-size: 16px;
  font-weight: 600;
}

.notify-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notify-btn {
  all: unset;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.2s ease;

  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notify-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.notify-btn--success {
  background: #16a34a;
  color: white;
}

.notify-btn--danger {
  background: #dc2626;
  color: white;
}

@media (max-width: 768px) {

    .bg-img {
        background-size: cover;
        background-position: 60% center;
        padding-top: 14vh;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-left {
        max-width: 100%;
    }

}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ============================= */
/* ===== PRODUCTS SECTION ===== */
/* ============================= */

.product-mini {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 270px;
    transition: transform 0.25s ease;
    transform-origin: center;
}

/* ===== HOVER CONTROL ===== */

.product-mini {
    transition: 0.3s ease;
}

.product-mini:hover .product-mini-img img {
    transform: scale(1.08);
}

.product-mini:hover .product-overlay {
    opacity: 1;
}

.product-mini-img {
    position: relative;
    border-radius: 26px;
    overflow: hidden;

    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.product-mini-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    background: #fff;
    transition: transform 0.35s ease;
}

.product-mini:hover .product-mini-img img {
    transform: scale(1.05);
}

.product-mini-info {
    margin-top: 16px;
    text-align: center;
}

.product-mini-title {
    font-weight: 500;
    font-size: 17px;
    color: #5a1a1a;
    margin-bottom: 8px;
}

.product-mini-price {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: baseline;
}

.price-new {
    font-weight: 700;
    font-size: 22px;
    color: #5a1a1a;
}

.price-old {
    font-size: 14px;
    color: rgba(90, 26, 26, 0.55);
    text-decoration: line-through;
}


.product-badge {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    background: #ff2e55;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(255, 46, 85, 0.35);
}

.product-mini-img {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}


.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;

    opacity: 0;
    transition: 0.35s ease;
}

.product-mini-img:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 10px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.overlay-btn.add-to-cart {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    color: #fff;
}

.overlay-btn.secondary {
    background: #fff;
    color: #5a1a1a;
}

.overlay-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    .product-mini {
        width: 240px;
    }

    .product-mini-img img {
        height: 220px;
    }
}

/* ===== OUT OF STOCK ===== */

.product-disabled img {
    filter: brightness(0.6);
}

.stock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: 600;
    color: #fff;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    border-radius: 24px;
}

.btn-disabled {
    background: #000 !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.85;
}

/* ============================= */
/* ===== ABOUT SECTION ========= */
/* ============================= */

.about-section {
    background: #e3a9a9;
    padding: 120px 0 80px 0;
    color: #5a1a1a;
}

.about-label {
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.about-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-description {
    max-width: 520px;
    line-height: 1.7;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 25px;

}

/* ============================= */
/* ===== GALLERY SECTION ======= */
/* ============================= */
.about-hero {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.about-gallery-section {
    position: relative;
    background: #f8d9df;
    padding: 80px 0 120px 0;
}

.about-gallery-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    height: 120px;

    background: linear-gradient(to bottom,
            #e3a9a9 0%,
            #f8d9df 100%);

    z-index: 0;
}

.about-gallery-section>* {
    position: relative;
    z-index: 1;
}

.gallery-title {
    font-weight: 600;
    margin-bottom: 40px;
    color: #5a1a1a;
}

/* ===== SWIPER GALLERY ===== */

.aboutSwiper {
    margin-top: 40px;
    padding-bottom: 40px;
    /* место под пагинацию */
}

/* сами карточки */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== ПАГИНАЦИЯ ПОД СЛАЙДЕРОМ ===== */
/* Обёртка — центрирует блок */
.gallery-controls-wrapper {
    margin-top: 35px;
    text-align: center;
}

/* Сам блок с цифрами и стрелками */
.gallery-controls {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

/* Убираем дефолтную ширину swiper */
.gallery-pagination {
    position: relative !important;
    width: auto !important;
    display: flex;
}

/* Цифры */
.gallery-pagination .swiper-pagination-bullet {
    background: transparent;
    color: #5a1a1a;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.6;
    margin: 0 6px;
    transition: 0.3s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
    color: #ff2e55;
    opacity: 1;
}

/* Стрелки */
.gallery-prev-inline,
.gallery-next-inline {
    font-size: 20px;
    font-weight: 600;
    color: #5a1a1a;
    cursor: pointer;
    transition: 0.3s ease;
}

.gallery-prev-inline::before {
    content: "<";
}

.gallery-next-inline::before {
    content: ">";
}

.gallery-prev-inline:hover,
.gallery-next-inline:hover {
    color: #ff2e55;
}

/* ===================================== */
/* ========== FEATURES ========= */
/* ===================================== */
.features-section {
    padding: 60px 0 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stars {
    display: flex;
    gap: 12px;
}

.stars i {
    font-size: 26px;
    color: #5a1a1a;
}

.feature-item i {
    font-size: 30px;
    color: #5a1a1a;
}

.feature-title {
    font-size: 17px;
    font-weight: 500;
    color: #5a1a1a;
}

.stars {
    display: flex;
    gap: 12px;
}

.stars i {
    font-size: 26px;
    color: #5a1a1a;
}

.feature-item i {
    font-size: 30px;
    color: #5a1a1a;
}

.feature-title {
    font-size: 17px;
    font-weight: 500;
    color: #5a1a1a;
}

/* ===================================== */
/* ========== GLOBAL BACKGROUND ========= */
/* ===================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;

    background: linear-gradient(to bottom,
            #f8d9df 100%,
            #f2c7d1 45%,
            #eab6c3 80%,
            #f2c7d1 0%);

}

/* ================= FOOTER ================= */

.footer-main {
    position: relative;
    padding: 120px 0 80px 0;
    color: #5a1a1a;

    background: linear-gradient(to bottom,
            #f8d9df 0%,
            #d88484 120px,
            #d88484 100%);
    z-index: 0;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 6px;
    font-size: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #5a1a1a;
    transition: 0.2s ease;
}

.footer-links-a {
    color: #5a1a1a;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 18px;
    font-size: 22px;
}

.footer-social i {
    cursor: pointer;
    transition: 0.2s ease;
}

.footer-social a {
    color: #2b1b1b;
}

.footer-social i:hover {
    opacity: 0.7;
}

.footer-main>* {
    position: relative;
    z-index: -1;
}


.footer-transition {
    height: 120px;
    background: linear-gradient(to bottom,
            rgba(248, 217, 223, 0) 0%,
            rgba(248, 217, 223, 0.7) 40%,
            #f8d9df 100%);
}



.catalog-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5a1a1a;
    margin-bottom: 60px;
    position: relative;
}

/* ===================================== */
/* ========== CATALOG ========= */
/* ===================================== */
.catalog-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6f8a, #ff2e55);
    display: block;
    margin-top: 12px;
}

.catalog-btn {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s ease;
}

.catalog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 46, 85, 0.35);
}

/* ===== CATALOG DROPDOWN ===== */

.catalog-dropdown {
    background: #1f252b;
    border: none;
    border-radius: 22px;
    padding: 28px 26px;
    min-width: 260px;

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.catalog-dropdown label,
.catalog-dropdown p {
    color: #ffffff;
    font-size: 16px;
}

.catalog-dropdown p {
    margin-top: 18px;
    margin-bottom: 12px;
    font-weight: 500;
}

/* ===== CUSTOM CHECKBOX ===== */

.catalog-dropdown .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
}

.catalog-dropdown .form-check-input:checked {
    background-color: #ff2e55;
    border-color: #ff2e55;
}

.catalog-dropdown .form-check-input[type="radio"] {
    border-radius: 50%;
}

.catalog-dropdown .form-check {
    margin-bottom: 10px;
}

/* ===== SUBMIT BUTTON ===== */

.catalog-dropdown .btn {
    background: linear-gradient(135deg, #2d7ef7, #1f6de0);
    border: none;
    border-radius: 14px;
    padding: 10px 20px;
    font-weight: 500;
    margin-top: 18px;
}

.catalog-dropdown .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ===== DROPDOWN CONTAINER ===== */

.catalog-dropdown {
    background: #f8d9df;
    border: none;
    border-radius: 26px;
    padding: 30px;
    min-width: 270px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ===== LABELS ===== */

.catalog-dropdown label,
.catalog-dropdown p {
    color: #5a1a1a;
}

.catalog-dropdown p {
    font-weight: 600;
}

/* ===== CHECKBOX & RADIO ===== */

.catalog-dropdown .form-check {
    margin-bottom: 10px;
}

.catalog-dropdown .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    background: transparent;
    cursor: pointer;
}

.catalog-dropdown .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #5a1a1a;
    background: transparent;
}

.catalog-dropdown .form-check-input:checked {
    background-color: #ff2e55;
    border-color: #ff2e55;
}

/* ===== SUBMIT BUTTON ===== */

.catalog-submit {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    border: none;
    border-radius: 30px;
    padding: 12px 22px;
    font-weight: 600;
    color: white;
    margin-top: 20px;
    width: 100%;
    transition: 0.3s ease;
}

.catalog-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 46, 85, 0.35);
}

/* ===== CATEGORY LINKS ===== */

.catalog-dropdown .dropdown-item {
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
    transition: 0.2s ease;
}

.catalog-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.catalog-dropdown .dropdown-item.active {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================= */
/* ===== CATEGORIES DROPDOWN ==== */
/* ============================= */

.catalog-categories {
    background: rgba(248, 217, 223, 0.97);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 28px;
    padding: 25px 0;
    min-width: 260px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* ссылки */
.catalog-categories .dropdown-item {
    color: #5a1a1a;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 14px;
    transition: 0.25s ease;
}

/* hover */
.catalog-categories .dropdown-item:hover {
    background: rgba(255, 46, 85, 0.12);
    color: #ff2e55;
}

/* active */
.catalog-categories .dropdown-item.active {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    color: white !important;
}

/* ============================= */
/* ===== CUSTOM PAGINATION ===== */
/* ============================= */

.pagination {
    gap: 10px;
}

.pagination .page-link {
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 600;
    color: #5a1a1a;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.25s ease;
}

.pagination .page-link:hover {
    background: rgba(255, 46, 85, 0.15);
    color: #ff2e55;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 46, 85, 0.35);
}

.pagination .page-link:focus {
    box-shadow: none;
}


/* ============================= */
/* ===== CONTACT PAGE ========= */
/* ============================= */

.contact-page {
    padding: 120px 0 100px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #5a1a1a;
    margin-bottom: 70px;
}

.contact-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #5a1a1a;
    margin-bottom: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item strong {
    color: #5a1a1a;
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    margin: 0;
    color: rgba(90, 26, 26, 0.8);
}

/* FORM */

.contact-input {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    transition: 0.3s ease;
}

.contact-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 46, 85, 0.3);
}

.contact-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    border: none;
    border-radius: 30px;
    padding: 14px;
    font-weight: 600;
    color: white;
    transition: 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 46, 85, 0.35);
}



/* ===== MODERN CART ===== */
.btn-primary {
    background: linear-gradient(135deg, #ff4d6d, #ff2e55);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff2e55, #ff4d6d);
}


.cart-row-modern {
    padding: 20px 0;
    border-bottom: 1px solid rgba(90, 26, 26, 0.1);
    gap: 20px;
}

.cart-product-modern {
    gap: 16px;
    min-width: 300px;
}

.cart-img-modern {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.cart-name-modern {
    font-weight: 600;
    color: #5a1a1a;
}

.cart-stock-modern {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-ok {
    width: 7px;
    height: 7px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
}

.dot-no {
    width: 7px;
    height: 7px;
    background: #ff2e55;
    border-radius: 50%;
    display: inline-block;
}

.cart-remove-modern {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 46, 85, 0.15);
    color: #ff2e55;
    font-weight: 700;
    border: 1px solid rgba(255, 46, 85, 0.3);
}

.cart-quantity-modern {
    max-width: 170px;
}

.cart-price-modern {
    color: rgba(90, 26, 26, 0.8);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-unit {
    font-size: 13px;
    opacity: 0.7;
}

.cart-total-modern {
    font-size: 20px;
    font-weight: 700;
    color: #5a1a1a;
}

.cart-divider {
    margin: 30px 0;
    opacity: 0.2;
}

.cart-summary-modern {
    font-size: 20px;
    margin-bottom: 25px;
}

.cart-summary-price {
    font-size: 32px;
    font-weight: 700;
    color: #5a1a1a;
}

/* ============================= */
/* ===== ORDER HISTORY ========= */
/* ============================= */


.orders-main .accordion-item {
    border: none;
    background: transparent;
}

.orders-title {
    font-size: 20px;
    font-weight: 600;
    color: #5a1a1a;
}

.orders-list {
    margin-top: 15px;
}


/* карточка заказа */

.order-card {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* header заказа */

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #5a1a1a;
}

.order-id {
    font-size: 17px;
}

.order-price {
    font-size: 18px;
    font-weight: 700;
}


/* статус */

.order-status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-status-badge {
    background: linear-gradient(135deg, #4CAF50, #3ca142);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
}


/* строки товаров */

.order-row {
    display: grid;
    grid-template-columns: 1fr 90px 140px 100px;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
}

.order-product {
    font-weight: 500;
}

.order-qty {
    text-align: center;
}

.order-unit {
    text-align: right;
    color: #555;
}

.order-total {
    text-align: right;
    font-weight: 600;
}


/* итог */

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
}

.order-total-price {
    color: #5a1a1a;
}


/* нет заказов */

.orders-empty {
    text-align: center;
    padding: 20px;
    color: #777;
}

.order-header {
    position: relative;
}

.order-title {
    font-weight: 600;
}

.order-sum {
    position: absolute;
    right: 45px;
    /* место перед стрелкой */
    font-weight: 700;
}

@media (max-width: 768px) {

    .cart-product-modern {
        min-width: 0;
        /* КЛЮЧ */
    }

    .cart-title-modern {
        min-width: 0;
    }

    .cart-name-modern {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cart-row-modern {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* первая линия */
    .cart-product-modern {
        width: 70%;
    }

    .cart-remove-modern {
        width: 20%;
        text-align: right;
    }

    /* вторая линия */
    .cart-quantity-modern,
    .cart-price-modern,
    .cart-total-modern {
        width: 33%;
        font-size: 14px;
    }

}


.btn-link {
    color: #ff2e55;
    text-decoration: none;
    font-weight: 500;
}

.btn-link:hover {
    color: #ff2e55;
    text-decoration: underline;
}

.btn-link:focus {
    box-shadow: none;
}

.custom-marker {
    background: transparent;
    border: none;
}


/* MARKERS */

.custom-map-marker {
    background: none;
    border: none;
}

.marker-wrapper {
    position: relative;
    width: 30px;
    height: 42px;
}

.marker-pin {
    width: 26px;
    height: 26px;
    background: #ff2e55;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    left: 2px;
    top: 0;
    border: 3px solid white;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.marker-shadow {
    width: 14px;
    height: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 8px;
    filter: blur(2px);
}

/* radio style */
.form-check-input {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #ff2e55;
    border-color: #ff2e55;
}

.form-check-input:focus {
    border-color: #ff2e55;
    box-shadow: 0 0 0 .2rem rgba(255, 46, 85, .25);
}

.order-cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* LEFT */
.order-cart-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 40%;
}

/* IMAGE */
.order-cart-image img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
}

/* TITLE */
.order-cart-title {
    max-width: 200px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* MIDDLE */
.order-cart-middle {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* QUANTITY */
.order-cart-quantity input {
    width: 50px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

/* UNIT PRICE */
.order-cart-unit-price {
    color: #777;
}

/* RIGHT (TOTAL) */
.order-cart-right {
    font-weight: 700;
    font-size: 16px;
    color: #5a1a1a;
    min-width: 90px;
    text-align: right;
}

@media (max-width: 400px) {

    .order-cart-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* верх */
    .order-cart-left {
        width: 100%;
    }

    /* средний блок */
    .order-cart-middle {
        width: 100%;
        justify-content: space-between;
    }

    /* цена вниз */
    .order-cart-right {
        width: 100%;
        text-align: right;
        font-size: 18px;
    }

    /* уменьшаем картинку */
    .order-cart-image img {
        width: 55px;
        height: 55px;
    }

    /* текст компактнее */
    .order-cart-title {
        max-width: 150px;
        font-size: 14px;
    }

}

#rightAccordion .accordion-body {
    max-height: 800px;
    overflow-y: auto;

    scrollbar-width: thin;
}

#leftAccordion .accordion-body {
    max-height: 800px;
    overflow-y: auto;

    scrollbar-width: thin;
}

