/* ============================
    RESET & BASE STYLES
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --color-primary: #11120f;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-alt: #f8f8f8;
    --color-bg-section: rgba(219, 219, 219, 0.5);
    --color-border: #ccc;
    --color-border-light: #e0e0e0;
    --color-success: #28a745;
    --color-danger: #dc3545;

    /* Typography */
    --font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: clamp(14px, 1.5vw, 16px);
    --font-size-small: clamp(13px, 1.3vw, 14px);
    --font-size-large: clamp(18px, 2vw, 22px);
    --font-size-xlarge: clamp(24px, 3vw, 32px);
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Layout */
    --container-max: 1440px;
    --container-padding: clamp(20px, 5vw, 70px);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;

    /* Animation */
    --transition-base: 0.3s ease;
    --transition-fast: 0.15s ease;

    /* Z-index */
    --z-sticky: 1000;
    --z-overlay: 998;
    --z-sidebar: 999;
    --z-popup: 10001;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

a:hover {
    opacity: 0.8;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============================
    UTILITIES
============================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================
    AGE VERIFICATION POPUP
============================ */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(17, 18, 15, 0.95);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-popup);
    animation: fadeIn 0.4s ease;
}

.age-popup.show {
    display: flex;
}

.age-popup__content {
    background: var(--color-bg);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease;
}

.age-popup__title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.age-popup__text {
    font-size: var(--font-size-base);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.age-popup__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.age-popup__btn {
    padding: 0.75rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.age-popup__btn--yes {
    background: var(--color-primary);
    color: var(--color-bg);
}

.age-popup__btn--yes:hover {
    background: #2b2b2b;
    opacity: 1;
}

.age-popup__btn--no {
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.age-popup__btn--no:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    opacity: 1;
}

.age-popup__footer {
    font-size: var(--font-size-small);
    color: var(--color-text-light);
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================
    HEADER
============================ */
.header {
    position: sticky;
    top: 0;
    background: var(--color-primary);
    padding: var(--spacing-xs) 0;
    z-index: var(--z-sticky);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__logo {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-bg);
}

.header__nav {
    justify-self: center;
}

.header__nav-list {
    display: flex;
    gap: var(--spacing-xl);
}

.header__nav-link {
    color: var(--color-bg);
    font-weight: 500;
    font-size: var(--font-size-large);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-bg);
    transition: width var(--transition-base);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    gap: var(--spacing-sm);
}

.header__cart-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-bg);
    padding: 0.2rem 1rem;
    border: 2px solid var(--color-bg);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-large);
    transition: all var(--transition-base);

    position: relative;
}

.header__cart-btn:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    opacity: 1;
}

.header__cart-icon {
    width: 24px;
    height: 24px;
}

.header__cart-count {
    font-size: 20px;
}

.header__menu-btn {
    display: none;
    color: var(--color-bg);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--color-bg);
    padding: 0.5rem 1rem;
    font-size: var(--font-size-large);
    border-radius: var(--border-radius);
}

/* Mobile Menu */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: var(--z-overlay);
    transition: opacity var(--transition-base);
}

.overlay.active {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--color-bg);
    z-index: var(--z-sidebar);
    transition: left var(--transition-base);
    display: grid;
    grid-template-rows: auto 1fr auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar__header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.sidebar__title {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--color-primary);
}

.sidebar__close {
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
}

.sidebar__nav {
    padding: var(--spacing-md) 0;
    overflow-y: auto;
}

.sidebar__nav-link {
    display: block;
    padding: var(--spacing-md);
    color: var(--color-text);
    font-weight: 600;
    font-size: var(--font-size-large);
    transition: background var(--transition-base);
}

.sidebar__nav-link:hover {
    background: var(--color-bg-alt);
    opacity: 1;
}

.sidebar__footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border-light);
}

.sidebar__action-btn {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    text-align: center;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-weight: 700;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.sidebar__social-links {
    display: flex;
}

.sidebar__action-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    opacity: 1;
}

/* ============================
    HERO SECTION
============================ */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero__text {
    font-size: var(--font-size-large);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.hero__socials {
    display: flex;
    /* justify-content: center; */
    margin-top: 20px;
}

.hero__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero__social-link:hover {
    background: var(--color-primary-dark, #0052cc);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.hero__social-icon {
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.hero__social-link:hover .hero__social-icon {
    transform: rotate(10deg);
}


.hero__image {
    text-align: center;
}

.hero__img {
    max-width: 500px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================
    CATALOG SECTION
============================ */
.catalog {
    padding: var(--spacing-xl) 0;
}

.catalog__title {
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.catalog__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    /* gap: var(--spacing-md); */
    /* margin-bottom: var(--spacing-xl); */
}

.catalog__search {
    display: grid;
    grid-template-columns: 1fr auto;
    /* max-width: 900px; */
}

.catalog__search-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base);
}

.catalog__search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.catalog__search-btn {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 0.75rem 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 700;
    text-transform: uppercase;
    transition: background var(--transition-base);
}

.catalog__search-btn:hover {
    background: #2b2b2b;
}

.catalog__filters {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

/* ============================
   SKELETON LOADING STYLES
============================ */

/* Скелетон карточки */
.product-card--skeleton {
    pointer-events: none;
    user-select: none;
}

.product-card--skeleton .product-card__image {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Скелетон текста */
.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text--title {
    width: 60%;
    height: 20px;
}

.skeleton-text--price {
    width: 40%;
    height: 20px;
}

.skeleton-text--subtitle {
    width: 80%;
    height: 14px;
    margin-bottom: 16px;
}

/* Скелетон кнопок */
.skeleton-button {
    height: 40px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
}

/* Анимация загрузки */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

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

/* Плавное появление карточек */
.product-card {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card--loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================
   SEARCH HIGHLIGHT
============================ */

.search-highlight {
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* ============================
   LOADING INDICATOR
============================ */

.search-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    grid-column: 1 / -1;
}

.search-loading__spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-border-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================
   RESPONSIVE SKELETON
============================ */

@media (max-width: 768px) {
    .skeleton-text--title {
        width: 70%;
    }

    .skeleton-text--price {
        width: 50%;
    }

    .skeleton-text--subtitle {
        width: 90%;
    }
}

.catalog__filter {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    background: var(--color-bg);
    cursor: pointer;
    transition: all var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%2311120f' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.catalog__filter:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-alt);
}

.catalog__filter:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 18, 15, 0.1);
}


/* ============================
    PRODUCTS GRID
============================ */
.products {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-card__content {
    padding: var(--spacing-md);
}

.product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-xs);
}

.product-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-success);
}

.product-card__subtitle {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.product-card__actions {
    display: grid;
    gap: var(--spacing-xs);
}

.product-card__btn {
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-align: center;
    transition: all var(--transition-base);
}

.product-card__btn--info {
    background: var(--color-border-light);
    color: var(--color-primary);
    border: 2px solid var(--color-border);
}

.product-card__btn--info:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.product-card__btn--cart {
    background: var(--color-primary);
    color: var(--color-bg);
}

.product-card__btn--cart:hover {
    background: #2b2b2b;
}

/* Product Popup */
.product-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-popup);
    padding: var(--spacing-md);
}

.product-popup.show {
    display: flex;
}

.product-popup__content {
    background: var(--color-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    position: relative;
    animation: scaleIn 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--color-text);
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-base);
}

.product-popup__close:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: rotate(90deg);
}

.product-popup__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-popup__info {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
}

.product-popup__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    /* margin-bottom: var(--spacing-xs); */
}

.product-popup__variant {
    font-size: var(--font-size-large);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.product-popup__description {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    overflow-y: auto;
    max-height: 200px;
}

.product-popup__cart-btn {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: var(--font-size-large);
    transition: background var(--transition-base);
}

.product-popup__cart-btn:hover {
    background: #2b2b2b;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.pagination__btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: var(--color-bg-alt);
    color: var(--color-text);
    font-weight: 600;
    transition: all var(--transition-base);
}

.pagination__btn:hover:not(:disabled):not(.active) {
    background: var(--color-text);
    color: var(--color-bg);
}

.pagination__btn.active {
    background: var(--color-primary);
    color: var(--color-bg);
    cursor: default;
}

.pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================
    INFO SECTION
============================ */
.info {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background: var(--color-bg);
    position: relative;
}

.info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--color-bg-section);
    clip-path: polygon(0 50%, 100% 70%, 100% 100%, 0 100%);
}

.info__subtitle {
    display: block;
    font-size: var(--font-size-large);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.info__title {
    font-size: var(--font-size-xlarge);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.info__text {
    max-width: 850px;
    margin: 0 auto var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.info__text strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================
    BENEFITS SECTION
============================ */
.benefits {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-section);
}

.benefits__title {
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.benefit-card {
    text-align: center;
}

.benefit-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.benefit-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.benefit-card__description {
    font-size: var(--font-size-base);
    color: var(--color-text);
}

/* ============================
    ACCORDION SECTION
============================ */
.accordion-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
    background: var(--color-bg-section);
}

.accordion-section__title {
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.accordion__item {
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.accordion__item.active {
    background: var(--color-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-size-base);
    user-select: none;
    transition: background var(--transition-base);
}

.accordion__header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.accordion__icon {
    font-size: 1.5rem;
    color: var(--color-text-light);
    transition: transform var(--transition-base);
    line-height: 1;
}

.accordion__item.active .accordion__icon {
    transform: rotate(45deg);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    background: var(--color-bg);
}

.accordion__item.active .accordion__content {
    max-height: 600px;
    padding: var(--spacing-md);
}

.accordion__list {
    padding-left: var(--spacing-md);
}

.accordion__list-item {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    position: relative;
    padding-left: var(--spacing-md);
}

.accordion__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================
    FOOTER
============================ */
.footer {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.footer__logo {
    font-size: var(--font-size-xlarge);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-bg);
}

.footer__text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.footer__socials {
    display: flex;
    /* justify-content: center; */
    margin-top: 20px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #11120f;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.footer__social-link:hover {
    background: #00a2ff;
    /* фирменный цвет Telegram */
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 162, 255, 0.4);
}

.footer__social-icon {
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
    transform: rotate(10deg);
}


.footer__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer__cities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.footer__city-link {
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    font-size: var(--font-size-small);
}

.footer__city-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-bg);
    opacity: 1;
}

/* ============================
    RESPONSIVE DESIGN
============================ */

/* Tablets & Small Desktops */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__img {
        max-width: 350px;
        margin: 0 auto;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__socials {
        justify-content: center;
    }

    .hero__image {
        order: -1;
    }

    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }

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

    .catalog__search {
        max-width: 100%;
    }
}

/* Tablets */
@media (max-width: 994px) {

    .header__nav,
    .header__actions {
        display: none;
    }

    .header__container {
        display: flex;
        justify-content: space-between;
    }

    .header__menu-btn {
        display: block;
        max-width: 100px;
    }

    .header__container {
        grid-template-columns: auto 1fr;
    }

    .benefits__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }

    .product-popup__content {
        grid-template-columns: 1fr;
        max-width: 95%;
    }

    .product-popup__image {
        height: 250px;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile Portrait */
@media (max-width: 600px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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

    .catalog__search-input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    .catalog__search-btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        padding: 0.75rem;
    }

    .catalog__filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .catalog__filter {
        padding: 0.75rem 1rem;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .product-card__image {
        height: 250px;
    }

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

    .accordion__header {
        font-size: var(--font-size-small);
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    :root {
        --container-padding: 15px;
    }

    .hero__social-icon {
        width: 36px;
        height: 36px;
    }

    .sidebar {
        width: 280px;
        left: -280px;
    }

    .age-popup__buttons {
        flex-direction: column;
        width: 100%;
    }

    .age-popup__btn {
        width: 100%;
    }

    .footer__cities {
        justify-content: flex-start;
    }
}

/* ============================
    PRINT STYLES
============================ */
@media print {

    .header,
    .sidebar,
    .overlay,
    .age-popup,
    .product-popup,
    .footer__socials {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}

/* ============================
    LOADING & ANIMATION STYLES
============================ */

/* Skeleton loader for images */
.loading-skeleton {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Product card fade in animation */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

.product-card:nth-child(7) {
    animation-delay: 0.7s;
}

.product-card:nth-child(8) {
    animation-delay: 0.8s;
}

.product-card:nth-child(9) {
    animation-delay: 0.9s;
}

.product-card:nth-child(10) {
    animation-delay: 1s;
}

.product-card:nth-child(11) {
    animation-delay: 1.1s;
}

.product-card:nth-child(12) {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reserve space for images to prevent layout shift */
.product-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 280px;
    /* Reserve space */
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.load-more-btn {
    padding: 1rem 3rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: var(--font-size-large);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(17, 18, 15, 0.2);
}

.load-more-btn:hover:not(:disabled) {
    background: #2b2b2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 18, 15, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* No Search Results */
.no-search-results {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    display: none;
}

.no-search-results p {
    font-size: var(--font-size-large);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

/* Product Popup Updates */
.product-popup__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: var(--spacing-md);
}

/* Cart count animation */
.header__cart-count {
    transition: transform var(--transition-base);
}

/* No products message */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xxl);
    font-size: var(--font-size-large);
    color: var(--color-text-light);
}

/* ============================
    RESPONSIVE UPDATES
============================ */

@media (max-width: 768px) {
    .product-card__image {
        height: 250px;
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .product-card__image {
        height: 220px;
        min-height: 220px;
    }

    .load-more-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}



/* ============================
    THEME TOGGLE BUTTON
    Добавьте в конец main.css
============================ */

.header__theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-bg);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--color-bg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.header__theme-btn:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    transform: rotate(15deg);
}

.theme-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.theme-icon--dark {
    display: none;
}

/* Mobile sidebar theme toggle */
.sidebar__theme-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    width: 100%;
    text-align: left;
}

.sidebar__theme-toggle::before {
    content: '🌙';
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

/* When dark mode is active */
@media (prefers-color-scheme: dark) {
    .header__theme-btn {
        border-color: var(--dark-text-primary);
        color: var(--dark-text-primary);
    }

    .header__theme-btn:hover {
        background: var(--dark-accent);
        border-color: var(--dark-accent);
        color: #fff;
    }

    .sidebar__theme-toggle::before {
        content: '☀️';
    }
}

/* Manual dark mode class override */
body.dark-mode .header__theme-btn {
    border-color: var(--dark-text-primary);
    color: var(--dark-text-primary);
}

body.dark-mode .header__theme-btn:hover {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

body.dark-mode .sidebar__theme-toggle::before {
    content: '☀️';
}

/* Animation on theme change */
@keyframes themeTransition {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

body {
    animation: themeTransition 0.3s ease;
}

/* Responsive */
@media (max-width: 994px) {
    .header__theme-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    .sidebar__theme-toggle {
        font-size: var(--font-size-base);
    }
}

/* ============================
    DARK THEME STYLES (ИСПРАВЛЕННАЯ ВЕРСИЯ)
    Замените существующий раздел темной темы на этот
============================ */

/* Dark theme variables */
:root {
    --dark-bg-primary: #0f0f0f;
    --dark-bg-secondary: #1a1a1a;
    --dark-bg-tertiary: #242424;
    --dark-bg-card: #1e1e1e;
    --dark-text-primary: #e8e8e8;
    --dark-text-secondary: #b3b3b3;
    --dark-text-muted: #808080;
    --dark-border: #333333;
    --dark-border-light: #2a2a2a;
    --dark-accent: #4a90e2;
    --dark-accent-hover: #357abd;
    --dark-success: #4caf50;
    --dark-danger: #f44336;
    --dark-overlay: rgba(0, 0, 0, 0.85);
}

/* ====================================
   DARK MODE - ПРИМЕНЯЕТСЯ ТОЛЬКО КОГДА ЕСТЬ КЛАСС .dark-mode
==================================== */
html.dark-mode {
    /* Override CSS variables for dark theme */
    --color-text: var(--dark-text-primary);
    --color-text-light: var(--dark-text-secondary);
    --color-bg: var(--dark-bg-primary);
    --color-bg-alt: var(--dark-bg-secondary);
    --color-bg-section: var(--dark-bg-tertiary);
    --color-border: var(--dark-border);
    --color-border-light: var(--dark-border-light);
}

/* Dark mode specific overrides */
html.dark-mode body {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

/* Age Popup */
html.dark-mode .age-popup {
    background: var(--dark-overlay);
}

html.dark-mode .age-popup__content {
    background: var(--dark-bg-secondary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

html.dark-mode .age-popup__title {
    color: var(--dark-text-primary);
}

html.dark-mode .age-popup__text {
    color: var(--dark-text-secondary);
}

html.dark-mode .age-popup__btn--yes {
    background: var(--dark-accent);
    color: #fff;
}

html.dark-mode .age-popup__btn--yes:hover {
    background: var(--dark-accent-hover);
}

html.dark-mode .age-popup__btn--no {
    background: transparent;
    border-color: var(--dark-accent);
    color: var(--dark-accent);
}

html.dark-mode .age-popup__btn--no:hover {
    background: var(--dark-accent);
    color: #fff;
}

/* Header */
html.dark-mode .header {
    background: var(--dark-bg-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

html.dark-mode .header__logo,
html.dark-mode .header__nav-link {
    color: var(--dark-text-primary);
}

html.dark-mode .header__nav-link::after {
    background: var(--dark-accent);
}

html.dark-mode .header__cart-btn {
    color: var(--dark-text-primary);
    border-color: var(--dark-accent);
}

html.dark-mode .header__cart-btn:hover {
    background: var(--dark-accent);
    color: #fff;
}

html.dark-mode .header__menu-btn {
    color: var(--dark-text-primary);
    border-color: var(--dark-accent);
}

html.dark-mode .header__theme-btn {
    border-color: var(--dark-text-primary);
    color: var(--dark-text-primary);
}

html.dark-mode .header__theme-btn:hover {
    background: var(--dark-accent);
    border-color: var(--dark-accent);
    color: #fff;
}

/* Sidebar */
html.dark-mode .overlay {
    background: rgba(0, 0, 0, 0.8);
}

html.dark-mode .sidebar {
    background: var(--dark-bg-secondary);
}

html.dark-mode .sidebar__header {
    border-bottom-color: var(--dark-border);
}

html.dark-mode .sidebar__title,
html.dark-mode .sidebar__close,
html.dark-mode .sidebar__nav-link {
    color: var(--dark-text-primary);
}

html.dark-mode .sidebar__nav-link:hover {
    background: var(--dark-bg-tertiary);
}

html.dark-mode .sidebar__footer {
    border-top-color: var(--dark-border);
}

html.dark-mode .sidebar__action-btn {
    border-color: var(--dark-accent);
    color: var(--dark-accent);
}

html.dark-mode .sidebar__action-btn:hover {
    background: var(--dark-accent);
    color: #fff;
}

/* Hero */
html.dark-mode .hero {
    background: linear-gradient(135deg, #242121 0%, #0e0800 100%);
}

html.dark-mode .hero__title {
    color: var(--dark-text-primary);
}

html.dark-mode .hero__text {
    color: var(--dark-text-secondary);
}

html.dark-mode .hero__social-link {
    background: var(--dark-accent);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

html.dark-mode .hero__social-link:hover {
    background: var(--dark-accent-hover);
}

/* Catalog */
html.dark-mode .catalog__title {
    color: var(--dark-text-primary);
}

html.dark-mode .catalog__search-input {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
    color: var(--dark-text-primary);
}

html.dark-mode .catalog__search-input::placeholder {
    color: var(--dark-text-muted);
}

html.dark-mode .catalog__search-input:focus {
    border-color: var(--dark-accent);
    background: var(--dark-bg-secondary);
}

html.dark-mode .catalog__search-btn {
    background: var(--dark-accent);
}

html.dark-mode .catalog__search-btn:hover {
    background: var(--dark-accent-hover);
}

/* Products */
html.dark-mode .product-card {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html.dark-mode .product-card__image {
    background: linear-gradient(135deg, #2d3561 0%, #4a3f6b 100%);
}

html.dark-mode .product-card__name {
    color: var(--dark-text-primary);
}

html.dark-mode .product-card__price {
    color: var(--dark-success);
}

html.dark-mode .product-card__subtitle {
    color: var(--dark-text-secondary);
}

html.dark-mode .product-card__btn--info {
    background: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border);
}

html.dark-mode .product-card__btn--info:hover {
    background: var(--dark-accent);
    color: #fff;
    border-color: var(--dark-accent);
}

html.dark-mode .product-card__btn--cart {
    background: var(--dark-accent);
}

html.dark-mode .product-card__btn--cart:hover {
    background: var(--dark-accent-hover);
}

/* Skeleton loaders */
html.dark-mode .product-card--skeleton .product-card__image,
html.dark-mode .skeleton-text,
html.dark-mode .skeleton-button,
html.dark-mode .loading-skeleton {
    background: linear-gradient(90deg,
            var(--dark-bg-tertiary) 25%,
            var(--dark-bg-secondary) 50%,
            var(--dark-bg-tertiary) 75%);
}

/* Product Popup */
html.dark-mode .product-popup {
    background: rgba(0, 0, 0, 0.85);
}

html.dark-mode .product-popup__content {
    background: var(--dark-bg-secondary);
}

html.dark-mode .product-popup__close {
    color: var(--dark-text-primary);
    background: rgba(30, 30, 30, 0.95);
}

html.dark-mode .product-popup__close:hover {
    background: var(--dark-accent);
    color: #fff;
}

html.dark-mode .product-popup__image {
    background: linear-gradient(135deg, #2d3561 0%, #4a3f6b 100%);
}

html.dark-mode .product-popup__title {
    color: var(--dark-text-primary);
}

html.dark-mode .product-popup__variant {
    color: var(--dark-text-secondary);
}

html.dark-mode .product-popup__description {
    color: var(--dark-text-primary);
}

html.dark-mode .product-popup__price {
    color: var(--dark-success);
}

html.dark-mode .product-popup__cart-btn {
    background: var(--dark-accent);
}

html.dark-mode .product-popup__cart-btn:hover {
    background: var(--dark-accent-hover);
}

/* Load More */
html.dark-mode .load-more-btn {
    background: var(--dark-accent);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

html.dark-mode .load-more-btn:hover:not(:disabled) {
    background: var(--dark-accent-hover);
}

/* Info Section */
html.dark-mode .info::after {
    background: var(--dark-bg-tertiary);
}

html.dark-mode .info__subtitle {
    color: var(--dark-text-muted);
}

html.dark-mode .info__title {
    color: var(--dark-text-primary);
}

html.dark-mode .info__text {
    color: var(--dark-text-secondary);
}

html.dark-mode .info__text strong {
    color: var(--dark-accent);
}

/* Benefits */
html.dark-mode .benefits {
    background: var(--dark-bg-tertiary);
}

html.dark-mode .benefits__title {
    color: var(--dark-text-primary);
}

html.dark-mode .benefit-card__icon {
    background: linear-gradient(135deg, #2d3561 0%, #4a3f6b 100%);
}

html.dark-mode .benefit-card__title {
    color: var(--dark-text-primary);
}

html.dark-mode .benefit-card__description {
    color: var(--dark-text-secondary);
}

/* Accordion */
html.dark-mode .accordion-section {
    background: var(--dark-bg-tertiary);
}

html.dark-mode .accordion-section__title {
    color: var(--dark-text-primary);
}

html.dark-mode .accordion__item {
    background: var(--dark-bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .accordion__item.active {
    background: var(--dark-bg-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

html.dark-mode .accordion__header {
    color: var(--dark-text-primary);
}

html.dark-mode .accordion__header:hover {
    background: rgba(255, 255, 255, 0.03);
}

html.dark-mode .accordion__icon {
    color: var(--dark-text-muted);
}

html.dark-mode .accordion__content {
    background: var(--dark-bg-secondary);
}

html.dark-mode .accordion__list-item {
    color: var(--dark-text-secondary);
}

html.dark-mode .accordion__list-item::before {
    color: var(--dark-accent);
}

/* Footer */
html.dark-mode .footer {
    background: var(--dark-bg-secondary);
    border-top: 1px solid var(--dark-border);
}

html.dark-mode .footer__logo {
    color: var(--dark-text-primary);
}

html.dark-mode .footer__text {
    color: var(--dark-text-secondary);
}

html.dark-mode .footer__social-link {
    background: var(--dark-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

html.dark-mode .footer__social-link:hover {
    background: var(--dark-accent-hover);
}

html.dark-mode .footer__section-title {
    color: var(--dark-text-primary);
}

html.dark-mode .footer__city-link {
    color: var(--dark-text-secondary);
    border-color: var(--dark-border);
}

html.dark-mode .footer__city-link:hover {
    background: var(--dark-bg-tertiary);
    border-color: var(--dark-accent);
    color: var(--dark-text-primary);
}

/* Search Highlight */
html.dark-mode .search-highlight {
    background-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

/* Loading Spinner */
html.dark-mode .search-loading__spinner {
    border-color: var(--dark-border);
    border-top-color: var(--dark-accent);
}

/* No search results */
html.dark-mode .no-search-results p {
    color: var(--dark-text-secondary);
}

/* Scrollbar */
html.dark-mode ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html.dark-mode ::-webkit-scrollbar-track {
    background: var(--dark-bg-secondary);
}

html.dark-mode ::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 6px;
}

html.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--dark-accent);
}

/* Autofill Fix */
html.dark-mode input:-webkit-autofill,
html.dark-mode input:-webkit-autofill:hover,
html.dark-mode input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px var(--dark-bg-card) inset !important;
    -webkit-text-fill-color: var(--dark-text-primary) !important;
}

/* Smooth theme transition */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

html * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}