* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #333333;
    --text-light: #e0e0e0;
    --text-muted: #999999;
    --text-dark: #666666;
    --border-color: #333333;
    --white: #ffffff;
    --primary: #ffffff;
    --primary-hover: #cccccc;
    --accent-blue: #0054a6;
    --accent-red: #e31e24;
    --google-blue: #4285F4;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --indigo: #4f46e5;
    --indigo-hover: #6366f1;
    --scrollbar-track: #1a1a1a;
    --scrollbar-thumb: #444444;
    --scrollbar-thumb-hover: #555555;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
    transition: background 0.2s;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background: var(--white);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--white);
    color: var(--black);
}

    .btn--primary:hover {
        background: var(--text-muted);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
    }

.btn--outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn--outline:hover {
        background: var(--white);
        color: var(--black);
    }

.btn--large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.main-header {
    background: var(--dark-gray);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.logo-gik {
    font-family: "Kunstler Script", "Brush Script MT", cursive;
    font-size: 48px;
    color: var(--white);
    line-height: 1;
}

.logo-iksan {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-left: 5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

    .main-nav a:hover {
        color: var(--white);
    }

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-action-btn {
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

    .header-action-btn:hover {
        background: var(--light-gray);
        border-color: var(--white);
        transform: translateY(-2px);
    }

/* Индикатор шифрования */
.crypto-indicator {
    cursor: default;
}
.crypto-indicator.active {
    background: linear-gradient(135deg, #064e3b, #065f46);
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.crypto-indicator i {
    color: #10b981;
    font-size: 16px;
}
.crypto-indicator.active i {
    animation: pulse-lock 2s infinite;
}
@keyframes pulse-lock {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-gray);
}

.header-icons .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

    .header-icons .icon-link:hover {
        transform: scale(1.1);
    }

.profile-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

    .profile-button:hover {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
        border-color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }

.profile-button__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
}

    .profile-button__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-button__name {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-button i {
    color: var(--text-muted);
    font-size: 12px;
    transition: transform 0.3s;
}

.profile-button:hover i {
    transform: rotate(180deg);
}

.profile-dropdown {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

    .profile-dropdown.active {
        display: block;
    }

.profile-dropdown__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.profile-dropdown__menu {
    position: absolute;
    top: 70px;
    right: 40px;
    width: 280px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-dropdown__header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-bottom: 1px solid var(--border-color);
}

.profile-dropdown__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--indigo);
}

.profile-dropdown__info {
    flex: 1;
    min-width: 0;
}

.profile-dropdown__name {
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown__email {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown__items {
    padding: 10px;
}

.profile-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .profile-dropdown__item:hover {
        background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
        color: var(--white);
    }

    .profile-dropdown__item i {
        width: 20px;
        color: var(--white);
        font-size: 16px;
    }

.profile-dropdown__item--danger {
    color: var(--error);
}

    .profile-dropdown__item--danger i {
        color: var(--error);
    }

    .profile-dropdown__item--danger:hover {
        background: rgba(239, 68, 68, 0.1);
    }

.profile-dropdown__divider {
    height: 1px;
    background: var(--border-color);
    margin: 5px 10px;
}

@media (max-width: 768px) {
    .profile-dropdown__menu {
        right: 20px;
        top: 60px;
        width: calc(100% - 40px);
    }

    .profile-button__name {
        display: none;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 0;
}

    .mobile-menu-toggle span {
        height: 3px;
        background: var(--white);
        margin: 3px 0;
        border-radius: 2px;
        transition: 0.3s;
    }

.catalog {
    padding: 80px 0;
    background: var(--dark-gray);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

.catalog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    background: var(--medium-gray);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-title {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group {
    margin-bottom: 20px;
}

    .filter-group label {
        display: block;
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 8px;
        font-weight: 500;
    }

.search-input {
    position: relative;
}

    .search-input i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
    }

    .search-input input {
        width: 100%;
        padding: 10px 12px 10px 40px;
        background: var(--dark-gray);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--white);
        font-size: 14px;
        transition: border-color 0.3s;
    }

        .search-input input:focus {
            outline: none;
            border-color: var(--white);
        }

.category-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--dark-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: var(--text-muted);
}

    .category-item:hover {
        background: var(--light-gray);
        color: var(--white);
        transform: translateX(5px);
    }

    .category-item.active {
        background: var(--white);
        color: var(--black);
    }

    .category-item i {
        font-size: 16px;
        width: 20px;
    }

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .price-range input {
        width: 100%;
        padding: 10px;
        background: var(--dark-gray);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--white);
        font-size: 14px;
    }

        .price-range input:focus {
            outline: none;
            border-color: var(--white);
        }

    .price-range span {
        color: var(--text-muted);
        flex-shrink: 0;
    }

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--white);
        cursor: pointer;
    }

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .filter-actions .btn {
        flex: 1;
    }

.catalog-main {
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--medium-gray);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.catalog-count {
    font-size: 14px;
    color: var(--text-muted);
}

    .catalog-count strong {
        color: var(--white);
    }

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .catalog-sort label {
        font-size: 14px;
        color: var(--text-muted);
    }

    .catalog-sort select {
        padding: 8px 12px;
        background: var(--dark-gray);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        color: var(--white);
        font-size: 14px;
        cursor: pointer;
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

.product-card {
    background: var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .product-card:hover {
        transform: translateY(-8px);
        border-color: var(--white);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

.product-card__image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--dark-gray);
}

    .product-card__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        transition: transform 0.5s;
        background: var(--dark-gray);
    }

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__info {
    padding: 20px;
}

.product-card__category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.product-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-status {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

    .stock-status.in-stock {
        background: rgba(16, 185, 129, 0.2);
        color: var(--success);
    }

    .stock-status.out-of-stock {
        background: rgba(239, 68, 68, 0.2);
        color: var(--error);
    }

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

    .loading-spinner i {
        font-size: 48px;
        margin-bottom: 15px;
        color: var(--white);
    }

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

    .no-products i {
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .no-products h3 {
        margin-bottom: 10px;
        color: var(--white);
    }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

    .page-btn:hover,
    .page-btn.active {
        background: var(--white);
        color: var(--black);
        border-color: var(--white);
        transform: scale(1.05);
    }

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 5px;
}

.cart-modal,
.product-modal,
.auth-modal,
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .cart-modal.active,
    .product-modal.active,
    .auth-modal.active,
    .profile-modal.active {
        display: flex;
    }

.cart-modal__overlay,
.product-modal__overlay,
.auth-modal__overlay,
.profile-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.cart-modal__container {
    position: relative;
    width: 95%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--dark-gray);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.cart-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cart-modal__close:hover {
        background: var(--accent-red);
        border-color: var(--accent-red);
        color: var(--white);
        transform: rotate(90deg);
    }

.cart-modal__content {
    padding: 30px;
}

.cart-modal__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

    .cart-modal__header h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 24px;
    }

.cart-clear-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

    .cart-clear-btn:hover {
        border-color: var(--accent-red);
        color: var(--accent-red);
        background: rgba(227, 30, 36, 0.1);
    }

.cart-footer__actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

    .cart-footer__actions .cart-clear-btn {
        flex-shrink: 0;
    }

    .cart-footer__actions .btn--primary {
        flex: 1;
    }

.cart-items {
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        gap: 10px;
    }

    .cart-item__total {
        display: none;
    }
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.cart-item__image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cart-item__image {
        width: 60px;
        height: 60px;
    }
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item__name {
    font-weight: 600;
    color: var(--white);
    font-size: 14px;
}

.cart-item__price {
    color: var(--text-muted);
    font-size: 13px;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn-sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--dark-gray);
    border: 1px solid var(--border-color);
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .qty-btn-sm:hover {
        background: var(--white);
        color: var(--black);
    }

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item__total {
    font-weight: 700;
    color: var(--white);
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}

.cart-item__remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

    .cart-item__remove:hover {
        background: rgba(239, 68, 68, 0.2);
        color: var(--error);
    }

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

    .cart-empty i {
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .cart-empty p {
        margin-bottom: 25px;
        font-size: 16px;
    }

.cart-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.cart-total-amount {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
}

.product-modal__container {
    position: relative;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--dark-gray);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.product-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-modal__close:hover {
        background: var(--accent-red);
        border-color: var(--accent-red);
        color: var(--white);
        transform: rotate(90deg);
    }

.product-modal__content {
    padding: 40px;
}

.product-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .product-modal__grid {
        grid-template-columns: 1fr;
    }
}

.product-modal__image {
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-gray);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-modal__image img {
        width: 100%;
        height: 100%;
        max-height: 500px;
        object-fit: contain;
        object-position: center;
        background: var(--dark-gray);
    }

.product-modal__category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-modal__title {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-modal__price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.product-modal__stock {
    margin-bottom: 25px;
}

.product-modal__description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-modal__actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--dark-gray);
    border: 1px solid var(--border-color);
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .qty-btn:hover {
        background: var(--white);
        color: var(--black);
    }

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    background: var(--dark-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.auth-modal__container {
    position: relative;
    width: 90%;
    max-width: 950px;
    background: var(--dark-gray);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.auth-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .auth-modal__close:hover {
        background: var(--accent-red);
        border-color: var(--accent-red);
        color: var(--white);
        transform: rotate(90deg);
    }

.auth-modal__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .auth-modal__content {
        grid-template-columns: 1fr;
    }

    .auth-modal__image {
        display: none;
    }
}

.auth-modal__image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

    .auth-modal__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.auth-modal__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 45px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.auth-modal__form-container {
    padding: 50px 45px;
}

.auth-modal__header {
    text-align: center;
    margin-bottom: 35px;
}

    .auth-modal__header h2 {
        font-size: 30px;
        margin-bottom: 12px;
        color: var(--white);
        font-weight: 600;
        letter-spacing: -0.5px;
    }

    .auth-modal__header p {
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.5;
    }

.auth-form__toggle {
    display: flex;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 35px;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.auth-toggle-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

    .auth-toggle-btn:hover {
        color: var(--white);
    }

    .auth-toggle-btn.active {
        background: var(--white);
        color: var(--black);
        box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    }

.auth-form .form-group {
    position: relative;
    margin-bottom: 22px;
}

    .auth-form .form-group input {
        width: 100%;
        padding: 16px 50px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        color: var(--white);
        font-size: 15px;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

        .auth-form .form-group input::placeholder {
            color: rgba(224,224,224,0.4);
        }

        .auth-form .form-group input:focus {
            border-color: rgba(255,255,255,0.3);
            background: rgba(255,255,255,0.05);
            box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
            outline: none;
        }

    .auth-form .form-group i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 17px;
        transition: color 0.25s;
        pointer-events: none;
    }

    .auth-form .form-group input:focus + i {
        color: var(--white);
    }

.auth-form .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

    .auth-form .password-toggle:hover {
        color: var(--white);
        background: rgba(255,255,255,0.05);
    }

.form-checkbox {
    margin-bottom: 22px;
}

    .form-checkbox label {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-muted);
        font-size: 14px;
        cursor: pointer;
        transition: color 0.2s;
    }

        .form-checkbox label:hover {
            color: var(--white);
        }

    .form-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: var(--white);
        cursor: pointer;
    }

    .form-checkbox a {
        color: var(--white);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s;
    }

        .form-checkbox a:hover {
            border-bottom-color: var(--white);
        }

.auth-form__submit {
    width: 100%;
    padding: 16px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

    .auth-form__submit:hover {
        background: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255,255,255,0.2);
    }

    .auth-form__submit:active {
        transform: translateY(-1px);
    }

    .auth-form__submit i {
        transition: transform 0.3s;
    }

    .auth-form__submit:hover i {
        transform: translateX(5px);
    }

.auth-divider {
    position: relative;
    text-align: center;
    margin: 35px 0;
}

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: calc(50% - 40px);
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    }

    .auth-divider::before {
        left: 0;
    }

    .auth-divider::after {
        right: 0;
    }

    .auth-divider span {
        background: var(--dark-gray);
        padding: 0 18px;
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-social__btn {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .auth-social__btn:hover {
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.2);
        color: var(--white);
    }

    .auth-social__btn.google {
        background: linear-gradient(135deg, #4285F4 0%, #3574d5 100%);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 15px rgba(66, 133, 244, 0.25);
    }

        .auth-social__btn.google:hover {
            background: linear-gradient(135deg, #3574d5 0%, #2a5fc4 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(66, 133, 244, 0.35);
        }

    .auth-social__btn i {
        font-size: 18px;
    }

.auth-footer {
    text-align: center;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 14px;
}

    .auth-footer p {
        margin: 0;
    }

    .auth-footer button {
        background: transparent;
        border: none;
        color: var(--white);
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: all 0.2s;
        padding: 0;
        font-size: 14px;
    }

        .auth-footer button:hover {
            color: var(--white);
            border-bottom-color: rgba(255,255,255,0.3);
        }

.profile-modal__container {
    position: relative;
    width: 95%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
}

.profile-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .profile-modal__close:hover {
        background: var(--accent-red);
        border-color: var(--accent-red);
        color: var(--white);
        transform: rotate(90deg);
    }

.profile-modal__content {
    padding: 40px;
    animation: profileFadeIn 0.3s ease-out;
}

@keyframes profileFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-modal__header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

    .profile-modal__header h2 {
        font-size: 28px;
        color: var(--white);
        margin-bottom: 8px;
        font-weight: 600;
        text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    }

    .profile-modal__header p {
        color: var(--text-muted);
        font-size: 14px;
    }

.profile-avatar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.profile-avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

    .profile-avatar-container:hover {
        border-color: var(--white);
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    }

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-avatar-container:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-overlay i {
    font-size: 28px;
    margin-bottom: 8px;
}

.profile-avatar-overlay span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.profile-form {
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-form__group {
    margin-bottom: 20px;
}

    .profile-form__group label {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 10px;
    }

        .profile-form__group label i {
            color: var(--white);
            font-size: 16px;
            width: 18px;
            text-align: center;
        }

    .profile-form__group input {
        width: 100%;
        padding: 14px 16px;
        background: var(--black);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--white);
        font-size: 14px;
        transition: all 0.3s;
    }

        .profile-form__group input::placeholder {
            color: var(--text-dark);
        }

        .profile-form__group input:hover {
            border-color: var(--light-gray);
        }

        .profile-form__group input:focus {
            outline: none;
            border-color: var(--white);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        .profile-form__group input[readonly] {
            background: var(--black);
            border-color: var(--border-color);
            color: var(--text-muted);
            cursor: not-allowed;
            opacity: 0.7;
        }

.profile-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 576px) {
    .profile-form__row {
        grid-template-columns: 1fr;
    }
}

.field-note {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.profile-form__actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.profile-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.profile-btn--primary {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

    .profile-btn--primary:hover {
        background: var(--text-muted);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    }

    .profile-btn--primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.profile-btn--secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

    .profile-btn--secondary:hover {
        background: var(--medium-gray);
        color: var(--white);
        border-color: var(--light-gray);
    }

.profile-orders-section {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .profile-orders-section h3 {
        margin-bottom: 20px;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--white);
        font-weight: 600;
    }

        .profile-orders-section h3 i {
            color: var(--white);
            font-size: 18px;
        }

.profile-orders-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.order-placeholder {
    text-align: center;
    padding: 35px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--black);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

    .order-item:hover {
        background: var(--medium-gray);
        border-color: var(--light-gray);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
    }

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-id {
    font-weight: 600;
    color: var(--white);
    font-size: 14px;
}

.order-date {
    font-size: 12px;
    color: var(--text-muted);
}

.order-total {
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
    text-align: right;
}

.order-status {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

    .order-status.pending {
        background: rgba(245, 158, 11, 0.2);
        color: #f59e0b;
    }

    .order-status.completed {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
    }

    .order-status.cancelled {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
    }

.hero {
    padding: 80px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
        pointer-events: none;
    }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__image {
        order: -1;
    }
}

.hero__title {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero__features {
    margin: 30px 0;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-muted);
}

    .hero__feature i {
        color: var(--white);
    }

.hero__cta {
    margin-top: 30px;
}

.hero__cta-text {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-dark);
}

.hero__image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.slider-section {
    padding: 60px 0;
    background: var(--black);
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: var(--dark-gray);
    border: 1px solid var(--border-color);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    flex: 0 0 100%;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
}

@media (max-width: 768px) {
    .slide-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}

.slide-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.slide-price {
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.slide-features {
    list-style: none;
    margin-bottom: 25px;
}

    .slide-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        color: var(--text-muted);
    }

.slide-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

    .slide-button:hover {
        background: var(--text-muted);
        gap: 15px;
    }

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--medium-gray);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

    .benefit-item i {
        color: var(--white);
    }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: var(--white);
        transform: scale(1.2);
        border-color: var(--white);
    }

.about {
    padding: 80px 0;
    background: var(--dark-gray);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
}

.about__title {
    font-size: 36px;
    margin-bottom: 30px;
}

.about__text {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about__text--accent {
    font-size: 18px;
    color: var(--white);
    font-weight: 500;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--medium-gray);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat__number {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat__label {
    font-size: 13px;
    color: var(--text-muted);
}

.about__image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.footer {
    background: var(--black);
    color: var(--text-muted);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-stars__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-stars__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 3;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.footer-gik {
    font-family: "Kunstler Script", "Brush Script MT", cursive;
    font-size: 42px;
    color: var(--white);
    line-height: 1;
}

.footer-iksan {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-left: 5px;
}

.footer__about {
    font-size: 14px;
    line-height: 1.6;
}

.footer__col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer__col ul {
    list-style: none;
}

.footer__col li {
    margin-bottom: 10px;
}

.footer__col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

    .footer__col a:hover {
        color: var(--white);
    }

.footer__col p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.footer__col i {
    margin-right: 8px;
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .footer__social a {
        color: var(--text-muted);
        font-size: 20px;
        transition: color 0.3s;
    }

        .footer__social a:hover {
            color: var(--white);
        }

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 12px;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-icons {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }

    .hero__title {
        font-size: 28px;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-sort {
        flex-wrap: wrap;
    }

    .product-modal__content {
        padding: 20px;
    }

    .auth-modal__form-container {
        padding: 30px 25px;
    }
}

/* ============================================
   CHECKOUT MODAL STYLES
   ============================================ */

.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.checkout-modal__container {
    position: relative;
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.checkout-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-modal__close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--white);
    transform: rotate(90deg);
}

.checkout-modal__header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-modal__header h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkout-modal__header p {
    color: var(--text-muted);
    font-size: 14px;
}

.checkout-form__section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.checkout-form__section h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form__section h3 i {
    color: var(--white);
    font-size: 18px;
}

.checkout-form__group {
    margin-bottom: 15px;
}

.checkout-form__group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.checkout-form__group label i {
    color: var(--white);
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.checkout-form__group input,
.checkout-form__group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.checkout-form__group input::placeholder,
.checkout-form__group textarea::placeholder {
    color: var(--text-dark);
}

.checkout-form__group input:focus,
.checkout-form__group textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.checkout-form__group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-form__payment-options {
    display: grid;
    gap: 12px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option__content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--black);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.payment-option__content i {
    font-size: 24px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.payment-option__content span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.payment-option input[type="radio"]:checked + .payment-option__content {
    border-color: var(--white);
    background: var(--medium-gray);
}

.payment-option input[type="radio"]:checked + .payment-option__content i {
    color: var(--white);
}

.checkout-form__summary {
    padding: 20px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.summary-row--total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.summary-row--total span:last-child {
    font-size: 24px;
}

.checkout-form__actions {
    display: flex;
    gap: 12px;
}

.checkout-btn--secondary,
.checkout-btn--primary {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.checkout-btn--secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.checkout-btn--secondary:hover {
    background: var(--medium-gray);
    color: var(--white);
    border-color: var(--light-gray);
}

.checkout-btn--primary {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.checkout-btn--primary:hover {
    background: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.checkout-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   CHAT WIDGET STYLES
   ============================================ */

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-widget__button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white) 0%, var(--text-muted) 100%);
    border: none;
    color: var(--black);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chat-widget__button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.chat-widget__notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
}

.chat-widget__panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    min-width: 300px;
    max-width: 600px;
    height: 550px;
    min-height: 400px;
    max-height: 90vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: both;
}

/* Resize handle */
.chat-widget__resize-handle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    cursor: nwse-resize;
    z-index: 10;
    opacity: 0;
}

.chat-widget__resize-handle::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    opacity: 0.5;
}

.chat-widget__panel:hover .chat-widget__resize-handle::after {
    opacity: 1;
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-bottom: 1px solid var(--border-color);
}

.chat-widget__info h4 {
    color: var(--white);
    font-size: 16px;
    margin: 0 0 4px 0;
}

.chat-widget__status {
    color: var(--success);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-widget__status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-widget__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-widget__close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--white);
    transform: rotate(90deg);
}

.chat-widget__order-info {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.chat-widget__order-info strong {
    color: var(--white);
}

.order-number,
.order-total {
    margin-bottom: 5px;
}

.chat-widget__messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-widget__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.chat-widget__empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message--customer {
    align-self: flex-end;
    background: var(--white);
    color: var(--black);
    border-bottom-right-radius: 4px;
}

.chat-message--admin {
    align-self: flex-start;
    background: var(--medium-gray);
    color: var(--white);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.chat-message__time {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 5px;
}

.chat-message--customer .chat-message__time {
    text-align: right;
}

.chat-widget__input {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
    border-top: 1px solid var(--border-color);
}

.chat-widget__input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.chat-widget__input input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.chat-widget__input input::placeholder {
    color: var(--text-dark);
}

.chat-widget__input button {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--white);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chat-widget__input button:hover {
    background: var(--text-muted);
    transform: scale(1.05);
}

.chat-widget__input button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .checkout-modal__container {
        width: 98%;
        padding: 30px 20px;
    }

    .chat-widget__panel {
        width: calc(100vw - 40px);
        right: -10px;
        height: 450px;
    }

    .chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-widget__button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== Секция доставки и качества ===== */
.delivery-section {
    padding: 80px 0;
    background: var(--medium-gray);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }
}

.delivery-card {
    background: var(--dark-gray);
    border-radius: 16px;
    padding: 35px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.delivery-card:hover {
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.delivery-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--white) 0%, var(--text-muted) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.delivery-card__icon i {
    font-size: 28px;
    color: var(--black);
}

.delivery-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--white);
}

.delivery-list,
.quality-features {
    list-style: none;
    padding: 0;
}

.delivery-list li,
.quality-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.delivery-list li:last-child,
.quality-features li:last-child {
    border-bottom: none;
}

.delivery-list li > i {
    color: var(--success);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.quality-features li > i {
    color: var(--white);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.delivery-list li strong,
.quality-features li strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
}

.delivery-list li p,
.quality-features li p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.quality-info {
    margin-bottom: 25px;
}

.quality-info p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.quality-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .delivery-section {
        padding: 50px 0;
    }

    .delivery-card {
        padding: 25px;
    }

    .delivery-card__icon {
        width: 50px;
        height: 50px;
    }

    .delivery-card__icon i {
        font-size: 22px;
    }

    .delivery-card h3 {
        font-size: 18px;
    }
}

/* ===== Реквизиты в футере ===== */
.footer__requisites {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.footer__requisites p {
    font-size: 12px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer__requisites strong {
    color: var(--text-muted);
}

/* ===== Реквизиты в секции "О компании" ===== */
.about__requisites {
    margin-top: 25px;
    padding: 20px;
    background: var(--medium-gray);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.about__requisites h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--white);
}

.about__requisites p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.about__requisites strong {
    color: var(--white);
}

