.contact-info-section .card,
.faq-section .accordion {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info-section .card:hover {
    box-shadow: var(--shadow-md);
}

.contact-info-section .card-title,
.faq-section h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.contact-info-section ul li strong {
    color: var(--secondary-color);
}

.faq-section .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--surface-color);
    color: var(--secondary-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-body {
    padding: 1rem 1.25rem 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
}
:root {
    --primary-color: #0d2137;
    --primary-dark: #061a2a;
    --secondary-color: #2d3436;
    --accent-color: #b8860b;
    --accent-hover: #d4a017;
    --background-color: #f8f6f3;
    --surface-color: #ffffff;
    --text-muted: #5c636a;
    --border-light: rgba(13, 33, 55, 0.08);
    --shadow-sm: 0 2px 12px rgba(13, 33, 55, 0.06);
    --shadow-md: 0 4px 24px rgba(13, 33, 55, 0.1);
    --shadow-lg: 0 12px 40px rgba(13, 33, 55, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--secondary-color);
}

section {
    position: relative;
}

.section-title,
h2.text-center.mb-5,
.categories-section h2,
.featured-products h2,
.services-section h2,
.products-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after,
h2.text-center.mb-5::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.py-5.bg-light {
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, var(--background-color) 100%) !important;
}

.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--surface-color) !important;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    backdrop-filter: blur(12px);
}

.navbar .container {
    max-width: 1200px;
}

.nav-menu-flex {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto !important;
    min-height: 48px;
}

.nav-menu-flex .nav-item {
    display: flex;
    align-items: center;
}

.nav-menu-flex .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem;
    white-space: nowrap;
}

.navbar {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 3px;
    font-size: 1.4rem;
}

.navbar .input-group {
    max-width: 280px;
}

.navbar .form-control {
    border-right: none;
    background-color: var(--background-color);
    border-radius: var(--radius) 0 0 var(--radius);
}

.navbar .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
    background-color: var(--surface-color);
}

.navbar .btn-outline-primary {
    border-left: none;
    border-color: #dee2e6;
    color: var(--primary-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.navbar .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.header-cart .cart-btn {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.header-cart .cart-btn:hover {
    color: var(--accent-color);
}

.cart-count {
    font-size: 0.9rem;
    min-width: 1.25rem;
    text-align: center;
}

.cart-count:empty::after {
    content: "0";
}

.snipcart-total-price {
    display: none !important;
}

@media (max-width: 991px) {
    .nav-menu-flex {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        max-width: none;
    }
    .nav-menu-flex .nav-link {
        padding: 0.65rem 1rem !important;
    }
}

.hero-section {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-section .carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-section .carousel-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-section .carousel-item {
    position: relative;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 520px;
}

.hero-section .carousel-caption {
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(13, 33, 55, 0.85) 0%, rgba(13, 33, 55, 0.4) 60%, transparent 100%);
    border-radius: var(--radius);
}

.hero-section .carousel-caption h1,
.hero-section .carousel-caption .lead {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-section .carousel-caption h1 {
    font-family: 'Playfair Display', serif;
}

.hero-section .carousel-caption .lead {
    opacity: 0.95;
}

.hero-section .carousel-caption .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
}

.hero-section .carousel-caption .btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 1;
    margin: 0 1rem;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-section .carousel-control-prev {
    left: 0;
}

.hero-section .carousel-control-next {
    right: 0;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: var(--surface-color);
    transform: translateY(-50%) scale(1.05);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
    background-size: 100% 100%;
    filter: invert(1);
    opacity: 0.7;
}

.hero-section .carousel-indicators {
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.hero-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.hero-section .carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.hero-section .carousel-indicators .active {
    background-color: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    border-top: none;
    padding: 3rem 0 2rem;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer p {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.category-card,
.product-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    background: var(--surface-color);
}

.category-card .card-img-top,
.product-card .card-img-top {
    transition: transform var(--transition);
    height: 280px;
    object-fit: cover;
}

/* На баннерах категорий показываем верх фото (лица), обрезка снизу */
.category-card .card-img-top {
    height: 340px;
    object-position: top center;
}

.category-card:hover .card-img-top,
.product-card:hover .card-img-top {
    transform: scale(1.03);
}

.category-card:hover,
.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.category-card .card-body {
    padding: 1.75rem;
}

.product-card .card-body {
    padding: 1.5rem;
}

.category-card .card-title,
.product-card .card-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.category-card .card-title a,
.product-card .card-title a {
    color: inherit;
    transition: color var(--transition);
}

.category-card .card-title a:hover,
.product-card .card-title a:hover {
    color: var(--accent-color);
}

.category-card .card-text,
.product-card .card-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-card .price {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card .btn-primary {
    border-radius: var(--radius);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(13, 33, 55, 0.25);
}

.service-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition), transform 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(184, 134, 11, 0.2);
}

.service-card i {
    color: var(--accent-color) !important;
    transition: transform var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-card .btn-outline-primary {
    border-radius: var(--radius);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.contact-section h2,
.contact-info-section .card-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info {
    padding: 0.5rem 0;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.contact-info .fas,
.contact-info-section .fas {
    color: var(--accent-color);
    width: 1.25rem;
    margin-right: 0.75rem;
}

.contact-section .btn-primary,
.contact-info-section .btn-primary {
    border-radius: var(--radius);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 1.5rem;
}

.alert {
    border-radius: var(--radius);
    border: none;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 33, 55, 0.06) 0%, rgba(184, 134, 11, 0.06) 100%);
    color: var(--secondary-color);
}

.list-group-item {
    border-color: var(--border-light);
    padding: 0.75rem 1rem;
}

.list-group-item:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.form-control,
.form-select {
    border-radius: var(--radius);
    border-color: var(--border-light);
    padding: 0.65rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.hero-section.py-5.bg-light .display-4,
.hero-section.py-5 .display-4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color) !important;
}

.hero-section.py-5.bg-light .lead,
.hero-section.py-5 .lead {
    color: var(--text-muted) !important;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.container.py-5 h1,
main.container h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 600;
}

.container .card,
main.container .card {
    border-radius: var(--radius-lg);
}

.nav-pills .nav-link {
    border-radius: var(--radius);
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-pills .nav-link:hover {
    background: rgba(13, 33, 55, 0.06);
    color: var(--primary-color);
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

.progress {
    background-color: rgba(13, 33, 55, 0.08);
    border-radius: 999px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 999px;
}

.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: var(--radius);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.container .row.g-4 {
    margin-top: 0.5rem;
}

.category-card .btn-outline-primary,
.service-card .btn-outline-primary {
    transition: transform 0.2s ease;
}

.category-card .btn-outline-primary:hover,
.service-card .btn-outline-primary:hover {
    transform: translateY(-1px);
}

.container.my-5 .img-fluid.rounded {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md);
}

.container.my-5 .card-title,
.container.my-5 .price {
    font-family: 'Playfair Display', serif;
}

.container.my-5 .btn-primary {
    border-radius: var(--radius);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.appointment-section .card,
.contact-info-section .card {
    border-radius: var(--radius-lg);
}

.policy-pages .container h2,
.container.py-5 h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.container.py-5 p,
main.container p {
    line-height: 1.75;
}

.cookie-consent {
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    background: var(--surface-color) !important;
}

.cookie-consent .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: var(--radius);
}

.cookie-consent .btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}
