@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700;14..32,800&display=swap');
/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --black: #111111;
    --yellow: #f7c948;
    --yellow-light: #fde9b3;
    --yellow-dark: #dba52b;
    --gray-50: #f8f8f8;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-300: #c0c0c0;
    --gray-600: #666666;
    --gray-800: #333333;
    --gray-900: #1a1a1a;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
}

body {
    background-color: var(--white);
    color: var(--gray-900);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mb-1 {margin-bottom:0.5rem;}
.mb-2 {margin-bottom:1rem;}
.mb-3 {margin-bottom:1.5rem;}
.mb-4 {margin-bottom:2rem;}
.mb-5 {margin-bottom:2.5rem;}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- TYPOGRAPHY ----- */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.section-title span {
    color: var(--yellow-dark);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 3rem;
    border-left: 4px solid var(--yellow);
    padding-left: 1.2rem;
}

/* ----- HEADER / NAV ----- */
.main-header {
    padding: 14px 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--yellow-dark);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 6px 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gray-900);
    border-bottom-color: var(--yellow);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    padding: 6px 14px 6px 12px;
    border-radius: 40px;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-icon:hover {
    border-color: var(--yellow);
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-count {
    background: var(--yellow);
    color: var(--gray-900);
    border-radius: 30px;
    padding: 1px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    transition: var(--transition);
}

/* ----- HERO СЛАЙДЕР ----- */
.hero {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 40px 0 50px;
    background: linear-gradient(135deg, #fffdf5 0%, #fff8e7 40%, #ffffff 100%);
    border-bottom: 2px solid var(--gray-100);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.hero-slide {
    display: none;
    animation: slideFade 0.8s ease forwards;
}

.hero-slide.active {
    display: block;
}

@keyframes slideFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide .hero__title {
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--gray-900);
    max-width: 900px;
}

.hero-slide .hero__title span {
    color: var(--yellow-dark);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide .hero__tagline {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 400;
    color: var(--gray-600);
    max-width: 600px;
    margin-top: 6px;
}

.hero__controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero__dot.active {
    background: var(--yellow-dark);
    transform: scale(1.2);
}

.hero__dot:hover {
    background: var(--yellow);
}

.hero__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem 2.5rem;
    padding: 1.2rem 0 0.3rem;
    border-top: 2px solid var(--gray-100);
    margin-top: 1.5rem;
}

.hero__phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition);
}

.hero__phone:hover {
    color: var(--yellow-dark);
}

.hero__badge {
    background: var(--yellow);
    color: var(--gray-900);
    padding: 0.3rem 1.4rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(247, 201, 72, 0.3);
}

/* ----- SVG иконки ----- */
.icon-svg {
    width: 56px;
    height: 56px;
    display: inline-block;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.icon-svg svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--yellow-dark);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-svg.yellow-fill svg {
    fill: var(--yellow);
    stroke: var(--yellow-dark);
}

.icon-svg.small {
    width: 40px;
    height: 40px;
}

/* ----- СТРАНИЦЫ (общие) ----- */
.page-section {
    padding: 60px 0 80px;
    background: var(--white);
    display: none;
}

.page-section.active {
    display: block;
}

.page-section .section-sub {
    margin-bottom: 2rem;
}

/* ----- КАТАЛОГ (карточки) ----- */
.catalog-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 10px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px 20px 28px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    border: 2px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--yellow);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card__image {
    background: var(--gray-50);
    border-radius: 16px;
    /*padding: 20px 10px;*/
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    /*border: 1px solid var(--gray-100);*/
    transition: var(--transition);
}

.product-card:hover .product-card__image {
    background: var(--yellow-light);
    border-color: var(--yellow);
}

.product-card__image svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.product-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.product-card__desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 16px;
    flex: 1;
}

.product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 4px;
    border-top: 2px solid var(--gray-100);
    padding-top: 16px;
}

.product-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--yellow-dark);
    letter-spacing: -0.01em;
}

.btn-buy {
    background: var(--yellow);
    color: var(--gray-900);
    border: none;
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(247, 201, 72, 0.25);
    z-index: 5;
}

.btn-buy:hover {
    background: var(--yellow-dark);
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(247, 201, 72, 0.35);
}

.btn-buy:active {
    transform: scale(0.96);
}

.btn-buy.outline {
    background: transparent;
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
    box-shadow: none;
}

.btn-buy.outline:hover {
    background: var(--gray-50);
    border-color: var(--yellow);
    color: var(--yellow-dark);
    box-shadow: none;
    transform: scale(1.02);
}

.btn-back {
    background: transparent;
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-back:hover {
    color: var(--gray-900);
    border-color: var(--gray-800);
    background: var(--gray-50);
}

/* ----- СТРАНИЦА ТОВАРА (деталка) ----- */
.product-detail {
    padding: 50px 0 80px;
    background: var(--white);
    display: none;
}

.product-detail.active {
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-gallery {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 40px 20px;
    border: 2px solid var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    transition: var(--transition);
}

.detail-gallery:hover {
    border-color: var(--yellow);
    background: var(--yellow-light);
}

.detail-gallery svg {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

.detail-info h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.detail-info .price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow-dark);
    margin: 12px 0 18px;
    display: block;
}

.detail-info p {
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.detail-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.detail-info ul li {
    padding: 8px 0 8px 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f7c948' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") left center no-repeat;
    background-size: 20px;
    color: var(--gray-800);
    font-weight: 400;
    border-bottom: 1px solid var(--gray-100);
}

.detail-info ul li:last-child {
    border-bottom: none;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

/* ----- КОРЗИНА (cart page) ----- */
.cart-page {
    padding: 50px 0 80px;
    background: var(--white);
    display: none;
}

.cart-page.active {
    display: block;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
    font-size: 1.2rem;
    font-weight: 400;
    background: var(--gray-50);
    border-radius: 24px;
    border: 2px dashed var(--gray-200);
}

.cart-empty .emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 16px;
    align-items: center;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 18px;
    border: 2px solid var(--gray-100);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cart-item:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
}

.cart-item__thumb {
    width: 50px;
    height: 50px;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
}

.cart-item__thumb svg {
    width: 40px;
    height: auto;
}

.cart-item__name {
    font-weight: 600;
    color: var(--gray-900);
}

.cart-item__price {
    color: var(--yellow-dark);
    font-weight: 700;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--gray-300);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 30px;
}

.cart-item__remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 16px;
    border-top: 2px solid var(--gray-100);
    font-size: 1.4rem;
    font-weight: 700;
    flex-wrap: wrap;
    gap: 16px;
}

.cart-total span:last-child {
    color: var(--yellow-dark);
    font-size: 2rem;
}

.cart-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ----- СТРАНИЦЫ: О НАС, УСЛУГИ, ФОТО/ВИДЕО, КОНТАКТЫ ----- */
.about-grid,
.services-grid,
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.about-card,
.service-card,
.media-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px 24px;
    border: 2px solid var(--gray-100);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-card:hover,
.service-card:hover,
.media-card:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.about-card h3,
.service-card h3,
.media-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.about-card p,
.service-card p,
.media-card p {
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.6;
}

.media-card .media-placeholder {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--gray-100);
    margin-bottom: 14px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.media-card:hover .media-placeholder {
    background: var(--yellow-light);
    border-color: var(--yellow);
}

.contacts-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 20px;
}

.contacts-page-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 1rem;
    border: 2px solid var(--gray-100);
    transition: var(--transition);
}

.contacts-page-item:hover {
    border-color: var(--yellow);
    background: var(--yellow-light);
}

.contacts-page-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts-page-item p,
.contacts-page-item a {
    color: var(--gray-600);
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
}

.contacts-page-item a:hover {
    color: var(--yellow-dark);
}

/* ----- ФУТЕР ----- */
.contacts-footer {
    padding: 60px 0 50px;
    background: var(--gray-50);
    border-top: 2px solid var(--gray-100);
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.footer-info-item h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow-dark);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
}

.footer-info-item h4 .icon-svg {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer-info-item h4 .icon-svg svg {
    stroke: var(--yellow-dark);
    stroke-width: 2;
    width: 24px;
    height: 24px;
}

.footer-info-item a,
.footer-info-item span {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

.footer-info-item a:hover {
    color: var(--yellow-dark);
}

.footer {
    padding: 30px 0 24px;
    background: var(--white);
    border-top: 2px solid var(--gray-100);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__links button {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: underline 1px transparent;
    text-underline-offset: 4px;
    font-family: inherit;
}

.footer__links button:hover {
    color: var(--gray-900);
    text-decoration-color: var(--yellow);
}

.footer__copy {
    color: var(--gray-300);
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 1rem;
}

/* ----- МОДАЛКИ ----- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 32px;
    max-width: 500px;
    width: 100%;
    padding: 34px 28px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.96) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--gray-900);
}

.modal h3 span {
    color: var(--yellow-dark);
}

.modal p {
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal .btn-close {
    background: var(--yellow);
    color: var(--gray-900);
    border: none;
    padding: 10px 32px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(247, 201, 72, 0.25);
}

.modal .btn-close:hover {
    background: var(--yellow-dark);
    transform: scale(1.02);
}

/* ----- COOKIE БАННЕР (внизу) ----- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: 20px 24px;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--yellow);
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    min-width: 200px;
}

.cookie-banner .btn-cookie {
    background: var(--yellow);
    color: var(--gray-900);
    border: none;
    padding: 10px 30px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-banner .btn-cookie:hover {
    background: var(--yellow-dark);
    transform: scale(1.03);
}

.cookie-banner .btn-cookie-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-banner .btn-cookie-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

/* ----- TOAST ----- */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 60px;
    border: 1px solid var(--yellow);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    max-width: 90%;
    text-align: center;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .detail-gallery {
        min-height: 200px;
    }
    .detail-info h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    .nav-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
    .cart-item {
        grid-template-columns: 50px 1fr auto;
        gap: 12px;
    }
    .cart-item__price {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    .cart-item__remove {
        grid-column: 3;
        grid-row: 1 / 3;
    }
    .hero-slide .hero__title {
        font-size: 2.2rem;
    }
    .about-grid,
    .services-grid,
    .media-grid,
    .contacts-page-grid {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }
    .cookie-banner .btn-cookie,
    .cookie-banner .btn-cookie-outline {
        width: 100%;
    }
    .footer-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        min-height: 40vh;
        padding: 30px 0 40px;
    }
    .hero-slide .hero__title {
        font-size: 1.8rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-card__bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-buy {
        width: 100%;
        justify-content: center;
    }
    .cart-total {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .detail-actions {
        flex-direction: column;
    }
    .detail-actions .btn-buy,
    .detail-actions .btn-back {
        width: 100%;
        justify-content: center;
    }
    .nav-actions {
        gap: 6px;
    }
    .nav-link {
        font-size: 0.72rem;
        padding: 4px 0;
    }
    .cart-icon {
        padding: 4px 10px 4px 8px;
        font-size: 0.75rem;
    }
    .cookie-banner p {
        font-size: 0.8rem;
    }
    .footer-info-grid {
        grid-template-columns: 1fr;
    }
}

/* анимация появления */
.product-card {
    opacity: 0;
    animation: cardFade 0.6s ease forwards;
}
.product-card:nth-child(1) {
    animation-delay: 0.05s;
}
.product-card:nth-child(2) {
    animation-delay: 0.12s;
}
.product-card:nth-child(3) {
    animation-delay: 0.2s;
}
.product-card:nth-child(4) {
    animation-delay: 0.28s;
}

@keyframes cardFade {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-page {
    display: none !important;
}
.stretched-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}
.btn-group .qty-input {
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    width: 5rem;
    background: transparent;
}
.btn-group .qty-input::-webkit-outer-spin-button,
.btn-group .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ms2-cart-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: var(--yellow);
    border-radius: 60px;
    padding: 0.5rem 0.5rem;
}
.ms2-cart-controls-inner .badge {
    white-space: nowrap;
    padding: 0 0.5rem;
}
.ms2-cart-controls-inner .btn-group {
    display: flex;
}